html[dir="rtl"] .footer-right {
    text-align: right;
}

html[dir="ltr"] .footer-right {
    text-align: left;
}

html[dir="rtl"] .footer-left {
    text-align: left;
}

html[dir="ltr"] .footer-left {
    text-align: right;
}

html[dir="rtl"] .site-header nav a,
html[dir="rtl"] .language-switch,
html[dir="rtl"] .sidebar-button {
    margin-right: 10px;
}

html[dir="ltr"] .site-header nav a,
html[dir="ltr"] .language-switch,
html[dir="ltr"] .sidebar-button {
    margin-left: 10px;
    margin-right: 0;
}

html[dir="rtl"] .sidebar-navbar-menu-buttons {
    text-align: right;
}

html[dir="ltr"] .sidebar-navbar-menu-buttons {
    flex-direction: row;
    text-align: left;
}

html[dir="rtl"] .logo-container,
html[dir="rtl"] .footer-logo-container {
    margin-left: auto;
    margin-right: 0;
}

html[dir="ltr"] .logo-container,
html[dir="ltr"] .footer-logo-container {
    margin-right: auto;
    margin-left: 0;
}

html[dir="rtl"] .sidebar {
    left: 0;
    right: auto;
    transform: translateX(-100%);
}

html[dir="ltr"] .sidebar {
    right: 0;
    left: auto;
    transform: translateX(100%);
}

html[dir="rtl"] #sidebar.show,
html[dir="ltr"] #sidebar.show {
    transform: translateX(0%);
    display: flex !important;
    pointer-events: all;
}

:root {
    --primary-color: #026AC1;
    --secondary-color: #1c3f94;
    --accent-color: #026AC1;
    --light-bg: #f9f9f9;
    --text-light: #ffffff;
    --text-dark: #1c1c1c;
}

* {
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body, html {
    margin: 0;
    padding: 0;
    background-color: var(--light-bg);
}

header.site-header {
    background: linear-gradient(to bottom, rgba(2, 106, 193, 0.85) 0%, rgba(2, 106, 193, 0.4) 70%, rgba(2, 106, 193, 0) 100%);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.logo-container {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container img {
    height: 35px;
}

.footer-logo-container {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 2px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    height: 50px;
}

@media (max-width: 768px) {
    .footer-logo-container {
        height: 45px;
    }
}

.site-header nav a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
}

.language-switch {
    background: none;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    padding: 5px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 10px;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.desktop-video {
    display: block;
}

.mobile-video {
    display: none;
}

@media (max-width: 768px) {
    .desktop-video {
        display: none;
    }

    .mobile-video {
        display: block;
    }
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 20px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.8;
}

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

    .hero p {
        font-size: 14px;
    }
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--text-light);
    border: none;
    padding: 13px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background-color: #218838;
}

.hero-note {
    margin-top: 20px;
    font-size: 14px;
    color: #ddd;
}

.whatsapp-float, .contact-float {
    position: static;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.whatsapp-float {
    background-color: #25d366;
    color: white;
    font-size: 20px;
}

.contact-float {
    background-color: #ff9800;
    color: white;
    font-size: 17px;
}

.floating-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.login-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
    background: none;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    padding: 5px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 10px;
}

@media (min-width: 768px) {
    .login-float {
        display: none !important;
    }
}

#sidebar {
    pointer-events: none;
}

#sidebar.show {
    transform: translateX(0%);
    pointer-events: all;
}

.sidebar {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 280px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 30px 20px;
    display: none;
    flex-direction: column;
    z-index: 9999;
}

.sidebar-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
}

.sidebar-close-button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    align-self: flex-start;
}

.sidebar-navbar-menu {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 16px;
    overflow-x: auto;
}

.sidebar-navbar-menu-buttons {
    color: white;
    text-decoration: none;
    display: flex;
    gap: 10px;
}

.sidebar-navbar-menu-buttons img {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-navbar-menu-social {
    margin-top: auto;
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 20px;
}

.sidebar-navbar-menu-social a {
    color: white;
}

@media (max-width: 768px) {
    .nav-login {
        display: none !important;
    }
}

.nav-login:hover {
    background: none;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    padding: 5px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 10px;
}

#sidebar.show {
    display: flex !important;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    gap: 15px;
}

.footer-right, .footer-center, .footer-left {
    flex: 1 1 100%;
}

.footer-center a {
    margin: 0 10px;
    color: #eee;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 5px;
}

.footer-left a {
    margin: 0 6px;
    color: #ccc;
    font-size: 18px;
}

@media (min-width: 768px) {
    .footer-right, .footer-center, .footer-left {
        flex: 1;
        text-align: center !important;
    }

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

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

.footer {
    background-color: var(--primary-color);
    color: #ccc;
    padding: 20px 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
}


