@font-face {
    font-family: "Cairo";
    src: url("../fonts/Cairo-Arabic.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
    font-family: "Cairo";
    src: url("../fonts/Cairo-Latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD;
}

:root {
    --primary-color: #306db5;
    --primary-hover: #2863a8;
    --header-bg: #f8f9fb;
    --muted: #798ca1;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: #fff;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: #000;
    background: #fff;
    font-family: "Cairo", Arial, sans-serif;
    font-size: 16px;
}

a {
    color: inherit;
}

.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;
}

.site-header {
    position: relative;
    z-index: 100;
    height: 134px;
    border-top: 1px solid #d9dce1;
    background: var(--header-bg);
}

.header-inner {
    width: 100%;
    height: 100%;
    padding: 0 3.55%;
    display: grid;
    grid-template-columns: 180px 1fr 300px;
    align-items: start;
    direction: rtl;
}

.brand {
    justify-self: start;
    padding-top: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo-icon {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.brand-text-ar {
    font-family: "Cairo", Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a3d7c;
    letter-spacing: 0.3px;
}

.brand-text-en {
    font-family: "Cairo", Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #306db5;
    letter-spacing: 1px;
}

.main-navigation {
    height: 93px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 27px;
    white-space: nowrap;
}

.main-navigation a {
    position: relative;
    color: #1f62b7;
    font-size: 18px;
    font-weight: 500;
    line-height: 62px;
    text-decoration: none;
}

.main-navigation a::after {
    position: absolute;
    right: 0;
    bottom: 6px;
    width: 100%;
    height: 3px;
    content: "";
    background: #7eb7db;
    transform: scaleX(0);
    transition: transform 0.18s ease;
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    transform: scaleX(1);
}

.main-navigation a.active {
    font-weight: 700;
}

.account-actions {
    height: 100px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-direction: row-reverse;
    gap: 12px;
    padding-top: 25px;
    direction: ltr;
}

.create-account {
    padding: 13px 0;
    color: #2d6ab9;
    font-size: 18px;
    text-decoration: none;
}

.login-button {
    min-width: 160px;
    height: 48px;
    padding: 0 20px 0 16px;
    border-radius: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    background: #1a3d7c;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
    direction: rtl;
}

.login-button:hover {
    background: #15336a;
}

.login-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
    flex-shrink: 0;
    order: -1;
}

.menu-button {
    display: none;
}

.mobile-account-actions {
    display: none;
}

main {
    min-height: calc(100vh - 134px);
}

.breadcrumb {
    width: calc(100% - 8%);
    max-width: 1760px;
    height: 116px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    gap: 17px;
    padding-bottom: 20px;
    color: #526b89;
    font-size: 17px;
}

.breadcrumb a {
    color: #2c6db9;
    font-weight: 700;
    text-decoration: none;
}

.breadcrumb span[aria-hidden] {
    color: #bcc5d0;
    font-size: 27px;
    line-height: 20px;
    direction: ltr;
    unicode-bidi: isolate;
}

.inquiries-container {
    width: 100%;
    min-height: 65vh;
    margin-top: 100px;
    padding: 0 10% 55px;
    text-align: center;
}

.inquiries-container h1 {
    position: relative;
    width: fit-content;
    margin: 0 auto;
    color: var(--primary-color);
    z-index: 0;
    padding: 0 5px;
    background: linear-gradient(to bottom,
            transparent 48%,
            rgba(126, 183, 219, 0.25) 48%,
            rgba(126, 183, 219, 0.25) 82%,
            transparent 82%);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
}

.inquiries-container .subtitle {
    margin: 16px 0 35px;
    color: var(--muted);
    font-size: 16px;
}

.services ul {
    max-width: 1476px;
    margin: 0 auto 50px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 24px;
    list-style: none;
}

.services li {
    height: 290px;
    border-radius: 7px;
    background: #fff;
    box-shadow: 1px 1px 7px 2px #eeeeee;
    overflow: hidden;
}

.services li a {
    width: 100%;
    height: 100%;
    min-height: 222px;
    padding: 20px 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #000;
    text-decoration: none;
}

.services li strong {
    max-width: 300px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
}

.services li p {
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    color: #7d7d7d;
    font-size: 14px;
    line-height: 1.8;
    transition: height 0.3s ease-in, opacity 0.3s ease-in, padding 0.3s ease-in, margin 0.3s ease-in;
}

.services li span {
    position: relative;
    bottom: -10px;
    width: 90%;
    height: 0;
    padding: 0 11px;
    display: block;
    overflow: hidden;
    border-radius: 5px;
    opacity: 0;
    color: #fff;
    background: var(--primary-color);
    font-size: 14px;
    line-height: 28px;
    transition: height 0.2s ease-in, opacity 0.2s ease-in, padding 0.2s ease-in;
}

.services li a:hover p,
.services li a:focus-visible p {
    height: 92px;
    margin-bottom: 15px;
    padding: 5px;
    opacity: 1;
}

.services li a:hover span,
.services li a:focus-visible span {
    height: 35px;
    padding: 2px 11px 6px;
    opacity: 1;
}

.services li a:focus-visible {
    outline: 3px solid #87b8e5;
    outline-offset: -3px;
}

.accessibility-button {
    position: fixed;
    z-index: 10;
    left: 16px;
    bottom: 15px;
    width: 56px;
    height: 56px;
    padding: 4px;
    border: 3px solid #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color);
    cursor: pointer;
}

.accessibility-button svg {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.4;
}

.public-footer {
    position: relative;
    min-height: 537px;
    padding: 55px 100px 13px;
    overflow: hidden;
    color: #f0f3f8;
    background: #306db5;
}

.public-footer a {
    color: inherit;
    text-decoration: none;
}

.public-footer-inner {
    width: 100%;
    min-height: 469px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    direction: rtl;
}

.footer-about-section,
.footer-menu-section,
.footer-contact-section {
    position: relative;
    min-width: 0;
}

.footer-about-section {
    padding: 0 35px 0 15px;
    overflow: hidden;
}

.footer-seha-logo {
    position: relative;
    z-index: 1;
    width: 190px;
    height: 84px;
    margin-right: 0;
    margin-left: auto;
    display: block;
    object-fit: contain;
}

.footer-about-section p {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 48px 0 0;
    color: #f0f3f8;
    font-size: 16px;
    font-weight: 400;
    line-height: 2.5;
    text-align: justify;
}

.footer-watermark {
    position: absolute;
    z-index: 0;
    right: 42px;
    bottom: -22px;
    width: 400px;
    height: auto;
    opacity: 0.065;
    pointer-events: none;
    user-select: none;
}

.footer-menu-section {
    padding: 37px 42px 0;
}

.public-footer h2 {
    position: relative;
    width: 188px;
    margin: 0 0 10px auto;
    padding-bottom: 15px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    text-align: right;
}

.public-footer h2::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 188px;
    height: 5px;
    content: "";
    background: #7eb7db;
}

.footer-menu-section nav {
    width: 376px;
    max-width: 100%;
    margin-left: auto;
}

.footer-menu-section nav a {
    height: 61px;
    border-bottom: 1px solid rgba(126, 183, 219, 0.65);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
}

.footer-menu-section nav a::before {
    margin-left: 5px;
    content: "-";
}

.footer-menu-section nav a:last-child {
    border-bottom: 0;
}

.footer-contact-section {
    padding-top: 37px;
    text-align: center;
}

.footer-contact-section h2 {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.footer-contact-list {
    margin-top: 8px;
}

.footer-contact-list a {
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: ltr;
    gap: 23px;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
}

.footer-contact-list svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #7eb7db;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.45;
}

.footer-hours {
    margin: 27px 0 0;
    color: #f0f3f8;
    font-size: 13px;
    line-height: 1.8;
}

.footer-social {
    margin-top: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: ltr;
    gap: 34px;
}

.footer-social a {
    width: 18px;
    height: 18px;
    display: block;
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: #f0f3f8;
    stroke: none;
}

.footer-partners {
    margin-top: 61px;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: ltr;
    gap: 24px;
}

.footer-partners img {
    width: auto;
    height: 65px;
    object-fit: contain;
}

.footer-partners span {
    width: 1px;
    height: 65px;
    display: block;
    background: rgba(126, 183, 219, 0.42);
}

.footer-copyright {
    margin: 20px 0 0;
    color: #f0f3f8;
    font-size: 10px;
    line-height: 1.5;
}

.footer-legal {
    margin-top: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #f0f3f8;
    font-size: 10px;
}

.public-footer a:hover,
.public-footer a:focus-visible {
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1250px) {
    .header-inner {
        grid-template-columns: 145px 1fr 240px;
        padding: 0 2%;
    }

    .main-navigation {
        gap: 15px;
    }

    .main-navigation a {
        font-size: 16px;
    }

    .account-actions {
        gap: 7px;
    }

    .login-button {
        min-width: 145px;
    }

    .services li a {
        padding-inline: 25px;
    }

    .public-footer {
        padding-inline: 55px;
    }

    .footer-about-section p {
        font-size: 14px;
    }

    .footer-menu-section nav {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .site-header {
        height: 84px;
    }

    .header-inner {
        position: relative;
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: 0 4%;
    }

    .brand {
        padding: 0;
        gap: 7px;
    }

    .brand-logo-icon {
        width: 40px;
        height: 40px;
    }

    .brand-text-ar {
        font-size: 18px;
    }

    .brand-text-en {
        font-size: 11px;
    }

    .menu-button {
        position: relative;
        z-index: 102;
        width: 50px;
        height: 50px;
        padding: 10px;
        border: 1px solid #cdd7e3;
        border-radius: 10px;
        display: flex;
        justify-content: space-around;
        flex-direction: column;
        background: #fff;
        cursor: pointer;
    }

    .menu-button span:not(.sr-only) {
        width: 100%;
        height: 2px;
        background: #7eb7db;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .menu-button:focus-visible {
        border: 2px solid #2548ff;
        outline: 0;
    }

    .menu-button[aria-expanded="true"] {
        border-color: transparent;
        background: transparent;
    }

    .menu-button[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-button[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-button[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .main-navigation {
        position: fixed;
        top: 84px;
        right: 0;
        left: 0;
        width: 100%;
        z-index: 101;
        height: auto;
        min-height: 465px;
        padding: 70px 20px 56px;
        display: none;
        align-items: center;
        flex-direction: column;
        gap: 0;
        background: #f8f9fb;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
    }

    .main-navigation.open {
        display: flex;
    }

    .main-navigation a {
        width: 100px;
        line-height: 52px;
        text-align: center;
        border-bottom: 1px solid #edf0f3;
    }

    .account-actions {
        display: none;
    }

    .mobile-account-actions {
        width: 100%;
        margin-top: 7px;
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .main-navigation .mobile-create-account {
        width: auto;
        border-bottom: 0;
        color: #2d6ab9;
        font-weight: 400;
        line-height: 45px;
    }

    .main-navigation .mobile-login-button {
        width: 84%;
        height: 52px;
        margin-top: 15px;
        border: 0;
        border-radius: 17px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        color: #fff;
        background: #306db5;
        font-size: 16px;
        font-weight: 600;
        line-height: 52px;
    }

    .mobile-login-button svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.6;
    }

    main {
        min-height: calc(100vh - 84px);
    }

    .breadcrumb {
        height: 82px;
    }

    .inquiries-container {
        margin-top: 32px;
        padding-inline: 5%;
    }

    .services ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-footer {
        min-height: 0;
        padding: 45px 7% 28px;
    }

    .public-footer-inner {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-about-section,
    .footer-menu-section,
    .footer-contact-section {
        padding: 0;
        text-align: center;
    }

    .footer-seha-logo {
        width: 160px;
        height: auto;
        margin: 0 auto;
    }

    .footer-about-section p {
        max-width: 620px;
        margin: 28px auto 0;
        text-align: center;
    }

    .footer-watermark {
        right: 50%;
        bottom: -35px;
        width: 300px;
        transform: translateX(50%);
    }

    .public-footer h2 {
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .footer-menu-section nav {
        max-width: 390px;
        margin: 0 auto;
    }

    .footer-menu-section nav a {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .inquiries-container h1 {
        font-size: 34px;
    }

    .services ul {
        grid-template-columns: 1fr;
    }

    .services li {
        height: 240px;
    }
}

@media (hover: none) {
    .services li p {
        height: auto;
        margin: 10px 0;
        padding: 5px;
        opacity: 1;
    }

    .services li span {
        height: 35px;
        padding: 2px 11px 6px;
        opacity: 1;
    }
}