@charset "UTF-8";/*!
 * Bootstrap  v5.3.2 (https://getbootstrap.com/)
 * Copyright 2011-2023 The Bootstrap Authors
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */:root,[data-bs-theme=light]{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#58151c;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d1e7dd;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#f8d7da;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#a3cfbb;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#f1aeb5;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-color-rgb:33,37,41;--bs-body-bg:#fff;--bs-body-bg-rgb:255,255,255;--bs-emphasis-color:#000;--bs-emphasis-color-rgb:0,0,0;--bs-secondary-color:rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb:33,37,41;--bs-secondary-bg:#e9ecef;--bs-secondary-bg-rgb:233,236,239;--bs-tertiary-color:rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb:33,37,41;--bs-tertiary-bg:#f8f9fa;--bs-tertiary-bg-rgb:248,249,250;--bs-heading-color:inherit;--bs-link-color:#0d6efd;--bs-link-color-rgb:13,110,253;--bs-link-decoration:underline;--bs-link-hover-color:#0a58ca;--bs-link-hover-color-rgb:10,88,202;--bs-code-color:#d63384;--bs-highlight-color:#212529;--bs-highlight-bg:#fff3cd;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, 0.175);--bs-border-radius:0.375rem;--bs-border-radius-sm:0.25rem;--bs-border-radius-lg:0.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-xxl:2rem;--bs-border-radius-2xl:var(--bs-border-radius-xxl);--bs-border-radius-pill:50rem;--bs-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg:0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width:0.25rem;--bs-focus-ring-opacity:0.25;--bs-focus-ring-color:rgba(13, 110, 253, 0.25);--bs-form-valid-color:#198754;--bs-form-valid-border-color:#198754;--bs-form-invalid-color:#dc3545;--bs-form-invalid-border-color:#dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color:#dee2e6;--bs-body-color-rgb:222,226,230;--bs-body-bg:#212529;--bs-body-bg-rgb:33,37,41;--bs-emphasis-color:#fff;--bs-emphasis-color-rgb:255,255,255;--bs-secondary-color:rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb:222,226,230;--bs-secondary-bg:#343a40;--bs-secondary-bg-rgb:52,58,64;--bs-tertiary-color:rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb:222,226,230;--bs-tertiary-bg:#2b3035;--bs-tertiary-bg-rgb:43,48,53;--bs-primary-text-emphasis:#6ea8fe;--bs-secondary-text-emphasis:#a7acb1;--bs-success-text-emphasis:#75b798;--bs-info-text-emphasis:#6edff6;--bs-warning-text-emphasis:#ffda6a;--bs-danger-text-emphasis:#ea868f;--bs-light-text-emphasis:#f8f9fa;--bs-dark-text-emphasis:#dee2e6;--bs-primary-bg-subtle:#031633;--bs-secondary-bg-subtle:#161719;--bs-success-bg-subtle:#051b11;--bs-info-bg-subtle:#032830;--bs-warning-bg-subtle:#332701;--bs-danger-bg-subtle:#2c0b0e;--bs-light-bg-subtle:#343a40;--bs-dark-bg-subtle:#1a1d20;--bs-primary-border-subtle:#084298;--bs-secondary-border-subtle:#41464b;--bs-success-border-subtle:#0f5132;--bs-info-border-subtle:#087990;--bs-warning-border-subtle:#997404;--bs-danger-border-subtle:#842029;--bs-light-border-subtle:#495057;--bs-dark-border-subtle:#343a40;--bs-heading-color:inherit;--bs-link-color:#6ea8fe;--bs-link-hover-color:#8bb9fe;--bs-link-color-rgb:110,168,254;--bs-link-hover-color-rgb:139,185,254;--bs-code-color:#e685b5;--bs-highlight-color:#dee2e6;--bs-highlight-bg:#664d03;--bs-border-color:#495057;--bs-border-color-translucent:rgba(255, 255, 255, 0.15);--bs-form-valid-color:#75b798;--bs-form-valid-border-color:#75b798;--bs-form-invalid-color:#ea868f;--bs-form-invalid-border-color:#ea868f}*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h2,h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,h2{font-size:2rem}}.h3,h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h3,h3{font-size:1.75rem}}.h4,h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h4,h4{font-size:1.5rem}}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));text-decoration:underline}a:hover{--bs-link-color-rgb:var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer::before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}

/* arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url(../vendor/home/fonts/SLXVc1nY6HkvangtZmpQdkhzfH5lkSscQyyS4J0.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url(../vendor/home/fonts/SLXVc1nY6HkvangtZmpQdkhzfH5lkSscSCyS4J0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url(../vendor/home/fonts/SLXVc1nY6HkvangtZmpQdkhzfH5lkSscRiyS.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../vendor/home/fonts/Qw3CZRtWPQCuHme67tEYUIx3Kh0PHR9N6Ys43PWrfQ.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* Oxanium variable font, Google Fonts. See fonts/oxanium.OFL.txt. */
@font-face {
  font-family: 'Oxanium';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../vendor/home/fonts/oxanium-variable.woff2) format('woff2');
}

/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../vendor/home/fonts/Qw3CZRtWPQCuHme67tEYUIx3Kh0PHR9N6Ysw3PWrfQ.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../vendor/home/fonts/Qw3CZRtWPQCuHme67tEYUIx3Kh0PHR9N6Ysz3PWrfQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../vendor/home/fonts/Qw3CZRtWPQCuHme67tEYUIx3Kh0PHR9N6Ys93PU.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../vendor/home/fonts/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YPi-OCRXMR5Kw.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../vendor/home/fonts/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YPi-OCZXMR5Kw.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../vendor/home/fonts/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YPi-OCaXMR5Kw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../vendor/home/fonts/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YPi-OCUXMQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../vendor/home/fonts/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YOG-eCRXMR5Kw.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../vendor/home/fonts/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YOG-eCZXMR5Kw.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../vendor/home/fonts/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YOG-eCaXMR5Kw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../vendor/home/fonts/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YOG-eCUXMQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../vendor/home/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../vendor/home/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../vendor/home/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../vendor/home/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../vendor/home/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../vendor/home/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../vendor/home/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../vendor/home/fonts/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx3cwhsk.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../vendor/home/fonts/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxTcwhsk.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../vendor/home/fonts/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxPcwhsk.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../vendor/home/fonts/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx_cwhsk.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../vendor/home/fonts/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx7cwhsk.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../vendor/home/fonts/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url(../vendor/home/fonts/yMJRMIlzdpvBhQQL_Qq7dy0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ====================================
   AlRaebi Auto Car - Brand Identity System
   ==================================== */

/* ====================================
   CSS Variable System - Light Mode (Default)
   Requirements: 2.1, 2.2, 3.1-3.8
   ==================================== */

:root {
  /* Primary Brand Colors - Consistent across themes */
  --color-primary: #007ab8;           /* Main blue CTAs and actions - Adjusted for WCAG AA (4.51:1) */
  --color-primary-dark: #006ba3;      /* Hover states and secondary emphasis - Adjusted for WCAG AA (5.78:1) */
  --color-primary-light: #00a5df;     /* Light variant for dark backgrounds (original brand color) */
  
  /* Background Colors - Light Mode */
  --color-bg: #ffffff;                /* Main page background */
  --color-bg-section: #ebedf1;        /* Light sections and card backgrounds */
  --color-bg-muted: #d2d6e2;          /* Muted backgrounds for containers */
  --color-card-bg: #ffffff;           /* Card backgrounds */
  
  /* Text Colors - Light Mode */
  --color-text: #000000;              /* Main text */
  --color-text-secondary: #4c4c4e;    /* Secondary text and borders */
  --color-text-on-dark: #ebedf1;      /* Text on dark backgrounds */
  
  /* UI Elements - Light Mode */
  --color-border: #4c4c4e;            /* Borders and dividers */
  --color-footer-bg: #323132;         /* Footer and dark sections */
  --color-footer-text: #ebedf1;       /* Footer text color */
  
  /* Button Colors - Light Mode */
  --btn-primary-bg: #007ab8;          /* Primary button background - WCAG AA compliant (4.51:1) */
  --btn-primary-text: #ffffff;        /* Primary button text */
  --btn-primary-hover: #006ba3;       /* Primary button hover state - WCAG AA compliant (5.78:1) */
  --btn-primary-active: #005a8a;      /* Primary button active state */
  --btn-primary-shadow: rgba(0, 122, 184, 0.3); /* Primary button shadow */
  --btn-primary-hover-shadow: rgba(0, 107, 163, 0.4); /* Primary button hover shadow */
  
  --btn-secondary-bg: #6c757d;        /* Secondary button background */
  --btn-secondary-text: #ffffff;      /* Secondary button text */
  --btn-secondary-hover: #5a6268;     /* Secondary button hover state */
  --btn-secondary-shadow: rgba(108, 117, 125, 0.3); /* Secondary button shadow */
  
  --btn-light-bg: #ffffff;            /* Light button background */
  --btn-light-text: #1e3a5f;          /* Light button text */
  --btn-light-hover-bg: #f8f9fa;      /* Light button hover background */
  --btn-light-hover-text: #00a5df;    /* Light button hover text */
  --btn-light-active-bg: #e9ecef;     /* Light button active background */
  --btn-light-shadow: rgba(0, 0, 0, 0.1); /* Light button shadow */
  
  --btn-success-bg: #1e8035;          /* Success button background - WCAG AA compliant */
  --btn-success-bg-end: #1aa179;      /* Success button gradient end */
  --btn-success-text: #ffffff;        /* Success button text */
  --btn-success-hover: #196d2d;       /* Success button hover state */
  --btn-success-hover-end: #158a66;   /* Success button hover gradient end */
  --btn-success-shadow: rgba(30, 128, 53, 0.3); /* Success button shadow */
  
  --btn-danger-bg: #dc3545;           /* Danger button background */
  --btn-danger-bg-end: #c82333;       /* Danger button gradient end */
  --btn-danger-text: #ffffff;         /* Danger button text */
  --btn-danger-hover: #c82333;        /* Danger button hover state */
  --btn-danger-hover-end: #bd2130;    /* Danger button hover gradient end */
  --btn-danger-shadow: rgba(220, 53, 69, 0.3); /* Danger button shadow */
  
  --btn-white-bg: #ffffff;            /* White button background */
  --btn-white-text: #1e3a5f;          /* White button text */
  --btn-white-hover-bg: #00a5df;      /* White button hover background */
  --btn-white-hover-text: #ffffff;    /* White button hover text */
  --btn-white-active-bg: #007ec6;     /* White button active background */
  --btn-white-shadow: rgba(0, 0, 0, 0.2); /* White button shadow */
  
  --btn-warning-bg: #ffc107;          /* Warning button background */
  --btn-warning-bg-end: #ff9800;      /* Warning button gradient end */
  --btn-warning-text: #1e3a5f;        /* Warning button text */
  
  /* Focus and Interaction States */
  --focus-shadow-color: rgba(0, 165, 223, 0.25); /* Focus ring color */
  
  /* Transition Variables for Smooth Theme Switching */
  /* Optimized: Single transition property for better performance */
  --theme-transition-duration: 0.3s;
  --theme-transition-timing: ease;
  --theme-transition: background-color var(--theme-transition-duration) var(--theme-transition-timing), 
                      color var(--theme-transition-duration) var(--theme-transition-timing), 
                      border-color var(--theme-transition-duration) var(--theme-transition-timing);
  --theme-transition-fast: background-color 0.2s var(--theme-transition-timing), 
                           color 0.2s var(--theme-transition-timing);
  
  /* Legacy Variable Support (for backward compatibility) */
  --primary-black: #000000;
  --primary-blue: #00a5df;
  --primary-light: #ebedf1;
  --secondary-dark: #323132;
  --secondary-blue: #007ec6;
  --secondary-beige: #d2d6e2;
  --secondary-gray: #4c4c4e;
  --text-primary: #000000;
  --text-secondary: #4c4c4e;
  --text-on-dark: #ebedf1;
  --text-on-accent: #ffffff;
  --header-bg: #000000;
  --header-text: #ffffff;
  --hero-bg: #ffffff;
  --hero-text: #000000;
  --card-bg: #ffffff;
  --card-border: #d2d6e2;
  --btn-primary-bg: #00a5df;
  --btn-primary-text: #ffffff;
  --btn-secondary-bg: #007ec6;
  --btn-secondary-text: #ffffff;
}

/* ====================================
   Dark Mode Override - PURE BLACK AMOLED
   Requirements: 4.1-4.8
   ==================================== */

html[data-theme="dark"] {
  /* Background Colors - PURE BLACK Dark Mode */
  --color-bg: #000000;                /* PURE BLACK main background */
  --color-bg-section: #000000;        /* PURE BLACK sections */
  --color-bg-muted: #0a0a0a;          /* Slightly lighter for subtle contrast */
  --color-card-bg: #0a0a0a;           /* Cards with minimal contrast */
  
  /* Text Colors - Dark Mode */
  --color-text: #ffffff;              /* Pure white text */
  --color-text-secondary: #d2d2d2;    /* Light gray secondary text */
  --color-text-on-dark: #ffffff;      /* Pure white on dark */
  
  /* UI Elements - Dark Mode */
  --color-border: #1a1a1a;            /* Very subtle borders */
  --color-footer-bg: #000000;         /* PURE BLACK footer */
  --color-footer-text: #ffffff;       /* Pure white footer text */
  
  /* Primary colors - Keep brand colors unchanged */
  --color-primary: #00a5df;           /* Brand blue */
  --color-primary-dark: #007ec6;      /* Darker brand blue */
  --color-primary-light: #00bfff;     /* Lighter for emphasis */
  
  /* Legacy Variable Support - Dark Mode */
  --header-bg: #000000;
  --header-text: #ffffff;
  --hero-bg: #000000;
  --hero-text: #ffffff;
  --card-bg: #0a0a0a;
  --card-border: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #d2d2d2;
  
  /* Button Colors - Dark Mode (inherit from light mode but ensure visibility) */
  --btn-primary-bg: #00a5df;
  --btn-primary-hover: #007ec6;
  --btn-light-bg: #ffffff;
  --btn-light-text: #000000;
}

/* ====================================
   Reduced Motion Support
   Requirement: 8.5
   ==================================== */

@media (prefers-reduced-motion: reduce) {
  :root {
    --theme-transition: none;
    --theme-transition-fast: none;
  }
  
  /* Disable all transitions and animations for users who prefer reduced motion */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ====================================
   Theme Toggle Accessibility
   Requirements: 5.5, 8.5
   ==================================== */

/* Focus styles for theme toggle button */
#theme-toggle {
  position: relative;
  transition: var(--theme-transition);
}

#theme-toggle:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--focus-shadow-color);
}

#theme-toggle:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

#theme-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--focus-shadow-color);
}

/* Hover state for theme toggle */
#theme-toggle:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  transform: scale(1.05);
}

/* Active state for theme toggle */
#theme-toggle:active {
  transform: scale(0.95);
}

/* Icon transition */
#theme-icon {
  transition: var(--theme-transition);
  display: inline-block;
}

/* Ensure keyboard users can see focus on all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--focus-shadow-color);
}

/* Remove default focus outline for mouse users */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.3;
  transition: var(--theme-transition);
}

p {
  color: var(--color-text);
  font-weight: 400;
  line-height: 1.6;
  transition: var(--theme-transition);
}

.text-secondary {
  color: var(--color-text-secondary) !important;
  transition: var(--theme-transition);
}

/* Header Styles */
.main-header {
  background-color: var(--header-bg);
  color: var(--header-text);
  transition: var(--theme-transition);
}

.main-header .navbar-brand,
.main-header .nav-link {
  color: var(--header-text);
  transition: var(--theme-transition);
}

/* Hero Section */
.hero {
  background-color: var(--hero-bg);
  color: var(--hero-text);
  transition: var(--theme-transition);
}

/* Button Styles */
.btn-primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-color: var(--btn-primary-bg);
  transition: var(--theme-transition);
}

.btn-primary:hover {
  background-color: var(--btn-primary-hover);
  border-color: var(--btn-primary-hover);
}

.btn-secondary {
  background-color: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border-color: var(--btn-secondary-bg);
  transition: var(--theme-transition);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Card Styles */
.card {
  background-color: var(--color-card-bg);
  border-color: var(--color-border);
  transition: var(--theme-transition);
}

/* Section Alternation */
.section-light {
  background-color: var(--color-bg-section);
  transition: var(--theme-transition);
}

.section-beige {
  background-color: var(--color-bg-muted);
  transition: var(--theme-transition);
}

.section-dark {
  background-color: var(--color-footer-bg);
  color: var(--color-text-on-dark);
  transition: var(--theme-transition);
}

.section-dark h1, 
.section-dark h2, 
.section-dark h3, 
.section-dark h4, 
.section-dark h5, 
.section-dark h6,
.section-dark p {
  color: var(--color-text-on-dark);
  transition: var(--theme-transition);
}

/* Form Elements */
.form-control {
  background-color: var(--color-card-bg);
  border-color: var(--color-border);
  color: var(--color-text);
  transition: var(--theme-transition);
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.25rem var(--focus-shadow-color);
}

/* Footer */
.site-footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  transition: var(--theme-transition);
}

.site-footer h1, 
.site-footer h2, 
.site-footer h3, 
.site-footer h4, 
.site-footer h5, 
.site-footer h6,
.site-footer p {
  color: var(--color-footer-text);
  transition: var(--theme-transition);
}


/* ====================================
   Footer Links Visibility Control
   ==================================== */

/* Hide specific footer links temporarily */
.footer-links li:has(a[href*="FAQ"]),
.footer-links li:has(a[href*="Jobs"]),
.footer-links li:has(a[href*="Careers"]),
.footer-bottom-links a[href*="privacy"],
.footer-bottom-links a[href*="Privacy"],
.footer-bottom-links a[href*="terms"],
.footer-bottom-links a[href*="Terms"],
.footer-bottom-links a[href*="sitemap"],
.footer-bottom-links a[href*="Sitemap"] {
    display: none !important;
}

/* ====================================
   PURE BLACK AMOLED Dark Mode - Complete Enforcement
   ==================================== */

/* Force specific sections to pure black - EXCLUDING hero sections with background images */
html[data-theme="dark"] .stats-section,
html[data-theme="dark"] .products-section,
html[data-theme="dark"] .catalog-section,
html[data-theme="dark"] .features-section,
html[data-theme="dark"] .locations-section,
html[data-theme="dark"] .quick-links-section,
html[data-theme="dark"] .vehicles-section,
html[data-theme="dark"] .services-section,
html[data-theme="dark"] .news-section,
html[data-theme="dark"] .partners-section,
html[data-theme="dark"] .featured-videos {
    background-color: #000000 !important;
    background-image: none !important;
    color: #ffffff !important;
}

/* Keep hero sections with their background images in dark mode */
html[data-theme="dark"] .hero-f1e,
html[data-theme="dark"] .hero-f3e,
html[data-theme="dark"] .hero-h9e,
html[data-theme="dark"] .cta-section-f1e,
html[data-theme="dark"] .cta-section-f3e,
html[data-theme="dark"] .cta-section-h9e {
    /* Keep original background images - don't override */
    color: #ffffff !important;
}

/* Header & Navigation */
html[data-theme="dark"] .top-bar {
    background-color: #0a0a0a !important;
    border-bottom-color: #1a1a1a !important;
}

html[data-theme="dark"] .main-header,
html[data-theme="dark"] .navbar {
    background-color: #000000 !important;
}

html[data-theme="dark"] .dropdown-menu {
    background-color: #0a0a0a !important;
    border-color: #1a1a1a !important;
}

html[data-theme="dark"] .dropdown-item {
    background-color: #0a0a0a !important;
}

html[data-theme="dark"] .dropdown-item:hover {
    background-color: #1a1a1a !important;
}

/* Stats & Feature Cards */
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .feature-box {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    background-image: none !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 
                0 1px 3px rgba(255, 255, 255, 0.05) !important;
}

html[data-theme="dark"] .stat-number,
html[data-theme="dark"] .feature-title {
    color: #ffffff !important;
}

html[data-theme="dark"] .stat-label,
html[data-theme="dark"] .feature-text {
    color: #d2d2d2 !important;
}

/* Catalog & Location Cards */
html[data-theme="dark"] .catalog-card,
html[data-theme="dark"] .location-card {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    background-image: none !important;
    border: none !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), 
                0 2px 4px rgba(255, 255, 255, 0.06) !important;
}

html[data-theme="dark"] .catalog-title,
html[data-theme="dark"] .location-name {
    color: #ffffff !important;
}

html[data-theme="dark"] .catalog-description,
html[data-theme="dark"] .location-address,
html[data-theme="dark"] .location-features li {
    color: #d2d2d2 !important;
}

/* Map Placeholder */
html[data-theme="dark"] .map-placeholder {
    background: #0a0a0a !important;
    background-image: none !important;
}

html[data-theme="dark"] .map-placeholder h3 {
    color: #ffffff !important;
}

html[data-theme="dark"] .map-placeholder p {
    color: #d2d2d2 !important;
}

/* Partners Section */
html[data-theme="dark"] .partners-section {
    background-color: #000000 !important;
}

html[data-theme="dark"] .partner-logo,
html[data-theme="dark"] .brand-card {
    background-color: #0a0a0a !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8) !important;
}

/* Video Section */
html[data-theme="dark"] .featured-videos,
html[data-theme="dark"] .full-width-video {
    background-color: #000000 !important;
}

html[data-theme="dark"] .video-info-side {
    background: linear-gradient(135deg, #0a0a0a 0%, #000000 100%) !important;
}

html[data-theme="dark"] .video-title {
    color: #ffffff !important;
}

html[data-theme="dark"] .video-description {
    color: #d2d2d2 !important;
}

/* Bootstrap Overrides */
html[data-theme="dark"] .bg-light {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    border: none !important;
}

html[data-theme="dark"] .bg-white {
    background-color: #000000 !important;
}

html[data-theme="dark"] .text-dark {
    color: #ffffff !important;
}

html[data-theme="dark"] .modal-content {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    border: none !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8), 
                0 4px 12px rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .list-group-item {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
}

html[data-theme="dark"] .list-group-item:last-child {
    border-bottom: none !important;
}

/* Tables */
html[data-theme="dark"] .table {
    color: #ffffff !important;
}

html[data-theme="dark"] .table-striped tbody tr:nth-of-type(odd) {
    background-color: #0a0a0a !important;
}

/* Accordion */
html[data-theme="dark"] .accordion-item {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    border: none !important;
    margin-bottom: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 
                0 1px 2px rgba(255, 255, 255, 0.03) !important;
}

html[data-theme="dark"] .accordion-button {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    color: #ffffff !important;
    border: none !important;
}

html[data-theme="dark"] .accordion-button:not(.collapsed) {
    background: linear-gradient(145deg, #121212, #0a0a0a) !important;
    box-shadow: inset 0 2px 4px rgba(0, 165, 223, 0.2) !important;
}

html[data-theme="dark"] .accordion-body {
    background: linear-gradient(145deg, #080808, #050505) !important;
    border: none !important;
}

/* Tabs */
html[data-theme="dark"] .nav-tabs .nav-link {
    background-color: #0a0a0a !important;
    border-color: #1a1a1a !important;
}

html[data-theme="dark"] .nav-tabs .nav-link.active {
    background-color: #000000 !important;
}

/* Logo Inversion */
html[data-theme="dark"] .logo,
html[data-theme="dark"] .navbar-brand img,
html[data-theme="dark"] .footer-logo {
    filter: brightness(0) invert(1) !important;
}

/* Partner Logos - Invert dark logos to white */
html[data-theme="dark"] .partner-logo img,
html[data-theme="dark"] .brand-logo,
html[data-theme="dark"] .brand-card img,
html[data-theme="dark"] .agencies img {
    filter: brightness(0) invert(1) !important;
}

/* Why Choose Us Section - Dark Image */
html[data-theme="dark"] .why-us-section[style*="Social media cover"] {
    background-image: url('../images/Social media coverdark.jpg') !important;
}

/* Social Links */
html[data-theme="dark"] .social-links a {
    background-color: #0a0a0a !important;
}

html[data-theme="dark"] .footer-social a {
    background-color: #1a1a1a !important;
}

/* Carousel */
html[data-theme="dark"] .carousel-indicators [data-bs-target] {
    background-color: rgba(255, 255, 255, 0.5) !important;
}

html[data-theme="dark"] .carousel-indicators .active {
    background-color: #00a5df !important;
}

/* Button Fixes for Dark Mode */
html[data-theme="dark"] .btn-primary {
    background: linear-gradient(135deg, #00a5df 0%, #007ec6 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

html[data-theme="dark"] .btn-outline-primary {
    background-color: transparent !important;
    color: #00a5df !important;
    border-color: #00a5df !important;
}

html[data-theme="dark"] .btn-outline-primary:hover {
    background-color: #00a5df !important;
    color: #ffffff !important;
    border-color: #00a5df !important;
}

html[data-theme="dark"] .btn-light {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
}

html[data-theme="dark"] .btn-light:hover {
    background-color: #e0e0e0 !important;
    color: #000000 !important;
}

html[data-theme="dark"] .btn-light * {
    color: #000000 !important;
}

html[data-theme="dark"] .btn-outline-light {
    background-color: transparent !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

html[data-theme="dark"] .btn-outline-light:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}

html[data-theme="dark"] .btn-outline-light:hover * {
    color: #000000 !important;
}

html[data-theme="dark"] .btn-secondary {
    background-color: #6c757d !important;
    color: #ffffff !important;
    border-color: #6c757d !important;
}

html[data-theme="dark"] .btn-success {
    background: linear-gradient(135deg, #1e8035 0%, #1aa179 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

html[data-theme="dark"] .btn-white {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
}

html[data-theme="dark"] .btn-white * {
    color: #000000 !important;
}

html[data-theme="dark"] .btn-white:hover {
    background-color: #00a5df !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .btn-white:hover * {
    color: #ffffff !important;
}

/* Language Switcher Buttons */
html[data-theme="dark"] .language-switcher .btn-primary {
    background: linear-gradient(135deg, #00a5df 0%, #007ec6 100%) !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .language-switcher .btn-outline-primary {
    background-color: transparent !important;
    color: #00a5df !important;
    border-color: #00a5df !important;
}

html[data-theme="dark"] .language-switcher .btn-outline-primary:hover {
    background-color: #00a5df !important;
    color: #ffffff !important;
}

/* Theme Toggle Button */
html[data-theme="dark"] #theme-toggle {
    background-color: transparent !important;
    color: #00a5df !important;
    border-color: #00a5df !important;
}

html[data-theme="dark"] #theme-toggle:hover {
    background-color: #00a5df !important;
    color: #ffffff !important;
}

/* Catch-all for inline styles */
html[data-theme="dark"] *[style*="background: white"],
html[data-theme="dark"] *[style*="background: #fff"],
html[data-theme="dark"] *[style*="background-color: white"],
html[data-theme="dark"] *[style*="background-color: #fff"] {
    background-color: #000000 !important;
}

html[data-theme="dark"] *[style*="background: #f8f9fa"],
html[data-theme="dark"] *[style*="background-color: #f8f9fa"] {
    background-color: #0a0a0a !important;
}

html[data-theme="dark"] *[style*="color: #1e3a5f"],
html[data-theme="dark"] *[style*="color: #6c757d"],
html[data-theme="dark"] *[style*="color: white"],
html[data-theme="dark"] *[style*="color: #fff"],
html[data-theme="dark"] *[style*="color: #ffffff"] {
    color: #ffffff !important;
}

/* Force all text elements to white in dark mode */
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6,
html[data-theme="dark"] p,
html[data-theme="dark"] span:not(.navbar-toggler-icon),
html[data-theme="dark"] div:not(.dropdown-menu):not(.modal):not(.navbar-collapse),
html[data-theme="dark"] a,
html[data-theme="dark"] li,
html[data-theme="dark"] td,
html[data-theme="dark"] th,
html[data-theme="dark"] label,
html[data-theme="dark"] .lead,
html[data-theme="dark"] .display-1,
html[data-theme="dark"] .display-2,
html[data-theme="dark"] .display-3,
html[data-theme="dark"] .display-4,
html[data-theme="dark"] .display-5,
html[data-theme="dark"] .display-6 {
    color: #ffffff !important;
}

/* Ensure text-muted is visible in dark mode */
html[data-theme="dark"] .text-muted {
    color: #d2d2d2 !important;
}

/* Ensure all paragraphs and headings with inline styles are white */
html[data-theme="dark"] section h1,
html[data-theme="dark"] section h2,
html[data-theme="dark"] section h3,
html[data-theme="dark"] section h4,
html[data-theme="dark"] section h5,
html[data-theme="dark"] section h6,
html[data-theme="dark"] section p,
html[data-theme="dark"] section span,
html[data-theme="dark"] section .lead {
    color: #ffffff !important;
}

/* Why Choose Us Section - Position Content to Far Left in Dark Mode */
html[data-theme="dark"] .why-us-section .row {
    justify-content: flex-start !important;
}

html[data-theme="dark"] .why-us-section .col-lg-6 {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Top Bar Size Adjustment */
.top-bar {
    padding: 0 !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    font-size: 16px !important;
    line-height: 30px !important;
}

.top-bar .container {
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    max-width: 100% !important;
}

.top-bar .py-2 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    width: 100% !important;
}

.top-bar .contact-info,
.top-bar .social-links {
    font-size: 16px !important;
}

.top-bar .social-links a {
    width: 30px !important;
    height: 30px !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.top-bar i {
    font-size: 14px !important;
}

/* Top Bar - Move Social Links to Far Left */
.top-bar .d-flex {
    flex-direction: row-reverse !important;
    justify-content: space-between !important;
}

.top-bar .social-links {
    display: flex !important;
    gap: 5px !important;
}

.top-bar .top-links {
    white-space: nowrap !important;
}

/* Fix Dark Mode - Body and HTML Background */
html[data-theme="dark"],
html[data-theme="dark"] body {
    background-color: #000000 !important;
}

/* Removed - duplicate rule */

/* Footer Bottom - Fix Background Color in Dark Mode */
html[data-theme="dark"] .footer-bottom {
    background-color: #000000 !important;
}

html[data-theme="dark"] .footer-bottom .copyright {
    color: #ffffff !important;
}


/* ====================================
   Sticky Elements Fix
   ==================================== */

/* Ensure sticky positioning works in both light and dark modes */
.sticky-top {
    position: -webkit-sticky !important;
    position: sticky !important;
    will-change: transform;
}

/* Ensure parent containers don't prevent sticky */
aside {
    position: relative;
}

main .row {
    position: relative;
}

/* Ensure sticky cards maintain proper styling in dark mode */
html[data-theme="dark"] .sticky-top.card {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    border: none !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 
                0 2px 8px rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .sticky-top .card-title {
    color: #ffffff !important;
}

html[data-theme="dark"] .sticky-top .text-muted {
    color: #d2d2d2 !important;
}

html[data-theme="dark"] .sticky-top .btn {
    color: inherit;
}

html[data-theme="dark"] .sticky-top .card-header {
    border: none !important;
    background: linear-gradient(145deg, #121212, #0a0a0a) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}


/* ====================================
   Enhanced Dark Mode - Subtle Depth Without Borders
   ==================================== */

/* Add subtle shadows and background variations to cards */
html[data-theme="dark"] .card {
    border: none !important;
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 
                0 1px 3px rgba(255, 255, 255, 0.05) !important;
}

html[data-theme="dark"] .card:hover {
    background: linear-gradient(145deg, #121212, #0a0a0a) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 
                0 2px 6px rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-2px);
}

/* Service cards */
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .service-detail-card {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    border: none !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), 
                0 2px 4px rgba(255, 255, 255, 0.06) !important;
}

html[data-theme="dark"] .service-card:hover,
html[data-theme="dark"] .service-detail-card:hover {
    background: linear-gradient(145deg, #121212, #0a0a0a) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 
                0 3px 8px rgba(255, 255, 255, 0.1) !important;
}

/* News cards */
html[data-theme="dark"] .news-card {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    border: none !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), 
                0 2px 4px rgba(255, 255, 255, 0.06) !important;
}

html[data-theme="dark"] .news-card:hover {
    background: linear-gradient(145deg, #121212, #0a0a0a) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 
                0 3px 8px rgba(255, 255, 255, 0.1) !important;
}

/* Section separators - subtle gradient line */
html[data-theme="dark"] section {
    position: relative;
    padding-bottom: 40px;
}

html[data-theme="dark"] section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
}

html[data-theme="dark"] section:last-child::after {
    display: none;
}

/* Header shadow */
html[data-theme="dark"] .main-header {
    border: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 
                0 1px 3px rgba(255, 255, 255, 0.05) !important;
}

/* Top bar shadow */
html[data-theme="dark"] .top-bar {
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

/* Dropdown menu */
html[data-theme="dark"] .dropdown-menu {
    border: none !important;
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 
                0 2px 8px rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .dropdown-item {
    border: none !important;
    position: relative;
}

html[data-theme="dark"] .dropdown-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        transparent 100%);
}

html[data-theme="dark"] .dropdown-item:last-child::after {
    display: none;
}

/* Alert boxes - with subtle glow */
html[data-theme="dark"] .alert {
    border: none !important;
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 
                inset 0 1px 2px rgba(255, 255, 255, 0.05) !important;
}

html[data-theme="dark"] .alert-info {
    background: linear-gradient(145deg, #0a1520, #050a10) !important;
    box-shadow: 0 4px 12px rgba(0, 165, 223, 0.2), 
                inset 0 1px 2px rgba(0, 165, 223, 0.1) !important;
}

html[data-theme="dark"] .alert-danger {
    background: linear-gradient(145deg, #200a0a, #100505) !important;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2), 
                inset 0 1px 2px rgba(220, 53, 69, 0.1) !important;
}

html[data-theme="dark"] .alert-warning {
    background: linear-gradient(145deg, #201a0a, #100d05) !important;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2), 
                inset 0 1px 2px rgba(255, 193, 7, 0.1) !important;
}

html[data-theme="dark"] .alert-success {
    background: linear-gradient(145deg, #0a200a, #051005) !important;
    box-shadow: 0 4px 12px rgba(30, 128, 53, 0.2), 
                inset 0 1px 2px rgba(30, 128, 53, 0.1) !important;
}

/* Progress bars */
html[data-theme="dark"] .progress {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    border: none !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* Badges */
html[data-theme="dark"] .badge {
    border: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 
                0 1px 2px rgba(255, 255, 255, 0.05) !important;
}

/* Timeline items */
html[data-theme="dark"] .warranty-timeline-item .card,
html[data-theme="dark"] .warranty-highlight-card {
    border: none !important;
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 
                0 1px 3px rgba(255, 255, 255, 0.05) !important;
}

html[data-theme="dark"] .warranty-timeline-item .card:hover,
html[data-theme="dark"] .warranty-highlight-card:hover {
    background: linear-gradient(145deg, #121212, #0a0a0a) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 
                0 2px 6px rgba(255, 255, 255, 0.08) !important;
}

/* Form controls */
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5), 
                0 1px 2px rgba(255, 255, 255, 0.03) !important;
}

html[data-theme="dark"] .form-control:focus,
html[data-theme="dark"] .form-select:focus {
    background: linear-gradient(145deg, #121212, #0a0a0a) !important;
    box-shadow: 0 0 0 3px rgba(0, 165, 223, 0.3), 
                inset 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* Table - subtle row separation */
html[data-theme="dark"] .table {
    border: none !important;
}

html[data-theme="dark"] .table td,
html[data-theme="dark"] .table th {
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
}

html[data-theme="dark"] .table thead th {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Partner logos */
html[data-theme="dark"] .partner-logo,
html[data-theme="dark"] .brand-card {
    border: none !important;
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), 
                0 2px 4px rgba(255, 255, 255, 0.05) !important;
}

/* Quick link cards */
html[data-theme="dark"] .quick-link-card {
    border: none !important;
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 
                0 1px 3px rgba(255, 255, 255, 0.05) !important;
}

html[data-theme="dark"] .quick-link-card:hover {
    background: linear-gradient(145deg, #121212, #0a0a0a) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 
                0 2px 6px rgba(255, 255, 255, 0.08) !important;
}

/* Why us items */
html[data-theme="dark"] .why-us-item {
    padding: 15px;
    border-radius: 8px;
    border: none !important;
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 
                0 1px 2px rgba(255, 255, 255, 0.03) !important;
}

/* Footer sections - subtle gradient separator */
html[data-theme="dark"] .footer-top {
    border: none !important;
    position: relative;
}

html[data-theme="dark"] .footer-top::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
}

html[data-theme="dark"] .footer-bottom {
    border: none !important;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.5) !important;
}


/* ====================================
   White Buttons Text Color Fix
   ==================================== */

/* Ensure all white/light buttons have black text in dark mode */
html[data-theme="dark"] .btn-light,
html[data-theme="dark"] .btn-white,
html[data-theme="dark"] a.btn-light,
html[data-theme="dark"] a.btn-white,
html[data-theme="dark"] button.btn-light,
html[data-theme="dark"] button.btn-white {
    color: #000000 !important;
}

html[data-theme="dark"] .btn-light i,
html[data-theme="dark"] .btn-white i,
html[data-theme="dark"] .btn-light span,
html[data-theme="dark"] .btn-white span {
    color: #000000 !important;
}

/* When hovering over outline-light buttons that turn white */
html[data-theme="dark"] .btn-outline-light:hover,
html[data-theme="dark"] a.btn-outline-light:hover,
html[data-theme="dark"] button.btn-outline-light:hover {
    color: #000000 !important;
}

html[data-theme="dark"] .btn-outline-light:hover i,
html[data-theme="dark"] .btn-outline-light:hover span {
    color: #000000 !important;
}

/* Specific fix for CTA sections with white buttons */
html[data-theme="dark"] .cta-section .btn-light,
html[data-theme="dark"] .cta-section .btn-white,
html[data-theme="dark"] .hero-section .btn-light,
html[data-theme="dark"] .hero-section .btn-white {
    background-color: #ffffff !important;
    color: #000000 !important;
}

html[data-theme="dark"] .cta-section .btn-light *,
html[data-theme="dark"] .cta-section .btn-white *,
html[data-theme="dark"] .hero-section .btn-light *,
html[data-theme="dark"] .hero-section .btn-white * {
    color: #000000 !important;
}


/* ====================================
   Fix Horizontal Scroll Issue
   ==================================== */

/* Fix for gradient lines that might overflow */
html[data-theme="dark"] section::after {
    left: 5%;
    right: 5%;
    width: auto;
    max-width: 90%;
}


/* ====================================
   CTA Section Buttons
   ==================================== */

/* Primary CTA button (Blue) */
.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: linear-gradient(135deg, #00a5df 0%, #007ec6 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 165, 223, 0.3);
}

.cta-btn-primary:hover {
    background: linear-gradient(135deg, #007ec6 0%, #006ba3 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 165, 223, 0.4);
    color: #ffffff;
}

/* Secondary CTA button (White) */
.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta-btn-secondary:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Ensure icons in CTA buttons have correct color */
.cta-btn-secondary i {
    color: #000000;
}

.cta-btn-secondary:hover i {
    color: #ffffff;
}

.cta-btn-primary i {
    color: #ffffff;
}

/* Dark mode adjustments for CTA buttons */
html[data-theme="dark"] .cta-btn-secondary {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

html[data-theme="dark"] .cta-btn-secondary i {
    color: #000000;
}

html[data-theme="dark"] .cta-btn-secondary:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

html[data-theme="dark"] .cta-btn-secondary:hover i {
    color: #ffffff;
}


/* Removed - was causing dropdown issues */


/* ====================================
   Truck Pages Dark Mode - F1E, F3E, H9E-H8E
   ==================================== */

/* Hero sections for truck pages - Keep background images visible in dark mode */
/* No changes needed - hero backgrounds should remain as defined in HTML */

/* Highlights sections - Dark mode */
html[data-theme="dark"] .highlights-section {
    background: #000000 !important;
    background-image: none !important;
}

/* Feature sections */
html[data-theme="dark"] .feature-section {
    background: #000000 !important;
}

html[data-theme="dark"] .feature-section:nth-child(even) {
    background: #0a0a0a !important;
}

/* Highlight cards */
html[data-theme="dark"] .highlight-card {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

html[data-theme="dark"] .highlight-card:hover {
    box-shadow: 0 8px 24px rgba(0, 165, 223, 0.3) !important;
}

html[data-theme="dark"] .highlight-card h4,
html[data-theme="dark"] .highlight-card h5 {
    color: #ffffff !important;
}

html[data-theme="dark"] .highlight-card p {
    color: #d2d2d2 !important;
}

/* CTA sections for truck pages - Keep background images visible in dark mode */
/* No changes needed - CTA backgrounds should remain as defined in HTML */

/* Gallery images */
html[data-theme="dark"] .gallery-grid img {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8) !important;
}

/* Section images */
html[data-theme="dark"] .section-image {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8) !important;
}

/* Ensure all text is visible */
html[data-theme="dark"] .feature-section h1,
html[data-theme="dark"] .feature-section h2,
html[data-theme="dark"] .feature-section h3,
html[data-theme="dark"] .feature-section h4,
html[data-theme="dark"] .feature-section h5,
html[data-theme="dark"] .feature-section h6 {
    color: #ffffff !important;
}

html[data-theme="dark"] .feature-section p,
html[data-theme="dark"] .feature-section li {
    color: #d2d2d2 !important;
}

/* Hero text should stay white */
html[data-theme="dark"] .hero-f1e h1,
html[data-theme="dark"] .hero-f1e h2,
html[data-theme="dark"] .hero-f1e p,
html[data-theme="dark"] .hero-f3e h1,
html[data-theme="dark"] .hero-f3e h2,
html[data-theme="dark"] .hero-f3e p,
html[data-theme="dark"] .hero-h9e h1,
html[data-theme="dark"] .hero-h9e h2,
html[data-theme="dark"] .hero-h9e p {
    color: #ffffff !important;
}

/* Specs table */
html[data-theme="dark"] .table {
    color: #ffffff !important;
    background: #000000 !important;
}

html[data-theme="dark"] .table th {
    background: #0a0a0a !important;
    color: #ffffff !important;
    border-color: #2a2a2a !important;
}

html[data-theme="dark"] .table td {
    background: #000000 !important;
    color: #d2d2d2 !important;
    border-color: #2a2a2a !important;
}

html[data-theme="dark"] .table-striped tbody tr:nth-of-type(odd) {
    background: #0a0a0a !important;
}

/* List groups */
html[data-theme="dark"] .list-group-item {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    color: #ffffff !important;
    border-color: #2a2a2a !important;
}

/* Badges */
html[data-theme="dark"] .badge {
    background: #00a5df !important;
    color: #ffffff !important;
}


/* ====================================
   Truck Pages - Additional Dark Mode Fixes
   ==================================== */

/* Fix inline styles for feature sections */
html[data-theme="dark"] .feature-section:nth-child(even) {
    background: #0a0a0a !important;
}

/* Fix bg-light sections */
html[data-theme="dark"] .bg-light {
    background: #000000 !important;
}

/* Fix specs cards */
html[data-theme="dark"] .specs-card {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

html[data-theme="dark"] .specs-card h4,
html[data-theme="dark"] .specs-card h5 {
    color: #ffffff !important;
}

html[data-theme="dark"] .specs-card p,
html[data-theme="dark"] .specs-card li {
    color: #d2d2d2 !important;
}

/* Fix gallery sections */
html[data-theme="dark"] .gallery-grid {
    background: transparent !important;
}

/* Fix any remaining white backgrounds in truck pages */
html[data-theme="dark"] section[style*="background: white"],
html[data-theme="dark"] section[style*="background:#fff"],
html[data-theme="dark"] div[style*="background: white"],
html[data-theme="dark"] div[style*="background:#fff"] {
    background: #000000 !important;
}


/* Fix specs section with inline white gradient */
html[data-theme="dark"] section#specs,
html[data-theme="dark"] section[style*="rgba(255,255,255"] {
    background: #000000 !important;
    background-image: none !important;
}

html[data-theme="dark"] section#specs h2,
html[data-theme="dark"] section#specs h3,
html[data-theme="dark"] section#specs p {
    color: #ffffff !important;
}

html[data-theme="dark"] section#specs .section-subtitle {
    color: #d2d2d2 !important;
}

/* Shared HUD interaction layer. Imported by buttons.css on every public template.
   .hud-button is the opt-in hook for future custom controls. */
:root {
  --hud-control-edge: #00b4ff;
  --hud-control-glow: rgba(0,180,255,.32);
  --hud-control-sheen: rgba(255,255,255,.28);
}
[data-theme="light"] {
  --hud-control-edge: #007ab4;
  --hud-control-glow: rgba(0,122,180,.22);
}
html body :is(button,.btn,[role="button"],.hud-button,.rac-stage-button,a[class*="btn-"],.rac-command-dock a):not(.rac-promote-film):not(.btn-loading) {
  isolation: isolate;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .3s ease, filter .3s ease, translate .3s cubic-bezier(.16,1,.3,1), background-color .25s ease, color .25s ease !important;
  -webkit-tap-highlight-color: transparent;
}
/* Keep positioned icon controls and their existing transforms intact. */
:where(button,[role="button"]) { position: relative; }
html body :is(.btn,.hud-button,.rac-stage-button,a[class*="cta-btn"],.rac-command-dock a) { position: relative; }
html body :is(button,.btn,[role="button"],.hud-button,.rac-stage-button,a[class*="btn-"],.rac-command-dock a):not(.rac-promote-film):not(.btn-loading)::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 0;
  border-radius: inherit;
  background: linear-gradient(110deg,transparent 25%,var(--hud-control-sheen) 48%,transparent 70%);
  transform: translateX(-125%);
  opacity: 0;
  transition: transform .65s cubic-bezier(.16,1,.3,1), opacity .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  html body :is(button,.btn,[role="button"],.hud-button,.rac-stage-button,a[class*="btn-"],.rac-command-dock a):not(.rac-promote-film):not(.btn-loading):not(:disabled):not(.disabled):not([aria-disabled="true"]):hover {
    border-color: var(--hud-control-edge) !important;
    box-shadow: inset 0 0 0 1px var(--hud-control-edge), inset 0 0 18px var(--hud-control-glow), 0 8px 24px -8px var(--hud-control-glow) !important;
    filter: drop-shadow(0 0 6px var(--hud-control-glow)) brightness(1.08) !important;
    translate: 0 -2px;
  }
  html body :is(button,.btn,[role="button"],.hud-button,.rac-stage-button,a[class*="btn-"],.rac-command-dock a):not(.rac-promote-film):not(.btn-loading):not(:disabled):not(.disabled):not([aria-disabled="true"]):hover::before {
    transform: translateX(125%);
    opacity: 1;
  }
}
html body :is(button,.btn,[role="button"],.hud-button,.rac-stage-button,a[class*="btn-"],.rac-command-dock a):focus-visible {
  outline: 2px solid var(--hud-control-edge) !important;
  outline-offset: 4px;
  box-shadow: inset 0 0 0 2px var(--hud-control-edge), inset 0 0 20px var(--hud-control-glow) !important;
}
html body :is(button,.btn,[role="button"],.hud-button,.rac-stage-button,a[class*="btn-"],.rac-command-dock a):active { translate: 0 0; }

/* Compact, stationary product markers; explicit insets prevent RTL stretching. */
html body .vehicle-card .vehicle-badge {
  position: absolute !important;
  inset: auto !important;
  inset-block-start: 16px !important;
  inset-inline-start: 16px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  width: max-content !important;
  max-width: calc(100% - 32px);
  padding: 7px 12px !important;
  border: 1px solid #32657b !important;
  border-radius: 3px 12px 3px 12px !important;
  background: rgba(8,20,28,.94) !important;
  color: #d8f2ff !important;
  box-shadow: none !important;
  font: 700 .68rem/1.6 var(--rac-ui-font, Cairo,'IBM Plex Sans Arabic',Arial,sans-serif) !important;
  letter-spacing: 0 !important;
  text-transform: none;
  z-index: 4 !important;
  pointer-events: none;
}
html body .vehicle-card .vehicle-badge::before {
  content: '';
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  background: #00b4ff;
  border-radius: 1px;
}
html body .vehicle-card .vehicle-badge.hot { border-color: #943542 !important; color: #ffdae0 !important; }
html body .vehicle-card .vehicle-badge.hot::before { background: #d12f3e; }
html[data-theme="light"] body .vehicle-card .vehicle-badge { background: rgba(248,253,255,.97) !important; color: #164c64 !important; border-color: #a7cad9 !important; }
html[data-theme="light"] body .vehicle-card .vehicle-badge.hot { color: #912333 !important; border-color: #d5a4ac !important; }
html body .vehicle-card .vehicle-badge,
html body .vehicle-card .vehicle-badge::before,
html body .vehicle-card .vehicle-badge::after {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  translate: none !important;
}
@media (prefers-reduced-motion: reduce) {
  html body :is(button,.btn,[role="button"],.hud-button,.rac-stage-button,a[class*="btn-"],.rac-command-dock a) { transition: none !important; translate: none !important; }
  html body :is(button,.btn,[role="button"],.hud-button,.rac-stage-button,a[class*="btn-"],.rac-command-dock a)::before { display: none; transition: none; }
}



/*
 * ========================================
 * Button Design System - AlRaebi Auto Car
 * ========================================
 * نظام موحد لجميع الأزرار في الموقع
 * يضمن التناسق والاحترافية عبر جميع الصفحات
 */

/* ========================================
   1. BASE BUTTON STYLES (الأساسيات)
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--rac-ui-font, 'IBM Plex Sans Arabic', 'Inter', sans-serif);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem var(--focus-shadow-color);
}

.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========================================
   2. BUTTON SIZES (الأحجام)
   ======================================== */

/* Small Button */
.btn-sm {
    padding: 0.4rem 0.875rem;
    font-size: 0.8125rem;
    border-radius: 8px;
    min-height: 32px;
    text-align: center;
    justify-content: center;
}

/* Regular Button (Default) */
.btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 12px;
    min-height: 48px;
}

/* Large Button */
.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 16px;
    min-height: 56px;
}

/* Extra Large Button */
.btn-xl {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    border-radius: 20px;
    min-height: 64px;
}

/* Block Button (Full Width) */
.btn-block {
    display: flex;
    width: 100%;
}

/* ========================================
   3. PRIMARY BUTTONS (الأزرار الأساسية)
   ======================================== */

.btn-primary {
    background: linear-gradient(135deg, var(--btn-primary-bg) 0%, var(--btn-primary-hover) 100%);
    color: var(--btn-primary-text);
    border-color: transparent;
    box-shadow: 0 4px 15px var(--btn-primary-shadow);
    transition: var(--theme-transition);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--btn-primary-hover) 0%, var(--btn-primary-active) 100%);
    box-shadow: 0 6px 20px var(--btn-primary-hover-shadow);
    transform: translateY(-2px);
}

.btn-primary:active {
    background: var(--btn-primary-active);
    box-shadow: 0 2px 10px var(--btn-primary-shadow);
    transform: translateY(0);
}

/* ========================================
   4. OUTLINE BUTTONS (أزرار الحدود)
   ======================================== */

.btn-outline-primary {
    background: transparent;
    color: var(--btn-primary-bg);
    border-color: var(--btn-primary-bg);
    box-shadow: none;
    transition: var(--theme-transition);
}

.btn-outline-primary:hover {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border-color: var(--btn-primary-bg);
    box-shadow: 0 4px 15px var(--btn-primary-shadow);
    transform: translateY(-2px);
}

.btn-outline-primary:active {
    background: var(--btn-primary-hover);
    color: var(--btn-primary-text);
    border-color: var(--btn-primary-hover);
    transform: translateY(0);
}

/* ========================================
   5. LIGHT BUTTONS (أزرار فاتحة)
   ======================================== */

.btn-light {
    background: var(--btn-light-bg);
    color: var(--btn-light-text);
    border-color: transparent;
    box-shadow: 0 4px 15px var(--btn-light-shadow);
    transition: var(--theme-transition);
}

.btn-light:hover {
    background: var(--btn-light-hover-bg);
    color: var(--btn-light-hover-text);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn-light:active {
    background: var(--btn-light-active-bg);
    transform: translateY(0);
}

/* ========================================
   6. OUTLINE LIGHT BUTTONS (أزرار حدود فاتحة)
   ======================================== */

.btn-outline-light {
    background: transparent;
    color: var(--btn-light-bg);
    border-color: var(--btn-light-bg);
    box-shadow: none;
    transition: var(--theme-transition);
}

.btn-outline-light:hover {
    background: var(--btn-light-bg);
    color: var(--btn-light-text);
    border-color: var(--btn-light-bg);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.btn-outline-light:active {
    background: var(--btn-light-hover-bg);
    color: var(--btn-light-text);
    transform: translateY(0);
}

/* ========================================
   7. WHITE BUTTONS (أزرار بيضاء للـ Overlay)
   ======================================== */

.btn-white {
    background: var(--btn-white-bg);
    color: var(--btn-white-text);
    border-color: transparent;
    box-shadow: 0 4px 20px var(--btn-white-shadow);
    font-weight: 700;
    transition: var(--theme-transition);
}

.btn-white:hover {
    background: var(--btn-white-hover-bg);
    color: var(--btn-white-hover-text);
    box-shadow: 0 6px 25px var(--btn-primary-hover-shadow);
    transform: translateY(-2px) scale(1.05);
}

.btn-white:active {
    background: var(--btn-white-active-bg);
    transform: translateY(0) scale(1);
}

/* ========================================
   8. SECONDARY BUTTONS (أزرار ثانوية)
   ======================================== */

.btn-secondary {
    background: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    border-color: transparent;
    box-shadow: 0 4px 15px var(--btn-secondary-shadow);
    transition: var(--theme-transition);
}

.btn-secondary:hover {
    background: var(--btn-secondary-hover);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
    transform: translateY(-2px);
}

/* ========================================
   9. SUCCESS BUTTONS (أزرار النجاح)
   ======================================== */

.btn-success {
    background: linear-gradient(135deg, var(--btn-success-bg) 0%, var(--btn-success-bg-end) 100%);
    color: var(--btn-success-text);
    border-color: transparent;
    box-shadow: 0 4px 15px var(--btn-success-shadow);
    transition: var(--theme-transition);
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--btn-success-hover) 0%, var(--btn-success-hover-end) 100%);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    transform: translateY(-2px);
}

/* ========================================
   10. DANGER BUTTONS (أزرار التحذير)
   ======================================== */

.btn-danger {
    background: linear-gradient(135deg, var(--btn-danger-bg) 0%, var(--btn-danger-bg-end) 100%);
    color: var(--btn-danger-text);
    border-color: transparent;
    box-shadow: 0 4px 15px var(--btn-danger-shadow);
    transition: var(--theme-transition);
}

.btn-danger:hover {
    background: linear-gradient(135deg, var(--btn-danger-hover) 0%, var(--btn-danger-hover-end) 100%);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    transform: translateY(-2px);
}

/* ========================================
   11. SPECIAL BUTTONS (أزرار خاصة)
   ======================================== */

/* Hero Buttons - للاستخدام في Hero Sections */
.btn-hero-primary {
    background: linear-gradient(135deg, var(--btn-primary-bg) 0%, var(--btn-primary-hover) 100%);
    color: var(--btn-primary-text);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 50px;
    box-shadow: 0 8px 25px var(--btn-primary-hover-shadow);
    font-weight: 700;
    transition: var(--theme-transition);
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, var(--btn-primary-hover) 0%, var(--btn-primary-active) 100%);
    box-shadow: 0 12px 35px rgba(0, 165, 223, 0.5);
    transform: translateY(-3px);
}

.btn-hero-outline {
    background: transparent;
    color: var(--btn-light-bg);
    border: 2px solid var(--btn-light-bg);
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--theme-transition);
}

.btn-hero-outline:hover {
    background: var(--btn-light-bg);
    color: var(--btn-light-text);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* CTA Buttons - للاستخدام في Call-to-Action Sections */
.btn-cta,
.cta-btn-primary {
    background: var(--btn-white-bg) !important;
    color: var(--btn-white-text) !important;
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--theme-transition);
}

.btn-cta:hover,
.cta-btn-primary:hover {
    background: var(--btn-white-bg) !important;
    color: var(--btn-white-hover-bg) !important;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.cta-btn-primary i {
    color: inherit !important;
}

/* CTA Secondary Button - زر ثانوي للـ CTA */
.cta-btn-secondary {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    padding: 15px 40px;
    font-size: 1rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--theme-transition);
}

.cta-btn-secondary:hover {
    background: #ffffff !important;
    color: var(--color-primary) !important;
    border-color: #ffffff !important;
    transform: translateY(-5px);
}

.cta-btn-secondary i {
    color: inherit !important;
}

/* Product Buttons - للاستخدام في بطاقات المنتجات */
.btn-product {
    background: var(--btn-light-bg);
    color: var(--btn-primary-bg);
    border: 2px solid var(--btn-primary-bg);
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--theme-transition);
}

.btn-product:hover {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border-color: var(--btn-primary-bg);
    box-shadow: 0 6px 20px var(--btn-primary-shadow);
    transform: translateY(-2px);
}

/* ========================================
   12. ICON BUTTONS (أزرار مع أيقونات)
   ======================================== */

.btn i {
    font-size: 1em;
}

.btn-icon-left i {
    margin-left: 0.5rem;
}

.btn-icon-right i {
    margin-right: 0.5rem;
}

.btn-icon-only {
    padding: 0.75rem;
    min-width: 48px;
    aspect-ratio: 1;
}

.btn-icon-only.btn-sm {
    padding: 0.5rem;
    min-width: 36px;
}

.btn-icon-only.btn-lg {
    padding: 1rem;
    min-width: 56px;
}

/* ========================================
   13. BUTTON GROUPS (مجموعات الأزرار)
   ======================================== */

.btn-group {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ========================================
   14. LOADING STATE (حالة التحميل)
   ======================================== */

.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   15. RESPONSIVE ADJUSTMENTS (تعديلات الشاشات)
   ======================================== */

@media (max-width: 768px) {
    .btn-lg {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .btn-xl {
        padding: 1rem 2.25rem;
        font-size: 1.125rem;
        min-height: 56px;
    }
    
    .btn-hero-primary,
    .btn-hero-outline {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .btn-cta {
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.75rem;
        font-size: 0.9375rem;
    }
    
    .btn-group {
        width: 100%;
    }
    
    .btn-group .btn {
        flex: 1;
    }
}

/* ========================================
   16. RTL SUPPORT (دعم العربية)
   ======================================== */

[dir="rtl"] .btn-icon-left i {
    margin-left: 0;
    margin-right: 0.5rem;
}

[dir="rtl"] .btn-icon-right i {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* ========================================
   17. ACCESSIBILITY (إمكانية الوصول)
   ======================================== */

.btn:focus-visible {
    outline: 3px solid var(--focus-shadow-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }
}

/* ========================================
   18. PRINT STYLES (أنماط الطباعة)
   ======================================== */

@media print {
    .btn {
        border: 1px solid var(--color-text);
        box-shadow: none;
    }
}

/*
 * ========================================
 * Vehicle Cards Design System - AlRaebi Auto Car
 * ========================================
 * نظام موحد لجميع بطاقات المركبات في الموقع
 * يشمل: السيارات، الشاحنات، محطات الشحن
 */

/* ========================================
   1. BASE CARD STRUCTURE (البنية الأساسية)
   ======================================== */

.vehicle-card {
    position: relative;
    background: var(--color-card-bg);
    border-radius: 24px; /* زوايا مستديرة موحدة */
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15); /* ظل قوي موحد */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), var(--theme-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* شريط علوي تم إزالته بناءً على طلب المستخدم */

.vehicle-card:hover {
    transform: translateY(-12px); /* حركة أقوى */
    box-shadow: 0 25px 60px var(--btn-primary-hover-shadow); /* ظل أقوى عند hover */
}

/* ========================================
   2. VEHICLE IMAGE SECTION (قسم الصورة)
   ======================================== */

.vehicle-image {
    position: relative;
    width: 100%;
    height: 200px; /* ارتفاع أكبر للفخامة */
    background: linear-gradient(135deg, var(--color-bg-section) 0%, var(--color-bg-muted) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* تعتيم خفيف موحد فوق الصورة */
.vehicle-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15); /* تعتيم موحد 15% */
    z-index: 1;
    pointer-events: none;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.1); /* تكبير أقوى */
}

/* ========================================
   3. VEHICLE OVERLAY (الطبقة العلوية)
   ======================================== */

.vehicle-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 165, 223, 0.92) 0%, rgba(0, 126, 198, 0.92) 100%); /* تعتيم موحد 92% */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.vehicle-card:hover .vehicle-overlay {
    opacity: 1;
}

/* زر بارز موحد - أبيض مع ظل */
.vehicle-overlay .btn {
    background: var(--btn-white-bg);
    color: var(--color-primary);
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 14px 32px; /* مسافات واسعة */
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); /* ظل قوي */
    transition: all 0.3s ease, var(--theme-transition);
}

.vehicle-overlay .btn:hover {
    background: var(--btn-white-hover-bg);
    color: var(--btn-white-hover-text);
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* ========================================
   4. VEHICLE BADGE (شارة المركبة)
   ======================================== */

.vehicle-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--btn-primary-text);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px var(--btn-primary-shadow);
    z-index: 20;
    animation: none;
}


/* Badge Variants */
.vehicle-badge.hot {
    background: linear-gradient(135deg, var(--btn-danger-bg) 0%, var(--btn-danger-bg-end) 100%);
}

.vehicle-badge.new {
    background: linear-gradient(135deg, var(--btn-success-bg) 0%, var(--btn-success-bg-end) 100%);
}

.vehicle-badge.featured {
    background: linear-gradient(135deg, var(--btn-warning-bg) 0%, var(--btn-warning-bg-end) 100%);
    color: var(--btn-warning-text);
}

.vehicle-badge.commercial {
    background: linear-gradient(135deg, var(--btn-secondary-bg) 0%, var(--btn-secondary-hover) 100%);
}

/* ========================================
   5. VEHICLE INFO SECTION (معلومات المركبة)
   ======================================== */

.vehicle-info {
    padding: 20px 20px; /* مسافات واسعة موحدة */
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vehicle-name {
    font-size: 1.25rem; /* خط أكبر */
    font-weight: 800; /* خط سميك جداً */
    color: var(--color-text);
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
    transition: color 0.3s ease, var(--theme-transition);
}

.vehicle-card:hover .vehicle-name {
    color: var(--color-primary);
}

.vehicle-type {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin: 0;
    font-weight: 600; /* أسمك */
    transition: var(--theme-transition);
}

/* ========================================
   6. VEHICLE SPECS (المواصفات)
   ======================================== */

.vehicle-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* مسافة أكبر */
    margin-top: 0.5rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--color-primary);
    padding: 8px 16px; /* مسافات واسعة موحدة */
    border-radius: 50px; /* دائري موحد */
    font-size: 0.8rem;
    color: var(--btn-primary-text);
    font-weight: 700; /* خط سميك موحد */
    box-shadow: 0 4px 12px var(--btn-primary-shadow); /* ظل خفيف موحد */
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, var(--theme-transition);
}

.spec-item i {
    color: var(--btn-primary-text);
    font-size: 0.9rem;
}

.vehicle-card:hover .spec-item {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px var(--btn-primary-hover-shadow); /* ظل أقوى عند hover */
}

/* ========================================
   7. VEHICLE ACTIONS (أزرار الإجراءات)
   ======================================== */

.vehicle-actions {
    padding: 0 20px 20px; /* مسافات واسعة موحدة */
    display: flex;
    gap: 12px;
}

/* زر الإجراء الرئيسي - بارز وموحد */
.vehicle-actions .btn {
    flex: 1;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: none;
    padding: 14px 24px; /* مسافات واسعة */
    font-size: 1.05rem;
    font-weight: 800; /* خط سميك جداً */
    border-radius: 50px; /* دائري موحد */
    box-shadow: 0 6px 18px var(--btn-primary-shadow); /* ظل قوي موحد */
    transition: all 0.3s ease, var(--theme-transition);
    letter-spacing: 0.3px;
}

.vehicle-actions .btn:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px var(--btn-primary-hover-shadow); /* ظل أقوى */
}

/* ========================================
   8. VEHICLE PRICE (السعر)
   ======================================== */

.vehicle-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--color-bg-section) 0%, var(--color-bg-muted) 100%);
    transition: var(--theme-transition);
}

.price-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: var(--theme-transition);
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    transition: var(--theme-transition);
}

.price-currency {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-right: 5px;
    transition: var(--theme-transition);
}

/* ========================================
   9. VEHICLE FEATURES (الميزات)
   ======================================== */

.vehicle-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 20px 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    transition: var(--theme-transition);
}

.feature-item i {
    color: var(--btn-success-bg);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* ========================================
   10. VEHICLE STATUS (الحالة)
   ======================================== */

.vehicle-status {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--color-card-bg);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 20;
    transition: var(--theme-transition);
}

.vehicle-status.available {
    color: var(--btn-success-bg);
}

.vehicle-status.available::before,
.vehicle-status.pre-order::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.vehicle-status.available::before {
    background: var(--btn-success-bg);
    animation: status-pulse 2s ease-in-out infinite;
}

.vehicle-status.pre-order {
    color: var(--btn-warning-bg);
}

.vehicle-status.pre-order::before {
    background: var(--btn-warning-bg);
}

.vehicle-status.sold-out {
    color: var(--btn-danger-bg);
}

@keyframes status-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* ========================================
   11. VEHICLE RATING (التقييم)
   ======================================== */

.vehicle-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px 10px;
}

.rating-stars {
    display: flex;
    gap: 4px;
}

.rating-stars i {
    color: var(--btn-warning-bg);
    font-size: 1rem;
}

.rating-count {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    transition: var(--theme-transition);
}

/* ========================================
   12. VEHICLE COMPARISON (المقارنة)
   ======================================== */

.vehicle-compare {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--color-card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, var(--theme-transition);
    z-index: 20;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.vehicle-compare:hover {
    background: var(--color-primary);
    color: var(--btn-primary-text);
    transform: scale(1.1);
}

.vehicle-compare i {
    font-size: 1.1rem;
}

/* ========================================
   13. VEHICLE TAGS (الوسوم)
   ======================================== */

.vehicle-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px 15px;
}

.vehicle-tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--color-bg-muted);
    color: var(--color-text-secondary);
    transition: var(--theme-transition);
}

.vehicle-tag.electric {
    background: var(--color-bg-section);
    color: var(--btn-success-bg);
}

.vehicle-tag.hybrid {
    background: var(--color-bg-section);
    color: var(--color-primary);
}

.vehicle-tag.commercial {
    background: var(--color-bg-muted);
    color: var(--color-text-secondary);
}

/* ========================================
   14. GRID LAYOUTS (تخطيطات الشبكة)
   ======================================== */

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* 2 Columns Layout */
.vehicles-grid-2 {
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
}

/* 4 Columns Layout */
.vehicles-grid-4 {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ========================================
   15. COMPACT CARD VARIANT (بطاقة مدمجة)
   ======================================== */

.vehicle-card.compact .vehicle-image {
    height: 160px;
}

.vehicle-card.compact .vehicle-info {
    padding: 12px 12px;
}

.vehicle-card.compact .vehicle-name {
    font-size: 1.05rem;
}

/* ========================================
   16. FEATURED CARD VARIANT (بطاقة مميزة)
   ======================================== */

.vehicle-card.featured {
    box-shadow: 0 15px 40px var(--btn-primary-shadow);
}

/* ========================================
   17. HORIZONTAL CARD VARIANT (بطاقة أفقية)
   ======================================== */

.vehicle-card.horizontal {
    flex-direction: row;
}

.vehicle-card.horizontal .vehicle-image {
    width: 40%;
    height: auto;
    min-height: 300px;
}

.vehicle-card.horizontal .vehicle-info {
    width: 60%;
}

/* ========================================
   18. LOADING STATE (حالة التحميل)
   ======================================== */

.vehicle-card.loading {
    pointer-events: none;
}

.vehicle-card.loading .vehicle-image {
    position: relative;
    overflow: hidden;
}

.vehicle-card.loading .vehicle-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* ========================================
   19. RESPONSIVE DESIGN (التصميم المتجاوب)
   ======================================== */

/* Fallback for browsers without grid support */
@supports not (display: grid) {
    .vehicles-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .vehicles-grid > * {
        flex: 1 1 calc(33.333% - 20px);
        min-width: 280px;
    }
}

@media (max-width: 1200px) {
    .vehicles-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .vehicle-image {
        height: 170px;
    }
    
    .vehicle-name {
        font-size: 1.1rem;
    }
    
    .vehicle-card.horizontal {
        flex-direction: column;
    }
    
    .vehicle-card.horizontal .vehicle-image {
        width: 100%;
        height: 170px;
    }
    
    .vehicle-card.horizontal .vehicle-info {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .vehicles-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .vehicle-image {
        height: 160px;
    }
    
    .vehicle-info {
        padding: 15px 12px;
    }
    
    .vehicle-name {
        font-size: 1.05rem;
    }
    
    .vehicle-badge {
        top: 10px;
        right: 10px;
        padding: 4px 12px;
        font-size: 0.65rem;
    }
}

@media (max-width: 576px) {
    .vehicles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .vehicle-image {
        height: 150px;
    }
    
    .vehicle-specs {
        gap: 5px;
    }
    
    .spec-item {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
}

/* ========================================
   20. RTL/LTR SUPPORT (دعم العربية والإنجليزية)
   ======================================== */

/* RTL (Arabic) - Badge on LEFT side */
[dir="rtl"] .vehicle-badge,
[dir="ltr"] .vehicle-compare,
[dir="ltr"] .vehicle-status {
    left: auto;
}

[dir="rtl"] .vehicle-badge {
    left: 12px;
}

[dir="rtl"] .vehicle-compare,
[dir="rtl"] .vehicle-status {
    right: 20px;
}

[dir="rtl"] .price-currency {
    margin-right: 0;
    margin-left: 5px;
}

/* LTR (English) - Badge on RIGHT side */
[dir="ltr"] .vehicle-badge,
[dir="rtl"] .vehicle-compare,
[dir="rtl"] .vehicle-status {
    right: auto;
}

[dir="ltr"] .vehicle-badge {
    right: 12px;
}

[dir="ltr"] .vehicle-compare,
[dir="ltr"] .vehicle-status {
    left: 20px;
}

[dir="ltr"] .price-currency {
    margin-left: 0;
    margin-right: 5px;
}

/* ========================================
   21. PRINT STYLES (أنماط الطباعة)
   ======================================== */

@media print {
    .vehicle-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--color-border);
    }
    
    .vehicle-overlay,
    .vehicle-compare,
    .vehicle-actions {
        display: none;
    }
}

/* ========================================
   22. ACCESSIBILITY (إمكانية الوصول)
   ======================================== */

.vehicle-card:focus-within {
    outline: 3px solid var(--focus-shadow-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* ========================================
   23. DARK MODE SUPPORT (دعم الوضع الداكن)
   ======================================== */

/* البطاقات داكنة دائماً - تم تطبيق الألوان الداكنة في الأعلى */

/* ==========================================
   Main Style CSS for AlRaebi Auto Car
   ========================================== */

/* Root Variables */
:root {
    /* Use CSS variables from brand-identity.css */
    --primary-color: var(--color-primary);
    --primary-color-dark: var(--color-primary-dark);
    --neutral-black: #000000;
    --neutral-dark: var(--color-footer-bg);
    --neutral-mid: var(--color-text-secondary);
    --neutral-light: var(--color-bg-muted);
    --neutral-ice: var(--color-bg-section);
    --card-color: var(--color-card-bg);
    --text-primary: var(--color-text);
    --text-secondary: var(--color-text-secondary);
    --border-color: var(--color-border);
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --header-height: 120px;
    --transition: var(--theme-transition);
    --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 24px rgba(0, 0, 0, 0.16);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    max-width: 100%;
    width: 100%;
}

body {
    font-family: 'ITF Ghroob Arabic', 'IBM Plex Sans Arabic', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    direction: rtl;
    text-align: right;
    transition: var(--theme-transition);
    overflow-x: hidden !important;
    overflow-y: auto !important;
    max-width: 100%;
    width: 100%;
}

/* Fix for numbers and phone numbers direction */
a[href^="tel:"],
.phone-number,
.number,
[dir="rtl"] a[href^="tel:"] {
    direction: ltr;
    unicode-bidi: embed;
    display: inline-block;
}

/* Fix for all numbers in RTL context */
[dir="rtl"] .top-links a,
[dir="rtl"] .contact-info a,
[dir="rtl"] .footer-contact a {
    direction: ltr;
    unicode-bidi: embed;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color-dark);
}

/* ==========================================
   Top Bar
   ========================================== */
.top-bar {
    background-color: var(--color-bg-muted);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 14px;
    transition: var(--theme-transition);
}

.top-bar a {
    color: var(--color-text-secondary);
    margin: 0 10px;
    transition: var(--theme-transition);
}

.top-bar a:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--color-card-bg);
    border-radius: 50%;
    transition: var(--theme-transition);
    flex-shrink: 0;
}

.social-links a:hover {
    background-color: var(--color-primary);
    color: var(--btn-primary-text) !important;
    transform: translateY(-2px);
}

/* ==========================================
   Main Header
   ========================================== */
.main-header {
    background-color: var(--color-card-bg);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 90px !important;
    padding: 10px 0;
    transition: var(--theme-transition);
}

.navbar-brand {
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-brand .logo {
    height: 140px !important;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    display: block;
    margin: -60px 0 !important;
}

.navbar {
    min-height: 70px !important;
    align-items: center;
}

.navbar-nav .nav-link {
    color: var(--color-text);
    font-weight: 500;
    padding: 10px 15px !important;
    transition: var(--theme-transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-primary);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 15px;
    left: 15px;
    height: 3px;
    background-color: var(--color-primary);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 10px !important;
    background-color: var(--color-card-bg);
    transition: var(--theme-transition);
}

.dropdown-item {
    padding: 8px 20px;
    transition: var(--theme-transition);
    font-weight: 400;
    color: var(--color-text);
}

.dropdown-item:hover {
    background-color: var(--color-bg-section);
    color: var(--color-primary);
    padding-right: 25px;
}

/* Language switcher buttons now use styles from buttons.css only */
.language-switcher {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.language-switcher .btn {
    min-width: 70px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    height: 600px;
}

.hero-slide {
    height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-text-on-dark);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text-on-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--color-text-on-dark);
    opacity: 0.95;
}

.hero-buttons .btn {
    padding: 12px 30px;
    margin: 5px;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--color-primary);
    transition: var(--theme-transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--color-primary);
    color: var(--btn-primary-text);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--color-text-on-dark);
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--color-primary);
    width: 30px;
    border-radius: 6px;
}

/* ==========================================
   Quick Links Section
   ========================================== */
.quick-links-section {
    background-color: var(--color-bg-section);
    border-bottom: 2px solid var(--color-border);
    transition: var(--theme-transition);
}

.quick-link-card {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--color-card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--theme-transition);
    color: var(--color-text);
}

.quick-link-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--color-primary);
}

.quick-link-card i {
    font-size: 24px;
    margin-left: 15px;
    color: var(--color-primary);
}

/* ==========================================
   Section Headers
   ========================================== */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    transition: var(--theme-transition);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-top: 1rem;
    transition: var(--theme-transition);
}

/* Vehicle Card Styles - Now handled by vehicle-cards.css */
/* Legacy card styles removed - all cards now use unified vehicle-cards.css */

/* ==========================================
   Service Cards
   ========================================== */
.service-card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    transition: var(--theme-transition);
    border: 1px solid var(--color-border);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--color-bg-section);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--theme-transition);
}

.service-card:hover .service-icon {
    background-color: var(--color-primary);
}

.service-icon i {
    font-size: 36px;
    color: var(--color-primary);
    transition: var(--theme-transition);
}

.service-card:hover .service-icon i {
    color: var(--btn-primary-text);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--color-text);
    transition: var(--theme-transition);
}

.service-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
    transition: var(--theme-transition);
}

.service-link {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 14px;
}

.service-link:hover {
    text-decoration: underline;
}

/* ==========================================
   Why Us Section
   ========================================== */
.why-us-section {
    background-color: var(--color-bg-section);
    position: relative;
    transition: var(--theme-transition);
}

.why-us-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.why-us-item .icon {
    flex-shrink: 0;
}

.why-us-item .icon i {
    font-size: 24px;
    color: var(--color-primary);
}

.why-us-item .content .rac-metric-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--color-text);
    transition: var(--theme-transition);
}

.why-us-item .content p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin: 0;
    transition: var(--theme-transition);
}

.why-us-image {
    position: relative;
}

.why-us-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background-color: var(--color-primary);
    color: var(--btn-primary-text);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.experience-badge .number {
    font-size: 2rem;
    font-weight: 700;
}

.experience-badge .text {
    font-size: 12px;
    text-transform: uppercase;
}

/* ==========================================
   News Section
   ========================================== */
.news-card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--theme-transition);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--theme-transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--color-primary);
    color: var(--btn-primary-text);
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.news-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    font-size: 12px;
    text-transform: uppercase;
}

.news-content {
    padding: 25px;
}

.news-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--color-text);
    line-height: 1.4;
    transition: var(--theme-transition);
}

.news-excerpt {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
    transition: var(--theme-transition);
}

.read-more {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    gap: 10px;
}

/* ==========================================
   Partners Section
   ========================================== */
.partners-section {
    background-color: var(--color-card-bg);
    padding: 60px 0;
    transition: var(--theme-transition);
}

.partners-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.partners-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.partner-logo {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--color-card-bg);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    min-height: 180px;
    cursor: default;
    transition: var(--theme-transition);
}

.partner-logo img {
    max-height: 120px;
    max-width: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--btn-primary-text);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--btn-primary-text);
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   Footer
   ========================================== */
.site-footer {
    background-color: var(--color-footer-bg);
    color: var(--color-footer-text);
    transition: var(--theme-transition);
}

.footer-top {
    border-bottom: 1px solid var(--color-border);
}

.footer-logo {
    height: 70px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-about p {
    color: var(--color-footer-text);
    font-size: 14px;
    line-height: 1.8;
    transition: var(--theme-transition);
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: var(--color-text-secondary);
    border-radius: 50%;
    margin-left: 10px;
    color: var(--btn-primary-text);
    transition: var(--theme-transition);
}

.footer-social a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-footer-text);
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--color-footer-text);
    font-size: 14px;
    transition: var(--theme-transition);
}

.footer-links ul li a:hover {
    color: var(--btn-primary-text);
    padding-right: 5px;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: var(--color-footer-text);
    font-size: 14px;
    transition: var(--theme-transition);
}

.contact-info li i {
    color: var(--color-primary);
    margin-left: 10px;
    margin-top: 3px;
    width: 20px;
}

.footer-bottom {
    background-color: var(--color-text-secondary);
    transition: var(--theme-transition);
}

.copyright {
    color: var(--color-footer-text);
    font-size: 14px;
    transition: var(--theme-transition);
}

.footer-bottom-links a {
    color: var(--color-footer-text);
    font-size: 14px;
    margin: 0 10px;
    transition: var(--theme-transition);
}

.footer-bottom-links a:hover {
    color: var(--btn-primary-text);
}

/* ==========================================
   Featured Videos Section
   ========================================== */
.featured-videos {
    background: var(--color-bg-section);
    position: relative;
    transition: var(--theme-transition);
    overflow-x: hidden;
}

.featured-videos .container-fluid {
    padding: 0;
}

.featured-videos .section-title {
    color: var(--color-text);
}

.featured-videos .section-subtitle {
    color: var(--color-text-secondary);
}

.full-width-video {
    background: var(--color-card-bg);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--theme-transition);
}

.full-width-video .row {
    margin-left: 0;
    margin-right: 0;
}

.full-width-video .col-lg-8,
.full-width-video .col-lg-4 {
    padding-left: 0;
    padding-right: 0;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-info-side {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, var(--color-bg-muted) 0%, var(--color-bg-section) 100%);
    transition: var(--theme-transition);
}

.video-info-side .video-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
    transition: var(--theme-transition);
}

.video-info-side .video-description {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
    transition: var(--theme-transition);
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-pause-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--color-primary);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-pause-btn:hover {
    background: var(--btn-primary-text);
    transform: scale(1.1);
}

.play-pause-btn i {
    margin-left: 3px;
}

.video-card-info {
    padding: 20px;
}

.video-card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 10px;
    transition: var(--theme-transition);
}

.video-card-description {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
    transition: var(--theme-transition);
}

/* Video loading animation */
.video-wrapper.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 3;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Responsive adjustments for videos */
@media (max-width: 991px) {
    .video-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .video-card-title {
        font-size: 18px;
    }

    .play-pause-btn {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
}

/* ==========================================
   Utility Classes
   ========================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: var(--btn-primary-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    transition: var(--theme-transition);
    z-index: 999;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    color: var(--btn-primary-text);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 105px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: var(--btn-primary-text);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--theme-transition);
    z-index: 10000;
}

.back-to-top:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
}

.back-to-top.show {
    display: flex;
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 500;
    transition: var(--theme-transition);
    border: 2px solid transparent;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--btn-primary-text);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--btn-primary-text);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 126, 198, 0.3);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    color: var(--btn-primary-text);
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--btn-primary-text);
    border-color: var(--btn-primary-text);
}

.btn-outline-light:hover {
    background-color: var(--color-bg-muted);
    color: var(--color-primary);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 6px 15px;
    font-size: 14px;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 20px 0;
    }

    .navbar-nav .nav-link {
        padding: 10px 0 !important;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-slider {
        height: 500px;
    }

    .hero-slide {
        height: 500px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-slider {
        height: 400px;
    }

    .hero-slide {
        height: 400px;
    }

    /* Move swiper navigation buttons to bottom on mobile */
    .swiper-button-next,
    .swiper-button-prev {
        top: auto;
        bottom: 20px;
        width: 40px;
        height: 40px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
    }

    .swiper-button-prev {
        left: 10px;
    }

    .swiper-button-next {
        right: 10px;
    }

    .swiper-pagination {
        bottom: 80px;
    }

    .section-title {
        font-size: 2rem;
    }



    .cta-title {
        font-size: 1.75rem;
    }

    .quick-link-card {
        padding: 10px 15px;
    }

    .quick-link-card i {
        font-size: 20px;
    }

    .quick-link-card span {
        font-size: 14px;
    }
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

.animate__fadeInRight {
    animation-name: fadeInRight;
}

.animate__delay-1s {
    animation-delay: 0.3s;
}

.animate__delay-2s {
    animation-delay: 0.6s;
}

/* ==========================================
   Print Styles
   ========================================== */
@media print {

    .top-bar,
    .main-header,
    .whatsapp-btn,
    .back-to-top,
    .hero-section,
    .cta-section {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}


/* ==========================================
   CRITICAL FIX: Force images to always display
   ========================================== */
/* Image display fixes now handled by vehicle-cards.css */

/* Ensure vehicle cards maintain proper structure */
.vehicle-card .vehicle-image {
    min-height: 300px;
    background-color: var(--color-bg-section);
    transition: var(--theme-transition);
}

.vehicle-showcase-card .vehicle-image-large {
    min-height: 400px;
    background-color: var(--color-bg-section);
    transition: var(--theme-transition);
}


/* Hide specific footer links */
.footer-links a[href*="العروض"],
.footer-links a[href*="الأخبار"],
.footer-links a[href*="الوظائف"],
.footer-links a[href*="الأسئلة الشائعة"],
.footer-links a[href*="Offers"],
.footer-links a[href*="News"],
.footer-links a[href*="Jobs"],
.footer-links a[href*="Careers"],
.footer-links a[href*="FAQ"] {
    display: none !important;
}

.footer-links li:has(a[href*="العروض"]),
.footer-links li:has(a[href*="الأخبار"]),
.footer-links li:has(a[href*="الوظائف"]),
.footer-links li:has(a[href*="الأسئلة الشائعة"]),
.footer-links li:has(a[href*="Offers"]),
.footer-links li:has(a[href*="News"]),
.footer-links li:has(a[href*="Jobs"]),
.footer-links li:has(a[href*="Careers"]),
.footer-links li:has(a[href*="FAQ"]) {
    display: none !important;
}


/* Hide footer bottom links temporarily */
.footer-bottom a[href*="privacy"],
.footer-bottom a[href*="terms"],
.footer-bottom a[href*="sitemap"],
.footer-bottom a[href*="الخصوصية"],
.footer-bottom a[href*="الشروط"],
.footer-bottom a[href*="خريطة"],
footer a[href*="privacy"],
footer a[href*="terms"],
footer a[href*="sitemap"],
footer a[href*="الخصوصية"],
footer a[href*="الشروط"],
footer a[href*="خريطة"] {
    display: none !important;
}

/* Hide separator before/after hidden links */
.footer-bottom a[href*="privacy"] + span,
.footer-bottom a[href*="terms"] + span,
.footer-bottom a[href*="الخصوصية"] + span,
.footer-bottom a[href*="الشروط"] + span {
    display: none !important;
}


/* Hide privacy policy and terms links in footer */
.footer-bottom-links a[href*="privacy"],
.footer-bottom-links a[href*="terms"],
.footer-bottom-links a[href*="sitemap"],
.footer-bottom-links a[href*="الخصوصية"],
.footer-bottom-links a[href*="الشروط"],
.footer-bottom-links a[href*="خريطة"] {
    display: none !important;
}

/* Hide separators next to hidden links */
.footer-bottom-links a[href*="privacy"] + span,
.footer-bottom-links a[href*="terms"] + span,
.footer-bottom-links a[href*="الخصوصية"] + span,
.footer-bottom-links a[href*="الشروط"] + span {
    display: none !important;
}




/* Prevent horizontal scroll only on body */
body {
    overflow-x: hidden;
}


/* ====================================
   Three Info Cards Section (Riddara Page)
   ==================================== */

.three-cards-section {
    padding: 80px 0;
    background-color: var(--color-bg-section);
    transition: var(--theme-transition);
}

.three-cards-section .row {
    align-items: stretch;
}

.three-cards-section .col-lg-4 {
    display: flex;
}

.info-card {
    background: var(--color-card-bg);
    border-radius: 20px;
    padding: 50px 35px;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 320px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: none;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.info-card i {
    font-size: 56px;
    color: var(--color-primary);
    margin-bottom: 25px;
    display: block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: rgba(0, 165, 223, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 15px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--theme-transition);
}

.info-card p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
    transition: var(--theme-transition);
}

/* Dark mode adjustments */
html[data-theme="dark"] .three-cards-section {
    background-color: #000000;
}

html[data-theme="dark"] .info-card {
    background: linear-gradient(145deg, #0d0d0d, #080808);
    border: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 
                0 2px 4px rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .info-card:hover {
    background: linear-gradient(145deg, #121212, #0a0a0a);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 
                0 3px 8px rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .info-card i {
    background: rgba(0, 165, 223, 0.2);
}

html[data-theme="dark"] .info-card h3 {
    color: #ffffff;
}

html[data-theme="dark"] .info-card p {
    color: #d2d2d2;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .info-card {
        min-height: 280px;
        padding: 40px 30px;
    }
    
    .info-card i {
        font-size: 48px;
        width: 70px;
        height: 70px;
        line-height: 70px;
    }
    
    .info-card h3 {
        font-size: 18px;
        min-height: 45px;
    }
}

@media (max-width: 767px) {
    .info-card {
        margin-bottom: 20px;
    }
}


/* ====================================
   Feature Cards Carousel (Riddara Page)
   ==================================== */

.feature-carousel-section {
    padding: 80px 0;
    background-color: var(--color-bg);
    transition: var(--theme-transition);
}

.feature-carousel-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 50px;
}

.featureSwiper {
    padding: 20px 0 60px;
}

.featureSwiper .swiper-slide {
    height: auto;
    display: flex;
}

.feature-card {
    background: var(--color-card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    border: none;
    width: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.feature-card-body {
    padding: 35px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.feature-card-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 65px;
    transition: var(--theme-transition);
}

.feature-card-body p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
    transition: var(--theme-transition);
}

/* Swiper navigation buttons */
.featureSwiper .swiper-button-next,
.featureSwiper .swiper-button-prev {
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    border-radius: 50%;
    color: #ffffff;
}

.featureSwiper .swiper-button-next::after,
.featureSwiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.featureSwiper .swiper-button-next:hover,
.featureSwiper .swiper-button-prev:hover {
    background-color: var(--color-primary-dark);
}

.featureSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--color-text-secondary);
    opacity: 0.5;
}

.featureSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--color-primary);
    width: 30px;
    border-radius: 6px;
}

/* Dark mode adjustments */
html[data-theme="dark"] .feature-carousel-section {
    background-color: #000000;
}

html[data-theme="dark"] .feature-card {
    background: linear-gradient(145deg, #0d0d0d, #080808);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 
                0 2px 4px rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .feature-card:hover {
    background: linear-gradient(145deg, #121212, #0a0a0a);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 
                0 3px 8px rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .feature-card-body h3 {
    color: #ffffff;
}

html[data-theme="dark"] .feature-card-body p {
    color: #d2d2d2;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .feature-card img {
        height: 250px;
    }
    
    .feature-card-body {
        padding: 30px 25px;
    }
    
    .feature-card-body h3 {
        font-size: 20px;
        min-height: 60px;
    }
}

@media (max-width: 767px) {
    .feature-carousel-section h2 {
        font-size: 2rem;
    }
    
    .feature-card img {
        height: 220px;
    }
    
    .feature-card-body h3 {
        font-size: 18px;
        min-height: auto;
    }
}


/* ====================================
   Riddara Page - Dark Mode Support
   ==================================== */

/* All sections background */
html[data-theme="dark"] .viewer-360-section,
html[data-theme="dark"] .hero-stats-section,
html[data-theme="dark"] .banner-slider-section,
html[data-theme="dark"] .chassis-section,
html[data-theme="dark"] .safety-section,
html[data-theme="dark"] .led-section,
html[data-theme="dark"] .color-section,
html[data-theme="dark"] .interior-section,
html[data-theme="dark"] .specs-section {
    background-color: #000000 !important;
}

/* All headings in Riddara sections */
html[data-theme="dark"] .viewer-360-section h2,
html[data-theme="dark"] .hero-stats-section h2,
html[data-theme="dark"] .banner-slider-section h2,
html[data-theme="dark"] .chassis-section h2,
html[data-theme="dark"] .safety-section h2,
html[data-theme="dark"] .led-section h2,
html[data-theme="dark"] .color-section h2,
html[data-theme="dark"] .interior-section h2,
html[data-theme="dark"] .specs-section h2,
html[data-theme="dark"] .viewer-360-section h3,
html[data-theme="dark"] .hero-stats-section h3,
html[data-theme="dark"] .chassis-section h3,
html[data-theme="dark"] .safety-section h3,
html[data-theme="dark"] .interior-section h3,
html[data-theme="dark"] .specs-section h3 {
    color: #ffffff !important;
}

/* All paragraphs and text */
html[data-theme="dark"] .viewer-360-section p,
html[data-theme="dark"] .hero-stats-section p,
html[data-theme="dark"] .chassis-section p,
html[data-theme="dark"] .safety-section p,
html[data-theme="dark"] .led-section p,
html[data-theme="dark"] .color-section p,
html[data-theme="dark"] .interior-section p,
html[data-theme="dark"] .specs-section p {
    color: #d2d2d2 !important;
}

/* Stats cards */
html[data-theme="dark"] .stat-item,
html[data-theme="dark"] .hero-stat {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 
                0 1px 3px rgba(255, 255, 255, 0.05) !important;
}

html[data-theme="dark"] .stat-item h3,
html[data-theme="dark"] .hero-stat h3,
html[data-theme="dark"] .stat-number {
    color: #ffffff !important;
}

html[data-theme="dark"] .stat-item p,
html[data-theme="dark"] .hero-stat p,
html[data-theme="dark"] .stat-label {
    color: #d2d2d2 !important;
}

/* Safety features cards */
html[data-theme="dark"] .safety-card,
html[data-theme="dark"] .safety-feature {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 
                0 1px 3px rgba(255, 255, 255, 0.05) !important;
}

html[data-theme="dark"] .safety-card h4,
html[data-theme="dark"] .safety-feature h4 {
    color: #ffffff !important;
}

html[data-theme="dark"] .safety-card p,
html[data-theme="dark"] .safety-feature p {
    color: #d2d2d2 !important;
}

/* Interior cards */
html[data-theme="dark"] .interior-card,
html[data-theme="dark"] .interior-feature {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 
                0 1px 3px rgba(255, 255, 255, 0.05) !important;
}

html[data-theme="dark"] .interior-card h4,
html[data-theme="dark"] .interior-feature h4 {
    color: #ffffff !important;
}

/* Specifications table */
html[data-theme="dark"] .specs-table,
html[data-theme="dark"] .specification-table {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
}

html[data-theme="dark"] .specs-table th,
html[data-theme="dark"] .specification-table th {
    background: #0a0a0a !important;
    color: #ffffff !important;
    border-color: #2a2a2a !important;
}

html[data-theme="dark"] .specs-table td,
html[data-theme="dark"] .specification-table td {
    color: #d2d2d2 !important;
    border-color: #2a2a2a !important;
}

/* Color selector */
html[data-theme="dark"] .color-option,
html[data-theme="dark"] .color-selector-item {
    border-color: #2a2a2a !important;
}

html[data-theme="dark"] .color-option.active,
html[data-theme="dark"] .color-selector-item.active {
    border-color: #00a5df !important;
}

html[data-theme="dark"] .color-name {
    color: #ffffff !important;
}

/* LED section */
html[data-theme="dark"] .led-container {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
}

/* Chassis section */
html[data-theme="dark"] .chassis-container {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
}

/* 360 Viewer */
html[data-theme="dark"] .viewer-360-container {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
}

/* Banner slider */
html[data-theme="dark"] .banner-slider-section {
    background-color: #000000 !important;
}

/* Video section */
html[data-theme="dark"] .video-section {
    background-color: #000000 !important;
}

/* Banner full section */
html[data-theme="dark"] .banner-full-section {
    background-color: #000000 !important;
}


/* ====================================
   Riddara Page - Additional Dark Mode Fixes
   ==================================== */

/* LED Section - Dark Mode */
html[data-theme="dark"] .led-section {
    background: #000000 !important;
}

html[data-theme="dark"] .led-caption {
    background: rgba(13, 13, 13, 0.95) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8) !important;
}

html[data-theme="dark"] .led-caption h4 {
    color: #ffffff !important;
}

html[data-theme="dark"] .led-caption li {
    color: #d2d2d2 !important;
}

/* Color Section - Dark Mode */
html[data-theme="dark"] .color-section {
    background: #000000 !important;
}

html[data-theme="dark"] .color-display img {
    background: #0a0a0a !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8) !important;
}

html[data-theme="dark"] .color-name {
    color: #ffffff !important;
}

html[data-theme="dark"] .color-arrow {
    color: #ffffff !important;
}

/* Comparison Section - Dark Mode */
html[data-theme="dark"] .comparison-section,
html[data-theme="dark"] .specs-comparison {
    background: #000000 !important;
}

html[data-theme="dark"] .comparison-table,
html[data-theme="dark"] .specs-comparison-table {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
}

html[data-theme="dark"] .comparison-table thead,
html[data-theme="dark"] .specs-comparison-table thead {
    background: #0a0a0a !important;
}

html[data-theme="dark"] .comparison-table th,
html[data-theme="dark"] .specs-comparison-table th {
    background: #0a0a0a !important;
    color: #ffffff !important;
    border-color: #2a2a2a !important;
}

html[data-theme="dark"] .comparison-table td,
html[data-theme="dark"] .specs-comparison-table td {
    color: #d2d2d2 !important;
    border-color: #2a2a2a !important;
    background: transparent !important;
}

html[data-theme="dark"] .comparison-table tr:nth-child(even),
html[data-theme="dark"] .specs-comparison-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02) !important;
}

html[data-theme="dark"] .comparison-header,
html[data-theme="dark"] .version-header {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    color: #ffffff !important;
}

/* All inline white backgrounds */
html[data-theme="dark"] [style*="background: white"],
html[data-theme="dark"] [style*="background: #fff"],
html[data-theme="dark"] [style*="background-color: white"],
html[data-theme="dark"] [style*="background-color: #fff"],
html[data-theme="dark"] [style*="background-color:#fff"],
html[data-theme="dark"] [style*="background:#fff"] {
    background: #000000 !important;
    background-color: #000000 !important;
}

/* All inline light backgrounds */
html[data-theme="dark"] [style*="background: #ebedf1"],
html[data-theme="dark"] [style*="background-color: #ebedf1"],
html[data-theme="dark"] [style*="background: #f8f9fa"],
html[data-theme="dark"] [style*="background-color: #f8f9fa"] {
    background: #0a0a0a !important;
    background-color: #0a0a0a !important;
}


/* ====================================
   Specs Comparison Section - Dark Mode
   ==================================== */

html[data-theme="dark"] .specs-comparison {
    background: #000000 !important;
}

html[data-theme="dark"] .specs-header {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
}

html[data-theme="dark"] .spec-variant {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    border-color: #2a2a2a !important;
}

html[data-theme="dark"] .spec-variant h3 {
    color: #ffffff !important;
}

html[data-theme="dark"] .specs-content {
    background: #000000 !important;
}

html[data-theme="dark"] .spec-category {
    background: linear-gradient(145deg, #0d0d0d, #080808) !important;
    border-color: #2a2a2a !important;
}

html[data-theme="dark"] .spec-category h4 {
    color: #ffffff !important;
    background: #0a0a0a !important;
    border-color: #2a2a2a !important;
}

html[data-theme="dark"] .spec-row {
    border-color: #2a2a2a !important;
}

html[data-theme="dark"] .spec-item {
    background: transparent !important;
    border-color: #2a2a2a !important;
}

html[data-theme="dark"] .spec-label {
    color: #d2d2d2 !important;
}

html[data-theme="dark"] .spec-value {
    color: #ffffff !important;
}

html[data-theme="dark"] .spec-row:nth-child(even) .spec-item {
    background: rgba(255, 255, 255, 0.02) !important;
}


/* ====================================
   Riddara Page - Button Text Color Fix
   ==================================== */

/* Stat buttons - white background needs black text */
.stat-btn {
    color: #000000 !important;
}

.stat-btn i {
    color: #000000 !important;
}

.stat-btn:hover {
    color: #007ec6 !important;
}

/* Dark mode - keep black text on white buttons */
html[data-theme="dark"] .stat-btn {
    color: #000000 !important;
}

html[data-theme="dark"] .stat-btn i {
    color: #000000 !important;
}

html[data-theme="dark"] .stat-btn:hover {
    color: #007ec6 !important;
}


/* ====================================
   CRITICAL FIX: Prevent Horizontal Scroll on Mobile
   ==================================== */

/* Mobile specific fixes only */
@media (max-width: 768px) {
    /* Fix video section on mobile */
    .featured-videos .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .full-width-video .row {
        flex-direction: column !important;
    }
    
    .full-width-video .col-lg-8,
    .full-width-video .col-lg-4 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    
    .video-info-side {
        padding: 20px !important;
    }
}








/* ====================================
   Show vertical scrollbar on RIGHT only (RTL)
   ==================================== */

/* Force LTR direction for scrollbar positioning */
html {
    overflow-y: auto;
    overflow-x: hidden;
    direction: ltr !important;
}

body {
    direction: rtl !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Show scrollbar in Firefox - thin and smooth */
html, body {
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) transparent;
}

/* Custom scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
    width: 8px;
    height: 0;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* Smooth scrolling removed for better performance */
html {
    scroll-behavior: auto;
}

/* Ensure proper width */
html, body {
    position: relative;
    width: 100%;
    max-width: 100%;
}

/* Ensure all containers stay within bounds */
.container,
.container-fluid {
    max-width: 100%;
}

/* Mobile specific - force proper width */
@media (max-width: 768px) {
    html, body {
        width: 100%;
        position: relative;
    }
    
    img, video, svg {
        max-width: 100%;
        height: auto;
    }
}


/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 90px; /* فوق زر الواتساب */
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* مخفي افتراضياً */
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* RTL Support */
[dir="rtl"] .back-to-top {
    left: auto;
    right: 20px;
}

/* Dark Mode */
[data-theme="dark"] .back-to-top {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

[data-theme="dark"] .back-to-top:hover {
    background: linear-gradient(135deg, #357abd, #2868a8);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 80px;
        left: 15px;
        font-size: 18px;
    }
    
    [dir="rtl"] .back-to-top {
        left: auto;
        right: 15px;
    }
}
}


/* Dark Mode Overrides for About Page */
[data-theme="dark"] h2[style*="color: var(--primary-black"] {
    color: var(--text-primary) !important;
}

[data-theme="dark"] p[style*="color: var(--text-secondary"] {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] strong[style*="color: var(--primary-black"] {
    color: var(--text-primary) !important;
}

[data-theme="dark"] div[style*="background: white"] {
    background: var(--card-bg) !important;
}

[data-theme="dark"] span[style*="color: var(--text-secondary"] {
    color: var(--text-secondary) !important;
}


/* About Content Section */
.about-content-section {
    background: linear-gradient(135deg, #ffffff 0%, #ebedf1 100%);
}

[data-theme="dark"] .about-content-section {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}


/* MVV Section */
.mvv-section {
    background: var(--primary-light, #ebedf1);
}

[data-theme="dark"] .mvv-section {
    background: var(--bg-secondary);
}

.mvv-card {
    background: white;
}

[data-theme="dark"] .mvv-card {
    background: var(--card-bg) !important;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 90px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a5490, #2868a8);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top.show:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #2868a8, #357abd);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* RTL Support */
[dir="rtl"] .back-to-top {
    left: auto;
    right: 20px;
}

/* Dark Mode */
[data-theme="dark"] .back-to-top {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

[data-theme="dark"] .back-to-top:hover {
    background: linear-gradient(135deg, #357abd, #2868a8);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 80px;
        left: 15px;
        font-size: 18px;
    }
    
    [dir="rtl"] .back-to-top {
        left: auto;
        right: 15px;
    }
}

/* ====================================
   Performance Optimizations CSS
   ==================================== */

/* CLS Fix: Reserve space for common elements */
img:not(.logo) {
    max-width: 100%;
    height: auto;
}

/* Logo styles are now handled by main-style.css only - no duplication needed */

/* Reserve space for hero section */
.hero-section {
    min-height: 600px;
    contain: layout;
}

.hero-slide {
    min-height: 600px;
}

/* Reserve space for vehicle cards */
.vehicle-card {
    min-height: 400px;
}

.vehicle-card .vehicle-image {
    min-height: 250px;
    background-color: var(--color-bg-section);
    transition: var(--theme-transition);
}

/* Reserve space for service cards */
.service-card {
    min-height: 300px;
}

/* Reserve space for news cards */
.news-card {
    min-height: 350px;
}

.news-card .news-image {
    min-height: 200px;
    background-color: var(--color-bg-section);
    transition: var(--theme-transition);
}

/* Font loading is handled by Google Fonts with font-display: swap parameter */

/* Optimize animations - reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Lazy load images below the fold */
img[loading="lazy"] {
    opacity: 1;
    transition: opacity 0.3s;
}

/* Content visibility for off-screen sections */
.footer-section,
.partners-section,
.news-section,
.services-section,
.vehicles-section {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

/* Reduce paint areas */
.vehicle-card,
.service-card,
.news-card {
    contain: layout style paint;
}

/* Optimize scrolling performance */
html {
    scroll-behavior: auto !important;
}

.swiper-wrapper {
    will-change: transform;
}

/* GPU acceleration for animations */
.animate__animated {
    will-change: opacity, transform;
}

/* Optimize hover effects - remove will-change for better performance */
.btn:hover,
.nav-link:hover,
.vehicle-card:hover,
.service-card:hover {
    transform: translateZ(0);
}

/* Reduce repaints */
.hero-section,
.main-header {
    contain: layout style;
}

/* ITF Ghroob Arabic Font Family */

@font-face {
    font-family: 'ITF Ghroob Arabic';
    src: url('../../Fonts/itfGhroobArabic-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ITF Ghroob Arabic';
    src: url('../../Fonts/itfGhroobArabic-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ITF Ghroob Arabic';
    src: url('../../Fonts/itfGhroobArabic-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ITF Ghroob Arabic';
    src: url('../../Fonts/itfGhroobArabic-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ITF Ghroob Arabic';
    src: url('../../Fonts/itfGhroobArabic-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* LTR Overrides for English Version */
/* This file ensures proper left-to-right layout for English pages */
/* 
 * Theme System Compatibility:
 * This file contains ONLY layout and directional properties (margins, text-align, direction).
 * All color values are inherited from brand-identity.css CSS variables.
 * This ensures LTR-specific styles work correctly with both light and dark themes.
 */

/* Force LTR direction */
html[dir="ltr"],
html[dir="ltr"] body {
    direction: ltr !important;
    text-align: left !important;
}

/* Navbar */
html[dir="ltr"] .navbar-brand {
    margin-right: 1rem;
    margin-left: 0;
}

html[dir="ltr"] .navbar-nav {
    margin-left: auto;
    margin-right: auto;
}

html[dir="ltr"] .navbar-nav .nav-link {
    text-align: left;
}

/* Top Bar */
html[dir="ltr"] .top-links a {
    margin-right: 1rem;
    margin-left: 0;
}

html[dir="ltr"] .top-links a:last-child {
    margin-right: 0;
}

html[dir="ltr"] .social-links a {
    margin-left: 0.5rem;
    margin-right: 0;
}

html[dir="ltr"] .social-links a:first-child {
    margin-left: 0;
}

/* Icons */
html[dir="ltr"] .top-links i,
html[dir="ltr"] .contact-info i {
    margin-right: 0.5rem;
    margin-left: 0;
}

html[dir="ltr"] .service-link i,
html[dir="ltr"] .read-more i {
    margin-left: 0.5rem;
    margin-right: 0;
}

/* Buttons */
html[dir="ltr"] .hero-buttons .btn:first-child,
html[dir="ltr"] .cta-buttons .btn:first-child {
    margin-right: 1rem;
    margin-left: 0;
}

/* Hero Section */
html[dir="ltr"] .hero-content {
    text-align: left;
}

html[dir="ltr"] .hero-title,
html[dir="ltr"] .hero-subtitle {
    text-align: left;
}

/* Swiper Navigation */
html[dir="ltr"] .swiper-button-next {
    right: 10px;
    left: auto;
}

html[dir="ltr"] .swiper-button-prev {
    left: 10px;
    right: auto;
}

/* Vehicle Cards */
html[dir="ltr"] .vehicle-info {
    text-align: left;
}

html[dir="ltr"] .vehicle-specs {
    justify-content: flex-start;
}

html[dir="ltr"] .vehicle-specs .spec {
    margin-right: 1rem;
    margin-left: 0;
}

html[dir="ltr"] .vehicle-specs .spec:last-child {
    margin-right: 0;
}

/* Service Cards */
html[dir="ltr"] .service-card {
    text-align: center;
}

/* News Cards */
html[dir="ltr"] .news-card {
    text-align: left;
}

html[dir="ltr"] .news-date {
    left: 1rem;
    right: auto;
}

/* Why Us Section */
html[dir="ltr"] .why-us-content {
    text-align: left;
}

html[dir="ltr"] .why-us-item {
    display: flex;
    flex-direction: row;
    text-align: left;
}

html[dir="ltr"] .why-us-item .icon {
    margin-right: 1rem;
    margin-left: 0;
}

html[dir="ltr"] .why-us-item .content {
    text-align: left;
}

/* Footer */
html[dir="ltr"] .footer-about,
html[dir="ltr"] .footer-links,
html[dir="ltr"] .footer-contact {
    text-align: left;
}

html[dir="ltr"] .footer-social a {
    margin-right: 0.5rem;
    margin-left: 0;
}

html[dir="ltr"] .footer-social a:last-child {
    margin-right: 0;
}

html[dir="ltr"] .footer-bottom-links a {
    margin-left: 1.5rem;
    margin-right: 0;
}

html[dir="ltr"] .footer-bottom-links a:first-child {
    margin-left: 0;
}

/* Dropdown Menus */
html[dir="ltr"] .dropdown-menu {
    text-align: left;
}

html[dir="ltr"] .dropdown-item {
    text-align: left;
}

/* Language Switcher */
html[dir="ltr"] .language-switcher {
    flex-direction: row;
}

/* Video Section */
html[dir="ltr"] .video-info-side {
    text-align: left;
}

/* CTA Section */
html[dir="ltr"] .cta-content {
    text-align: center;
}

/* Quick Links */
html[dir="ltr"] .quick-link-card {
    text-align: center;
}

/* Section Headers */
html[dir="ltr"] .section-header {
    text-align: center;
}

/* Partner Logos */
html[dir="ltr"] .partner-logo {
    text-align: center;
}

