/* 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', 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', 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%;
    right: 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', 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', 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', 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;
}

/* --- 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', sans-serif;
    font-size: 22px;
    font-weight: 325;
    line-height: 32px;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    text-align: right;
}

.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', 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', 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', 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', 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', 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', 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', 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: right;
    color: #002E5D;
    gap: 16px;
}

.namaa-faq__question-text {
    flex: 1;
    font-family: 'Gotham', 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-left: 20px;
    font-family: 'Gotham', 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', 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', 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: right;
    margin-inline-start: 96px;
}

.namaa-blog__post-title {
    color: #002E5D;
    font-family: 'Gotham', 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', 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', 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', 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 {
        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-left: 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', sans-serif;
    font-size: 56px;
    font-weight: 325;
    line-height: 60px;
    text-align: right;
    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', 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', sans-serif;
    font-size: 24px;
    font-weight: 350;
    line-height: 32px;
    margin: 0;
}

.namaa-team__card-job {
    color: #002E5D;
    font-family: 'Gotham', 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', 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;
    }
}
