:root {
    /* Brand Colors */
    --color-primary: #211D75;
    --color-accent: #FFB824;
    --color-primary-hover: #1A1760;

    /* Neutral Colors */
    --color-surface: #FAFAFA;
    --color-content-bg: #FFFFFF;
    --color-border: #E0E0E0;
    --color-dark: #121212;
    --color-muted: #6C757D;

    /* State Colors */
    --color-success: #28a745;
    --color-danger: #FF4C4C;

    /* Typography Colors */
    --text-primary: var(--color-dark);
    --text-secondary: var(--color-muted);

    /* Spacing Scale */
    --space-xxs: 4px;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 64px;

    /* Fluid Spacing */
    --space-fluid-sm: min(var(--space-sm), 4%);
    --space-fluid-md: min(var(--space-md), 6%);
    --space-fluid-lg: min(var(--space-lg), 8%);

    /* Container Padding */
    --container-padding-horizontal: min(2em, 8%);
    --container-padding-vertical: min(2em, 5%);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 32px;

    /* Fluid Typography Sizes (optimized for Al Jazeera Arabic font) */
    --font-xs: clamp(0.7rem, 0.45vw + 0.65rem, 0.8rem);
    --font-sm: clamp(0.8rem, 0.55vw + 0.75rem, 0.95rem);
    --font-md: clamp(0.95rem, 0.9vw + 0.85rem, 1.05rem);
    --font-lg: clamp(1.1rem, 1.1vw + 0.95rem, 1.3rem);
    --font-xl: clamp(1.4rem, 1.4vw + 1.15rem, 1.8rem);
    --font-xxl: clamp(1.9rem, 2.3vw + 1.4rem, 2.8rem);
    --font-display: clamp(2.8rem, 3.8vw + 1.9rem, 4.5rem);

}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Fonts */
@font-face {
    font-family: "Al-Jazeera-Regular";
    src: url(../fonts/Al-Jazeera-Arabic-Regular.ttf);
}

@font-face {
    font-family: "Al-Jazeera-Bold";
    src: url(../fonts/Al-Jazeera-Arabic-Bold.ttf);
}


/* Base Styles */
body {
    font-family: "Al-Jazeera-Regular", sans-serif;
    font-size: var(--font-md);
    color: var(--text-primary);
    direction: rtl;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: "Al-Jazeera-Bold";
    margin: 0;
    line-height: 1.6;
}

h1 {
    font-size: var(--font-display);
}

h2 {
    font-size: var(--font-xxl);
}

h3 {
    font-size: var(--font-xl);
}

h4 {
    font-size: var(--font-lg);
}

h5 {
    font-size: var(--font-md);
}

h6 {
    font-size: var(--font-sm);
}

p {
    font-size: var(--font-md);
    margin-bottom: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: inherit;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    font-size: var(--font-md);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
}

.btn-secondary {
    background-color: var(--color-accent);
    color: var(--color-dark);
    border: 1px solid var(--color-accent);
}

.btn-secondary:hover {
    background-color: #b0def0;
}

/* Utilities */
.text-muted {
    color: var(--text-secondary) !important;
}

.rounded {
    border-radius: var(--radius-lg) !important;
}

.section {
    padding: var(--container-padding-vertical) 0;
}

input::placeholder {
    text-align: right;
    font-size: var(--font-sm);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.overlay {
    background: rgba(0, 0, 0, 0.6);
    color: var(--text-primary);
}

.bg-primary {
    background: var(--color-primary) !important;
}

#preloadr {
    opacity: 1;
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    z-index: 9999;
}

#preloadr[data-hidden="true"] {
    opacity: 0;
}


/* From Uiverse.io by Nawsome */
.loader {
    position: relative;
    width: 240px;
    height: 130px;
    margin-bottom: 10px;
    border: 1px solid #d3d3d3;
    padding: 15px;
    background-color: #e3e3e3;
    overflow: hidden;
}

.loader:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    background: linear-gradient(110deg, rgba(227, 227, 227, 0) 0%, rgba(227, 227, 227, 0) 40%, rgba(227, 227, 227, 0.5) 50%, rgba(227, 227, 227, 0) 60%, rgba(227, 227, 227, 0) 100%);
    animation: gradient-animation_2 1.2s linear infinite;
}

.loader .wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.loader .wrapper > div {
    background-color: #cacaca;
}

.loader .circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.loader .button {
    display: inline-block;
    height: 32px;
    width: 75px;
}

.loader .line-1 {
    position: absolute;
    top: 11px;
    right: 58px;
    height: 10px;
    width: 100px;
}

.loader .line-2 {
    position: absolute;
    top: 34px;
    right: 58px;
    height: 10px;
    width: 150px;
}

.loader .line-3 {
    position: absolute;
    top: 57px;
    right: 0px;
    height: 10px;
    width: 100%;
}

.loader .line-4 {
    position: absolute;
    top: 80px;
    right: 0px;
    height: 10px;
    width: 92%;
}

@keyframes gradient-animation_2 {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.w-60 {
    width: 60%;
}

@media (max-width: 767.98px) {

    .w-60 {
        width: 100%;
    }
}

.section-badge {
    display: flex;
    padding: 6px 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: max-content;
    border-right: 2px solid var(--color-accent);
    color: var(--color-accent);
    font-family: "Al-Jazeera-Bold";
    background: #FFF8EB;
    font-size: var(--font-lg);
    margin-bottom: var(--space-md);


}


.section-title {
    font-weight: bold;
    font-size: var(--font-xl);
    color: var(--color-primary);
    line-height: 1.2;
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 8px;

}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 4px;
    background: var(--color-primary);
}

.section-title::before {
    content: "";
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 50%;
    height: 2px;
    background: var(--color-primary);
}

.header-divider {
    border-bottom: 1px dashed var(--color-primary);
}

.btn-view-all {
    background: var(--color-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: var(--font-sm);
    height: 40px;
}
.btn-view-all:hover{
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}
