body {
    font-family: 'Cairo', 'Inter', sans-serif;
    scroll-behavior: smooth;
}
/* Custom scrollbar style - optional, browser support varies */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.video-placeholder {
    background-color: #333;
    aspect-ratio: 16 / 9; /* Fallback, though the new CSS below is more specific */
}
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(to right, #4F46E5, #9333EA);
    width: 0%;
    z-index: 50;
    transition: width 0.1s ease-out;
}
/* RTL and LTR specific styles */
html[dir="rtl"] .text-right { text-align: right !important; }
html[dir="rtl"] .text-left { text-align: left !important; }
html[dir="ltr"] .text-right { text-align: left !important; } /* For LTR, text-right becomes text-left */
html[dir="ltr"] .text-left { text-align: right !important; } /* For LTR, text-left becomes text-right */

/* Ensure Cairo font is prioritized for Arabic */
[data-lang="ar"] { font-family: 'Cairo', 'Inter', sans-serif; }
[data-lang="en"], [data-lang="fr"] { font-family: 'Inter', 'Cairo', sans-serif; }

.lang-btn.active {
    background-color: #4F46E5; /* Indigo-600 */
    color: white;
}

/* Custom CSS for 16:9 aspect ratio video container */
.video-container-16-9 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9 / 16 = 0.5625) */
    height: 0;
    overflow: hidden;
}

.video-container-16-9 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0; /* Ensure no default iframe border */
}


.cta-button {
transition: all 0.3s ease;
box-shadow: 0 4px 15px 0 rgba(124, 58, 237, 0.4);
}
.cta-button:hover {
transform: translateY(-3px) scale(1.05);
box-shadow: 0 8px 25px 0 rgba(124, 58, 237, 0.6);
}
