/* CSS Reset + Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #F27A4B;
    --secondary-color: #F59750;
    --accent-color: #000000;
    --light-bg: #FFFFFF;
    --text-white: #000000;
    --text-on-colored: #FFFFFF;
    --font-main: 'Baloo 2', cursive;
    --button-gradient: linear-gradient(90deg, #F59750 0%, #EE5E45 100%);
}

/* Typography & Base Styles */
body {
    font-family: var(--font-main);
    color: var(--text-white);
    background: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
    /* Reserve space for the fixed header so content doesn't sit under it */
    padding-top: 88px;
}

/* Language-specific text visibility for inline bilingual content */
.en-text { 
    display: inline !important; 
}

.ar-text { 
    display: none !important; 
}

[dir="rtl"] .ar-text { 
    display: inline !important; 
}

[dir="rtl"] .en-text { 
    display: none !important; 
}

/* Base typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    font-size: 18px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Accessibility helpers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
*:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}