:root {
    --yes-brand: #0b456d;
    --yes-brand-dark: #062f4b;
    --yes-brand-light: #eef6fb;
    --yes-brand-alt: #1680a7;
    --yes-gold: #d3a33d;
    --yes-ink: #1f3446;
    --yes-muted: #6f8191;
    --yes-line: #dfe8ef;
    --yes-page: #f5f8fb;
    --yes-white: #ffffff;
    --yes-radius-sm: 12px;
    --yes-radius: 18px;
    --yes-radius-lg: 26px;
    --yes-shadow-sm: 0 8px 24px rgba(18, 56, 86, 0.07);
    --yes-shadow: 0 18px 48px rgba(18, 56, 86, 0.11);
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    color: var(--yes-ink);
    background: var(--yes-page);
    font-family: "Tajawal", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
}

main {
    min-width: 0;
}

::selection {
    color: #fff;
    background: var(--yes-brand);
}

a,
button,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(22, 128, 167, 0.3);
    outline-offset: 3px;
}

img {
    max-width: 100%;
}

.section-title {
    position: relative;
    margin: 0 0 1rem;
    color: var(--yes-brand-dark);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 900;
    line-height: 1.35;
}

.section-title::after {
    display: block;
    width: 54px;
    height: 4px;
    margin-top: 12px;
    content: "";
    background: linear-gradient(90deg, var(--yes-gold), var(--yes-brand-alt));
    border-radius: 999px;
}

.text-center .section-title::after {
    margin-right: auto;
    margin-left: auto;
}

.content-card,
.service-card,
.stat-card {
    background: #fff;
    border: 1px solid var(--yes-line);
    border-radius: var(--yes-radius);
    box-shadow: var(--yes-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.content-card:hover,
.service-card:hover,
.stat-card:hover {
    border-color: rgba(11, 69, 109, 0.25);
    box-shadow: var(--yes-shadow);
    transform: translateY(-4px);
}

.btn {
    border-radius: var(--yes-radius-sm);
    font-weight: 800;
}

.btn-primary {
    background: linear-gradient(135deg, var(--yes-brand), var(--yes-brand-alt));
    border-color: transparent;
    box-shadow: 0 9px 22px rgba(11, 69, 109, 0.17);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--yes-brand-dark), var(--yes-brand));
    border-color: transparent;
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--yes-brand);
    border-color: rgba(11, 69, 109, 0.35);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #fff;
    background: var(--yes-brand);
    border-color: var(--yes-brand);
}

.form-control,
.form-select {
    min-height: 46px;
    border-color: var(--yes-line);
    border-radius: 11px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--yes-brand-alt);
    box-shadow: 0 0 0 4px rgba(22, 128, 167, 0.1);
}

.alert {
    border-radius: var(--yes-radius-sm);
}

.pagination {
    gap: 6px;
}

.pagination .page-link {
    min-width: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--yes-brand);
    background: #fff;
    border: 1px solid var(--yes-line);
    border-radius: 11px !important;
    box-shadow: none;
}

.pagination .active .page-link {
    color: #fff;
    background: var(--yes-brand);
    border-color: var(--yes-brand);
}

.yes-header {
    border-bottom-color: rgba(11, 69, 109, 0.08) !important;
    box-shadow: 0 8px 28px rgba(17, 50, 72, 0.07) !important;
}

.yes-header-actions > a,
.yes-header-actions > button {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
