:root {
    --swiper-bullet: #fefefe;
    --swiper-bullet-active: #f3a109;
    --swiper-bullet-shadow: rgba(4, 120, 187, 0.35);
    --swiper-btn-bg: #ffffff;
    --swiper-btn-color: #111827;
    --swiper-btn-border: rgba(0, 0, 0, 0.08);
    --swiper-btn-hover-bg: #f3f4f6;
}

@font-face {
    font-family: "PingARLT";
    src:
        url(../fonts/PingARLT/PingARLT-Regular.woff2) format("woff2"),
        url(../fonts/PingARLT/PingARLT-Regular.woff) format("woff");
}
a {
    text-decoration: none;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.55) transparent;
}

/* WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.45);
    border-radius: 999px;
    border: 3px solid rgba(241, 245, 249, 0.9); /* يعطي “padding” جميل */
}

::-webkit-scrollbar-thumb {
    border: 0;
    box-shadow: none;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.65);
}

::-webkit-scrollbar-thumb:active {
    background: rgba(148, 163, 184, 0.8);
}

/* Corner (when both scrollbars appear) */
::-webkit-scrollbar-corner {
    background: transparent;
}

body {
    font-family: "PingARLT", serif !important;
    scroll-behavior: smooth;
    background-image:
        radial-gradient(#10b981 0.5px, transparent 0.5px),
        radial-gradient(#10b981 0.5px, #fafaf9 0.5px);
    background-size: 20px 20px;
    box-shadow: 0 15px 30px -5px rgba(16, 185, 129, 0.1);
    background-position:
        0 0,
        10px 10px;
}

.swiper-scrollbar {
    border-radius: var(--swiper-scrollbar-border-radius, 10px);
    position: relative;
    touch-action: none;
    background: var(--swiper-scrollbar-bg-color, rgba(0, 0, 0, 0.1));
}

.swiper-scrollbar-disabled > .swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-disabled {
    display: none !important;
}

.swiper-horizontal > .swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-horizontal {
    position: absolute;
    left: var(--swiper-scrollbar-sides-offset, 1%);
    bottom: var(--swiper-scrollbar-bottom, 4px);
    top: var(--swiper-scrollbar-top, auto);
    z-index: 50;
    height: var(--swiper-scrollbar-size, 4px);
    width: calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%));
}

.swiper-scrollbar.swiper-scrollbar-vertical,
.swiper-vertical > .swiper-scrollbar {
    position: absolute;
    left: var(--swiper-scrollbar-left, auto);
    right: var(--swiper-scrollbar-right, 4px);
    top: var(--swiper-scrollbar-sides-offset, 1%);
    z-index: 50;
    width: var(--swiper-scrollbar-size, 4px);
    height: calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%));
}

.swiper-scrollbar-drag {
    height: 100%;
    width: 100%;
    position: relative;
    background: var(--swiper-scrollbar-drag-bg-color, rgba(0, 0, 0, 0.5));
    border-radius: var(--swiper-scrollbar-border-radius, 10px);
    left: 0;
    top: 0;
}

.swiper-scrollbar-cursor-drag {
    cursor: move;
}

.hero-swiper-pagination-bars {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0;
}

.hero-swiper-pagination-bars .swiper-pagination-bullet {
    margin: 0 !important;
    height: 100%;
    flex: 1 1 0;
    width: auto;
    border-radius: 999px;
    background: transparent;
    opacity: 1;
    transition: background-color 0.35s ease, opacity 0.35s ease;
}

.hero-swiper-pagination-bars .swiper-pagination-bullet-active {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.18);
}

.hero-text-swiper,
.hero-image-swiper {
    width: 100%;
    min-height: 1px;
}

.hero-text-swiper .swiper-wrapper,
.hero-image-swiper .swiper-wrapper {
    align-items: stretch;
    height: auto !important;
}

.hero-text-swiper .swiper-slide,
.hero-image-swiper .swiper-slide {
    width: 100%;
    height: auto;
    min-height: 1px;
}

.hero-text-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-image-swiper .swiper-slide {
    display: flex;
    align-items: center;
}

@media (max-width: 639.98px) {
    .hero-swiper-pagination-bars {
        max-width: 240px;
    }

    .hero-text-swiper,
    .hero-image-swiper {
        overflow: visible;
    }

    .hero-text-swiper .swiper-wrapper,
    .hero-image-swiper .swiper-wrapper {
        min-height: inherit;
    }
}

.nav-dropdown__panel {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(34, 41, 52, 0.92);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.nav-dropdown__head {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-dropdown__kicker {
    color: rgba(110, 231, 183, 0.88);
}

.nav-dropdown__title {
    color: #fff;
}

.nav-dropdown__desc {
    color: rgba(226, 232, 240, 0.82);
}

.nav-dropdown__icon {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.nav-dropdown__link {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
}

.nav-dropdown__link-title {
    color: #fff;
}

.nav-dropdown__link-meta {
    color: rgba(148, 163, 184, 0.92);
}

.nav-dropdown__link-icon {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(226, 232, 240, 0.95);
}

.nav-dropdown__link:hover {
    border-color: rgba(52, 211, 153, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

.nav-dropdown__link:hover .nav-dropdown__link-icon {
    background: rgba(16, 185, 129, 0.16);
    color: rgb(110, 231, 183);
    transform: translate(-2px, -2px);
}

.mobile-menu-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(34, 41, 52, 0.96);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}

.mobile-menu-brand__logo,
.mobile-menu-close,
.mobile-menu-tool,
.mobile-menu-hero,
.mobile-menu-group,
.mobile-menu-contact,
.mobile-menu-link,
.mobile-menu-action {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-brand__logo,
.mobile-menu-close,
.mobile-menu-tool,
.mobile-menu-link,
.mobile-menu-group,
.mobile-menu-contact {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-brand__title,
.mobile-menu-link__title,
.mobile-menu-group__title,
.mobile-menu-contact__value {
    color: #fff;
}

.mobile-menu-brand__subtitle,
.mobile-menu-link__meta,
.mobile-menu-group__meta,
.mobile-menu-contact__label,
.mobile-menu-hero__copy {
    color: rgba(226, 232, 240, 0.74);
}

.mobile-menu-hero__badge {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(110, 231, 183, 0.92);
}

.mobile-menu-hero__dot {
    background: rgb(52, 211, 153);
}

.mobile-menu-close,
.mobile-menu-tool,
.mobile-menu-link__icon {
    color: #fff;
}

.mobile-menu-link {
    text-decoration: none;
}

.mobile-menu-link.is-active,
.mobile-menu-link:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(52, 211, 153, 0.28);
}

.mobile-menu-link__icon {
    transition: transform 0.25s ease, color 0.25s ease;
}

.mobile-menu-link:hover .mobile-menu-link__icon {
    color: rgb(110, 231, 183);
    transform: translate(-2px, -2px);
}

.mobile-menu-group[open] .mobile-menu-group__icon {
    transform: rotate(180deg);
}

.mobile-menu-action--primary {
    background: rgb(16, 185, 129);
    color: rgb(15, 23, 42);
}

.mobile-menu-action--secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.header-search-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(34, 41, 52, 0.96);
}

.header-search-result,
.header-search-shortcut {
    text-decoration: none;
}

.header-search-result:hover i:last-child,
.header-search-shortcut:hover i:last-child {
    color: rgb(110, 231, 183);
    transform: translate(-2px, -2px);
}
