/* Namaa Widgets - Shared Styles */

/* ============================================
   HEADER WIDGET
   ============================================ */

.namaa-header {
    position: relative;
    width: 100%;
    z-index: 1000;
}

/* --- Container --- */
.namaa-header__container {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 1280px;
    margin: 0 auto;
}

/* --- Logo --- */
.namaa-header__logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.namaa-header__logo img {
    width: 150px;
    height: auto;
    aspect-ratio: 75 / 22;
    object-fit: contain;
}

.namaa-header__site-name {
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #002E5D;
}

/* --- Desktop Nav --- */
.namaa-header__nav {
    flex: 1;
    display: flex;
    align-items: center;
}

.namaa-header__menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.namaa-header__menu-item {
    position: relative;
}

.namaa-header__menu-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 16px;
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 16px;
    font-weight: 325;
    line-height: 24px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.namaa-header__menu-link:hover {
    color: #4962A6;
}

/* Chevron icon */
.namaa-header__chevron {
    width: 16px;
    height: 16px;
    margin-inline-start: 4px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.namaa-header__menu-item--has-sub:hover .namaa-header__chevron {
    transform: rotate(180deg);
}

/* --- Desktop Dropdown --- */
.namaa-header__submenu {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    min-width: 220px;
    list-style: none;
    margin: 8px 0 0;
    padding: 16px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 100;
}

.namaa-header__menu-item--has-sub:hover .namaa-header__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.namaa-header__submenu-item {
    margin: 0;
}

.namaa-header__submenu-link {
    display: block;
    padding: 10px 16px;
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 16px;
    font-weight: 325;
    line-height: 24px;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.namaa-header__submenu-link:hover {
    background: #f0f3f9;
    color: #4962A6;
}

/* --- Phone --- */
.namaa-header__phone {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    margin-inline-start: 24px;
    text-decoration: none;
    color: #4962A6;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 16px;
    font-weight: 325;
    line-height: 24px;
    white-space: nowrap;
}

.namaa-header__phone-icon {
    display: inline-flex;
    flex-shrink: 0;
    font-size: 20px;
}

.namaa-header__phone-icon svg {
    width: 20px;
    height: 20px;
    color: #4962A6;
    fill: transparent;
}

.namaa-header__phone svg {
    width: 20px;
    height: 20px;
    color: #4962A6;
    fill: transparent;
    flex-shrink: 0;
}

.namaa-header__phone span {
    direction: ltr;
}

/* --- CTA Button --- */
.namaa-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 20px;
    background: #4962A6;
    color: #FFFFFF;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 16px;
    font-weight: 350;
    line-height: 24px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease;
    border: 1px solid transparent;
}

.namaa-header__cta:hover {
    background: #3a5190;
}

/* --- Language Switcher Button --- */
.namaa-header__lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 20px;
    background: transparent;
    color: #FFFFFF;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 16px;
    font-weight: 350;
    line-height: 24px;
    text-decoration: none;
    white-space: nowrap;
    border: 1.5px solid #FFFFFF;
    transition: background 0.2s ease;
}

.namaa-header__lang:hover {
    background: rgba(255, 255, 255, 0.12);
}

body:not(.home) .namaa-header__lang {
    color: #4962A6;
    border-color: #4962A6;
}

body:not(.home) .namaa-header__lang:hover {
    background: rgba(73, 98, 166, 0.08);
}

/* --- Mobile Toggle (hidden on desktop) --- */
.namaa-header__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    color: #4962A6;
}

.namaa-header__toggle svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   MOBILE MENU
   ============================================ */

.namaa-header__mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: #4962A6;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: right 0.35s ease;
    overflow-y: auto;
    padding: 16px 20px;
}

.namaa-header__mobile.is-open {
    right: 0;
}

/* Mobile Top */
.namaa-header__mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.namaa-header__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: none;
    border-radius: 20px;
    background: #FFFFFF;
    cursor: pointer;
}

.namaa-header__close svg {
    width: 24px;
    height: 24px;
}

.namaa-header__mobile-logo img {
    width: 123px;
    height: auto;
    aspect-ratio: 41 / 12;
    object-fit: contain;
}

/* Mobile Nav */
.namaa-header__mobile-nav {
    flex: 1;
    margin-top: 24px;
}

.namaa-header__mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.namaa-header__mobile-item {
    border: none;
}

.namaa-header__mobile-link {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 0;
    color: #FFFFFF;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 22px;
    font-weight: 325;
    line-height: 32px;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    text-align: start;
}

.namaa-header__mobile-link--toggle .namaa-header__chevron {
    width: 16px;
    height: 16px;
    color: #FFFFFF;
    transition: transform 0.3s ease;
}

.namaa-header__mobile-item--has-sub.is-open .namaa-header__mobile-link--toggle .namaa-header__chevron {
    transform: rotate(180deg);
}

/* Mobile Submenu / Dropdown */
.namaa-header__mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease, margin 0.35s ease, border-color 0.35s ease;
}

.namaa-header__mobile-item--has-sub.is-open .namaa-header__mobile-submenu {
    max-height: 500px;
    padding: 16px 20px;
    margin: 8px 0 0;
    border-color: rgba(255, 255, 255, 0.10);
}

.namaa-header__mobile-submenu-link {
    display: block;
    padding: 8px 0;
    color: #FFFFFF;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 22px;
    font-weight: 325;
    line-height: 32px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.namaa-header__mobile-submenu-link:hover {
    opacity: 0.75;
}

/* Mobile Bottom */
.namaa-header__mobile-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: auto;
}

.namaa-header__mobile .namaa-header__phone {
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 325;
    line-height: 32px;
    flex-direction: row-reverse;
    margin-inline-start: 0;
    padding: 8px 0;
}

.namaa-header__mobile .namaa-header__phone svg,
.namaa-header__mobile .namaa-header__phone i {
    color: #FFFFFF;
}

.namaa-header__mobile-phone-icon {
    width: 24px;
    height: 24px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    flex-shrink: 0;
}

.namaa-header__mobile .namaa-header__cta {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-top: 16px;
    padding: 8px 20px;
    border-radius: 100px;
    background: #FFFFFF;
    color: #4962A6;
    font-size: 22px;
    font-weight: 350;
    line-height: 32px;
    border: none;
}

.namaa-header__mobile .namaa-header__cta:hover {
    background: #f0f3f9;
}

/* Overlay */
.namaa-header__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.namaa-header__overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   NAV LIST WIDGET
   ============================================ */

.namaa-nav-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.namaa-nav-list__item {
    display: flex;
    height: 44px;
    padding: 0 24px;
    align-items: center;
    gap: 14px;
    border-radius: 24px;
    background: #FFFFFF;
    border: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.namaa-nav-list__item:hover,
.namaa-nav-list__item--active {
    border-color: #4962A6;
}

.namaa-nav-list__link {
    color: #4962A6;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 325;
    line-height: 28px;
    text-decoration: none;
    white-space: nowrap;
}

/* Mobile Dropdown (hidden on desktop) */
.namaa-nav-list__dropdown {
    display: none;
    position: relative;
}

.namaa-nav-list__dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-self: stretch;
    width: 100%;
    height: 40px;
    padding: 0 16px 0 24px;
    border: 1px solid #4962A6;
    border-radius: 24px;
    background: #FFFFFF;
    color: #4962A6;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 28px;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-radius 0.2s ease;
}

.namaa-nav-list__dropdown-toggle:focus,
.namaa-nav-list__dropdown-toggle:hover {
    outline: none;
    border: 1px solid #4962A6;
    background: #FFF;
    color: #4962A6;
    padding: 0 16px 0 24px;
}

.namaa-nav-list__dropdown.is-open .namaa-nav-list__dropdown-toggle {
    border-radius: 24px 24px 0 0;
    border-bottom-color: transparent;
}

.namaa-nav-list__dropdown-chevron {
    width: 16px;
    height: 16px;
    color: #4962A6;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.namaa-nav-list__dropdown.is-open .namaa-nav-list__dropdown-chevron {
    transform: rotate(180deg);
}

.namaa-nav-list__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    background: #FFFFFF;
    border: 1px solid #4962A6;
    border-top: none;
    border-radius: 0 0 24px 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 50;
    max-height: 280px;
    overflow-y: auto;
}

.namaa-nav-list__dropdown.is-open .namaa-nav-list__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    background: #FFFFFF;
}

.namaa-nav-list__dropdown-link {
    display: block;
    padding: 10px 24px;
    color: #4962A6;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.namaa-nav-list__dropdown-link:focus {
    text-decoration: none;
}

.namaa-nav-list__dropdown-link:hover {
    background: #f0f3f9;
}

.namaa-nav-list__dropdown-item--active .namaa-nav-list__dropdown-link {
    font-weight: 700;
    color: #4962A6;
}

/* ============================================
   BUTTON WIDGET
   ============================================ */

.namaa-btn-wrap {
    display: flex;
}

.namaa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 32px;
    border: 1px solid #4962A6;
    border-radius: 100px;
    background: transparent;
    color: #4962A6;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
    flex-direction: row-reverse;
}

.namaa-btn--icon-before {
    flex-direction: row;
}

.namaa-btn--full {
    width: 100%;
}

.namaa-btn__icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Hover icon swap */
.namaa-btn__icon--hover {
    display: none;
}

.namaa-btn:hover .namaa-btn__icon--has-hover {
    display: none;
}

.namaa-btn:hover .namaa-btn__icon--hover {
    display: block;
}

.namaa-btn:hover {
    background: #4962A6;
    color: #FFFFFF;
    border-color: #4962A6;
}

/* ============================================
   LIST TABLE WIDGET
   ============================================ */

.namaa-list-table {
    border: 1px solid rgba(73, 98, 166, 0.10);
    border-radius: 16px;
    overflow: hidden;
    background: #FFFFFF;
}

.namaa-list-table__row {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 32px;
    border-bottom: 1px solid rgba(73, 98, 166, 0.10);
}

.namaa-list-table__row:last-child {
    border-bottom: none;
}

.namaa-list-table__label {
    white-space: nowrap;
}

.namaa-list-table__value {
    white-space: nowrap;
}

/* ============================================
   FAQ WIDGET
   ============================================ */

.namaa-faq__filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    margin-bottom: 80px;
}

.namaa-faq__filter-btn {
    display: flex;
    height: 44px;
    padding: 0 24px;
    justify-content: center;
    align-items: center;
    gap: 14px;
    border-radius: 24px;
    background: #FFF;
    border: 1px solid transparent;
    color: #4962A6;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 28px;
    cursor: pointer;
    transition: border-color 0.3s ease;
    white-space: nowrap;
}

.namaa-faq__filter-btn:hover {
    border-color: rgba(73, 98, 166, 0.4);
}

.namaa-faq__filter-btn--active {
    border-color: #4962A6;
}

/* Loader */
.namaa-faq__loader {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}

.namaa-faq__loader--active {
    display: flex;
}

.namaa-faq__spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(73, 98, 166, 0.15);
    border-top-color: #4962A6;
    border-radius: 50%;
    animation: namaa-spin 0.7s linear infinite;
}

@keyframes namaa-spin {
    to { transform: rotate(360deg); }
}

.namaa-faq__list--loading {
    display: none;
}

/* FAQ List */
.namaa-faq__list {
    width: 100%;
}

.namaa-faq__item {
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 46, 93, 0.1);
    transition: opacity 0.3s ease;
}

.namaa-faq__item--hidden {
    display: none;
}

/* Question */
.namaa-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: start;
    color: #002E5D;
    gap: 16px;
}

.namaa-faq__question-text {
    flex: 1;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: 32px;
    color: inherit;
}

/* Icon */
.namaa-faq__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 7px;
    flex-shrink: 0;
}

.namaa-faq__icon svg {
    width: 20px;
    height: 20px;
    color: #4962A6;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.namaa-faq__icon-minus {
    display: none;
}

.namaa-faq__item--open .namaa-faq__icon-plus {
    display: none;
}

.namaa-faq__item--open .namaa-faq__icon-minus {
    display: block;
}

/* Answer */
.namaa-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.namaa-faq__answer-inner {
    padding-top: 20px;
    padding-inline-end: 20px;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 28px;
    color: #002E5D;
}

/* ============================================
   GLASS LIST WIDGET
   ============================================ */

.namaa-glass-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.namaa-glass-list__item {
    display: flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    width: 90%;
    border-radius: 24px;
    border: 1px solid #FFF;
    border-style: solid;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.namaa-glass-list__text {
    color: #FFF;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   BLOG POSTS WIDGET
   ============================================ */

/* Filter */
.namaa-blog__filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    margin-bottom: 80px;
}

.namaa-blog__filter-btn {
    display: flex;
    height: 44px;
    padding: 0 24px;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
    background: #FFF;
    border: 1px solid transparent;
    color: #4962A6;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 28px;
    cursor: pointer;
    transition: border-color 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.namaa-blog__filter-btn:hover {
    border-color: rgba(73, 98, 166, 0.4);
}

.namaa-blog__filter-btn--active {
    border-color: #4962A6;
}

/* Loader */
.namaa-blog__loader {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}

.namaa-blog__loader--active {
    display: flex;
}

.namaa-blog__spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(73, 98, 166, 0.15);
    border-top-color: #4962A6;
    border-radius: 50%;
    animation: namaa-spin 0.7s linear infinite;
}

/* List */
.namaa-blog__list {
    width: 100%;
    transition: opacity 0.3s ease;
}

.namaa-blog__list--loading {
    display: none;
}

.namaa-blog__list--fade-in {
    animation: namaa-blog-fade 0.4s ease;
}

@keyframes namaa-blog-fade {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Post Card */
.namaa-blog__post {
    display: flex;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid rgba(0, 46, 93, 0.1);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.namaa-blog__post:first-child {
    border-top: 1px solid rgba(0, 46, 93, 0.1);
}

/* Image */
.namaa-blog__post-image {
    width: 360px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
}

.namaa-blog__post-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.namaa-blog__post-placeholder {
    width: 100%;
    height: 240px;
    border-radius: 12px;
    background: #E3E8ED;
}

/* Content */
.namaa-blog__post-content {
    width: 540px;
    flex-shrink: 0;
    text-align: start;
    margin-inline-start: 96px;
}

.namaa-blog__post-title {
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 300;
    line-height: 40px;
    margin: 0 0 12px 0;
}

.namaa-blog__post-date {
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 28px;
}

/* Arrow */
.namaa-blog__post-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 24px;
    border: 1px solid #4962A6;
    background: #FFF;
    flex-shrink: 0;
    margin-inline-start: auto;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.namaa-blog__arrow-icon,
.namaa-blog__arrow-icon-hover {
    width: 13px;
    height: 13px;
    object-fit: contain;
}

.namaa-blog__arrow-icon-hover {
    display: none;
}

/* Hover animation on entire card */
.namaa-blog__post:hover .namaa-blog__post-arrow {
    background: #4962A6;
    border-color: #4962A6;
    transform: rotate(180deg);
}

.namaa-blog__post:hover .namaa-blog__arrow-icon {
    display: none;
}

.namaa-blog__post:hover .namaa-blog__arrow-icon-hover {
    display: block;
}


/* Empty */
.namaa-blog__empty {
    text-align: center;
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 28px;
    padding: 60px 0;
}

/* Pagination */
.namaa-blog__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.namaa-blog__page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 24px;
    border: 1px solid transparent;
    background: #FFF;
    color: #4962A6;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.namaa-blog__page-btn:hover {
    border-color: rgba(73, 98, 166, 0.4);
}

.namaa-blog__page-btn--active {
    border-color: #4962A6;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .namaa-header__nav,
    .namaa-header__container > .namaa-header__phone,
    .namaa-header__container > .namaa-header__cta,
    .namaa-header__container > .namaa-header__lang {
        display: none;
    }

    .namaa-header__toggle {
        display: flex;
    }

    .namaa-header__container {
        justify-content: space-between;
    }

    /* Nav List: switch to dropdown on mobile */
    .namaa-nav-list--desktop {
        display: none;
    }

    .namaa-nav-list__dropdown {
        display: block;
    }

    /* FAQ mobile */
    .namaa-faq__question-text {
        font-size: 20px;
        line-height: 28px;
    }

    .namaa-faq__answer-inner {
        font-size: 17px;
        line-height: 28px;
        padding-inline-end: 0;
    }

    .namaa-faq__filter {
        flex-wrap: wrap;
    }

    /* Blog mobile */
    .namaa-blog__filter {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 4px;
    }

    .namaa-blog__filter::-webkit-scrollbar {
        display: none;
    }

    .namaa-blog__post {
        flex-wrap: wrap;
        gap: 20px;
    }

    .namaa-blog__post-image {
        width: 100%;
    }

    .namaa-blog__post-content {
        width: auto;
        flex: 1;
        margin-inline-start: 0;
    }

    .namaa-blog__post-title {
        font-size: 22px;
        line-height: 30px;
    }

    .namaa-blog__post-date {
        font-size: 16px;
        line-height: 24px;
    }

    .namaa-blog__post-arrow {
        align-self: flex-end;
        margin-inline-start: 16px;
    }
}

/* ===== Swiper Slider ===== */

.namaa-slider {
    position: relative;
    overflow: hidden;
}

.namaa-slider__swiper {
    overflow: visible;
    cursor: grab;
}

.namaa-slider__swiper:active {
    cursor: grabbing;
}

.namaa-slider__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.namaa-slider__slide img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Edge gradient overlays */
.namaa-slider__overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20%;
    z-index: 2;
    pointer-events: none;
}

.namaa-slider__overlay--left {
    left: 0;
    background: linear-gradient(90deg, #FFF 0%, rgba(255, 255, 255, 0) 100%);
}

.namaa-slider__overlay--right {
    right: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #FFF 100%);
}

/* ===== Swiper Slider Responsive ===== */
@media (max-width: 1024px) {
    .namaa-slider__overlay {
        width: 15%;
    }
}

/* ===== Team Members ===== */

/* Header box: title+filter on right, arrows on left (RTL) */
.namaa-team__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 653px;
    margin: 0 auto 80px;
}

.namaa-team__header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.namaa-team__title {
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 56px;
    font-weight: 325;
    line-height: 60px;
    text-align: start;
    margin: 0 0 24px;
}

/* Filter */
.namaa-team__filter {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

.namaa-team__filter-btn {
    padding: 8px 28px;
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 24px;
    font-weight: 325;
    line-height: 32px;
    opacity: 0.6;
    border: 1px solid transparent;
    border-radius: 50px;
    background: transparent;
    cursor: pointer;
    transition: opacity 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
}

.namaa-team__filter-btn:hover {
    opacity: 0.8;
}

.namaa-team__filter-btn--active {
    border-color: #4962A6;
    opacity: 1;
}

/* Arrows */
.namaa-team__arrows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.namaa-team__arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0, 46, 93, 0.2);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    padding: 0;
    color: #002E5D;
}

.namaa-team__arrow svg {
    width: 24px;
    height: 24px;
}

.namaa-team__arrow.swiper-button-disabled {
    opacity: 0.5;
    cursor: default;
}

/* Loader */
.namaa-team__loader {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}

.namaa-team__loader--active {
    display: flex;
}

.namaa-team__spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(73, 98, 166, 0.15);
    border-top-color: #4962A6;
    border-radius: 50%;
    animation: namaa-spin 0.7s linear infinite;
}

.namaa-team__swiper--loading {
    display: none;
}

/* Swiper container — 80px margin from right on desktop */
.namaa-team__swiper {
    overflow: hidden;
    margin-inline-start: 80px;
    cursor: grab;
}

.namaa-team__swiper:active {
    cursor: grabbing;
}

/* Card */
.namaa-team__card {
    border-radius: 12px;
    overflow: hidden;
    background: #F7F8FA;
    height: auto;
    transition: transform 0.4s ease;
}

/* Even cards (2nd, 4th...) offset 20px down */
.namaa-team__swiper .swiper-slide.namaa-team__card:nth-child(even) {
    transform: translateY(20px);
}

.namaa-team__card-image {
    height: 316px;
    overflow: hidden;
}

.namaa-team__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.namaa-team__card-content {
    padding: 24px 20px 20px;
    background: #F7F8FA;
}

.namaa-team__card-name {
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 24px;
    font-weight: 350;
    line-height: 32px;
    margin: 0;
}

.namaa-team__card-job {
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 18px;
    font-weight: 325;
    line-height: 28px;
    margin: 0 0 16px;
}

.namaa-team__card-link {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #4962A6;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 18px;
    font-weight: 350;
    line-height: 28px;
    text-decoration: none;
    flex-direction: row-reverse;
    transition: opacity 0.2s ease;
}

.namaa-team__card-link span {
    text-decoration: underline;
}

.namaa-team__card-link:hover {
    opacity: 0.7;
}

.namaa-team__card-link img {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

/* ===== Team Responsive ===== */
@media (max-width: 1024px) {
    .namaa-team__header {
        max-width: none;
        margin-bottom: 40px !important;
        padding: 0 26px !important;
    }

    .namaa-team__title {
        font-size: 36px;
        line-height: 40px;
    }

    .namaa-team__filter {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: 0 !important;
    }

    .namaa-team__filter-btn {
        padding: 8px 20px;
        font-size: 20px;
        line-height: 28px;
    }

    .namaa-team__swiper {
        margin-inline-start: 0;
    }

    .namaa-team__swiper .swiper-slide.namaa-team__card:nth-child(even) {
        transform: none;
    }
}

/* ============================================
   PROJECT SLIDER WIDGET
   ============================================ */

.namaa-project__card {
    border-radius: 24px;
    background: linear-gradient(180deg, #F7F8FA 0%, rgba(247, 248, 250, 0.00) 100%);
    padding: 10px;
}

/* --- Header --- */
.namaa-project__header {
    display: flex;
    padding: 40px 60px;
    justify-content: space-between;
    align-items: center;
}

.namaa-project__heading {
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 48px;
    font-weight: 325;
    line-height: 56px;
    margin: 0;
}

.namaa-project__arrows {
    display: flex;
    align-items: center;
    gap: 8px;
}

.namaa-project__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    border: 1px solid rgba(0, 46, 93, 0.10);
    background: transparent;
    color: #002E5D;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    padding: 0;
}

.namaa-project__arrow svg {
    width: 24px;
    height: 24px;
}

.namaa-project__arrow:hover {
    background: #002E5D !important;
    border-color: #002E5D;
    color: #FFF;
}

.namaa-project__arrow--disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* --- Content --- */
.namaa-project__content {
    display: flex;
    align-items: center;
    align-self: stretch;
}

/* --- Image --- */
.namaa-project__img-wrap {
    width: 55%;
    flex-shrink: 0;
    padding: 0 60px;
    box-sizing: border-box;
}

.namaa-project__img {
    width: 100%;
    height: 466px !important;
    object-fit: cover;
    border-radius: 16px !important;
    display: block;
}

/* --- Info --- */
.namaa-project__info {
    max-width: 540px;
    padding: 60px;
    box-sizing: border-box;
}

.namaa-project__title {
    color: #002E5D;
    text-align: start;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 30px;
    font-weight: 325;
    line-height: 36px;
    margin: 0 0 10px 0;
    padding-inline-start: 27px;
}

.namaa-project__desc {
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 18px;
    font-weight: 325;
    line-height: 28px;
    margin: 0 0 40px 0;
}

/* --- Numbers --- */
.namaa-project__numbers {
    display: grid;
    grid-template-columns: auto auto auto;
    height: 120px;
    gap: 8px;
}

.namaa-project__number {
    display: flex;
    padding: 16px 18px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    border-radius: 12px;
    background: #F4F5F8;
}

.namaa-project__num-value {
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 36px;
    font-weight: 325;
    line-height: 40px;
    margin: 0 0 28px 0;
}

.namaa-project__num-label {
    color: #002E5D;
    text-align: center;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 16px;
    font-weight: 325;
    line-height: 20px;
}

/* --- CTA --- */
.namaa-project__cta {
    display: inline-flex;
    height: 44px;
    padding: 0 24px 0 16px;
    justify-content: center;
    align-items: center;
    gap: 14px;
    border-radius: 24px;
    border: 1px solid #4962A6;
    background: #FFF;
    color: #4962A6;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 28px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    margin-top: 40px;
}

.namaa-project__cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.namaa-project__cta-icon img {
    width: 13px;
    height: 13px;
    object-fit: contain;
}

.namaa-project__cta-icon-hover {
    display: none;
}

.namaa-project__cta:hover {
    background: #4962A6;
    color: #FFF;
}

.namaa-project__cta:hover .namaa-project__cta-icon-default {
    display: none;
}

.namaa-project__cta:hover .namaa-project__cta-icon-hover {
    display: block;
}

/* --- Swiper overrides --- */
.namaa-project__swiper {
    overflow: hidden;
}

.namaa-project__swiper .swiper-slide {
    height: auto;
}

/* --- Mobile --- */
@media (max-width: 1024px) {
    .namaa-project__card {
        padding: 10px;
    }

    .namaa-project__header {
        padding: 16px;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .namaa-project__heading {
        font-size: 30px;
        line-height: 36px;
        text-align: center;
    }

    .namaa-project__arrow {
        width: 36px;
        height: 36px;
    }

    .namaa-project__arrow svg {
        width: 18px;
        height: 18px;
    }

    .namaa-project__content {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .namaa-project__img-wrap {
        width: 100%;
        padding: 0;
    }

    .namaa-project__img {
        height: 260px !important;
        border-radius: 16px !important;
    }

    .namaa-project__info {
        padding: 16px 16px 32px;
        max-width: none;
    }

    .namaa-project__title {
        font-size: 24px;
        line-height: 28px;
        padding-inline-start: 0;
        margin-bottom: 10px;
    }

    .namaa-project__desc {
        font-size: 17px;
        line-height: 24px;
        margin-bottom: 28px;
    }

    .namaa-project__numbers {
        display: grid;
        grid-template-columns: auto auto auto;
        height: 110px;
        gap: 2px;
        width: 100%;
    }

    .namaa-project__number {
        background: #FFF;
        align-items: flex-start;
        flex: unset;
        width: auto;
    }

    .namaa-project__num-value {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 30px;
    }

    .namaa-project__num-label {
        font-size: 12px;
        line-height: 16px;
    }

    .namaa-project__cta {
        margin-top: 24px;
    }
}

/* ==========================================
   STEPS / TIMELINE
   ========================================== */

.namaa-steps {
    display: flex;
    flex-direction: column;
    position: relative;
}

.namaa-steps__item {
    border-top: 1px solid rgba(0, 46, 93, 0.15);
    padding: 48px 0;
    cursor: pointer;
    position: relative;
}

.namaa-steps__item:last-child {
    border-bottom: 1px solid rgba(0, 46, 93, 0.15);
}

.namaa-steps__row {
    transition: opacity 0.4s ease;
    opacity: 0.4;
}

.namaa-steps__item--active .namaa-steps__row,
.namaa-steps__item:hover .namaa-steps__row {
    opacity: 1;
}

.namaa-steps__row {
    display: flex;
    align-items: center;
    gap: 32px;
}

.namaa-steps__number {
    font-size: 24px;
    font-weight: 325;
    line-height: 1.3;
    color: #002E5D;
    flex-shrink: 0;
    order: 3;
    margin-inline-start: auto;
}

.namaa-steps__title {
    font-size: 30px;
    font-weight: 400;
    line-height: 1.3;
    color: #002E5D;
    width: 280px;
    flex-shrink: 0;
    margin: 0;
    order: 1;
}

.namaa-steps__desc {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: #002E5D;
    max-width: 300px;
    margin: 0;
    order: 2;
}

/* Desktop: single fixed image area */
.namaa-steps__img-wrap {
    position: absolute;
    inset-inline-end: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 280px;
    height: 220px;
    border-radius: 16px;
    border: 4px solid #FFF;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.4s ease;
    z-index: 10;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.namaa-steps__item:nth-child(1).namaa-steps__item--active .namaa-steps__img-wrap { transform: translateY(-50%) rotate(-15deg); }
.namaa-steps__item:nth-child(2).namaa-steps__item--active .namaa-steps__img-wrap { transform: translateY(-50%) rotate(0deg); }
.namaa-steps__item:nth-child(3).namaa-steps__item--active .namaa-steps__img-wrap { transform: translateY(-50%) rotate(15deg); }
.namaa-steps__item:nth-child(4).namaa-steps__item--active .namaa-steps__img-wrap { transform: translateY(-50%) rotate(-10deg); }
.namaa-steps__item:nth-child(5).namaa-steps__item--active .namaa-steps__img-wrap { transform: translateY(-50%) rotate(-25deg); }
.namaa-steps__item:nth-child(6).namaa-steps__item--active .namaa-steps__img-wrap { transform: translateY(-50%) rotate(-40deg); }

.namaa-steps__item--active .namaa-steps__img-wrap {
    opacity: 1;
    pointer-events: auto;
}

.namaa-steps__img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

/* ── Steps Mobile ── */

@media (max-width: 1024px) {
    .namaa-steps__item {
        padding: 32px 0;
    }

    .namaa-steps__row {
        flex-wrap: wrap;
        gap: 0;
        padding: 0 16px;
    }

    .namaa-steps__number {
        font-size: 20px;
        margin-inline-start: 20px;
        line-height: 1.4;
        order: 1;
    }

    .namaa-steps__title {
        font-size: 24px;
        width: auto;
        flex: 1;
        line-height: 28px;
        order: 0;
    }

    .namaa-steps__desc {
        font-size: 16px;
        max-width: none;
        width: 100%;
        margin-top: 12px;
        line-height: 24px;
    }

    /* Mobile: image shows below description */
    .namaa-steps__img-wrap {
        position: relative;
        inset-inline-end: auto;
        bottom: auto;
        width: 100%;
        height: 220px;
        transform: none;
        border-radius: 16px;
        border: 4px solid #FFF;
        margin-top: 24px;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.35s ease, max-height 0.4s ease, margin-top 0.4s ease;
        box-shadow: none;
        pointer-events: auto;
    }

    .namaa-steps__item--active .namaa-steps__img-wrap,
    .namaa-steps__item:nth-child(1).namaa-steps__item--active .namaa-steps__img-wrap,
    .namaa-steps__item:nth-child(2).namaa-steps__item--active .namaa-steps__img-wrap,
    .namaa-steps__item:nth-child(3).namaa-steps__item--active .namaa-steps__img-wrap,
    .namaa-steps__item:nth-child(4).namaa-steps__item--active .namaa-steps__img-wrap,
    .namaa-steps__item:nth-child(5).namaa-steps__item--active .namaa-steps__img-wrap,
    .namaa-steps__item:nth-child(6).namaa-steps__item--active .namaa-steps__img-wrap {
        opacity: 1;
        max-height: 260px;
        transform: none;
    }

    .namaa-steps__item:not(.namaa-steps__item--active) .namaa-steps__img-wrap {
        margin-top: 0;
        max-height: 0;
        opacity: 0;
        display: none;
    }
}

/* ==========================================
   STAT BADGE
   ========================================== */

.namaa-stat-badge__top {
    display: flex;
    align-items: center;
}

.namaa-stat-badge__img {
    width: 50px;
    height: auto;
    flex-shrink: 0;
}

.namaa-stat-badge__number {
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    margin-inline-end: 6px;
}

.namaa-stat-badge__desc {
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 15px;
    font-weight: 350;
    line-height: 20px;
    margin: 2px 0 0;
}

/* ==========================================
   SHOWCASE (Video + Stats)
   ========================================== */

.namaa-showcase__content {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 32px;
}

/* ── Items ── */

.namaa-showcase__items {
    padding: 24px 0;
}

.namaa-showcase__item {
    padding: 20px 0;
    text-align: end;
}

.namaa-showcase__item:first-child {
    padding-top: 0;
    padding-bottom: 20px;
}

.namaa-showcase__item:nth-child(2) {
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(0, 46, 93, 0.1);
    border-bottom: 1px solid rgba(0, 46, 93, 0.1);
}

.namaa-showcase__item:last-child {
    padding-top: 20px;
    padding-bottom: 0;
}

.namaa-showcase__number {
    display: block;
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 2px;
}

.namaa-showcase__desc {
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 15px;
    font-weight: 325;
    line-height: 16px;
    margin: 0;
}

.namaa-showcase__stars {
    display: flex;
    padding: 2px 0;
    align-items: flex-start;
    gap: 2px;
    justify-content: flex-end;
}

.namaa-showcase__star {
    width: 12px;
    height: 12px;
}

/* ── Video ── */

.namaa-showcase__video-outer {
    padding: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(4px);
    flex-shrink: 0;
}

.namaa-showcase__video {
    position: relative;
    width: 320px;
    height: 240px;
    border-radius: 6px;
    overflow: hidden;
}

.namaa-showcase__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.namaa-showcase__video-el {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.namaa-showcase__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    width: 60px;
    height: 60px;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    background: rgba(0, 46, 93, 0.10);
    backdrop-filter: blur(6px);
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.namaa-showcase__play:hover {
    background: rgba(0, 46, 93, 0.20);
}

/* ── Showcase Mobile ── */

@media (max-width: 1024px) {
    .namaa-showcase__content {
        flex-direction: column-reverse;
        gap: 0;
    }

    .namaa-showcase__video-outer {
        display: flex;
        height: 240px;
        padding: 8px;
        flex-direction: column;
        align-items: center;
        align-self: stretch;
        aspect-ratio: 109/80;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.30);
        backdrop-filter: blur(4px);
        margin-bottom: 24px;
    }

    .namaa-showcase__video {
        width: 100%;
        height: 100%;
        border-radius: 6px;
    }

    .namaa-showcase__items {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        width: 100%;
    }

    .namaa-showcase__item {
        flex: 1;
        text-align: center;
        padding: 0;
        border-top: none;
        border-bottom: none;
    }

    .namaa-showcase__item:first-child,
    .namaa-showcase__item:last-child {
        padding: 0;
    }

    .namaa-showcase__item:nth-child(2) {
        padding: 0;
        border-top: none;
        border-bottom: none;
        border-inline-start: 1px solid rgba(0, 46, 93, 0.1);
        border-inline-end: 1px solid rgba(0, 46, 93, 0.1);
    }

    .namaa-showcase__stars {
        justify-content: center;
    }
}

/* ==========================================
   ARTICLES WIDGET
   ========================================== */

.namaa-articles__cards {
    display: flex;
    align-items: center;
    gap: 40px;
    align-self: stretch;
}

.namaa-articles__card {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    height: 500px;
}

.namaa-articles__img-wrap {
    overflow: hidden;
    border-radius: 12px;
}

.namaa-articles__img {
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.5s ease;
}

.namaa-articles__placeholder {
    width: 100%;
    background: #E3E8ED;
    border-radius: 12px;
}

.namaa-articles__title {
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 20px;
    font-weight: 325;
    line-height: 28px;
    margin: 0 0 10px;
}

.namaa-articles__date {
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 17px;
    font-weight: 325;
    line-height: 24px;
    opacity: 0.7;
}

/* --- ALL cards: default overlay style (like card 2) --- */

.namaa-articles__card .namaa-articles__img {
    height: 500px;
}

.namaa-articles__card .namaa-articles__placeholder {
    height: 500px;
}

.namaa-articles__card .namaa-articles__content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 2;
    padding: 32px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* --- Cards 1, 2 & 3: default = expanded layout (image + text below, transparent) --- */

.namaa-articles__card--1,
.namaa-articles__card--2,
.namaa-articles__card--3 {
    padding: 39px 0;
}

.namaa-articles__card--1 .namaa-articles__img,
.namaa-articles__card--2 .namaa-articles__img,
.namaa-articles__card--3 .namaa-articles__img {
    height: 300px;
}

.namaa-articles__card--1 .namaa-articles__placeholder,
.namaa-articles__card--2 .namaa-articles__placeholder,
.namaa-articles__card--3 .namaa-articles__placeholder {
    height: 300px;
}

.namaa-articles__card--1 .namaa-articles__content,
.namaa-articles__card--2 .namaa-articles__content,
.namaa-articles__card--3 .namaa-articles__content {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    padding: 32px 40px 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* --- Cards 1, 2 & 3: hover (.is-expanded) → overlay style --- */

.namaa-articles__card--1.is-expanded,
.namaa-articles__card--2.is-expanded,
.namaa-articles__card--3.is-expanded {
    padding: 0;
}

.namaa-articles__card--1.is-expanded .namaa-articles__img,
.namaa-articles__card--2.is-expanded .namaa-articles__img,
.namaa-articles__card--3.is-expanded .namaa-articles__img {
    height: 500px;
}

.namaa-articles__card--1.is-expanded .namaa-articles__placeholder,
.namaa-articles__card--2.is-expanded .namaa-articles__placeholder,
.namaa-articles__card--3.is-expanded .namaa-articles__placeholder {
    height: 500px;
}

.namaa-articles__card--1.is-expanded .namaa-articles__content,
.namaa-articles__card--2.is-expanded .namaa-articles__content,
.namaa-articles__card--3.is-expanded .namaa-articles__content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 2;
    padding: 32px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: namaa-articles-content-in 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* --- Hover animations --- */

@keyframes namaa-articles-content-in {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Articles Empty --- */

.namaa-articles__empty {
    text-align: center;
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 28px;
    padding: 60px 0;
}

/* --- Articles Mobile: all cards like card 2 --- */

@media (max-width: 1024px) {
    .namaa-articles__cards {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 40px;
        align-self: stretch;
    }

    .namaa-articles__card {
        width: 100%;
        height: auto;
        display: block;
        flex-direction: unset;
    }

    /* All cards: overlay style like card 2 */
    .namaa-articles__card--1,
    .namaa-articles__card--3 {
        padding: 0;
    }

    .namaa-articles__card .namaa-articles__img {
        height: 360px;
    }

    .namaa-articles__card .namaa-articles__placeholder {
        height: 360px;
    }

    .namaa-articles__card .namaa-articles__content {
        position: absolute;
        bottom: 10px;
        left: 10px;
        right: 10px;
        z-index: 2;
        padding: 20px;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    .namaa-articles__title {
        font-size: 18px;
        line-height: 24px;
    }
}

/* ==========================================
   HIGHLIGHTS WIDGET
   ========================================== */

.namaa-highlights__mobile {
    display: none;
}

/* ── Desktop Layout ── */

.namaa-highlights__desktop {
    display: flex;
    gap: 20px;
}

.namaa-highlights__featured,
.namaa-highlights__info {
    flex: 1;
    min-width: 0;
}

.namaa-highlights__info {
    padding-top: 20px;
}

/* ── Numbers ── */

.namaa-highlights__numbers {
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    margin-bottom: 88px;
}

.namaa-highlights__num-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1 0 0;
}

.namaa-highlights__num-value {
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 44px;
    font-weight: 325;
    line-height: 48px;
    margin: 0 0 2px;
}

.namaa-highlights__num-label {
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 16px;
    font-weight: 325;
    line-height: 20px;
    margin: 0;
    width: 40%;
    text-align: center;
}

/* Vertical divider (desktop) */
.namaa-highlights__num-sep {
    width: 1px;
    align-self: stretch;
    opacity: 0.1;
    background: #002E5D;
}

/* ── Tagline ── */

.namaa-highlights__tagline {
    color: #002E5D;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 17px;
    font-weight: 325;
    line-height: 24px;
    width: 37%;
    text-align: end;
    margin-inline-start: auto;
    margin-bottom: 24px;
}

/* ── Thumbnails ── */

.namaa-highlights__thumbs {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.namaa-highlights__thumb {
    width: 305px;
    height: 230px;
    border-radius: 12px;
    overflow: hidden;
    transition: opacity 0.4s ease;
}

.namaa-highlights__thumb--active {
    display: none;
}

.namaa-highlights__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* ── Featured / Active Slide ── */

.namaa-highlights__featured {
    position: relative;
}

.namaa-highlights__slide {
    display: none;
}

.namaa-highlights__slide--active {
    display: block;
    animation: namaa-highlights-fade 0.5s ease;
}

.namaa-highlights__featured img.namaa-highlights__slide-img {
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

.namaa-highlights__slide-desc {
    max-width: 464px;
    padding: 32px;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0 12px 60px -16px rgba(4, 10, 26, 0.15);
    color: #002E5D;
    text-align: start;
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 20px;
    font-weight: 325;
    line-height: 28px;
    margin: -83px auto 0;
    position: relative;
    z-index: 2;
}

@keyframes namaa-highlights-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Desktop Nav Arrows ── */

.namaa-highlights__nav {
    display: flex;
    gap: 12px;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 90%;
    inset-inline-start: 5%;
    transition: all 0.3s ease;
    opacity: 0;
}

.namaa-highlights__featured:hover .namaa-highlights__nav {
    opacity: 1;
}

.namaa-highlights__nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0, 46, 93, 0.15);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.namaa-highlights__nav-btn:hover {
    background: var(--e-global-color-accent) !important;
}

.namaa-highlights__nav-btn:hover svg path {
    stroke: #fff;
}

/* ── Highlights Mobile ── */

@media (max-width: 1024px) {
    .namaa-highlights__desktop {
        display: none;
    }

    .namaa-highlights__mobile {
        display: block;
    }

    /* Swiper */
    .namaa-highlights__swiper {
        position: relative;
        overflow: hidden;
    }

    .namaa-highlights__swiper .swiper-slide {
        height: auto;
    }

    .namaa-highlights__mob-img {
        width: 100%;
        height: 280px;
        object-fit: cover;
        border-radius: 12px;
        display: block;
    }

    .namaa-highlights__mob-desc {
        width: 300px;
        padding: 20px;
        border-radius: 12px;
        background: #FFF;
        box-shadow: 0 12px 60px -16px rgba(4, 10, 26, 0.15);
        color: #002E5D;
        text-align: start;
        font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
        font-size: 17px;
        font-weight: 325;
        line-height: 24px;
        margin: -50px auto 0;
        position: relative;
        z-index: 2;
    }

    /* Arrows */
    .namaa-highlights__arrows {
        display: flex;
        justify-content: center;
        gap: 16px;
        margin-top: 24px;
        flex-direction: row-reverse;
    }

    .namaa-highlights__arrow {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        border: 1px solid rgba(0, 46, 93, 0.15);
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .namaa-highlights__arrow:hover {
        background: rgba(0, 46, 93, 0.05);
    }

    /* Mobile Numbers */
    .namaa-highlights__numbers--mob {
        display: flex;
        padding: 0 16px;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 28px;
        align-self: stretch;
        margin: 60px 0 0;
    }

    .namaa-highlights__numbers--mob .namaa-highlights__num-item {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 20px;
        align-self: stretch;
    }

    .namaa-highlights__numbers--mob .namaa-highlights__num-value {
        font-size: 40px;
        line-height: 48px;
    }

    .namaa-highlights__numbers--mob .namaa-highlights__num-label {
        font-size: 16px;
        line-height: 20px;
    }

    /* Horizontal divider (mobile) */
    .namaa-highlights__numbers--mob .namaa-highlights__num-sep {
        width: 100%;
        height: 1px;
        align-self: auto;
    }

    /* Mobile tagline */
    .namaa-highlights__tagline--mob {
        width: auto;
        padding: 0 16px;
        margin: 28px 0 0;
        text-align: center;
    }
}

/* ============================================
   LTR OVERRIDES
   ============================================ */

/* --- Mobile menu: slide from left in LTR --- */
[dir="ltr"] .namaa-header__mobile {
    right: auto;
    left: -100%;
    transition: left 0.35s ease;
}

[dir="ltr"] .namaa-header__mobile.is-open {
    left: 0;
    right: auto;
}

/* --- flex-direction overrides (row-reverse → row in LTR) --- */

[dir="ltr"] .namaa-header__phone,
[dir="ltr"] .namaa-header__mobile-top,
[dir="ltr"] .namaa-header__mobile .namaa-header__phone {
    flex-direction: row;
}

[dir="ltr"] .namaa-btn {
    flex-direction: row;
}

[dir="ltr"] .namaa-team__card-link {
    flex-direction: row;
}

[dir="ltr"] .namaa-showcase__content {
    flex-direction: row;
}

[dir="ltr"] .namaa-highlights__nav {
    flex-direction: row;
}

@media (max-width: 1024px) {
    [dir="ltr"] .namaa-showcase__content {
        flex-direction: column-reverse;
    }

    [dir="ltr"] .namaa-highlights__arrows {
        flex-direction: row;
    }
}

/* ============================================
   TEXT MASK WIDGET
   ============================================ */

.namaa-text-mask {
    position: relative;
    overflow: hidden;
    text-align: center;
    line-height: 1;
}

.namaa-text-mask__text {
    font-family: 'Gotham', 'DIN Next Arabic', sans-serif;
    font-size: 240px;
    font-weight: 400;
    font-style: normal;
    line-height: normal;
    text-align: center;
    display: block;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    will-change: background-position;
    user-select: none;
    white-space: pre-line;
}

@media (max-width: 1024px) {
    .namaa-text-mask__text {
        font-size: 120px;
    }
}

@media (max-width: 600px) {
    .namaa-text-mask__text {
        font-size: 72px;
    }
}
