/* ********************** */
/* navbar */
/* ********************** */


.navbar {
    position: relative;
    z-index: 1000;
    min-height: 64px;
    width: calc(100% - 200px);
    margin: 0 auto;
    padding: 0 28px !important;
    background: var(--white);
    border: 0;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 5px 18px rgba(28, 30, 89, 0.08);
}


.navbar .container {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 64px;
    width: 100%;
    max-width: none;
    padding: 0;
}


.navbar-brand {
    position: absolute;
    top: 50%;
    right: -25px;
    z-index: 3;
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%);
}


.navbar-brand img {
    display: block;
    width: 145px;
    height: auto;
    max-height: 52px;
    object-fit: contain;
}


.navbar-collapse {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    width: 100%;
    margin: 0 !important;
}


.navbar-nav.pema-nav {
    position: absolute;
    top: 50%;
    right: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate(50%, -50%);
}


.navbar-nav .nav-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
}


.navbar-nav .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 64px;
    padding: 0 !important;
    color: var(--black-100);
    font-family: Expo-Arabic, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s ease;
}


.navbar-nav .nav-link.active,
.navbar-nav .show > .nav-link {
    color: var(--primary-300) !important;
    font-weight: 500;
}


.navbar-nav .nav-link:hover {
    color: var(--primary-300) !important;
}


.navbar-nav .nav-item.mx-2 {
    margin-right: 0 !important;
    margin-left: 0 !important;
}


/* Login: أقصى يسار النافبار */
.navbar-collapse > .navbar-nav:last-child {
    position: absolute;
    top: 50%;
    left: 2px;
    display: flex !important;
    align-items: center;
    min-width: auto;
    margin: 0 !important;
    transform: translateY(-50%);
}


.navbar-collapse > .navbar-nav:last-child .nav-item {
    margin: 0 !important;
}


.navbar-collapse > .navbar-nav:last-child .nav-link {
    min-height: auto;
    color: var(--black-100);
}


.navbar-collapse > .navbar-nav:last-child .nav-link:hover {
    color: var(--primary-300);
}

/* Language: عنصر مستقل ثابت قرب Login - Desktop فقط */
@media screen and (min-width: 992px) {
    .navbar-collapse > .nav-lang-switcher {
        position: absolute;
        top: 50%;
        left: 150px;
        z-index: 5;
        display: flex !important;
        align-items: center;
        margin: 0 !important;
        transform: translateY(-50%);
    }
}


.nav-lang-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 0 !important;
    color: var(--black-100);
    font-family: Expo-Arabic, sans-serif;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
}


.nav-lang-toggler:hover {
    color: var(--primary-300);
}


.nav-language-separator {
    display: inline-block;
    margin: 0 6px;
    color: #a5a3a4;
}


.lang-dropdown .dropdown-menu {
    margin-top: 8px !important;
    padding: 6px;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}


.lang-dropdown .dropdown-item {
    border-radius: 7px;
    font-family: Expo-Arabic, sans-serif;
}


.lang-dropdown .dropdown-item.active {
    background-color: var(--primary-300);
}


/* Hamburger: يبقى بنفس تصميمك الحالي */
.navbar-toggler {
    padding: 4px !important;
    border: 0 !important;
    background: transparent !important;
}


.navbar-toggler:active,
.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}


.navbar-toggler span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background: var(--primary-300);
    border-radius: 10px;
}


/* Tablet */
@media screen and (max-width: 1199.98px) {
    .navbar {
        width: calc(100% - 60px);
        padding-right: 20px !important;
        padding-left: 20px !important;
    }


    .navbar-brand {
        right: 4px;
    }


    .navbar-nav.pema-nav {
        gap: 25px;
    }


    .navbar-collapse > .navbar-nav:last-child {
        left: 4px;
    }


    /* Tablet: language position */
@media screen and (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-collapse > .nav-lang-switcher {
        left: 100px;
    }
}
}


/* Mobile */
@media screen and (max-width: 991.98px) {
    .navbar {
        width: calc(100% - 88px);
        min-height: 64px;
        padding: 0 14px !important;
        border-radius: 0 0 18px 18px;
        box-shadow: 0 5px 18px rgba(28, 30, 89, 0.08);
    }


    .navbar .container {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        min-height: 64px;
        padding: 0;
    }


    /* الشعار يمين الموبايل */
    .navbar-brand {
        position: static;
        display: flex;
        align-items: center;
        margin: 0 !important;
        padding: 0 !important;
        transform: none;
    }


    .navbar-brand img {
        width: 122px;
        max-height: 44px;
    }


    /*
     * لا نغير شكل زر hamburger.
     * فقط نخليه بمحاذاة اليسار على الموبايل.
     */
    .navbar-toggler {
        margin-right: auto;
    }


    /* القائمة مغلقة */
    .navbar-collapse {
        display: none !important;
        flex-basis: 100%;
        min-height: auto;
        width: 100%;
        margin: 0 !important;
    }


    /* القائمة مفتوحة */
    .navbar-collapse.show {
        display: block !important;
    }


    /* روابط القائمة عند الفتح */
    .navbar-nav.pema-nav {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        margin: 10px 0 0 !important;
        padding: 8px 0 12px !important;
        border-top: 1px solid #eeeeee;
        transform: none;
    }


    .navbar-nav .nav-item {
        display: flex;
        justify-content: center;
        width: 100%;
    }


    .navbar-nav .nav-link {
        display: flex;
        justify-content: center;
        min-height: 45px;
        width: 100%;
        font-size: 15px;
        text-align: center;
    }


    /* اللغة تصبح ضمن القائمة المفتوحة */
    .pema-nav .nav-lang-switcher {
        position: static;
        display: flex !important;
        justify-content: center;
        width: 100%;
        margin: 0 !important;
        transform: none;
    }


    .pema-nav .nav-lang-toggler {
        justify-content: center;
        min-height: 45px;
    }


    /* إخفاء Login الخاص بالـDesktop داخل collapse */
    .navbar-collapse > .navbar-nav:last-child {
        position: static;
        display: none !important;
        transform: none;
    }


    /* Login الموجود أصلاً بجانب hamburger */
    .navbar > .container > .d-flex .nav-link {
        display: flex !important;
        min-height: auto;
        padding: 0 !important;
        color: var(--black-100);
        font-family: Expo-Arabic, sans-serif;
        font-size: 14px;
        white-space: nowrap;
    }
}


/* Small mobile */
@media screen and (max-width: 575.98px) {
    .navbar {
        width: calc(100% - 62px);


        padding-right: 8px !important;
        padding-left: 8px !important;
    }


    .navbar .container {
        padding-right: 2px;
        padding-left: 2px;
    }


    .navbar-brand img {
        width: 112px;
        max-height: 40px;
    }


    .navbar > .container > .d-flex {
        gap: 10px !important;
    }
}
/* ********************** */
/* footer */
/* ********************** */

.pema-final-footer {
    --pema-footer-blue: #38358c;
    --pema-footer-black: #252633;
    --pema-footer-muted: #81818e;
    --pema-footer-border: #e9e9f0;

    width: 100%;
    padding: 54px 0 70px;
    background: #fafbff;
    color: var(--pema-footer-black);
}

.pema-final-footer,
.pema-final-footer * {
    box-sizing: border-box;
}

.pema-final-footer-card {
    padding: 42px 38px 28px;
    border: 1px solid var(--pema-footer-border);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 32px rgba(36, 40, 85, 0.045);
}

.pema-final-footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 30px;
}

.pema-final-footer-brand {
    text-align: start;
}

.pema-final-footer-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.pema-final-footer-logo {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
}

.pema-final-footer .pema-final-footer-description {
    margin: 30px 0 20px;
    color: var(--pema-footer-muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9;
}

.pema-final-footer-socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pema-final-footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 1px solid #e1e1e9;
    border-radius: 10px;
    background: #fff;
    color: var(--pema-footer-blue);
    font-size: 20px;
    text-decoration: none;
    transition:
        border-color 200ms ease,
        background-color 200ms ease;
}

.pema-final-footer a.pema-final-footer-social:hover {
    border-color: var(--pema-footer-blue);
    background: #f4f3fc;
    color: var(--pema-footer-blue);
}

.pema-final-footer .pema-final-footer-title {
    margin: 0 0 17px;
    color: var(--pema-footer-black);
    font-size: 19px !important;
    font-weight: 700;
    line-height: 1.6;
}

.pema-final-footer-navigation,
.pema-final-footer-contact {
    text-align: start;
}

.pema-final-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.pema-final-footer-links a {
    color: var(--pema-footer-muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    text-decoration: none;
}

.pema-final-footer-links a:hover {
    color: var(--pema-footer-blue);
}

.pema-final-footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pema-final-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--pema-footer-muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    text-decoration: none;
}

.pema-final-footer-contact-item i {
    flex-shrink: 0;
    color: var(--pema-footer-blue);
    font-size: 23px;
}

.pema-final-footer-email,
.pema-final-footer-contact-item:hover {
    color: var(--pema-footer-blue);
}

.pema-final-footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 20px;
    padding-top: 28px;
    border-top: 1px solid var(--pema-footer-border);
}

.pema-final-footer-policy-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.pema-final-footer-policy-links a {
    color: var(--pema-footer-blue);
    font-size: 14px;
    line-height: 1.8;
    text-decoration: none;
}

.pema-final-footer-policy-links a:hover {
    text-decoration: underline;
}

.pema-final-footer .pema-final-footer-copyright {
    margin: 0;
    color: var(--pema-footer-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.8;
    text-align: center;
}

.pema-final-footer-top-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    gap: 10px;
    min-height: 44px;
    padding: 9px 15px;
    border: 1px solid #dedee8;
    border-radius: 12px;
    background: #fff;
    color: var(--pema-footer-blue);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.7;
    cursor: pointer;
}

.pema-final-footer-top-button:hover {
    background: #f4f3fc;
}

.pema-final-footer a:focus-visible,
.pema-final-footer-top-button:focus-visible {
    outline: 2px solid var(--pema-footer-blue);
    outline-offset: 4px;
}

@media (max-width: 991.98px) {
    .pema-final-footer {
        padding: 40px 0 50px;
    }

    .pema-final-footer-card {
        padding: 30px 25px 25px;
        border-radius: 24px;
    }

    .pema-final-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .pema-final-footer-brand {
        grid-column: 1 / -1;
    }

    .pema-final-footer-bottom {
        grid-template-columns: 1fr 1fr;
    }

    .pema-final-footer-copyright {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 575.98px) {
    .pema-final-footer {
        padding: 30px 0 40px;
    }

    .pema-final-footer-card {
        padding: 28px 20px 22px;
        border-radius: 22px;
    }

    .pema-final-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 25px;
    }

    .pema-final-footer-brand {
        grid-column: auto;
    }

    .pema-final-footer-logo {
        width: 180px;
    }

    .pema-final-footer .pema-final-footer-description {
        margin-top: 20px;
        font-size: 15px;
    }

    .pema-final-footer .pema-final-footer-title {
        font-size: 18px !important;
    }

    .pema-final-footer-links a,
    .pema-final-footer-contact-item {
        font-size: 15px;
    }

    .pema-final-footer-bottom {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 22px;
    }

    .pema-final-footer-policy-links {
        justify-content: center;
        gap: 24px;
    }

    .pema-final-footer-copyright {
        grid-column: auto;
        grid-row: auto;
    }

    .pema-final-footer-top-button {
        justify-self: center;
    }
}

/* ******************************** */
/* Hero Section */
/* ******************************** */

.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 48px 0 0;
    background: #ffffff;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -90px;
    left: 50%;
    z-index: 0;
    width: min(1050px, 100%);
    height: 620px;
    transform: translateX(-50%);
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        rgba(247, 249, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.42) 45%,
        rgba(255, 255, 255, 0) 78%
    );
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-grid {
    position: absolute;
    top: -54px;
    left: 50%;
    z-index: -1;
    width: min(1900px, calc(100% + 700px));
    max-width: none;
    height: 640px;
    transform: translateX(-50%);
    pointer-events: none;

    background-image:
        linear-gradient(
            to right,
            rgba(205, 213, 240, 0.75) 1px,
            transparent 1px
        ),
        linear-gradient(
            to bottom,
            rgba(205, 213, 240, 0.75) 1px,
            transparent 1px
        );

    background-size: 52px 52px;

    -webkit-mask-image:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(0, 0, 0, 0.08) 10%,
            rgba(0, 0, 0, 0.55) 20%,
            #000 32%,
            #000 68%,
            rgba(0, 0, 0, 0.55) 80%,
            rgba(0, 0, 0, 0.08) 90%,
            transparent 100%
        ),
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.25) 8%,
            rgba(0, 0, 0, 0.75) 18%,
            #000 30%,
            #000 58%,
            rgba(0, 0, 0, 0.55) 72%,
            rgba(0, 0, 0, 0.16) 88%,
            transparent 100%
        );

    mask-image:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(0, 0, 0, 0.08) 10%,
            rgba(0, 0, 0, 0.55) 20%,
            #000 32%,
            #000 68%,
            rgba(0, 0, 0, 0.55) 80%,
            rgba(0, 0, 0, 0.08) 90%,
            transparent 100%
        ),
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.25) 8%,
            rgba(0, 0, 0, 0.75) 18%,
            #000 30%,
            #000 58%,
            rgba(0, 0, 0, 0.55) 72%,
            rgba(0, 0, 0, 0.16) 88%,
            transparent 100%
        );

    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 33px;
    padding: 0;
    box-sizing: border-box;
    border-radius: 999px;
    background: #f0f3ff;
    color: #0e1d67;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

.hero-title {
    margin: 0;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -1px;
}

.hero-title-dark {
    margin-top: 48px;
    color: #15162f;
    font-size: clamp(38px, 5vw, 70px);
}

.hero-title-blue {
    margin-top: 10px;
    color: #303893;
    font-size: clamp(52px, 10vw, 110px);
    line-height: 1.15;
}

.hero-brand {
    display: inline-block;
    direction: ltr;
    white-space: nowrap;
}

.hero-brand-pema {
    color: #303893;
}

.hero-brand-du {
    color: #5965d5;
}

.hero-description {
    max-width: 920px;
    margin: 26px auto 0;
    color: #747991;
    font-size: clamp(14px, 1.4vw, 20px);
    font-weight: 400;
    line-height: 1.8;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 48px;
    margin-top: 34px;
    padding: 0;
    box-sizing: border-box;
    border-radius: 12px;
    background: #303893;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(48, 56, 147, 0.2);
    transition:
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.hero-button:hover {
    color: #ffffff;
    background: #252d80;
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(48, 56, 147, 0.3);
}

.hero-dashboard {
    position: relative;
    width: min(1050px, 100%);
    margin: 70px auto 0;
    padding-bottom: 28px;
}

/* يسار نازل / يمين مرتفع */
.hero-dashboard-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 35px rgba(45, 56, 135, 0.1);
    transform: rotate(-2deg);
    transform-origin: center bottom;
    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease;
}

.hero-dashboard:hover .hero-dashboard-image {
    transform: rotate(-2deg) translateY(-6px);
}

.hero-side-card {
    position: absolute;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.hero-side-card > img {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 10px rgba(35, 42, 95, 0.15));
}

/* البطاقة البيضاء أسفل الأيقونة */
.hero-side-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 175px;
    min-height: 66px;
    margin-top: -7px;
    padding: 12px 18px;
    box-sizing: border-box;
    border: 1px solid rgba(222, 226, 238, 0.8);
    border-radius: 9px;
    background: #ffffff;
    text-align: right;
    box-shadow: 0 6px 18px rgba(35, 42, 95, 0.13);
}

.hero-side-label span {
    display: block;
    color: #20233c;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}

.hero-side-label small {
    display: block;
    margin-top: 4px;
    color: #8990a6;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
}

/* بيانات الموظفين - اليسار */
.hero-side-card-left {
    left: -160px;
    bottom: 360px;
}

.hero-side-card-left > img {
    width: 94px;
    margin-bottom: -2px;
}

/* سجلات الدوام - اليمين */
.hero-side-card-right {
    right: -112px;
    bottom: 290px;
}

.hero-side-card-right > img {
    width: 92px;
    margin-bottom: -2px;
}

@media screen and (min-width: 1200px) {
    .hero-section {
        padding-top: 54px;
    }

    .hero-grid {
    top: -54px;
    width: min(1500px, calc(100% + 320px));
    max-width: none;
    height: 640px;
    background-size: 52px 52px;
}

    .hero-badge {
        width: 280px;
        height: 33px;
    }

    .hero-dashboard {
        margin-top: 78px;
    }

    .hero-side-card-left {
        left: -160px;
        bottom: 360px;
    }

    .hero-side-card-right {
        right: -112px;
        bottom: 290px;
    }
}

@media screen and (max-width: 991px) {
    .hero-section {
        padding-top: 42px;
    }

    .hero-grid {
        top: -42px;
        width: calc(100% - 80px);
        max-width: none;
        height: 520px;
        background-size: 42px 42px;
    }

    .hero-badge {
        width: 250px;
        height: 34px;
        font-size: 14px;
    }

    .hero-title-dark {
        margin-top: 38px;
    }

    .hero-description {
        max-width: 720px;
    }

    .hero-dashboard {
        width: min(820px, 92%);
        margin-top: 58px;
        padding-bottom: 18px;
    }

    .hero-dashboard-image {
        transform: rotate(-1.5deg);
    }

    .hero-dashboard:hover .hero-dashboard-image {
        transform: rotate(-1.5deg) translateY(-4px);
    }

    /* نفس توزيع الديسكتوب، لكن بأبعاد مناسبة للتابلت */
    .hero-side-card-left {
        left: -65px;
        bottom: 210px;
    }

    .hero-side-card-right {
        right: -65px;
        bottom: 175px;
    }

    .hero-side-card-left > img,
    .hero-side-card-right > img {
        width: 68px;
    }

    .hero-side-label {
        min-width: 138px;
        min-height: 54px;
        margin-top: -5px;
        padding: 9px 12px;
        border-radius: 8px;
    }

    .hero-side-label span {
        font-size: 11px;
    }

    .hero-side-label small {
        margin-top: 3px;
        font-size: 9px;
    }
}

@media screen and (max-width: 576px) {
    .hero-section {
        padding: 30px 0 0;
    }

    .hero-grid {
        top: -28px;
        width: calc(100% - 24px);
        max-width: none;
        height: 430px;
        background-size: 29px 29px;
    }

    .hero-section::before {
        top: -50px;
        width: 100%;
        height: 480px;
    }

    .hero-badge {
        width: 210px;
        height: 32px;
        padding: 0;
        font-size: 12px;
    }

    .hero-title-dark {
        margin-top: 34px;
        font-size: 36px;
        letter-spacing: -0.5px;
    }

    .hero-title-blue {
        margin-top: 8px;
        font-size: 32px;
        line-height: 1.35;
    }

    .hero-description {
        margin-top: 20px;
        padding: 0 12px;
        font-size: 15px;
        line-height: 1.8;
    }

    .hero-button {
        width: 210px;
        height: 50px;
        margin-top: 26px;
        padding: 0;
        border-radius: 10px;
        font-size: 16px;
    }

    .hero-dashboard {
        width: calc(100% - 10px);
        margin-top: 48px;
        padding-bottom: 10px;
    }

    .hero-dashboard-image {
        border-radius: 10px 10px 0 0;
        transform: rotate(-1deg);
    }

    .hero-dashboard:hover .hero-dashboard-image {
        transform: rotate(-1deg) translateY(-3px);
    }

    /* نفس التوزيع لكن لا تخرج العناصر بعيداً عن شاشة الهاتف */
    .hero-side-card-left {
        left: -10px;
        bottom: 118px;
    }

    .hero-side-card-right {
        right: -10px;
        bottom: 95px;
    }

    .hero-side-card-left > img,
    .hero-side-card-right > img {
        width: 44px;
    }

    .hero-side-label {
        min-width: 92px;
        min-height: 40px;
        margin-top: -2px;
        padding: 6px 8px;
        border-radius: 6px;
    }

    .hero-side-label span {
        font-size: 8px;
    }

    .hero-side-label small {
        margin-top: 2px;
        font-size: 7px;
    }
}

/* حركة دائمة هادئة لصورة الداشبورد */
@keyframes heroDashboardFloat {
    0% {
        transform: rotate(-2deg) translateY(0);
    }

    50% {
        transform: rotate(-2deg) translateY(-10px);
    }

    100% {
        transform: rotate(-2deg) translateY(0);
    }
}


.hero-dashboard-image {
    animation: heroDashboardFloat 6s ease-in-out infinite;
}


.hero-dashboard:hover .hero-dashboard-image {
    animation: heroDashboardFloat 6s ease-in-out infinite;
}


/* رفع البطاقات الجانبية عند الهوفر */
.hero-side-card {
    transition: transform 0.5s ease;
}


.hero-dashboard:hover .hero-side-card-left {
    transform: translateY(-14px);
}


.hero-dashboard:hover .hero-side-card-right {
    transform: translateY(-14px);
}

/* ********************** */
/* features section */
/* ********************** */

.landing-features-section {
    padding: 30px 0 85px;
    overflow: hidden;
    background: #ffffff;
}

.features-heading {
    max-width: 980px;
    margin: 0 0 46px;
    text-align: right;
}

.features-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #2e368f;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
}

.features-main-title {
    margin: 0 0 14px;
    color: #242124;
    font-size: clamp(39px, 4.8vw, 67px);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -1px;
}

.features-main-description {
    max-width: 880px;
    margin: 0;
    color: #7b7b86;
    font-size: clamp(10px, 1.1vw, 24px);
    line-height: 1.8;
    font-weight: 400;
}

.features-tabs-wrapper {
    margin-bottom: 40px;
    border-bottom: 1px solid #e7e7eb;
}

.features-tabs {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
}

.feature-tab {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 58px;
    padding: 10px 28px;
    border: 0;
    border-radius: 20px 20px 0 0;
    background: transparent;
    color: #2f2f34;
    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.feature-tab.active {
    background: #f0f1ff;
    color: #2e368f;
    font-weight: 700;
}

.feature-tab-title {
    white-space: nowrap;
}

.feature-tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
}

.feature-tab-icon img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.feature-tab.active .feature-tab-icon img,
.feature-tab:hover .feature-tab-icon img {
    filter: invert(20%) sepia(37%) saturate(2631%) hue-rotate(218deg)
        brightness(88%) contrast(91%);
}

.features-content-wrapper {
    position: relative;
    min-height: 500px;
}

.feature-panel {
    display: none;
    animation: featureFadeIn 0.45s ease both;
}

.feature-panel.active {
    display: block;
}

@keyframes featureFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-details-content {
    padding: 15px 10px 15px 0;
}

.feature-index-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 25px;
    line-height: 1;
}

.feature-index-number,
.feature-index-separator,
.feature-index-text {
    font-size: 17px;
    line-height: 1.5;
    font-weight: 500;
}

.feature-index-number,
.feature-index-text {
    color: #2e368f;
}

.feature-index-separator {
    margin-inline: 1px;
    color: #a2a2ac;
}

.feature-panel-title {
    max-width: 420px;
    margin: 0 0 24px;
    color: #242124;
    font-size: 32px !important;
    line-height: 1.25 !important;
    font-weight: 700;
}

.feature-panel-title span,
.feature-panel-description span {
    display: block;
}

.feature-panel-description {
    max-width: 460px;
    margin: 0 0 28px;
    color: #3d3a40;
    font-size: 16px;
    line-height: 1.95;
    font-weight: 400;
}

.feature-points-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0;
    margin: 0 0 34px;
    list-style: none;
}

.feature-points-list li {
    position: relative;
    padding-right: 24px;
    color: #333138;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
}

.feature-points-list li::before {
    position: absolute;
    top: 50%;
    right: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2e368f;
    content: "";
    transform: translateY(-50%);
}

.feature-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0;
    margin-top: 8px;
}

.feature-bottom-row .feature-bottom-text {
    order: 1;
    margin: 0;
    color: #2e368f;
    font-size: 14px !important;
    line-height: 1.7;
    font-weight: 500;
}

.feature-next-btn {
    order: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    padding: 0;
    border: 1.5px solid #2e368f;
    border-radius: 50%;
    background: #ffffff;
    color: #2e368f;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.feature-next-btn svg {
    display: block;
    width: 12px;
    height: 12px;
}

.feature-next-btn:hover {
    background: #2e368f;
    color: #ffffff;
    transform: translateX(-2px);
    box-shadow: 0 8px 16px rgba(46, 54, 143, 0.2);
}

.feature-next-btn:focus-visible {
    outline: 3px solid rgba(46, 54, 143, 0.22);
    outline-offset: 3px;
}

.feature-image-card {
    position: relative;
    width: 100%;
    border-radius: 36px;
    background: #f7f7fb;
}

.feature-image-card > img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
    object-position: center;
}

.feature-image-card--employee {
    overflow: visible;
    margin-bottom: 48px;
    padding: 22px 22px 80px;
    border-radius: 36px;
    background: #f2f2fa;
}

.feature-image-card--employee > img {
    border-radius: 24px;
}

.employee-preview-card {
    position: absolute;
    right: 42px;
    bottom: 24px;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 68px;
    width: min(54%, 540px);
    min-height: 96px;
    padding: 16px 24px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(35, 35, 65, 0.1);
}

.employee-preview-number {
    order: 1;
    flex: 0 0 auto;
    color: #2e368f;
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
    direction: ltr;
}

.employee-preview-info {
    order: 2;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    text-align: right;
}

.employee-preview-label {
    color: #46456f;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
}

.employee-preview-name {
    color: #242124;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
    white-space: nowrap;
}

.employee-preview-separator {
    padding-inline: 3px;
    color: #777680;
}

.feature-groups-card {
    margin-top: 58px;
    padding: 28px 30px 30px;
    border-radius: 28px;
    background: #f5f5fa;
}

.feature-groups-title {
    margin: 0 0 26px;
    color: #242124;
    font-size: 28px;
    line-height: 1.4;
    font-weight: 700;
    text-align: right;
}

.feature-groups-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
}

.feature-group {
    min-width: 0;
}

.feature-group-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    margin-bottom: 16px;
}

.feature-group-icon {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #ffffff;
}

.feature-group-icon img {
    display: block;
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.feature-group-title {
    margin: 0;
    color: #343b84;
    font-size: 21px;
    line-height: 1.4;
    font-weight: 500;
}

.feature-group-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.feature-group-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #e3e2ea;
    border-radius: 11px;
    background: #ffffff;
    color: #333138;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 400;
    text-align: center;
}

@keyframes featureEntranceFromTop {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes featureEntranceFromRight {
    from {
        opacity: 0;
        transform: translateX(28px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes featureEntranceFromLeft {
    from {
        opacity: 0;
        transform: translateX(-28px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.features-entrance-heading {
    opacity: 0;
    animation: featureEntranceFromTop 0.65s ease-out 0.1s forwards;
}

.features-entrance-tabs {
    opacity: 0;
    animation: featureEntranceFromTop 0.65s ease-out 0.45s forwards;
}

.feature-entrance-text,
.feature-entrance-image {
    opacity: 0;
}

.feature-panel.active .feature-entrance-text {
    animation: featureEntranceFromRight 0.7s ease-out 0.8s forwards;
}

.feature-panel.active .feature-entrance-image {
    animation: featureEntranceFromLeft 0.75s ease-out 1.25s forwards;
}

.feature-panel:not(.active) .feature-entrance-text,
.feature-panel:not(.active) .feature-entrance-image {
    opacity: 0;
    animation: none;
}

@media (max-width: 1199.98px) {
    .landing-features-section {
        padding: 80px 0 70px;
    }

    .feature-tab {
        padding: 14px 16px;
        font-size: 16px;
    }

    .feature-panel-description {
        font-size: 18px;
    }

    .feature-points-list li {
        font-size: 17px;
    }

    .feature-image-card {
        border-radius: 28px;
    }

    .feature-image-card--employee {
        margin-bottom: 40px;
        padding: 16px 16px 68px;
        border-radius: 28px;
    }

    .feature-image-card--employee > img {
        border-radius: 18px;
    }

    .employee-preview-card {
        right: 28px;
        width: min(66%, 480px);
        min-height: 82px;
        padding: 13px 18px;
    }

    .employee-preview-number {
        font-size: 27px;
    }

    .employee-preview-label {
        font-size: 11px;
    }

    .employee-preview-name {
        font-size: 13px;
    }

    .feature-groups-card {
        margin-top: 42px;
        padding: 24px;
        border-radius: 24px;
    }

    .feature-groups-title {
        margin-bottom: 22px;
        font-size: 25px;
    }

    .feature-groups-grid {
        gap: 22px;
    }

    .feature-group-title {
        font-size: 18px;
    }

    .feature-group-item {
        font-size: 13px;
    }
}

@media (max-width: 991.98px) {
    .features-heading {
        margin-bottom: 36px;
    }

    .features-tabs-wrapper {
        overflow-x: auto;
        margin-right: -12px;
        margin-left: -12px;
        padding-right: 12px;
        padding-left: 12px;
        scrollbar-width: thin;
    }

    .features-tabs {
        justify-content: flex-start;
        min-width: max-content;
        gap: 10px;
    }

    .feature-tab {
        flex: 0 0 auto;
        min-width: 200px;
        min-height: 66px;
        border-radius: 14px 14px 0 0;
    }

    .feature-details-content {
        padding: 10px 0 0;
    }

    .feature-panel-title,
    .feature-panel-description {
        max-width: 100%;
    }

    .feature-image-card {
        min-height: 0;
        margin-top: 10px;
    }

    .feature-image-card img {
        height: auto;
        min-height: 0;
        object-fit: contain;
    }

    .feature-groups-grid {
        gap: 18px;
    }
}

@media (max-width: 767.98px) {
    .landing-features-section {
        padding: 15px 0;
    }

    .features-eyebrow {
        margin-bottom: 8px;
        font-size: 14px;
    }

    .features-main-title {
        font-size: 30px !important;
        line-height: 1.35 !important;
        letter-spacing: 0;
    }

    .features-main-description {
        font-size: 12px;
        line-height: 1.9;
    }

    .features-tabs-wrapper {
        margin-bottom: 30px;
    }

    .feature-tab {
        min-width: 185px;
        min-height: 58px;
        padding: 12px 14px;
        font-size: 15px;
    }

    .feature-tab-icon {
        width: 25px;
        height: 25px;
    }

    .feature-index-row {
        margin-bottom: 18px;
    }

    .feature-index-number,
    .feature-index-separator,
    .feature-index-text {
        font-size: 15px;
    }

    .feature-panel-title {
        margin-bottom: 16px;
        font-size: 32px !important;
        line-height: 1.35 !important;
    }

    .feature-panel-description {
        margin-bottom: 21px;
        font-size: 17px;
        line-height: 1.85;
    }

    .feature-points-list {
        gap: 11px;
        margin-bottom: 25px;
    }

    .feature-points-list li {
        padding-right: 20px;
        font-size: 16px;
    }

    .feature-points-list li::before {
        width: 6px;
        height: 6px;
    }

    .feature-bottom-row {
        margin-top: 4px;
    }

    .feature-bottom-row .feature-bottom-text {
        font-size: 14px !important;
    }

    .feature-next-btn {
        width: 20px;
        height: 20px;
        min-width: 20px;
    }

    .feature-next-btn svg {
        width: 11px;
        height: 11px;
    }

    .feature-image-card {
        min-height: 0;
        border-radius: 20px;
    }

    .feature-image-card img {
        height: auto;
        min-height: 0;
    }

    .feature-image-card--employee {
        margin-bottom: 34px;
        padding: 10px 10px 58px;
        border-radius: 20px;
    }

    .feature-image-card--employee > img {
        border-radius: 14px;
    }

    .employee-preview-card {
        right: 18px;
        width: calc(100% - 36px);
        min-height: 70px;
        gap: 12px;
        padding: 10px 14px;
        border-radius: 16px;
    }

    .employee-preview-number {
        font-size: 23px;
    }

    .employee-preview-info {
        gap: 3px;
    }

    .employee-preview-label {
        font-size: 10px;
    }

    .employee-preview-name {
        overflow: hidden;
        font-size: 12px;
        text-overflow: ellipsis;
    }

    .feature-groups-card {
        margin-top: 32px;
        padding: 20px 16px;
        border-radius: 20px;
    }

    .feature-groups-title {
        margin-bottom: 20px;
        font-size: 22px;
    }

    .feature-groups-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-group-heading {
        margin-bottom: 12px;
    }

    .feature-group-title {
        font-size: 18px;
    }

    .feature-group-item {
        min-height: 38px;
        padding: 7px 9px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .features-entrance-heading,
    .features-entrance-tabs,
    .feature-entrance-text,
    .feature-entrance-image {
        opacity: 1;
        animation: none !important;
        transform: none;
    }
}

@media (max-width: 767.98px) {
    /* Show all four tabs without horizontal scrolling */
    .landing-features-section .features-tabs-wrapper {
        overflow: visible;
        margin-right: 0;
        margin-left: 0;
        padding-right: 0;
        padding-left: 0;
    }

    .landing-features-section .features-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
        gap: 8px;
    }

    .landing-features-section .feature-tab {
        display: flex;
        flex: initial;
        flex-direction: row-reverse;
        justify-content: center;
        gap: 7px;
        width: 100%;
        min-width: 0;
        min-height: 50px;
        padding: 8px 6px;
        border-radius: 12px;
        font-size: 13px;
        white-space: normal;
    }

    .landing-features-section .feature-tab-title {
        white-space: normal;
        text-align: center;
        line-height: 1.35;
    }

    .landing-features-section .feature-tab-icon {
        flex: 0 0 22px;
        width: 22px;
        height: 22px;
    }

    .landing-features-section .features-tabs-wrapper {
        margin-bottom: 24px;
        border-bottom: 0;
    }

    /* Make the image use the available mobile width */
    .landing-features-section .feature-image-card {
        width: 100%;
        margin-top: 10px;
        border-radius: 16px;
    }

    .landing-features-section .feature-image-card > img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 0;
        object-fit: contain;
    }

    /* Keep the employee image background and preview card compact */
    .landing-features-section .feature-image-card--employee {
        margin-bottom: 26px;
        padding: 8px 8px 38px;
        border-radius: 16px;
    }

    .landing-features-section .feature-image-card--employee > img {
        width: 100%;
        height: auto;
        border-radius: 11px;
    }

    .landing-features-section .employee-preview-card {
        right: 14px;
        bottom: 12px;
        width: calc(100% - 28px);
        min-height: 48px;
        gap: 14px;
        padding: 7px 11px;
        border-radius: 12px;
    }

    .landing-features-section .employee-preview-number {
        font-size: 17px;
    }

    .landing-features-section .employee-preview-info {
        gap: 2px;
    }

    .landing-features-section .employee-preview-label {
        font-size: 9px;
        line-height: 1.25;
    }

    .landing-features-section .employee-preview-name {
        font-size: 10px;
        line-height: 1.3;
    }
}

/* ********************** */
/* plans section */
/* ********************** */

.plan-section-subtitle {
    max-width: 760px;
    margin-inline: auto;
}

.plans-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1380px;
    margin-inline: auto;
}

.plan-card-modern {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 320px;
    max-width: 100%;
    flex: 0 0 320px;
    padding: 28px 22px 22px;
    border-radius: 18px;
    border: 1px solid #dfe1e7;
    background: #fff;
    color: #252449;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    text-align: right;
}

.plan-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.plan-card-featured {
    border-color: #3b3899;
    background: #3b3899;
    color: #fff;
    box-shadow: 0 14px 30px rgba(59, 56, 153, 0.25);
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.plan-badge span {
    display: inline-flex;
    min-width: 130px;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 10px 10px 14px 14px;
    background: #f5bb3a;
    color: #29254c;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.plan-card-head {
    margin-bottom: 18px;
}

.plan-head-icon {
    font-size: 22px;
    color: #3b3899;
}

.plan-card-featured .plan-head-icon {
    color: #fff;
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.plan-price-row {
    margin-bottom: 20px;
}

.plan-price {
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.plan-period {
    font-size: 14px;
    font-weight: 500;
    margin-right: 6px;
}

.plan-actions {
    margin-bottom: 22px;
}

.plan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 42px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.plan-btn-primary {
    background: #3b3899;
    color: #fff;
}

.plan-btn-primary:hover {
    background: #2c2981;
    color: #fff;
}

.plan-card-featured .plan-btn-primary {
    background: #fff;
    color: #3b3899;
}

.plan-card-featured .plan-btn-primary:hover {
    background: #f1f1f8;
    color: #3b3899;
}

.plan-features-modern {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.plan-card-featured .plan-features-modern {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.plan-features-title {
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 14px;
}

.plan-features-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.5;
    text-align: right;
}

.plan-check {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    margin-left: 0;
    margin-right: 0;
    border-radius: 50%;
    background: #f2f3f8;
    color: #3b3899;
    font-size: 12px;
}

.plan-card-featured .plan-check {
    background: #fff;
    color: #3b3899;
}

@media (max-width: 767px) {
    .plan-card-modern {
        flex: 0 0 100%;
        width: 100%;
        max-width: 420px;
    }
}

/* ********************** */
/* testimonials section */
/* ********************** */

.testimonials-section {
    --testimonials-blue: #38358c;
    --testimonials-black: #252326;
    --testimonials-muted: #9292a0;
    --testimonials-gold: #f6ca70;

    padding: 40px 0 28px;
    background: #fafbff;
    overflow: hidden;
}

.testimonials-section,
.testimonials-section * {
    box-sizing: border-box;
}

/* ********************** */
/* testimonials heading */
/* ********************** */

.testimonials-heading {
    margin-bottom: 30px;
    text-align: start;
}

.testimonials-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--testimonials-blue);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
}

.testimonials-section .testimonials-main-title {
    margin: 0;
    color: var(--testimonials-black);
    font-size: clamp(27px, 2.65vw, 38px) !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}

/* ********************** */
/* testimonials slider */
/* ********************** */

.testimonials-stage {
    position: relative;
    max-width: 1700px;
    margin: 0 auto;
    isolation: isolate;
}

.testimonials-stage::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 50%;
    width: min(1150px, 100%);
    height: 440px;
    transform: translateX(-50%);
    background: radial-gradient(
        ellipse at center,
        rgba(85, 72, 195, 0.075) 0%,
        rgba(85, 72, 195, 0.025) 45%,
        transparent 72%
    );
    pointer-events: none;
}

.testimonials-swiper {
    position: relative;
    width: 100%;
    padding: 25px 0 45px;
    overflow: visible;
}

.testimonials-swiper .swiper-wrapper {
    align-items: center;
}

.testimonials-swiper .swiper-slide {
    position: relative;
    width: min(760px, 46vw);
    height: auto;
    z-index: 0;
    pointer-events: none;
}

.testimonials-swiper .swiper-slide-active {
    z-index: 3;
    pointer-events: auto;
}

.testimonials-swiper .swiper-slide-prev,
.testimonials-swiper .swiper-slide-next {
    z-index: 1;
}

/* ********************** */
/* testimonials cards */
/* ********************** */

.testimonials-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 310px;
    padding: 34px 40px 30px;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(34, 36, 70, 0.065);
    text-align: start;
    opacity: 0;
    transform: translateY(20px) scale(0.88);
    transform-origin: center center;
    transition:
        transform 550ms ease,
        opacity 550ms ease;
}

.testimonials-swiper .swiper-slide-active .testimonials-card {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
}

.testimonials-swiper .swiper-slide-prev .testimonials-card {
    opacity: 0.3;
    transform: translateX(105px) translateY(8px) scale(0.7) rotate(2deg);
}

.testimonials-swiper .swiper-slide-next .testimonials-card {
    opacity: 0.3;
    transform: translateX(-105px) translateY(8px) scale(0.7) rotate(-2deg);
}

.testimonials-section[dir="rtl"]
    .testimonials-swiper
    .swiper-slide-prev
    .testimonials-card {
    transform: translateX(-90px) translateY(8px) scale(0.7) rotate(-2deg);
}

.testimonials-section[dir="rtl"]
    .testimonials-swiper
    .swiper-slide-next
    .testimonials-card {
    transform: translateX(90px) translateY(8px) scale(0.7) rotate(2deg);
}

.testimonials-section .testimonials-quote {
    margin: 0 0 36px;
    color: var(--testimonials-black);
    font-size: 22px !important;
    font-weight: 400;
    line-height: 1.75;
}

.testimonials-card-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

/* ********************** */
/* testimonials author */
/* ********************** */

.testimonials-author {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.testimonials-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 41px;
    height: 41px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f0eff9;
    color: var(--testimonials-blue);
    font-size: 16px;
    font-weight: 700;
}

.testimonials-author-info {
    min-width: 0;
}

.testimonials-section .testimonials-author-name {
    margin: 0 0 3px;
    color: var(--testimonials-black);
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1.5;
}

.testimonials-author-label {
    display: block;
    color: var(--testimonials-muted);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.6;
}

/* ********************** */
/* testimonials evaluation */
/* ********************** */

.testimonials-section .evaluation-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    flex-shrink: 0;
}

.testimonials-stars {
    position: relative;
    width: 108px;
    height: 21px;
    direction: ltr;
}

.testimonials-stars-base,
.testimonials-stars-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 108px;
    height: 21px;
}

.testimonials-stars-base .star {
    color: #e8e5de;
    font-size: 18px;
}

.testimonials-stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 21px;
    overflow: hidden;
}

.testimonials-stars-inner i {
    color: var(--testimonials-gold);
    font-size: 18px;
}

.testimonials-section .testimonials-rating {
    margin: 0;
    color: var(--testimonials-blue);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

/* ********************** */
/* testimonials controls */
/* ********************** */

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 38px;
}

.testimonials-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    padding: 0;
    border: 1px solid #e5e5ee;
    border-radius: 50%;
    background: #fff;
    color: #33333b;
    cursor: pointer;
    transition:
        background-color 200ms ease,
        border-color 200ms ease;
}

.testimonials-arrow svg {
    width: 27px;
    height: 27px;
}

.testimonials-arrow:hover {
    border-color: var(--testimonials-blue);
    background: #f4f3fc;
}

.testimonials-arrow:focus-visible {
    outline: 2px solid var(--testimonials-blue);
    outline-offset: 4px;
}

.testimonials-section .testimonials-pagination {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 12px;
    width: auto !important;
    margin: 0;
    padding: 0;
    direction: ltr;
}

.testimonials-pagination .swiper-pagination-bullet {
    display: block;
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: #cacbe4;
    opacity: 1;
    cursor: pointer;
    transition:
        width 250ms ease,
        background-color 250ms ease;
}

.testimonials-pagination .swiper-pagination-bullet-active {
    width: 39px;
    background: var(--testimonials-blue);
}

.testimonials-pagination .swiper-pagination-bullet:focus-visible {
    outline: 2px solid var(--testimonials-blue);
    outline-offset: 4px;
}

/* ********************** */
/* testimonials tablet */
/* ********************** */

@media (max-width: 991.98px) {
    .testimonials-section {
        padding: 36px 0 26px;
    }

    .testimonials-heading {
        margin-bottom: 20px;
    }

    .testimonials-swiper .swiper-slide {
        width: 64vw;
    }

    .testimonials-card {
        min-height: 280px;
        padding: 28px;
    }

    .testimonials-section .testimonials-quote {
        font-size: 19px !important;
    }

    .testimonials-controls {
        margin-top: 25px;
    }
}

/* ********************** */
/* testimonials mobile */
/* ********************** */

@media (max-width: 575.98px) {
    .testimonials-section {
        padding: 30px 0 22px;
    }

    .testimonials-eyebrow {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .testimonials-section .testimonials-main-title {
        font-size: 27px !important;
    }

    .testimonials-heading {
        margin-bottom: 14px;
    }

    .testimonials-swiper {
        padding: 20px 0 25px;
    }

    .testimonials-swiper .swiper-slide {
        width: 84vw;
    }

    .testimonials-card {
        min-height: 250px;
        padding: 23px 20px;
        border-radius: 21px;
    }

    .testimonials-section .testimonials-quote {
        margin-bottom: 25px;
        font-size: 17px !important;
        line-height: 1.75;
    }

    .testimonials-card-bottom {
        gap: 10px;
    }

    .testimonials-author {
        gap: 8px;
    }

    .testimonials-avatar {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .testimonials-section .testimonials-author-name {
        font-size: 13px !important;
    }

    .testimonials-author-label {
        font-size: 9px;
    }

    .testimonials-stars,
    .testimonials-stars-base,
    .testimonials-stars-inner {
        width: 82px;
        height: 18px;
    }

    .testimonials-stars-fill {
        height: 18px;
    }

    .testimonials-stars-base .star,
    .testimonials-stars-inner i {
        font-size: 14px;
    }

    .testimonials-section .testimonials-rating {
        font-size: 11px;
    }

    .testimonials-controls {
        gap: 18px;
        margin-top: 18px;
    }

    .testimonials-arrow {
        width: 44px;
        height: 44px;
    }

    .testimonials-arrow svg {
        width: 22px;
        height: 22px;
    }

    .testimonials-section .testimonials-pagination {
        gap: 8px;
    }

    .testimonials-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .testimonials-pagination .swiper-pagination-bullet-active {
        width: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonials-card,
    .testimonials-arrow,
    .testimonials-pagination .swiper-pagination-bullet {
        transition: none;
    }
}

/* ********************** */
/* who are we section */
/* ********************** */
.pema-about {
    --about-primary: #36328b;
    --about-heading: #232230;
    --about-text: #656579;
    --about-tab-background: #f1f0f8;
    --about-number: #e2e0f0;

    padding-block: 80px;
    color: var(--about-text);
}

.pema-about,
.pema-about * {
    box-sizing: border-box;
}

.pema-about .container {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: 24px;
}

/* Header */

.pema-about .pema-about-header {
    text-align: start;
}

.pema-about .pema-about-eyebrow {
    margin: 0 0 22px;
    color: var(--about-primary);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.pema-about .pema-about-title {
    margin: 0;
    color: var(--about-heading);
    font-size: 50px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0;
}

.pema-about .pema-about-title-line {
    display: block;
}

.pema-about .pema-about-accent {
    color: var(--about-primary);
}

/* Intro and logos */

.pema-about .pema-about-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    margin-top: 48px;
    margin-bottom: 64px;
}

.pema-about .pema-about-intro-text {
    flex: 0 1 440px;
    min-width: 0;
    margin: 0;
    color: var(--about-primary);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.85;
    text-align: start;
}

.pema-about .pema-about-intro-text > span {
    display: block;
}

.pema-about .pema-about-brands {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 540px;
    gap: 32px;
    min-width: 0;
}

.pema-about .pema-about-pema-logo {
    display: block;
    flex-shrink: 1;
    width: 220px;
    height: 80px;
    min-width: 0;
    max-width: 100%;
    object-fit: contain;
}

.pema-about .pema-about-from {
    flex-shrink: 0;
    color: var(--about-text);
    font-size: 18px;
    line-height: 1.5;
}

/* Digital Upgrade: text left, icon right */

.pema-about .pema-about-du-link {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 22px;
    width: auto;
    max-width: 100%;
    direction: ltr;
    color: #242424;
    text-decoration: none;
}

.pema-about .pema-about-du-link:hover {
    color: #242424;
    text-decoration: none;
}

.pema-about .pema-about-du-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    min-width: 0;
    text-align: right;
}

.pema-about .pema-about-du-ar,
.pema-about .pema-about-du-en {
    display: block;
    color: #242424;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}

.pema-about .pema-about-du-logo {
    display: block;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    max-width: none;
    object-fit: contain;
}

/* Tabs */

.pema-about .pema-about-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin: 0;
}

.pema-about .pema-about-tab {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-width: 0;
    min-height: 72px;
    margin: 0;
    padding: 18px 25px;
    border: 0;
    border-radius: 16px;
    background: var(--about-tab-background);
    color: var(--about-text);
    font-family: inherit;
    text-align: start;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.pema-about .pema-about-tab:hover {
    background: #e8e6f3;
}

.pema-about .pema-about-tab.is-active,
.pema-about .pema-about-tab.is-active:hover {
    background: var(--about-primary);
    color: #fff;
}

.pema-about .pema-about-tab-label {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
}

.pema-about .pema-about-tab-number {
    direction: ltr;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
}

.pema-about .pema-about-tab:focus-visible,
.pema-about .pema-about-du-link:focus-visible {
    outline: 3px solid #f4c967;
    outline-offset: 5px;
}

/* Panels */

.pema-about .pema-about-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    align-items: start;
    gap: 48px;
    margin-top: 46px;
    text-align: start;
}

.pema-about .pema-about-panel[hidden] {
    display: none !important;
}

.pema-about .pema-about-panel-copy {
    min-width: 0;
}

.pema-about .pema-about-panel-title {
    margin: 0 0 22px;
    color: var(--about-primary);
    font-size: 24px !important;
    font-weight: 700;
    line-height: 1.65;
}

.pema-about .pema-about-panel-text {
    color: var(--about-text);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.9;
}

.pema-about .pema-about-panel-text p {
    margin: 0;
}

.pema-about .pema-about-panel-text p + p {
    margin-top: 32px;
}

.pema-about .pema-about-panel-number {
    display: block;
    padding-top: 20px;
    color: var(--about-number);
    font-size: 138px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    direction: ltr;
    user-select: none;
}

.pema-about .pema-about-panel:focus-visible {
    outline: 2px solid var(--about-primary);
    outline-offset: 10px;
}

/* About tab only */

#pema-about-panel-about .pema-about-panel-title {
    font-size: 16px;
}

#pema-about-panel-about .pema-about-panel-text {
    font-size: 16px;
    line-height: 1.9;
}

/* Large screens */

@media (min-width: 1600px) {
    .pema-about .container {
        max-width: 1690px;
    }

    .pema-about .pema-about-title {
        font-size: 60px;
    }

    .pema-about .pema-about-eyebrow {
        font-size: 24px;
    }

    .pema-about .pema-about-intro {
        margin-top: 56px;
        margin-bottom: 76px;
    }

    .pema-about .pema-about-intro-text {
        font-size: 25px;
    }

    .pema-about .pema-about-brands {
        flex-basis: 680px;
        gap: 40px;
    }

    .pema-about .pema-about-pema-logo {
        width: 280px;
        height: 100px;
    }

    .pema-about .pema-about-from {
        font-size: 22px;
    }

    .pema-about .pema-about-du-link {
        gap: 28px;
    }

    .pema-about .pema-about-du-ar,
    .pema-about .pema-about-du-en {
        font-size: 18px;
    }

    .pema-about .pema-about-du-logo {
        flex-basis: 68px;
        width: 68px;
        height: 68px;
    }

    .pema-about .pema-about-tabs {
        gap: 40px;
    }

    .pema-about .pema-about-tab {
        min-height: 90px;
        padding: 22px 32px;
        border-radius: 20px;
    }

    .pema-about .pema-about-tab-label {
        font-size: 23px;
    }

    .pema-about .pema-about-tab-number {
        font-size: 20px;
    }

    .pema-about .pema-about-panel {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 64px;
        margin-top: 56px;
    }

    .pema-about .pema-about-panel-title {
        font-size: 30px !important;
        margin-bottom: 26px;
    }

    .pema-about .pema-about-panel-text {
        font-size: 22px;
        line-height: 1.85;
    }

    .pema-about .pema-about-panel-text p + p {
        margin-top: 42px;
    }

    .pema-about .pema-about-panel-number {
        font-size: 164px;
        padding-top: 24px;
    }

    #pema-about-panel-about .pema-about-panel-title {
        font-size: 20px;
    }

    #pema-about-panel-about .pema-about-panel-text {
        font-size: 18px;
    }
}

/* Tablet and smaller */

@media (max-width: 991px) {
    .pema-about {
        padding-block: 56px;
    }

    .pema-about .pema-about-title {
        font-size: 40px;
    }

    .pema-about .pema-about-intro {
        gap: 28px;
        margin-top: 36px;
        margin-bottom: 44px;
    }

    .pema-about .pema-about-intro-text {
        font-size: 18px;
    }

    .pema-about .pema-about-brands {
        gap: 18px;
    }

    .pema-about .pema-about-pema-logo {
        width: 180px;
        height: 68px;
    }

    .pema-about .pema-about-du-link {
        gap: 12px;
    }

    .pema-about .pema-about-du-ar,
    .pema-about .pema-about-du-en {
        font-size: 13px;
    }

    .pema-about .pema-about-du-logo {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }

    .pema-about .pema-about-tabs {
        gap: 18px;
    }

    .pema-about .pema-about-tab {
        padding-inline: 20px;
    }

    .pema-about .pema-about-panel {
        grid-template-columns: minmax(0, 1fr) 150px;
        gap: 28px;
    }

    .pema-about .pema-about-panel-number {
        font-size: 108px;
    }
}

/* Mobile */

@media (max-width: 575px) {
    .pema-about {
        padding-block: 40px;
    }

    .pema-about .container {
        padding-inline: 20px;
    }

    .pema-about .pema-about-eyebrow {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .pema-about .pema-about-title {
        font-size: 31px;
        line-height: 1.6;
    }

    .pema-about .pema-about-intro {
        flex-direction: column;
        align-items: stretch;
        gap: 26px;
        margin-top: 26px;
        margin-bottom: 34px;
    }

    .pema-about .pema-about-intro-text {
        flex: none;
    }

    .pema-about .pema-about-brands {
        flex: none;
        width: 100%;
        gap: 12px;
    }

    .pema-about .pema-about-pema-logo {
        width: 40%;
        height: 70px;
    }

    .pema-about .pema-about-from {
        font-size: 15px;
    }

    .pema-about .pema-about-du-link {
        flex: 0 1 auto;
        min-width: 0;
        gap: 9px;
    }

    .pema-about .pema-about-du-text {
        gap: 2px;
    }

    .pema-about .pema-about-du-ar,
    .pema-about .pema-about-du-en {
        font-size: 11px;
    }

    .pema-about .pema-about-du-logo {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .pema-about .pema-about-tabs {
        gap: 8px;
    }

    .pema-about .pema-about-tab {
        min-height: 60px;
        padding: 12px 10px;
        gap: 6px;
        border-radius: 12px;
    }

    .pema-about .pema-about-tab-label {
        font-size: 14px;
    }

    .pema-about .pema-about-tab-number {
        font-size: 12px;
    }

    .pema-about .pema-about-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-top: 28px;
    }

    .pema-about .pema-about-panel-title {
        font-size: 21px !important;
        margin-bottom: 16px;
    }

    .pema-about .pema-about-panel-text {
        font-size: 16px;
        line-height: 1.95;
    }

    .pema-about .pema-about-panel-text p + p {
        margin-top: 22px;
    }

    .pema-about .pema-about-panel-number {
        padding-top: 0;
        font-size: 80px;
        text-align: end;
    }

    #pema-about-panel-about .pema-about-panel-title {
        font-size: 13px;
    }

    #pema-about-panel-about .pema-about-panel-text {
        font-size: 14px;
    }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .pema-about .pema-about-tab {
        transition: none;
    }
}

/* ********************** */
/* footer nav section */
/* ********************** */
.pema-contact-section {
    --pema-contact-blue: #38358c;
    --pema-contact-black: #252326;
    --pema-contact-muted: #85838b;
    --pema-contact-border: #dcdde3;

    position: relative;
    padding: 55px 0 42px;
    background: #fafbff;
    color: var(--pema-contact-black);
}

.pema-contact-section,
.pema-contact-section * {
    box-sizing: border-box;
}

.pema-contact-section [hidden] {
    display: none !important;
}

.pema-contact-anchor {
    display: block;
    height: 0;
}

.pema-contact-heading {
    max-width: 100%;
    margin: 0 0 26px;
    text-align: start;
}

.pema-contact-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--pema-contact-blue);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
}

.pema-contact-section .pema-contact-main-title {
    margin: 0 0 8px;
    color: var(--pema-contact-black);
    font-size: clamp(28px, 3vw, 39px) !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.pema-contact-description {
    margin: 0;
    color: var(--pema-contact-muted);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
}

.pema-contact-card {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 24px 28px 26px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 5px 22px rgba(32, 34, 63, 0.025);
    text-align: start;
}

.pema-contact-section .pema-contact-form-title {
    margin: 0 0 18px;
    color: var(--pema-contact-black);
    font-size: 25px !important;
    font-weight: 700 !important;
    line-height: 1.5;
}

.pema-contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px 16px;
}



.pema-contact-field {
    min-width: 0;
}

.pema-contact-field-full {
    grid-column: 1 / -1;
    min-width: 0;
}

.pema-contact-field label {
    display: block;
    margin: 0 0 6px;
    color: var(--pema-contact-black);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
    text-align: start;
}

.pema-contact-required {
    color: var(--pema-contact-black);
}

.pema-contact-section .pema-contact-input {
    display: block;
    width: 100%;
    height: 47px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid var(--pema-contact-border);
    border-radius: 8px;
    outline: none;
    background: #ffffff;
    color: var(--pema-contact-black);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    text-align: start;
    box-shadow: none;
    transition:
        border-color 200ms ease,
        box-shadow 200ms ease;
}

.pema-contact-input::placeholder {
    color: #77757d;
    opacity: 1;
}

.pema-contact-section .pema-contact-input:focus {
    border-color: var(--pema-contact-blue);
    box-shadow: 0 0 0 3px rgba(56, 53, 140, 0.08);
}

.pema-contact-ltr-input {
    direction: ltr;
}

.pema-contact-section[dir="rtl"] .pema-contact-ltr-input {
    text-align: right;
}

.pema-contact-section .pema-contact-textarea {
    height: 88px;
    min-height: 88px;
    resize: vertical;
}

.pema-contact-error {
    display: block;
    margin-top: 4px;
    color: #cb002d;
    font-size: 11px;
    line-height: 1.6;
}

.pema-contact-captcha {
    min-height: 90px;
    margin-bottom: 6px;
    text-align: start;
}

.pema-contact-captcha .g-recaptcha {
    transform: scale(0.82);
    transform-origin: top left;
}

.pema-contact-section[dir="rtl"] .pema-contact-captcha .g-recaptcha {
    transform-origin: top right;
}

#contact-form #contact-submit-btn.pema-contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 49px;
    margin: 0;
    padding: 9px 18px;
    border: 1px solid var(--pema-contact-blue);
    border-radius: 13px;
    background: var(--pema-contact-blue);
    color: #ffffff;
    font-family: inherit;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 200ms ease;
}

#contact-form #contact-submit-btn.pema-contact-submit:hover {
    background: #2d2a76;
}

#contact-form #contact-submit-btn.pema-contact-submit:focus-visible {
    outline: 3px solid #aaa6df;
    outline-offset: 3px;
}

@media (max-width: 767.98px) {
    .pema-contact-section {
        padding: 45px 0 35px;
    }

    .pema-contact-card {
        max-width: 620px;
    }
}

@media (max-width: 575.98px) {
    .pema-contact-section {
        padding: 35px 0 28px;
    }

    .pema-contact-heading {
        margin-bottom: 20px;
    }

    .pema-contact-eyebrow {
        margin-bottom: 7px;
        font-size: 14px;
    }

    .pema-contact-section .pema-contact-main-title {
        font-size: 29px !important;
    }

    .pema-contact-description {
        font-size: 13px;
    }

    .pema-contact-card {
        padding: 20px 16px 22px;
        border-radius: 18px;
    }

    .pema-contact-section .pema-contact-form-title {
        margin-bottom: 15px;
        font-size: 22px !important;
    }

    .pema-contact-form-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .pema-contact-field label {
        margin-bottom: 5px;
        font-size: 13px;
    }

    .pema-contact-section .pema-contact-input {
        height: 44px;
        padding: 9px 12px;
        font-size: 13px;
    }

    .pema-contact-section .pema-contact-textarea {
        height: 75px;
        min-height: 75px;
    }

    .pema-contact-captcha {
    min-height: 90px;
}

    .pema-contact-captcha .g-recaptcha {
        transform: scale(0.74);
    }

    #contact-form #contact-submit-btn.pema-contact-submit {
        min-height: 46px;
        font-size: 16px;
    }
}

/* ********************** */
/* features page */
/* ********************** */
.pema-explore-section {
    --pema-explore-blue: #38358c;
    --pema-explore-black: #252633;
    --pema-explore-muted: #9292a4;
    --pema-explore-number: #b5bdd4;
    --pema-explore-border: #e6e9f2;
    --pema-explore-surface: #f4f5fa;

    padding: 70px 0 80px;
    background: #fafbff;
    color: var(--pema-explore-black);
}

.pema-explore-section,
.pema-explore-section * {
    box-sizing: border-box;
}

.pema-explore-section [hidden] {
    display: none !important;
}

/* Header */

.pema-explore-heading {
    max-width: 1100px;
    margin: 0 auto 42px;
    text-align: center;
}

.pema-explore-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: var(--pema-explore-blue);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
}

.pema-explore-section .pema-explore-main-title {
    font-size: clamp(20px, 4vw, 50px) !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.pema-explore-main-description {
    margin: 0;
    color: var(--pema-explore-muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

/* Main accordion */

.pema-explore-accordion {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 700px;
    overflow: hidden;
    border: 1px solid var(--pema-explore-border);
    border-radius: 30px;
    background: var(--pema-explore-surface);
}

.pema-explore-card {
    position: relative;
    flex: 1 1 0%;
    min-width: 0;
    background: var(--pema-explore-surface);
    transition:
        flex-grow 450ms ease,
        background-color 350ms ease;
}

.pema-explore-card.is-open {
    z-index: 1;
    flex-grow: 5;
    background: #ffffff;
    box-shadow: 0 0 28px rgba(42, 46, 95, 0.035);
}

/* Compact card */

.pema-explore-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 700px;
    margin: 0;
    padding: 35px 9px 28px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-family: inherit;
    text-align: center;
    cursor: pointer;
    transition: background-color 200ms ease;
}

.pema-explore-trigger:hover {
    background: #eceef8;
}

.pema-explore-trigger:focus-visible {
    outline: 3px solid var(--pema-explore-blue);
    outline-offset: -5px;
    border-radius: 16px;
}

.pema-explore-compact-number {
    display: block;
    margin-bottom: 52px;
    color: var(--pema-explore-number);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.pema-explore-compact-title {
    display: block;
    width: 100%;
    min-height: 88px;
    color: var(--pema-explore-black);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.9;
    overflow-wrap: break-word;
}

.pema-explore-compact-keywords {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    margin: auto 0;
    padding: 26px 0;
    color: #a0a1b6;
    font-size: 17px;
    line-height: 1.8;
}

.pema-explore-compact-action {
    display: block;
    margin-top: 35px;
    color: var(--pema-explore-blue);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
}

/* Expanded card */

.pema-explore-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 700px;
    padding: 36px 30px 25px;
    text-align: start;
    animation: pemaExploreReveal 350ms ease both;
}

.pema-explore-panel-number {
    display: block;
    margin-bottom: 20px;
    color: var(--pema-explore-blue);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
}

.pema-explore-panel-title {
    margin: 0 0 12px;
    color: var(--pema-explore-blue);
    font-size: clamp(20px, 2vw, 32px);
    font-weight: 700;
    line-height: 1.5;
}

.pema-explore-panel-subtitle {
    margin: 0 0 12px;
    color: var(--pema-explore-black);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
}

.pema-explore-panel-description {
    margin: 0;
    color: var(--pema-explore-muted);
    font-size: 14px;
    line-height: 2;
}

/* Features: two columns / three items each */

.pema-explore-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 28px;
    margin: 36px 0;
}

.pema-explore-feature {
    min-width: 0;
}

.pema-explore-feature-title {
    margin: 0 0 7px;
    color: var(--pema-explore-black);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
}

.pema-explore-feature-description {
    margin: 0;
    color: var(--pema-explore-muted);
    font-size: 13.8px;
    font-weight: 400;
    line-height: 2;
}

.pema-explore-panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: auto;
    padding-top: 12px;
}

.pema-explore-function-count {
    color: var(--pema-explore-muted);
    font-size: 12px;
    line-height: 1.8;
}

.pema-explore-demo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 24px;
    border: 1px solid var(--pema-explore-blue);
    border-radius: 12px;
    background: var(--pema-explore-blue);
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 200ms ease,
        transform 200ms ease;
}

.pema-explore-demo-button:hover {
    background: #2d2a76;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.pema-explore-demo-button:focus-visible {
    outline: 3px solid #9894df;
    outline-offset: 4px;
}

@keyframes pemaExploreReveal {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Laptop */

@media (min-width: 992px) and (max-width: 1199.98px) {
    .pema-explore-card.is-open {
        flex-grow: 7;
    }

    .pema-explore-panel {
        padding: 30px 22px 24px;
    }

    .pema-explore-compact-title {
        font-size: 16px;
    }

    .pema-explore-compact-keywords {
        font-size: 15px;
    }

    .pema-explore-feature-grid {
        gap: 28px 20px;
    }
}

/* Tablet */

@media (max-width: 991.98px) {
    .pema-explore-section {
        padding: 48px 0;
    }

    .pema-explore-heading {
        margin-bottom: 28px;
    }

    .pema-explore-main-description {
        font-size: 17px;
    }

    .pema-explore-accordion {
        flex-direction: column;
        min-height: 0;
        border-radius: 22px;
    }

    .pema-explore-card,
    .pema-explore-card.is-open {
        flex: none;
        width: 100%;
    }

    .pema-explore-card + .pema-explore-card {
        border-top: 1px solid var(--pema-explore-border);
    }

    .pema-explore-trigger {
        flex-direction: row;
        justify-content: flex-start;
        gap: 18px;
        min-height: 90px;
        height: auto;
        padding: 22px 24px;
        text-align: start;
    }

    .pema-explore-compact-number {
        flex-shrink: 0;
        margin: 0;
        font-size: 29px;
    }

    .pema-explore-compact-title {
        flex: 1;
        width: auto;
        min-height: 0;
        font-size: 20px;
        line-height: 1.6;
    }

    .pema-explore-compact-keywords {
        display: none;
    }

    .pema-explore-compact-action {
        flex-shrink: 0;
        margin: 0;
        font-size: 14px;
    }

    .pema-explore-panel {
        height: auto;
        min-height: 0;
        padding: 28px;
    }

    .pema-explore-panel-number {
        font-size: 40px;
    }

    .pema-explore-panel-title {
        font-size: 28px;
    }

    .pema-explore-feature-grid {
        gap: 28px;
    }
}

/* Mobile */

@media (max-width: 575.98px) {
    .pema-explore-section .pema-explore-main-title {
        font-size: 32px !important;
    }

    .pema-explore-eyebrow {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .pema-explore-main-description {
        font-size: 15px;
    }

    .pema-explore-panel {
        padding: 25px 20px;
    }

    .pema-explore-panel-number {
        font-size: 38px;
    }

    .pema-explore-panel-title {
        font-size: 25px;
    }

    .pema-explore-panel-subtitle {
        font-size: 19px;
    }

    .pema-explore-panel-description {
        font-size: 15px;
    }

    .pema-explore-feature-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        margin: 28px 0;
    }

    .pema-explore-feature-title {
        font-size: 19px;
    }

    .pema-explore-feature-description {
        font-size: 16px;
    }

    .pema-explore-panel-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .pema-explore-demo-button {
        width: 100%;
    }

    .pema-explore-trigger {
        gap: 12px;
        padding: 20px;
    }

    .pema-explore-compact-title {
        font-size: 17px;
    }

    .pema-explore-compact-action {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pema-explore-card,
    .pema-explore-demo-button {
        transition: none;
    }

    .pema-explore-panel {
        animation: none;
    }
}

/* ********************** */
/* login page */
/* ********************** */
.auth-hero {
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    min-height: 100vh;
}
.auth-form {
    width: 22rem;
    max-width: 90%;
    margin: auto;
}
.auth-form form input {
    width: 100%;
    border-radius: 14px;
    border: 2px solid #9c7c3e;
    background: rgba(234, 234, 244, 0.2);
    padding: 10px 20px;
}
.auth-form form input:focus {
    border: 2px solid #9c7c3e;
    outline: none;
}
.auth-btn {
    border-radius: 63.563px;
    border: 1.271px solid var(--g5, #ffbb89);
    background: var(--g1, linear-gradient(221deg, #2e3192 0%, #4300b1 100%));
    box-shadow: 0px 6.104px 7.631px 0px rgba(0, 0, 0, 0.2);
    color: #fff;
}

/* ********************** */
/* error pages */
/* ********************** */
.error-hero {
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    min-height: 100vh;
}
.error-card {
    width: 60rem;
    max-width: 90%;
    margin: auto;
}
.error-code {
    font-size: 128px;
    color: var(--primary-300);
    font-weight: 500;
    text-align: center;
}
.error-code::first-letter {
    color: #fc6;
}
.back-to-home {
    border-radius: 63.563px;
    border: 1.271px solid var(--g5, #ffbb89);
    background: var(--g1, linear-gradient(221deg, #2e3192 0%, #4300b1 100%));
    box-shadow: 0px 6.104px 7.631px 0px rgba(0, 0, 0, 0.2);
    color: #fff;
}
.back-to-home:hover {
    color: #fff;
}

/* ********************** */
/* usage policy */
/* ********************** */

.usage-policy-page {
    --policy-primary: #37358c;
    --policy-background: #f7f6fb;
    --policy-active: #eaeaf7;
    --policy-heading: #292930;
    --policy-text: #80808b;

    color: var(--policy-heading);
    background: #ffffff;
}

.usage-policy-page,
.usage-policy-page * {
    box-sizing: border-box;
}

.usage-policy-page .usage-policy-header {
    background: #ffffff;
    padding: 34px 0 48px;
    text-align: center;
}

.usage-policy-page .usage-policy-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;

    color: var(--policy-primary);
    font-size: 14px;
    font-weight: 500;
}

.usage-policy-page .usage-policy-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.usage-policy-page .usage-policy-breadcrumb a:hover {
    text-decoration: underline;
}

.usage-policy-page .usage-policy-title {
    margin: 0 0 25px;

    color: var(--policy-primary);
    font-size: 42px !important;
    font-weight: 700;
    line-height: 1.4;
}

.usage-policy-page .usage-policy-subtitle {
    margin: 0 0 14px;

    color: #858585;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
}

.usage-policy-page .usage-policy-tabs {
    display: flex;
    align-items: stretch;
    gap: 8px;

    width: min(100%, 420px);
    margin-inline: auto;
    padding: 8px;

    border: 1px solid #e7e7ed;
    border-radius: 20px;
    background: #ffffff;
}

.usage-policy-page .usage-policy-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 48px;
    padding: 12px 16px;

    border-radius: 13px;

    color: var(--policy-primary);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.usage-policy-page .usage-policy-tab:hover {
    color: var(--policy-primary);
    background: #f3f3fb;
}

.usage-policy-page .usage-policy-tab.is-active {
    color: #ffffff;
    background: var(--policy-primary);
}

.usage-policy-page .usage-policy-body {
    padding: 40px 0 60px;
    background: var(--policy-background);
}

.usage-policy-page .usage-policy-body .usage-policy-container {
    width: 100%;
    max-width: 1380px !important;
    margin-inline: auto;
    padding-inline: 24px;
}

.usage-policy-page .usage-policy-body .usage-policy-grid {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.usage-policy-page .usage-policy-body .usage-policy-sidebar {
    min-width: 0;
    padding-top: 16px;
    text-align: start;
}

.usage-policy-page .usage-policy-body .usage-policy-sidebar-title {
    margin: 0 0 5px !important;
    padding: 0;

    color: var(--policy-primary);
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 28px !important;
    letter-spacing: normal;
    text-align: start;
}

.usage-policy-page .usage-policy-body .usage-policy-nav {
    display: flex;
    flex-direction: column;
    gap: 1px;

    margin: 0;
    padding: 0;
}

.usage-policy-page .usage-policy-body .usage-policy-nav-link {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 6px;

    width: 100%;
    min-width: 0;
    min-height: 32px;
    margin: 0;
    padding: 4px 10px;

    border: 0;
    border-radius: 8px;

    color: #777783;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 22px !important;
    letter-spacing: normal;
    text-align: start;
    text-decoration: none !important;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.usage-policy-page .usage-policy-body .usage-policy-nav-number {
    flex: 0 0 auto;
    direction: ltr;
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
}

.usage-policy-page .usage-policy-body .usage-policy-nav-label {
    min-width: 0;
}

.usage-policy-page .usage-policy-body .usage-policy-nav-link > span {
    margin: 0;
    padding: 0;

    color: inherit;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

.usage-policy-page .usage-policy-body .usage-policy-nav-link:hover,
.usage-policy-page .usage-policy-body .usage-policy-nav-link.is-active {
    color: var(--policy-primary);
    background: var(--policy-active);
}

.usage-policy-page .usage-policy-body .usage-policy-content {
    min-width: 0;
    height: 690px;
    margin: 0;
    padding: 42px 38px 24px;

    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: none;

    border: 0;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: none;
    text-align: start;
}

.usage-policy-page .usage-policy-body .usage-policy-content::-webkit-scrollbar {
    display: none;
}

.usage-policy-page .usage-policy-body .usage-policy-section {
    display: block;
    margin: 0 !important;
    padding: 0 0 36px;
    border: 0;
}

.usage-policy-page .usage-policy-body .usage-policy-section-title {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 7px;

    margin: 0 0 13px !important;
    padding: 0;

    color: var(--policy-heading);
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 30px !important;
    letter-spacing: normal;
    text-align: start;
}

.usage-policy-page .usage-policy-body .usage-policy-section-title > span {
    margin: 0;
    padding: 0;

    color: inherit;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

.usage-policy-page .usage-policy-body .usage-policy-section-number {
    flex: 0 0 auto;
    direction: ltr;
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
}

.usage-policy-page .usage-policy-body .usage-policy-section-divider {
    flex: 0 0 auto;
}

.usage-policy-page .usage-policy-body .usage-policy-section-label {
    min-width: 0;
}

.usage-policy-page .usage-policy-body .usage-policy-section-text {
    display: block;
    margin: 0 !important;
    padding: 0;

    color: var(--policy-text);
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 29px !important;
    letter-spacing: normal;
    text-align: start;

    overflow-wrap: break-word;
    word-break: normal;
}

.usage-policy-page .usage-policy-body .usage-policy-scroll-spacer {
    width: 100%;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.usage-policy-page .usage-policy-tab:focus-visible,
.usage-policy-page .usage-policy-nav-link:focus-visible,
.usage-policy-page .usage-policy-content:focus-visible {
    outline: 2px solid var(--policy-primary);
    outline-offset: 4px;
}

@media (max-width: 1199.98px) {
    .usage-policy-page .usage-policy-body .usage-policy-container {
        max-width: 100% !important;
    }

    .usage-policy-page .usage-policy-body .usage-policy-grid {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 28px;
    }

    .usage-policy-page .usage-policy-body .usage-policy-sidebar {
        padding-top: 16px;
    }

    .usage-policy-page .usage-policy-body .usage-policy-sidebar-title {
        margin-bottom: 6px !important;
        font-size: 18px !important;
        line-height: 28px !important;
    }

    .usage-policy-page .usage-policy-body .usage-policy-nav {
        gap: 2px;
    }

    .usage-policy-page .usage-policy-body .usage-policy-nav-link {
        min-height: 34px;
        padding: 4px 10px;
        font-size: 14px !important;
        line-height: 23px !important;
    }

    .usage-policy-page .usage-policy-body .usage-policy-content {
        height: 650px;
        padding: 36px 30px 26px;
        border-radius: 24px;
    }

    .usage-policy-page .usage-policy-body .usage-policy-section {
        padding-bottom: 38px;
    }

    .usage-policy-page .usage-policy-body .usage-policy-section-title {
        margin-bottom: 14px !important;
        font-size: 18px !important;
        line-height: 29px !important;
    }

    .usage-policy-page .usage-policy-body .usage-policy-section-text {
        font-size: 14px !important;
        line-height: 28px !important;
    }
}
@media (max-width: 767.98px) {
    /* القسم الأبيض: كما هو */

    .usage-policy-page .usage-policy-header {
        padding: 28px 0 32px;
    }

    .usage-policy-page .usage-policy-breadcrumb {
        margin-bottom: 16px;
        font-size: 14px;
    }

    .usage-policy-page .usage-policy-title {
        margin-bottom: 14px;
        font-size: 22px !important;
    }

    .usage-policy-page .usage-policy-subtitle {
        padding-inline: 10px;
        font-size: 16px;
    }

    .usage-policy-page .usage-policy-tabs {
        max-width: 420px;
        padding: 6px;
        border-radius: 16px;
    }

    .usage-policy-page .usage-policy-tab {
        min-height: 48px;
        padding: 10px 8px;
        font-size: 16px;
    }

    .usage-policy-page .usage-policy-body {
        padding: 24px 0 36px;
    }

    .usage-policy-page .usage-policy-body .usage-policy-container {
        padding-inline: 16px;
    }

    .usage-policy-page .usage-policy-body .usage-policy-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .usage-policy-page .usage-policy-body .usage-policy-sidebar {
        padding-top: 0;
    }

    .usage-policy-page .usage-policy-body .usage-policy-sidebar-title {
        margin-bottom: 10px !important;
        font-size: 20px !important;
        line-height: 30px !important;
    }

    .usage-policy-page .usage-policy-body .usage-policy-nav {
        max-height: 220px;
        overflow-y: auto;
    }

    .usage-policy-page .usage-policy-body .usage-policy-nav-link {
        min-height: 40px;
        padding: 7px 12px;
        font-size: 15px !important;
        line-height: 26px !important;
    }

    .usage-policy-page .usage-policy-body .usage-policy-content {
        height: 65vh;
        min-height: 380px;
        padding: 28px 20px;
        border-radius: 22px;
    }

    .usage-policy-page .usage-policy-body .usage-policy-section {
        padding-bottom: 36px;
    }

    .usage-policy-page .usage-policy-body .usage-policy-section-title {
        gap: 8px;
        margin-bottom: 16px !important;
        font-size: 20px !important;
        line-height: 32px !important;
    }

    .usage-policy-page .usage-policy-body .usage-policy-section-text {
        font-size: 16px !important;
        line-height: 32px !important;
    }
}

/* ********************** */
/* recaptcha */
/* ********************** */
.g-recaptcha {
    transform: scale(0.65);
    transform-origin: right;
}
@media screen and (min-width: 500px) {
    .g-recaptcha {
        transform: scale(0.75);
        transform-origin: right;
    }
}

/* ************************ */
/* navbar language switcher */
/* ************************ */
@media screen and (max-width: 991px) {
    .nav-lang-switcher {
        position: absolute;
        top: 1.5rem;
        right: 0;
    }
}

/* ************************ */
/* navbar toggler animation */
/* ************************ */
.navbar-toggler span {
    display: block;
    background-color: var(--primary-300);
    border-radius: 12px;
    height: 3px;
    width: 25px;
    margin-top: 5px;
    margin-bottom: 5px;
    position: relative;
    left: 0;
    opacity: 1;
    transition: all 0.35s ease-out;
    transform-origin: center left;
}

.navbar-toggler span:nth-child(1) {
    margin-top: 0.3em;
}
.navbar-toggler:not(.collapsed) span:nth-child(1) {
    transform: translate(15%, -33%) rotate(45deg);
    background-color: var(--secondary-500);
}
.navbar-toggler:not(.collapsed) span:nth-child(2) {
    opacity: 0;
}
.navbar-toggler:not(.collapsed) span:nth-child(3) {
    transform: translate(15%, 33%) rotate(-45deg);
    background-color: var(--secondary-500);
}

.navbar-toggler span:nth-child(1) {
    transform: translate(0%, 0%) rotate(0deg);
}
.navbar-toggler span:nth-child(2) {
    opacity: 1;
}
.navbar-toggler span:nth-child(3) {
    transform: translate(0%, 0%) rotate(0deg);
}
