/* 
   Rawnaq Architecture - Premium Global Styles (Redesign) 
*/

:root {
    /* Brand Palette */
    --primary-color: #900000;
    /* Richer Deep Red */
    --primary-glow: rgba(144, 0, 0, 0.4);
    --dark-void: #050505;
    /* Deepest Black */
    --dark-surface: #0f0f0f;
    /* Secondary Surface */
    --dark-elevated: #161616;
    /* Cards/Hovers */

    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --text-muted: #666666;

    --border-light: rgba(255, 255, 255, 0.05);

    /* Layout & Spacing */
    --container-width: 1300px;
    /* Wider for modern screens */
    --header-height: 100px;
    --section-spacing: 140px;
    /* Luxurious spacing */

    /* Typography */
    --font-main: 'Tajawal', sans-serif;
    --font-heading: 'Cairo', sans-serif;

    /* Default (Dark) Mappings */
    --bg-main: var(--dark-void);
    --bg-surface: var(--dark-surface);
    --bg-card: var(--dark-elevated);
    --bg-input: rgba(255, 255, 255, 0.05);
    --border-color: var(--border-light);

    /* Header (Dark Default) */
    --bg-header: rgba(10, 10, 10, 0.8);
    --bg-header-scroll: rgba(10, 10, 10, 0.98);
    --shadow-header: 0 2px 10px rgba(0, 0, 0, 0.3);

    --title-gradient-start: #fff;
    --title-gradient-end: #999;
}

/* Dark Mode (Default) Header Variables */


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    /* Gradient only for Dark Mode (Default) */
    background-image: radial-gradient(circle at 50% 0%, #1a0505 0%, #050505 60%);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
    user-select: none;
    /* Standard syntax */
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 20px;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section {
    padding: var(--section-spacing) 0;
    position: relative;
}

/* --- Typography System --- */
.section-header {
    margin-bottom: 80px;
    max-width: 800px;
}

.section-title {
    font-size: 3.5rem;
    /* Huge impact */
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(to left, var(--title-gradient-start), var(--title-gradient-end));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 300;
    border-right: 4px solid var(--primary-color);
    /* Thicker for visibility */
    padding-right: 25px;
    /* More space */
    line-height: 1.4;
    display: inline-block;
    /* Ensure border height matches text roughly */
}

/* --- Animations (Scroll Reveal) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Optional Stagger for child items like pillars */
.reveal .pillar-card:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal .pillar-card:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal .pillar-card:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal .pillar-card:nth-child(4) {
    transition-delay: 0.4s;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #b30000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: #fff;
}

.btn-outline:hover {
    border-color: #fff;
    background: #fff;
    color: #000;
}

/* --- Header & Nav --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: var(--bg-header);
    /* Dynamic Background */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: var(--bg-header-scroll);
    box-shadow: var(--shadow-header);
    height: 90px;
}

.header-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 1.1rem;
    color: var(--text-secondary);
    position: relative;
    padding-bottom: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('assets/images/hero-bg.png') no-repeat center center/cover;
    background-attachment: fixed;
    /* Parallax feel */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-height);
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #ddd;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        /* Space between stacked buttons */
        width: 100%;
        padding: 0 20px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        /* Prevent too wide buttons */
    }
}

/* --- Page Header (Internal Pages) --- */
.page-header {
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.3), var(--bg-main));
}

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

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.breadcrumb {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.breadcrumb a {
    color: #fff;
    border-bottom: 1px solid var(--primary-color);
}

/* --- About Section (Classic) --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.about-image img {
    border-radius: 4px;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.about-image:hover img {
    filter: grayscale(0%);
}

/* --- Pillars (Minimal ArchitecturalGrid) --- */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2px;
    background: #222;
    /* Creates bordering effect via gap */
    border: 1px solid #222;
}

.pillar-card {
    background: var(--bg-main);
    padding: 60px 40px;
    text-align: right;
    position: relative;
    transition: all 0.4s ease;
}

.pillar-card:hover {
    background: var(--primary-color);
}

.pillar-card:hover h3,
.pillar-card:hover p {
    color: #fff;
}

.pillar-card:hover .pillar-icon {
    color: #fff;
    border-color: #fff;
    background: transparent;
}

.pillar-icon {
    width: 60px;
    height: 60px;
    border: 1px solid #333;
    border-radius: 50%;
    margin: 0 0 25px 0;
    /* Align icon start */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.pillar-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* --- Services (Floating Cards) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--bg-card);
    padding: 50px 30px;
    text-align: right;
    transition: transform 0.4s ease;
    border-bottom: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-15px);
    border-bottom-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* --- Projects (Masonry Feel) --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
    display: block;
    /* Ensure anchor behaves like block */
    text-decoration: none;
    /* Remove underline */
    color: inherit;
    /* Inherit text color */
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #000 0%, transparent 80%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

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

/* --- Stats (Clean Row) --- */
.stats-section {
    background: var(--bg-surface);
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 100px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    color: #fff;
}

/* --- Contact Section --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.info-item {
    margin-bottom: 40px;
}

.info-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.form-control {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid #333;
    padding: 15px;
    color: #fff;
    margin-bottom: 20px;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* --- Footer (Premium Redesign) --- */
.footer {
    background: #020202;
    /* Almost pure black */
    padding: 100px 0 40px;
    border-top: 1px solid #1a1a1a;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern for footer */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(144, 0, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1fr 1fr;
    /* Wider first column for Logo/Desc */
    gap: 60px;
    margin-bottom: 80px;
    align-items: start;
}

.footer-logo img {
    height: 90px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.footer-desc {
    color: #777;
    line-height: 1.8;
    max-width: 350px;
    margin-bottom: 0;
    /* Handled by grid gap usually, but ensuring cleanup */
}

.footer-title {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    /* RTL Line */
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links {
    padding: 0;
}

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

.footer-links a {
    color: #999;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(-8px);
    /* Move Left for RTL logic */
}


.footer-social {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

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

.copyright {
    text-align: center;
    border-top: 1px solid #111;
    padding-top: 40px;
    color: #444;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    /* If we had privacy links */
    flex-direction: column;
    gap: 10px;
}

.copyright a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.copyright a:hover {
    color: #ff0000;
    text-decoration: underline;
}

.developer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    vertical-align: middle;
}

.developer-link img {
    height: 25px;
    /* Adjusted height for better proportion */
    width: auto;
    object-fit: contain;
}


/* --- Clients Section (Shorfa-Style) --- */
.clients-section {
    background: var(--dark-base);
    padding: 80px 0 60px;
    overflow: hidden;
    position: relative;
}





/* --- Clients Grid (Static) --- */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 cols on mobile */
    gap: 15px;
    margin-top: 30px;
    padding: 0 10px;
}

@media (min-width: 576px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .clients-grid {
        grid-template-columns: repeat(6, 1fr);
        /* 6 cols on desktop */
    }
}

.client-logo {
    background: rgba(255, 255, 255, 0.05);
    /* Default Dark Background */
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Default Dark Border */
    border-radius: 12px;
    /* Height and Width handled by Grid + Aspect Ratio */
    height: 100px;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;

    /* Decoration */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

[data-theme="light"] .client-logo {
    background: rgba(0, 0, 0, 0.03);
    /* Light Gray */
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* Visible Gray Border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.client-logo:hover {
    background: rgba(255, 0, 0, 0.05);
    border-color: #e60000;
    /* Red Border */
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(230, 0, 0, 0.3);
    /* Red Glow */
}

.client-logo img {
    max-height: 80px;
    /* Much larger */
    max-width: 90%;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.3s;
}

.client-logo:hover img {
    opacity: 1;
}

/* Cleanup: Old scrolling animations removed */

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

    .clients-section .section-title {
        font-size: 1.6rem;
    }

    .client-logo {
        min-width: 120px;
        height: 60px;
        padding: 15px 20px;
    }

    .client-logo img {
        max-height: 55px;
        max-width: 140px;
    }
}

/* --- Form Clean Up --- */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #888;
    font-size: 0.9rem;
}

/* --- Floating Tools --- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-5px);
}

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* Opposite side */
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- Language Toggle --- */
.lang-switch {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        /* Fix for mobile zoom/pixelation */
        background-position: center;
        /* Ensure it stays centered */
    }

    .section-title {
        font-size: 2.5rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .page-header h1 {
        font-size: 2.8rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #050505;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid #333;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        padding: 15px 0;
        border-bottom: 1px solid #111;
    }

    .lang-switch {
        margin: 0;
        justify-content: center;
        width: 100%;
    }

    .lang-btn {
        justify-content: center;
        width: auto;
        /* Allow it to be centered by parent flex if needed, or 100% if distinct look */
        border: none;
        /* Often cleaner on mobile if centered in list */
    }

    .mobile-menu-btn {
        display: block;
    }

    .about-grid,
    .contact-container,
    .footer-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        text-align: center;
    }

    .footer-desc,
    .footer-links {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-logo img {
        margin: 0 auto 25px;
        display: block;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }

    /* Projects Mobile View */
    .project-card {
        aspect-ratio: auto;
        height: auto;
        overflow: visible;
        margin-bottom: 30px;
    }

    .project-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 4/3;
        border-radius: 4px;
    }

    .project-overlay {
        position: relative;
        inset: auto;
        opacity: 1;
        transform: none;
        background: transparent;
        padding: 15px 0 0 0;
        display: block;
        height: auto;
        margin-top: 5px;
    }

    .project-info h3 {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }

    .project-info span {
        color: var(--primary-color);
        font-size: 1rem;
    }
}

/* --- LTR Overrides (English) --- */
html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
}

html[dir="ltr"] .section-subtitle {
    border-right: none;
    border-left: 4px solid var(--primary-color);
    padding-right: 0;
    padding-left: 25px;
}

html[dir="ltr"] .pillar-card,
html[dir="ltr"] .service-card {
    text-align: left;
}



html[dir="ltr"] .nav-link::after {
    left: 0;
    right: auto;
}

html[dir="ltr"] .footer-title::after {
    left: 0;
    right: auto;
}

html[dir="ltr"] .footer-links a:hover {
    transform: translateX(8px);
    /* Move Right */
}

html[dir="ltr"] .lang-switch {
    margin-right: 0;
    margin-left: 20px;
}

html[dir="ltr"] .whatsapp-btn {
    left: auto;
    right: 30px;
}

html[dir="ltr"] .scroll-top {
    right: auto;
    left: 30px;
}

/* --- Service Details Page --- */
.service-details-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 992px) {
    .service-details-content {
        grid-template-columns: 1fr;
    }
}

.service-main {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 4px;
}

.service-main-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 30px;
    border-radius: 4px;
}

.service-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.sidebar-widget h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    color: var(--primary-color);
}

.sidebar-links li {
    margin-bottom: 15px;
}

.sidebar-links a {
    display: block;
    padding: 10px;
    background: #0f0f0f;
    border-right: 2px solid transparent;
    transition: all 0.3s;
    color: #ccc;
}

.sidebar-links a:hover {
    background: #1a1a1a;
    border-right-color: var(--primary-color);
    color: #fff;
    padding-right: 15px;
}

html[dir="ltr"] .sidebar-links a {
    border-right: none;
    border-left: 2px solid transparent;
}

html[dir="ltr"] .sidebar-links a:hover {
    padding-right: 10px;
    padding-left: 15px;
    border-left-color: var(--primary-color);
}