@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap");
:root{--fasrc-blue:#123b63;--fasrc-blue-dark:#0a2946;--fasrc-green:#138a63;--fasrc-green-dark:#0d6a4c;--fasrc-gold:#c89a35;--fasrc-bg:#f4f7fa;--fasrc-text:#183044;--fasrc-muted:#667786;--fasrc-border:#dce5ec;--fasrc-shadow:0 14px 40px rgba(18,59,99,.10)}
html{scroll-behavior:smooth}
body.fasrc-home-page{margin:0;background:var(--fasrc-bg);color:var(--fasrc-text);font-family:"Cairo",Arial,sans-serif}
.fasrc-site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.97);border-bottom:3px solid var(--fasrc-gold);box-shadow:0 5px 20px rgba(18,59,99,.08)}
.fasrc-header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;width:min(1440px,calc(100% - 40px));min-height:86px;margin:auto}
.fasrc-identity{display:flex;align-items:center;gap:14px;color:inherit;text-decoration:none}.fasrc-header-logo{width:auto;height:62px;max-width:210px;object-fit:contain}
.fasrc-identity-text{display:flex;flex-direction:column;line-height:1.45}.fasrc-identity-text strong{color:var(--fasrc-blue);font-size:18px;font-weight:800}.fasrc-identity-text small{color:var(--fasrc-green);font-size:13px;font-weight:700}
.fasrc-language select{min-width:210px;min-height:42px;border:1px solid var(--fasrc-border);border-radius:10px;background:#fff}
.fasrc-main{width:min(1440px,calc(100% - 40px));margin:28px auto 0}
.fasrc-hero{position:relative;overflow:hidden;min-height:440px;border-radius:28px;background:linear-gradient(110deg,rgba(10,41,70,.96),rgba(19,138,99,.84)),url("../files/images/hero-pattern.svg") center/cover no-repeat;box-shadow:var(--fasrc-shadow)}
.fasrc-hero-overlay{position:absolute;inset:0;background:radial-gradient(circle at 15% 20%,rgba(255,255,255,.14),transparent 28%),radial-gradient(circle at 88% 78%,rgba(200,154,53,.20),transparent 25%)}
.fasrc-hero-content{position:relative;z-index:1;max-width:860px;padding:76px clamp(26px,7vw,100px);color:#fff}
.fasrc-badge{display:inline-flex;padding:8px 16px;margin-bottom:18px;border:1px solid rgba(255,255,255,.30);border-radius:999px;background:rgba(255,255,255,.12);font-size:14px;font-weight:700}
.fasrc-hero h1{margin:0 0 18px;color:#fff;font-size:clamp(34px,4.5vw,62px);font-weight:800;line-height:1.3}.fasrc-hero p{max-width:790px;margin:0 0 30px;color:rgba(255,255,255,.92);font-size:clamp(17px,1.7vw,21px);line-height:2}
.fasrc-hero-actions{display:flex;flex-wrap:wrap;gap:12px}.fasrc-primary-btn,.fasrc-secondary-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:12px 24px;border-radius:12px;text-decoration:none;font-weight:800}
.fasrc-primary-btn{color:var(--fasrc-blue-dark);background:#fff}.fasrc-secondary-btn{color:#fff;border:1px solid rgba(255,255,255,.55);background:rgba(255,255,255,.10)}
.fasrc-features{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:28px 0 54px}.fasrc-features article{padding:26px;border:1px solid var(--fasrc-border);border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(18,59,99,.06)}
.fasrc-feature-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:16px;border-radius:14px;color:#fff;background:linear-gradient(135deg,var(--fasrc-green),var(--fasrc-blue));font-weight:800}
.fasrc-features h3{margin:0 0 10px;color:var(--fasrc-blue);font-size:18px;font-weight:800}.fasrc-features p{margin:0;color:var(--fasrc-muted);line-height:1.8}
.fasrc-surveys-section{padding-bottom:58px;scroll-margin-top:110px}.fasrc-section-title{margin-bottom:24px}.fasrc-section-title span{color:var(--fasrc-green);font-size:13px;font-weight:800}.fasrc-section-title h2{margin:6px 0 0;color:var(--fasrc-blue);font-size:clamp(28px,3vw,42px);font-weight:800}
.fasrc-survey-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.fasrc-survey-card{display:grid;grid-template-columns:58px 1fr;gap:16px;padding:24px;border:1px solid var(--fasrc-border);border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(18,59,99,.07)}
.fasrc-card-number{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;color:#fff;background:linear-gradient(135deg,var(--fasrc-green),var(--fasrc-blue));font-size:20px;font-weight:800}
.fasrc-card-content h3{margin:0 0 8px;color:var(--fasrc-blue);font-size:19px;font-weight:800;line-height:1.6}.fasrc-card-content p{margin:0;color:var(--fasrc-muted);line-height:1.8}
.fasrc-survey-button{grid-column:1/-1;display:inline-flex;justify-content:center;padding:12px 18px;border-radius:11px;color:#fff;background:var(--fasrc-green);text-decoration:none;font-weight:800}.fasrc-survey-button:hover{color:#fff;background:var(--fasrc-green-dark)}
.fasrc-empty-state{padding:58px 24px;text-align:center;border:1px dashed #bdcbd6;border-radius:18px;background:#fff}.fasrc-empty-symbol{display:grid;place-items:center;width:60px;height:60px;margin:0 auto 18px;border-radius:50%;color:#fff;background:var(--fasrc-blue);font-size:28px;font-weight:800}
.fasrc-empty-state h3{margin:0 0 10px;color:var(--fasrc-blue);font-weight:800}.fasrc-empty-state p{margin:0;color:var(--fasrc-muted)}
.fasrc-support{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:24px;padding:18px 22px;border-inline-start:4px solid var(--fasrc-gold);border-radius:12px;background:#fff;color:var(--fasrc-muted)}.fasrc-support strong{color:var(--fasrc-blue)}
.fasrc-footer{margin-top:20px;padding:34px 20px;color:rgba(255,255,255,.88);background:var(--fasrc-blue-dark);border-top:4px solid var(--fasrc-gold)}
.fasrc-footer-inner{display:grid;grid-template-columns:1.4fr 1fr auto;gap:24px;align-items:center;width:min(1320px,calc(100% - 20px));margin:auto}.fasrc-footer-inner>div{display:flex;flex-direction:column;gap:5px}.fasrc-footer strong{color:#fff;font-size:16px}.fasrc-footer nav{display:flex;flex-wrap:wrap;gap:18px}.fasrc-footer a{color:#fff;text-decoration:none}.fasrc-footer small{white-space:nowrap}
@media(max-width:950px){.fasrc-features{grid-template-columns:1fr}.fasrc-footer-inner{grid-template-columns:1fr;text-align:center}.fasrc-footer nav{justify-content:center}}
@media(max-width:767px){.fasrc-header-inner{width:min(100% - 20px,1440px);min-height:74px}.fasrc-header-logo{height:46px;max-width:135px}.fasrc-identity-text strong{font-size:13px}.fasrc-identity-text small{font-size:10px}.fasrc-language{max-width:135px}.fasrc-language select{min-width:0;width:100%}.fasrc-main{width:calc(100% - 20px);margin-top:14px}.fasrc-hero{min-height:380px;border-radius:20px}.fasrc-hero-content{padding:52px 24px}.fasrc-hero-actions{flex-direction:column}.fasrc-primary-btn,.fasrc-secondary-btn{width:100%}}
/* تحسين ترويسة منصة الاتحاد */

.fasrc-site-header {
    background: #ffffff;
}

.fasrc-header-inner {
    min-height: 105px;
    padding: 12px 0;
}

.fasrc-identity {
    gap: 18px;
}

.fasrc-header-logo {
    width: 92px;
    height: 92px;
    max-width: none;
    object-fit: contain;
}

.fasrc-identity-text strong {
    font-size: 21px;
    line-height: 1.5;
}

.fasrc-identity-text small {
    font-size: 14px;
}

.fasrc-language {
    display: flex;
    align-items: center;
}

.fasrc-language form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.fasrc-language select {
    min-width: 290px;
    height: 46px;
    border: 1px solid #d5e0e8;
    border-radius: 12px;
    padding: 7px 14px;
}

.fasrc-language button {
    min-height: 46px;
    padding: 8px 18px;
    border: 0;
    border-radius: 11px;
    color: #ffffff;
    background: var(--fasrc-green);
    font-family: "Cairo", Arial, sans-serif;
    font-weight: 700;
}

.fasrc-language button:hover {
    background: var(--fasrc-green-dark);
}

@media (max-width: 767px) {
    .fasrc-header-inner {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        padding: 12px 0;
    }

    .fasrc-identity {
        justify-content: center;
    }

    .fasrc-header-logo {
        width: 70px;
        height: 70px;
    }

    .fasrc-identity-text strong {
        font-size: 16px;
    }

    .fasrc-language {
        max-width: none;
        width: 100%;
    }

    .fasrc-language form,
    .fasrc-language select {
        width: 100%;
    }
}
/* إزالة الفراغ العلوي وتحسين تموضع الصفحة */

body.fasrc-home-page {
    padding-top: 0 !important;
}

.fasrc-site-header {
    margin-top: 0 !important;
}

.fasrc-main {
    margin-top: 22px;
}

.fasrc-header-inner {
    width: min(1440px, calc(100% - 48px));
}

@media (max-width: 767px) {
    .fasrc-main {
        margin-top: 12px;
    }

    .fasrc-header-inner {
        width: calc(100% - 20px);
    }
}
/* تحسين البانر الرئيسي */

.fasrc-hero {
    min-height: 520px;
    display: flex;
    align-items: center;
}

.fasrc-hero-content {
    width: 100%;
    max-width: 820px;
    padding-top: 58px;
    padding-bottom: 58px;
}

.fasrc-hero h1 {
    font-size: clamp(38px, 4.2vw, 58px);
    line-height: 1.35;
}

.fasrc-hero p {
    max-width: 720px;
    margin-bottom: 24px;
}

.fasrc-hero-actions {
    margin-top: 8px;
}

@media (max-width: 767px) {
    .fasrc-hero {
        min-height: auto;
    }

    .fasrc-hero-content {
        padding: 42px 22px;
    }

    .fasrc-hero h1 {
        font-size: 34px;
    }
}
/* إضافة عنصر بصري داخل البانر */

.fasrc-hero::after {
    content: "";
    position: absolute;
    left: 9%;
    top: 50%;
    width: 290px;
    height: 220px;
    transform: translateY(-50%);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.06)),
        url("../files/images/hero-pattern.svg") center/cover no-repeat;
    border: 1px solid rgba(255,255,255,.24);
    box-shadow: 0 18px 50px rgba(0,0,0,.16);
    opacity: .95;
}

.fasrc-hero::before {
    content: "بيانات • استبيانات • تحليل";
    position: absolute;
    left: 11%;
    top: 50%;
    z-index: 2;
    width: 250px;
    transform: translateY(-50%);
    color: #ffffff;
    text-align: center;
    font-family: "Cairo", Arial, sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 2;
}

@media (max-width: 1100px) {
    .fasrc-hero::before,
    .fasrc-hero::after {
        display: none;
    }
}
/* تحسين البطاقة البصرية داخل البانر */

.fasrc-hero::after {
    width: 320px;
    height: 230px;
    left: 8%;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.17), rgba(255,255,255,.07)),
        url("../files/images/hero-pattern.svg") center/cover no-repeat;
}

.fasrc-hero::before {
    content: "📋  استبيانات\A📊  تحليل بيانات\A🔬  بحث علمي";
    white-space: pre-line;
    left: 10%;
    width: 280px;
    font-size: 21px;
    line-height: 2.25;
    text-align: right;
    direction: rtl;
}
/* تحسينات الحركة والتفاعل */

.fasrc-hero,
.fasrc-features article,
.fasrc-survey-card,
.fasrc-primary-btn,
.fasrc-secondary-btn,
.fasrc-language button {
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background-color .22s ease,
        border-color .22s ease;
}

.fasrc-features article:hover,
.fasrc-survey-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 38px rgba(18, 59, 99, .12);
}

.fasrc-primary-btn:hover,
.fasrc-secondary-btn:hover,
.fasrc-language button:hover {
    transform: translateY(-2px);
}

.fasrc-primary-btn:hover {
    background: #f6faf8;
}

.fasrc-secondary-btn:hover {
    background: rgba(255,255,255,.18);
}

.fasrc-hero::after {
    transition: transform .3s ease, box-shadow .3s ease;
}

.fasrc-hero:hover::after {
    transform: translateY(-50%) scale(1.025);
    box-shadow: 0 22px 56px rgba(0,0,0,.22);
}
/* تثبيت ألوان أزرار البانر عند المرور */

.fasrc-primary-btn,
.fasrc-primary-btn:hover,
.fasrc-primary-btn:focus {
    color: var(--fasrc-blue-dark) !important;
    text-decoration: none !important;
}

.fasrc-secondary-btn,
.fasrc-secondary-btn:hover,
.fasrc-secondary-btn:focus {
    color: #ffffff !important;
    text-decoration: none !important;
}

.fasrc-secondary-btn:hover {
    border-color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.18);
}
/* تحسين قسم الاستبيانات */

.fasrc-surveys-section {
    margin-top: 38px;
    padding: 42px;
    border: 1px solid var(--fasrc-border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(18, 59, 99, .08);
}

.fasrc-section-title {
    position: relative;
    padding-right: 18px;
    margin-bottom: 30px;
}

.fasrc-section-title::before {
    content: "";
    position: absolute;
    right: 0;
    top: 4px;
    width: 5px;
    height: 52px;
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        var(--fasrc-green),
        var(--fasrc-gold)
    );
}

.fasrc-section-title span {
    display: block;
    margin-bottom: 5px;
    color: var(--fasrc-green);
    font-weight: 800;
}

.fasrc-section-title h2 {
    margin: 0;
    color: var(--fasrc-blue);
    font-size: 34px;
    line-height: 1.4;
}

.fasrc-empty-state {
    padding: 52px 24px;
    border: 1px dashed #b8c8d4;
    border-radius: 18px;
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f7fafc
        );
}

.fasrc-empty-symbol {
    width: 68px;
    height: 68px;
    margin-bottom: 20px;
    background: linear-gradient(
        135deg,
        var(--fasrc-blue),
        var(--fasrc-green)
    );
    box-shadow: 0 10px 24px rgba(18, 59, 99, .18);
}

.fasrc-empty-state h3 {
    font-size: 22px;
}

.fasrc-support {
    align-items: center;
    margin-top: 28px;
    padding: 20px 24px;
    border: 1px solid var(--fasrc-border);
    border-right: 5px solid var(--fasrc-gold);
    background: #fbfcfd;
}

@media (max-width: 767px) {
    .fasrc-surveys-section {
        margin-top: 20px;
        padding: 24px 16px;
        border-radius: 18px;
    }

    .fasrc-section-title h2 {
        font-size: 27px;
    }

    .fasrc-empty-state {
        padding: 38px 18px;
    }
}
/* تحسين بطاقات المزايا */

.fasrc-features article {
    position: relative;
    overflow: hidden;
    min-height: 185px;
    padding: 30px 28px;
    border-top: 4px solid transparent;
}

.fasrc-features article::after {
    content: "";
    position: absolute;
    inset-inline-end: -35px;
    bottom: -45px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(19, 138, 99, .06);
}

.fasrc-features article:nth-child(1) {
    border-top-color: var(--fasrc-green);
}

.fasrc-features article:nth-child(2) {
    border-top-color: var(--fasrc-blue);
}

.fasrc-features article:nth-child(3) {
    border-top-color: var(--fasrc-gold);
}

.fasrc-feature-icon {
    position: relative;
    z-index: 2;
    margin-bottom: 18px;
}

.fasrc-features h3,
.fasrc-features p {
    position: relative;
    z-index: 2;
}

.fasrc-features h3 {
    font-size: 20px;
}

.fasrc-features p {
    font-size: 15px;
    line-height: 1.9;
}
/* تحسين التذييل */

.fasrc-footer {
    margin-top: 34px;
    padding: 38px 24px;
    background:
        linear-gradient(
            135deg,
            var(--fasrc-blue-dark),
            #123b63
        );
    border-top: 4px solid var(--fasrc-gold);
}

.fasrc-footer-inner {
    align-items: center;
    gap: 28px;
}

.fasrc-footer-inner > div {
    line-height: 1.8;
}

.fasrc-footer strong {
    font-size: 18px;
}

.fasrc-footer span {
    color: rgba(255,255,255,.75);
    font-size: 14px;
}

.fasrc-footer nav {
    gap: 12px;
}

.fasrc-footer nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 15px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 10px;
    color: #ffffff !important;
    background: rgba(255,255,255,.06);
    font-weight: 700;
}

.fasrc-footer nav a:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,.14);
    transform: translateY(-2px);
}

.fasrc-footer small {
    color: rgba(255,255,255,.68);
}

@media (max-width: 950px) {
    .fasrc-footer {
        padding: 32px 18px;
    }

    .fasrc-footer-inner {
        gap: 20px;
    }

    .fasrc-footer nav {
        justify-content: center;
    }
}
/* تحسين محاذاة رسالة الدعم */

.fasrc-support {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 18px;
}

.fasrc-support strong {
    white-space: nowrap;
}

.fasrc-support-text {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
}

.fasrc-support-text a {
    direction: ltr;
    unicode-bidi: isolate;
    word-break: break-all;
}

@media (max-width: 767px) {
    .fasrc-support {
        grid-template-columns: 1fr;
        row-gap: 10px;
    }

    .fasrc-support-text {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* تحسين نسخة الهاتف */

@media (max-width: 767px) {
    .fasrc-site-header {
        position: static;
    }

    .fasrc-header-inner {
        padding: 14px 0;
    }

    .fasrc-identity {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .fasrc-identity-text {
        align-items: center;
    }

    .fasrc-header-logo {
        width: 74px;
        height: 74px;
    }

    .fasrc-language form {
        display: grid;
        grid-template-columns: 1fr auto;
        width: 100%;
    }

    .fasrc-language select {
        min-width: 0;
        width: 100%;
    }

    .fasrc-main {
        width: calc(100% - 16px);
    }

    .fasrc-hero {
        border-radius: 18px;
    }

    .fasrc-hero-content {
        padding: 38px 20px;
        text-align: center;
    }

    .fasrc-hero h1 {
        font-size: 32px;
    }

    .fasrc-hero p {
        font-size: 16px;
        line-height: 1.9;
    }

    .fasrc-hero-actions {
        width: 100%;
    }

    .fasrc-primary-btn,
    .fasrc-secondary-btn {
        width: 100%;
    }

    .fasrc-features {
        gap: 14px;
        margin-bottom: 28px;
    }

    .fasrc-features article {
        min-height: auto;
        padding: 24px 20px;
    }

    .fasrc-surveys-section {
        padding: 22px 14px;
    }

    .fasrc-empty-state {
        padding: 34px 16px;
    }

    .fasrc-footer nav {
        flex-direction: column;
    }

    .fasrc-footer nav a {
        justify-content: center;
        width: 100%;
    }
}
/* إصلاح الهيدر وأداة اللغة على الهاتف */

@media (max-width: 767px) {
    .fasrc-header-inner {
        overflow: hidden;
    }

    .fasrc-language {
        width: 100%;
        max-width: 100%;
    }

    .fasrc-language form {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        width: 100%;
        margin: 0;
    }

    .fasrc-language label {
        display: none !important;
    }

    .fasrc-language select {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: 46px;
        padding: 7px 12px;
        font-size: 14px;
    }

    .fasrc-language button {
        min-width: 92px;
        height: 46px;
        margin: 0;
        white-space: nowrap;
    }

    .fasrc-features {
        display: flex;
        flex-direction: column;
    }

    .fasrc-features article {
        width: 100%;
        margin: 0;
    }
}
/* ضبط البانر على الهاتف */

@media (max-width: 767px) {
    .fasrc-hero-content {
        padding: 34px 20px 28px;
    }

    .fasrc-badge {
        margin-bottom: 14px;
        font-size: 13px;
    }

    .fasrc-hero h1 {
        margin-bottom: 14px;
        font-size: 31px;
        line-height: 1.3;
    }

    .fasrc-hero p {
        margin-bottom: 20px;
        font-size: 15px;
        line-height: 1.85;
    }

    .fasrc-hero-actions {
        gap: 10px;
    }

    .fasrc-primary-btn,
    .fasrc-secondary-btn {
        min-height: 46px;
        padding: 10px 16px;
    }
}
/* اللمسات النهائية للهيدر على الهاتف */

@media (max-width: 767px) {
    .fasrc-header-inner {
        gap: 8px;
        padding-top: 10px;
        padding-bottom: 12px;
    }

    .fasrc-identity {
        gap: 10px;
    }

    .fasrc-header-logo {
        width: 68px;
        height: 68px;
    }

    .fasrc-identity-text strong {
        font-size: 15px;
        line-height: 1.45;
    }

    .fasrc-identity-text small {
        font-size: 12px;
    }

    .fasrc-language {
        margin-top: 2px;
    }

    .fasrc-language select,
    .fasrc-language button {
        height: 44px;
        min-height: 44px;
    }
}
/* زر دخول المشرفين */

.fasrc-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fasrc-admin-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 9px 18px;
    border: 1px solid var(--fasrc-blue);
    border-radius: 11px;
    background: var(--fasrc-blue);
    color: #ffffff !important;
    font-family: "Cairo", Arial, sans-serif;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform .22s ease, background-color .22s ease;
}

.fasrc-admin-login:hover,
.fasrc-admin-login:focus {
    background: var(--fasrc-blue-dark);
    color: #ffffff !important;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .fasrc-header-actions {
        flex-direction: column;
        width: 100%;
    }

    .fasrc-admin-login {
        width: 100%;
    }
}