/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&family=Inter:wght@400;500;700&display=swap');

/* Light Theme Variables */
:root {
    --bg-primary: #F9FAFB;
    --bg-secondary: #FFFFFF;
    --text-headings: #006599;
    --text-body: #4B5563;
    --text-body-subtle: #374151;
    --text-primary-darker: #1F2937;
}

.dark {
    --bg-primary: #121212;
    --bg-secondary: #1E1E1E;
    --text-headings: #FFFFFF;
    --text-body: #D1D5DB;
    --text-body-subtle: #9CA3AF;
    --text-primary-darker: #E5E7EB;

}

/* Base Body Styles */
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-body);
    transition: background-color 0.3s, color 0.3s;
}

body.lang-ar {
    font-family: 'Cairo', sans-serif;
}

/* Component Styling using variables */
.section-bg {
    background-color: var(--bg-secondary);
}

.container-bg {
    background-color: var(--bg-secondary);
}

.text-headings {
    color: var(--text-headings);
}

.text-body-subtle {
    color: var(--text-body-subtle);
}

.text-main {
    color: var(--text-primary-darker);
}

.text-subtle {
    color: var(--text-secondary);
}


/* Brand Colors */
.bg-primary-brand {
    background-color: #006599;
}

.text-primary-brand {
    color: #006599;
}

.bg-accent {
    background-color: #febd59;
}

.text-accent {
    color: #febd59;
}

/* Payment Logos */
.payment-logos {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.logo-bg {
    background: #fff;
    border-radius: 4px;
    padding: 2px 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-bg img {
    height: 28px;
    width: auto;
    opacity: 0.95;
    transition: transform 120ms ease, opacity 120ms ease;
}

.logo-bg:hover img {
    opacity: 1;
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .logo-bg img {
        height: 22px;
    }
}

/* TOS Page Specific */
.tos-container {
    max-width: 800px;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}