/* Import Google Fonts for a professional look */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Scheherazade+New:wght@400;700&display=swap');

/* Set up base styles for the entire body */
body {
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease;
    background-color: #f7f9fc;
}

/* Styles for Right-to-Left (RTL) layout, primarily for Arabic */
.rtl {
    direction: rtl;
    text-align: right;
    font-family: 'Scheherazade New', serif;
}

/* Styles for Left-to-Right (LTR) layout, for English */
.ltr {
    direction: ltr;
    text-align: left;
    font-family: 'Inter', sans-serif;
}

/* Add a slight animation to the language switcher button */
.language-switcher button {
    transition: all 0.3s ease;
}

.language-switcher button:hover {
    transform: scale(1.1);
}

/* Ensure sections are correctly positioned below the fixed header */
.scroll-mt-24 {
    scroll-margin-top: 6rem;
}

/* Keyframe animation for a subtle fade-in effect on page load */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out 0.5s forwards;
    opacity: 0;
}
