/* include Cairo Arabic font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo&display=swap');
.site-footer {
    background: #0a0f24;
    color: #ffffff;
    padding: 40px 20px;
    font-size: 14px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #38bdf8;
    text-decoration: none;
}

.footer-col ul li a:hover {
    text-decoration: underline;
}

.footer-logo-col img {
    height: 60px;
    margin-bottom: 10px;
    opacity: 0.85;
}

.moving-bar {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    padding: 10px 0;
}

.icon-track {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: scrollRight 40s linear infinite;
}

.icon-track img {
    /* larger icons for better visibility */
    height: 150px;
    opacity: 2;
    transition: opacity 0.2s ease;
}

.icon-track img:hover {
    opacity: 1;
}

@keyframes scrollRight {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.calendar-box {
    overflow-x: auto;
    background: rgba(255,255,255,0.08);
    padding: 20px;
    border-radius: 12px;
}

table {
    width: 100%;
    border-collapse: collapse;
    color: white;
}

th, td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

th {
    background-color: rgba(255,255,255,0.15);
}
.top-logos {
    position: relative;
    height: 60px;
}

.logo {
    height: 50px;
    position: absolute;
    top: 0;
}

/* make the Microsoft logo larger than the default */
.right-logo {
    right: 20px;
    height: 80px; /* adjust this value as needed */
}

.left-logo {
    left: 20px;
}
body {
    margin: 0;
    /* default font stack, Cairo will be used when available */
    font-family: 'Cairo', Arial, sans-serif;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #ffffff;
}

/* ensure Arabic page explicitly uses Cairo for readability */
html[lang="ar"] body {
    font-family: 'Cairo', sans-serif;
}

header {
    text-align: center;
    padding: 80px 20px;
}

header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

header p {
    font-size: 18px;
    opacity: 0.9;
}

.section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: rgba(255,255,255,0.08);
    padding: 25px;
    border-radius: 12px;
    transition: 0.3s ease;
}

.card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.card h3 {
    margin-top: 0;
    font-size: 20px;
}

.card a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: bold;
}

.card a:hover {
    text-decoration: underline;
}

.use-cases {
    background: #ffffff;
    color: #1e293b;
    border-radius: 20px;
    padding: 60px 30px;
}

.use-case {
    margin-bottom: 30px;
}

.language-switch {
    position: absolute;
    top: 20px;
    right: 20px;
}

.language-switch select {
    background: transparent;
    color: #38bdf8;
    border: 1px solid #38bdf8;
    border-radius: 4px;
    padding: 4px 8px;
    font-weight: bold;
    cursor: pointer;
}

.language-switch select option {
    color: #000;
}

html[dir="rtl"] .right-logo {
    left: 20px;
    right: auto;
}
html[dir="rtl"] .left-logo {
    right: 20px;
    left: auto;
}

html[dir="rtl"] .language-switch {
    right: auto;
    left: 20px;
}

footer {
    text-align: center;
    padding: 30px;
    font-size: 14px;
    opacity: 0.8;
}