/* ==========================================================================
   GLOBAL VARIABLES & RESET
   ========================================================================== */
:root {
    /* Brand & Colors */
    --primary-green: #65BC47;
    --primary-green-hover: #52a843;
    --bg-gray: #f8f8f8;
    --text-dark: #181818;
    --text-sub: #7a7a7a;
    --text-body: #808080;
    --text-muted: #666666;
    --border-color: #f0f0f0;

    /* Typography & Dimensions */
    --font-family: 'Noto Sans', system-ui, -apple-system, sans-serif;
    --header-height: 80px;
    --container-max-width: 1140px;
    /* Default container width for all sections */
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

/* Cookie consent banner */
.cookie-consent-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 7vw, 96px);
    padding: 20px 7.5%;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
    color: #707070;
    font-size: 1rem;
    line-height: 1.8;
}

.cookie-consent-banner[hidden] {
    display: none;
}

.cookie-consent-banner p {
    margin-right: 10px;
    float: left;
    width: 75%;
    text-align: left;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 23px;
}

.cookie-consent-banner a {
    margin-left: 8px;
    color: #65a849;
    text-decoration: underline;
    white-space: nowrap;
}

.cookie-consent-button {
    padding: 12px 32px;
    border: 0;
    border-radius: 7px;
    background: #A3A3A3;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    width: 21%;
    float: right;
}

.cookie-consent-button:hover,
.cookie-consent-button:focus-visible {
    background: #181818;
}

@media (max-width: 700px) {
    .cookie-consent-banner {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
        font-size: 0.85rem;
        line-height: 1.55;
    }

    .cookie-consent-button {
        width: 100%;
        min-width: 0;
    }
}

/* Global Container Utility Class (1140px) */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;

    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -1px;
}

/* Common Green Button */
.btn-green {
    display: inline-block;
    background-color: var(--primary-green);
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 11px 44px;
    border-radius: 10px;
    transition: background-color 0.2s ease;
    border: none;
    cursor: pointer;

    /* 3. Anchors all buttons to the bottom baseline */
    margin-top: auto;
    flex-shrink: 0;
}

.btn-green:hover {
    background-color: var(--primary-green-hover);
    color: #ffffff;
}

.container .heading-type-1 {
    line-height: 42px;
    font-size: 30px;
    color: #181818;
    letter-spacing: -2.5px;
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

.row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 auto;
        width: 33.33333%;
    }
}

@media (min-width: 768px) {
    .col-md-8 {
        flex: 0 0 auto;
        width: 66.66667%;
    }
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}


/* ==========================================================================
   1. HEADER SECTION STYLES
   ========================================================================== */
.site-header {
    width: 100%;
    height: var(--header-height);
    background-color: #ffffff;
    top: 0;
    z-index: 1000;
}

.header-right-sec li {
    list-style: none;
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.header-logo img {
    height: 45px;
    width: auto;
    display: block;
}

/* Navigation Container */
.header-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-item .nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s ease;
    padding: 10px 0;
}

.nav-item .arrow {
    font-size: 15px;
    color: var(--text-dark);
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Hover State on Main Nav Links */
.nav-item:hover .nav-link {
    color: var(--primary-green);
    /* Turns green on hover */
}

.nav-item:hover .arrow {
    color: var(--primary-green);
    transform: rotate(180deg);
    /* Flips arrow upward ▴ */
}

/* Base Dropdown Menu Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 255px;
    transform: translateX(-50%) translateY(10px);
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1001;
}

/* Show Dropdown on Hover */
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* --- 1. Mega Menu Dropdown (Services) --- */
.mega-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 30px;
    width: max-content;
}

.mega-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 12px;
    transition: background-color 0.2s ease;
}

.mega-icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.mega-icon-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mega-label {
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 400;
    color: var(--text-dark);
    white-space: nowrap;
    transition: color 0.2s ease;
}

.mega-menu-item:hover .mega-label {
    color: var(--primary-green);
}

/* --- 2. List Dropdown Menu (Company & Contact Us) --- */
.list-menu {
    left: 0;
    transform: translateX(0) translateY(10px);
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    min-width: 200px;
}

.nav-item:hover .list-menu {
    transform: translateX(0) translateY(0);
}

.dropdown-link {
    font-family: var(--font-family);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    padding: 10px 24px;
    transition: color 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
}

.dropdown-link:hover {
    color: var(--primary-green);

}

/* Right Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.login-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.login-link:hover {
    color: var(--primary-green);
}

.right-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lang-selector {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-family: var(--font-family);
    font-size: 0.9rem;
    padding: 0;
}

.lang-selector:hover {
    color: var(--primary-green);
}

.globe-icon {
    stroke: var(--text-muted);
}

.prices-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.78rem;
    transition: color 0.2s ease;
}

.prices-link:hover {
    color: var(--primary-green);
}

.mobile-menu-btn {
    display: none;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: var(--primary-green);
}

/* ==========================================================================
   2. PERSONAL FINANCE MAIN BANNER STYLES
   ========================================================================== */
.Personal-finance-banner {
    background-color: #f3f3f3;
    padding: 30px 0;
}

.personal-finance-banner-top {
    background-color: #65bc47;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
}

.personal-finance-banner-top .banner-text {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
}

.personal-finance-banner-top .banner-text h1 {
    font-size: 38px;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -2px;
    max-width: 100%;
    margin: 0;
}

.personal-finance-banner-top .banner-text p {
    font-size: 17px;
    line-height: 26px;
    color: #fff;
    font-weight: 400;
    max-width: 100%;
    margin: 30px 0;
}

.personal-finance-banner-top img {
    height: 303px;
    padding-right: 30px;
}

.personal-finance-banner-top img.r_cur_white.desk_symb {
    margin-left: 5px;
}

html .r_cur_white {
    width: auto !important;
    height: 13px !important;
    margin-bottom: 0 !important;
    margin-right: 3px;
    padding-right: 0 !important;
}

html .r_cur {
    width: 13px !important;
    height: 13px !important;
    margin-bottom: 0 !important;
    margin-right: 3px;
    margin-top: 0 !important;
}

.ten_th {
    padding-right: 0px !important;
    margin-right: 0px !important;
}

html img.r_cur.mob_sym {
    display: none;
}

.link-type-5 {
    background-color: #fff;
    border: 1px solid #fff;
    color: #1e1e1e !important;
    width: 162px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    text-decoration: none;
    text-align: center;
    justify-content: center;
    font-size: 15px;
    line-height: normal;
    font-weight: 700;
    flex-direction: column;
    transition: all .3s ease-in-out;
}

.personal-finance-banner-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 65px;
}

.personal-finance-banner-bottom a {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.personal-finance-banner-bottom a img {
    width: 24px;
}

.personal-finance-banner-bottom a h3 {
    font-size: 20px;
    line-height: 30px;
    letter-spacing: -1.5px;
    font-weight: 700;
    color: #1e1e1e;
    margin-left: 18px;
    max-width: 78%;
}

/* ==========================================================================
   3. START USING TODAY SECTION STYLES
   ========================================================================== */
.start-using-today-sec {
    padding: 60px 0;
}

.start-using-title {
    text-align: center;
}

.start-using-title .para-type-1 {
    max-width: 35%;
    margin: auto;
}

.para-type-1 {
    font-weight: 450;
    color: gray;
}

.personal-finance-timeline {
    display: block;
    width: 100%;
    margin-top: 40px;
}

.mobile-time-line-dots {
    display: none;
}

.timeline {
    padding-left: 0;
}

.timeline li {
    list-style: none;
    float: left;
    width: 33.3333%;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.timeline-btn {
    background: #fff;
    padding: 0 22px;
}

.timeline li span {
    width: 139px;
    height: 45px;
    border-radius: 10px;
    background-color: #f3f3f3;
    font-weight: 700;
    font-size: 20px;
    line-height: normal;
    text-align: center;
    display: flex;
    color: #64bb47;
    align-items: center;
    justify-content: center;
}

.timeline .timeline-btn:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.2);
    top: 25px;
    left: 265px;
    z-index: -999;
    transition: all ease-in-out .3s;
}

.timeline .last-timeline-btn:after {
    display: none
}

.timeline-text {
    margin-top: 10px;
    width: 100%;
}

.timeline-text h3 {
    font-size: 25px;
    line-height: 35px;
    font-weight: 700;
    color: #414141;
    text-align: center;
}

.timeline-text p {
    font-size: 15px;
    line-height: 25px;
    color: gray;
    font-weight: 400;
    text-align: center;
    margin: auto;
    min-height: 100px;
}

.container .personal-finance-timeline .time-line-btn {
    text-align: center;
}

.personal-finance-timeline .time-line-btn {
    width: fit-content;
    padding: 16px 40px;
    font-size: 15px;
    line-height: 16px;
    color: #fff;
    text-decoration: none;
    margin: auto;
    background-color: #64bb47;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-direction: column;
    border-radius: 10px;
}

.personal-finance-timeline a {
    position: relative;
    top: 40px;
}

.condition-tag {
    text-align: center;
    position: relative;
    top: 40px;
    font-size: 12px;
}

.para-type-2 {
    line-height: 25px;
    color: #181818;
}

@media (min-width: 1200px) {
    .container .start-using-title .para-type-1 {
        max-width: 40%;
        font-size: 15px;
        line-height: 25px;
    }

    .timeline .timeline-text p {
        max-width: 85%;
    }
}

/* ==========================================================================
   4. CRITERIA SECTION STYLES
   ========================================================================== */
.criteria-sec-main {
    margin-top: 60px;
    margin-bottom: 80px;
}

.criteria-inner {
    background-color: #f3f3f3;
    border-radius: 20px;
    padding: 40px;
    position: relative;
}

@media (min-width: 1200px) {
    .criteria-inner {
        overflow: hidden;
    }
}

.criteria-inner h2 {
    margin-bottom: 16px;
}

.criteria-box-sec {
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    min-height: 146px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .col-md-3 {
        flex: 0 0 auto;
        width: 25%;
    }
}

.criteria-inner span {
    color: #A3A3A3;
}

.criteria-box-sec span {
    font-size: 17px;
    line-height: 19px;
    font-weight: 600;
    color: rgba(24, 24, 24, 0.5);
}

.criteria-box-sec h3 {
    font-size: 14px;
    font-weight: 500 !important;
    line-height: 23px;
    padding-top: 5px;
    color: #181818;
    font-family: 'Noto Sans';
    letter-spacing: 0;
}

@media (min-width: 1200px) {
    .container .para-type-1 {
        font-size: 14px;
        line-height: 25px;
        font-weight: 450;
        color: gray;
    }
}

@media (min-width: 1200px) {
    .row .criteria-img-sec {
        display: block;
        position: relative;
    }
}

.criteria-img-sec {
    right: 0;
    height: 100%;
    top: 0;
}

@media (min-width: 1200px) {
    .row .criteria-img-sec .desktop-img {
        width: 72%;
        position: absolute;
        top: -42px;
        right: -42px;
    }
}

.desktop-img {
    display: block;
}

.mobile-img,
.mobile-btn {
    display: none;
}

/* ==========================================================================
   5. CUSTOMER TESTIMONIALS SECTION STYLES
   ========================================================================== */
.testimonials-section {
    background-color: var(--bg-gray);
    /* #f8f8f8 */
    padding: 70px 0 90px;
    width: 100%;
}

.testimonials-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.testimonials-title {
    font-family: var(--font-family);
    font-size: 30px;
    font-weight: 650;
    color: var(--text-dark);
    letter-spacing: -2.5px;
}

/* Arrows */
.carousel-arrows {
    display: flex;
    align-items: center;
    gap: 12px;
}

.arrow-btn {
    width: 38px;
    height: 38px;
    border-radius: 15%;
    border: 1px solid #e2e2e2;
    background-color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.arrow-btn:hover {
    border-color: #cccccc;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.arrow-btn img {
    width: 8px;
    height: 12px;
}

/* Carousel Track Container */
.testimonials-carousel-wrapper {
    overflow: hidden;
    width: 100%;
}

.testimonials-track {
    display: flex;
    gap: 25px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Testimonial Pair (1 Video Card + 1 Text Card side-by-side) */
.testimonial-pair {
    display: flex;
    gap: 18px;
    flex: 0 0 calc(50% - 12.5px);
    /* Exactly 2 pairs visible on desktop */
    min-width: 0;
}

/* Video Card Left */
.testimonial-video-card {
    position: relative;
    width: 48%;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.testimonial-video-card iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

.video-thumb {
    width: 100%;
    height: 130%;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    cursor: pointer;
    width: 58px;
    height: 58px;
    padding: 0;
    transition: transform 0.2s ease;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.08);
}

.play-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Text Card Right */
.testimonial-text-card {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 20px;
    padding: 30px 25px;
    width: 52%;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.twitter-handle {
    font-family: var(--font-family);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.arabic-quote {
    font-family: var(--font-family);
    font-size: 0.92rem;
    color: #666666;
    line-height: 1.65;
    text-align: left;
}

.twitter-icon {
    margin-top: 50px;
    display: flex;
    justify-content: flex-start;
}

.twitter-link {
    display: inline-block;
    text-decoration: none;
    width: fit-content;
}

.twitter-link:hover svg {
    fill: #4DAE3D;
    transition: fill 0.2s ease;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .testimonial-pair {
        flex: 0 0 100%;
        /* Single pair on mobile */
    }
}

@media (max-width: 600px) {
    .testimonial-pair {
        flex-direction: column;
    }

    .testimonial-video-card,
    .testimonial-text-card {
        width: 100%;
        height: 280px;
    }
}

/* ==========================================================================
   6. LIFE SITUATION SECTION STYLES
   ========================================================================== */
.life-situation-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    width: 100%;
}

.life-situation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
}

.life-situation-title {
    font-family: var(--font-family);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1.5px;
}

.life-situation-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.life-situation-card a {
    position: relative;
    font-size: 19px;
    line-height: 26px;
    color: #181818;
    max-width: 100%;
    margin-top: 16px;
    margin-left: 15px;
    font-weight: 500;
    transition: all .3s ease-in-out;
    text-decoration: none;
    display: block;
}

/* Life Situation Grid Layout */
.life-situation-carousel-wrapper {
    overflow: hidden;
    width: 100%;
}

/* Life Situation Grid / Carousel Track */
.life-situation-grid {
    display: flex;
    /* Changed from display: grid to allow infinite horizontal cards */
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Life Situation Card Box */
.life-situation-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    flex: 0 0 calc(25% - 15px);
    /* Forces exactly 4 cards per view window */
    min-width: 0;
}

.life-situation-card img {
    border-radius: 25px;
}

.life-situation-card a {
    position: relative;
    font-size: 19px;
    line-height: 26px;
    color: #181818;
    max-width: 100%;
    margin-top: 16px;
    margin-left: 15px;
    font-weight: 500;
    transition: all .3s ease-in-out;
    text-decoration: none;
    display: block;
}

.life-situation-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.btn-white {
    background-color: #ffffff;
    color: #666666;
    text-decoration: none;
    font-family: var(--font-family);
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
    border: none;
}

.btn-white:hover {
    background-color: #f0f0f0;
    color: var(--text-dark);
}

/* life Situation Text Below Image */
.life-situation-title {
    font-family: var(--font-family);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    transition: color 0.2s ease;
    letter-spacing: -0.3px;
}

.life-situation-card:hover .life-situation-title {
    color: var(--primary-green);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .life-situation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .life-situation-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   7. FAQS MAIN SECTION STYLES
   ========================================================================== */
.faq-sec-main {
    padding: 80px 0;
}

.accordion {
    --bs-accordion-color: var(--bs-body-color);
    --bs-accordion-bg: var(--bs-body-bg);
    --bs-accordion-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;
    --bs-accordion-border-color: var(--bs-border-color);
    --bs-accordion-border-width: var(--bs-border-width);
    --bs-accordion-border-radius: var(--bs-border-radius);
    --bs-accordion-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));
    --bs-accordion-btn-padding-x: 1.25rem;
    --bs-accordion-btn-padding-y: 1rem;
    --bs-accordion-btn-color: var(--bs-body-color);
    --bs-accordion-btn-bg: var(--bs-accordion-bg);
    --bs-accordion-btn-icon: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e);
    --bs-accordion-btn-icon-width: 1.25rem;
    --bs-accordion-btn-icon-transform: rotate(-180deg);
    --bs-accordion-btn-icon-transition: transform .2s ease-in-out;
    --bs-accordion-btn-active-icon: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23052c65'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e);
    --bs-accordion-btn-focus-border-color: #86b7fe;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(13, 110, 253, 0.25);
    --bs-accordion-body-padding-x: 1.25rem;
    --bs-accordion-body-padding-y: 1rem;
    --bs-accordion-active-color: var(--bs-primary-text-emphasis);
    --bs-accordion-active-bg: var(--bs-primary-bg-subtle);
}

.accordion-collapse {
    display: none;
}

.accordion-collapse.show {
    display: block;
}

.accordion-item {
    border: 0;
    border-bottom: 1px solid #bebebe;
    padding: 30px 0 30px 0;
    color: var(--bs-accordion-color);
    background-color: var(--bs-accordion-bg);
}

.accordion-header {
    margin-bottom: 0;
}

button:not(:disabled),
[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled) {
    cursor: pointer;
}

.accordion-button {
    font-size: 18.5px;
    line-height: 30px;
    font-weight: 550;
    color: #181818;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    background-color: var(--bs-accordion-btn-bg);
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: var(--bs-accordion-transition);
}

.accordion-button:not(.collapsed) {
    color: #181818;
    border: 0;
    background-color: transparent;
    box-shadow: none;
}

.accordion-button::after {
    background-image: url(images/plus-icon.svg);
    background-size: 24px;
    flex-shrink: 0;
    width: var(--bs-accordion-btn-icon-width);
    height: var(--bs-accordion-btn-icon-width);
    margin-left: auto;
    content: "";
    background-repeat: no-repeat;
    transition: var(--bs-accordion-btn-icon-transition);
}

.accordion-button:not(.collapsed)::after {
    background-image: url(images/faq-close-icon.svg);
    background-size: 12px;
    background-position: center;
    transform: var(--bs-accordion-btn-icon-transform);
    flex-shrink: 0;
    width: var(--bs-accordion-btn-icon-width);
    height: var(--bs-accordion-btn-icon-width);
    margin-left: auto;
    content: "";
    background-repeat: no-repeat;
    transition: var(--bs-accordion-btn-icon-transition);
}

.accordion-body {
    font-size: 15px;
    color: gray;
    line-height: 24px;
    padding: 10px 0;
}

.accordion-body p {
    margin-bottom: 0;
}

.here-to-help-sec {
    border: 1px solid #bebebe;
    padding: 40px;
    border-radius: 20px;
    margin-left: 100px;
}

.here-to-help-sec h2 {
    font-size: 25px;
    line-height: 32px;
    color: #181818;
    padding-bottom: 8px;
}

.here-to-help-sec p {
    font-size: 14px;
    line-height: 21px;
    color: gray;
    max-width: 75%;
}

.help-links {
    margin-top: 30px;
}

.here-to-help-sec a {
    display: flex;
    text-decoration: none;
    margin-bottom: 10px;
}

.here-to-help-sec a img {
    width: 13px;
    height: 100%;
    margin-right: 10px;
}

.here-to-help-sec a .hover-icon {
    display: none;
}

.here-to-help-sec a p {
    font-size: 16px;
    line-height: 17px;
    color: #bebebe;
    font-weight: 700;
    transition: all .3s ease-in-out;
}

.here-to-help-sec a:hover i,
.here-to-help-sec a:hover p {
    color: #65bc47;
}

.here-to-help-sec a:hover img:first-child {
    display: none;
}

.here-to-help-sec a:hover .hover-icon {
    display: block;
}

/* ==========================================================================
   6. APP BANNER & SUPPORT SECTION STYLES
   ========================================================================== */
.app-support-section {
    background-color: #ffffff;
    padding: 60px 0 80px;
    width: 100%;
}

.app-support-grid {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 25px;
    align-items: stretch;
    margin-bottom: 60px;
}

/* Left Green Promo Card with Perfect Image Fitting */
.app-promo-card {
    background-color: var(--primary-green);
    background-image: url("../images/home-refer-bg-desktop.png");
    background-repeat: no-repeat;
    background-position: 0 bottom;
    background-size: cover;
    border-radius: 20px;
    padding: 40px 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 310px;
}

.app-promo-content {
    max-width: 340px;
    /* Widened slightly to match 3-line title layout */
    padding-bottom: 0;
}

.app-promo-title {
    font-family: var(--font-family);
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 22px;
    letter-spacing: -1px;
}

/* QR Code Box */
.qr-code-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.qr-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: transparent;
    border-radius: 6px;
}

.qr-text {
    font-family: var(--font-family);
    font-size: 0.8rem;
    color: #ffffff;
    font-weight: 500;
}

/* Right Side Stacked Cards */
.support-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.support-card {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    height: 145px;
}

.support-icon-box {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.support-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.support-title {
    font-family: var(--font-family);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.support-subtitle {
    font-family: var(--font-family);
    font-size: 0.9rem;
    color: #888888;
}

/* Social Media Row */
.social-icons-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.social-link:hover {
    opacity: 0.7;
}

/* Bottom Button */
.data-request-action {
    margin-top: 10px;
}

/* Section Responsive */
@media (max-width: 992px) {
    .app-support-grid {
        grid-template-columns: 1fr;
    }

    .app-promo-card {
        padding: 30px 25px;
        background-size: cover;
    }
}

@media (max-width: 576px) {
    .app-promo-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   7. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 900px) {

    /* Header Responsive */
    .header-nav,
    .header-actions {
        display: none;
    }

    .nav-item {
        display: block;
    }

    .mega-menu {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
        z-index: 1002;
    }

    .mobile-menu-btn span {
        width: 22px;
        height: 2px;
        background-color: var(--text-dark);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Mobile Drawer Overlay */
    .mobile-menu-drawer {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: #ffffff;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        padding: 30px 25px;
        display: flex;
        flex-direction: column;
        gap: 25px;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }

    .mobile-menu-drawer.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-menu-drawer .header-nav {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        height: auto;
    }

    .mobile-menu-drawer .header-actions {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding-top: 20px;
        border-top: 1px solid #f0f0f0;
    }

    .mobile-menu-drawer .dropdown-menu {
        position: static;
        transform: none !important;
        box-shadow: none;
        border: none;
        padding: 10px 0 0 0px;
        opacity: 1;
        visibility: visible;
    }

    /* Prevent body scroll when mobile menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* 2. Container & Layout Reset */
    .container {
        padding: 0 16px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .Personal-finance-banner {
        background-color: #f3f3f3;
        padding: 40px 0 0 0;
    }

    .personal-finance-banner-top {
        padding: 0;
        flex-direction: column-reverse;
        background-color: #fff;
    }

    .personal-finance-banner-top .banner-text {
        padding: 24px 17px;
    }

    .personal-finance-banner-top .banner-text h1 {
        max-width: 100%;
        line-height: 1.3;
        font-family: Noto Sans;
        font-weight: 500;
        color: #181818;
        font-size: 30px;
    }

    .personal-finance-banner-top .banner-text p {
        color: gray;
        max-width: 90%;
    }

    img.r_cur_white.desk_symb {
        display: none;
    }

    html img.r_cur.mob_sym {
        background: none;
        height: 13px;
        width: 13px;
        padding: 0;
        display: inline;
        margin-left: 5px;
    }

    .banner-text a {
        background-color: #65bc47;
        color: #fff !important;
        width: 100%;
    }

    .personal-finance-banner-top img {
        width: 100%;
        background-color: #65bc47;
        padding: 15px 65px 0 65px;
        border-radius: 20px 20px 0 0;
        height: auto;
        padding-bottom: 20px;
    }

    .personal-finance-banner-bottom {
        align-items: center;
        flex-wrap: wrap;
        margin-top: 0;
        padding: 40px 0 0 0;
    }

    .personal-finance-banner-bottom a {
        display: flex;
        text-align: left;
        margin-bottom: 25px;
    }

    .start-using-today-sec {
        padding: 40px 0;
    }

    .start-using-title {
        text-align: left;
        margin-bottom: 32px;
    }

    .container .heading-type-1 {
        font-size: 25px;
        letter-spacing: -1px;
    }

    .start-using-title .para-type-1 {
        text-align: left;
        max-width: 100%;
    }

    .container .para-type-1 {
        font-size: 13px;
        line-height: 1.7;
        font-weight: 400;
    }

    .personal-finance-timeline {
        display: flex;
    }

    .mobile-time-line-dots {
        display: block;
    }

    .timeline {
        padding-left: 17px;
    }

    .timeline li {
        margin-bottom: 70px;
        margin-top: -8px;
        width: 100%;
        justify-content: flex-start;
    }

    .timeline-btn {
        padding: 0;
    }

    .timeline li span {
        height: 48px;
        width: 115px;
    }

    .timeline-text {
        margin-top: 6px;
    }

    .timeline-text h3 {
        text-align: left;
        margin-bottom: 0;
    }

    .timeline-text p {
        text-align: left;
        margin: inherit;
        max-width: 100%;
        min-height: 100%;
    }

    .personal-finance-timeline .time-line-btn {
        margin-top: 60px;
        width: 110%;
        margin-left: -30px;
    }

    .personal-finance-timeline a {
        top: 60px;
    }

    .condition-tag {
        top: 65px;
    }

    html .personal-finance-timeline li:nth-child(3) {
        margin-bottom: 0;
    }

    .criteria-sec-main {
        background-color: transparent;
    }

    .criteria-inner {
        padding: 32px 30px 0 30px;
    }

    .criteria-box-sec {
        padding: 20px 20px;
        min-height: fit-content;
        margin-bottom: 10px;
    }

    .criteria-box-sec span {
        margin-bottom: 5px;
        display: block;
    }

    .criteria-box-sec h3 {
        font-size: 14px;
        margin-bottom: 0;
    }

    .criteria-img-sec {
        position: relative;
        padding-top: 45px;
    }

    .criteria-img-sec img {
        width: 100%;
    }

    .desktop-img,
    .desktop-btn {
        display: none;
    }

    .mobile-img,
    .mobile-btn {
        display: block;
    }

    .timeline .timeline-btn:after {
        display: none;
    }

    .testimonials-section {
        padding-bottom: 0;
    }

    .life-situation-card {
        flex: 0 0 100% !important;
    }

    .testimonials-title {
        font-size: 25px;
    }

    .here-to-help-sec {
        margin-top: 30px;
        margin-left: auto;
    }

    .here-to-help-sec p {
        max-width: 100%;
    }

    .app-promo-title {
        font-size: 1.35rem !important;
    }

    .app-promo-card {
        padding: 30px 20px !important;
        background-size: cover;
        min-height: auto !important;
    }

    .footer-top-bar,
    .footer-bottom-legal {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 20px;
    }

    .footer-regulation-text p {
        width: 100% !important;
    }

    .footer-middle-grid {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        gap: 25px !important;
    }

    .awards-badges-row {
        justify-content: flex-start !important;
    }

}

/* ==========================================================================
   8. FOOTER SECTION STYLES (MATCHING ORIGINAL DESIGN)
   ========================================================================== */
.site-footer {
    background-color: #ffffff;
    padding: 0px 0 40px;
    width: 100%;

}

/* Footer Top Bar */
.footer-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 45px;
}

.footer-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    max-width: 100%;
}

.footer-regulation-text p {
    font-family: var(--font-family);
    font-size: 0.82rem;
    color: #666666;
    line-height: 1.4;
    text-decoration: underline;
    /* Matching subtle link style */
}

.footer-regulation-text p {
    width: 66%;
    font-size: 11px;
}

.footer-lang-pill {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
}

.footer-lang-btn {
    background: transparent;
    border: none;
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 400;
    padding: 15px 22px;
    border-radius: 25px 0px 0 25px;
    cursor: pointer;
    color: #181818;
    transition: all 0.2s ease;
    width: 82px;
}

.footer-lang-btn.active {
    background-color: var(--primary-green);
    color: #ffffff;
    font-weight: 400;
}

/* Footer Middle Navigation Grid */
.footer-middle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.3fr;
    gap: 30px;
    margin-bottom: 60px;
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-col li {
    margin-bottom: 10px;
}

.footer-nav-col a {
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 400;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav-col a:hover {
    color: var(--primary-green);
}

/* Awards & Certification Badges Row */
.awards-badges-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.award-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.gptw-badge {
    height: 50px;
}

/* Footer Bottom Legal Section */
.footer-bottom-legal {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    padding-top: 10px;
}

.legal-text-content {
    max-width: 820px;
}

.legal-description {
    font-family: var(--font-family);
    font-size: 0.76rem;
    color: #b0b0b0;
    line-height: 1.65;
    margin-bottom: 16px;
}

.legal-copyright {
    font-family: var(--font-family);
    font-size: 0.78rem;
    color: #b0b0b0;
}

.legal-copyright a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-copyright a:hover {
    color: var(--text-dark);
}

/* Sharia Compliant Badge */
.sharia-img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

/* ==========================================================================
   MOBILE RESPONSIVE FOOTER STYLES (MATCHING TARGET SCREENSHOT)
   ========================================================================== */

@media (max-width: 768px) {

    .site-footer {
        padding: 40px 15px 35px !important;
        background-color: #ffffff;
    }

    /* 1. Header Top Bar: Logo & Lang Toggle side-by-side, Text full width below */
    .footer-top-bar {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 15px 0 !important;
        padding-bottom: 0 !important;
        margin-bottom: 30px !important;
    }

    .footer-logo-box {
        flex: 1 1 auto;
    }

    .footer-logo-img {
        height: 38px !important;
        width: auto !important;
        display: block;
    }

    /* EN / عربى Toggle Pill on top-right */
    .footer-lang-pill {
        display: inline-flex !important;
        align-items: center;
        background-color: #ffffff;
        border: 1px solid #e0e0e0 !important;
        border-radius: 25px !important;
        padding: 3px !important;
        margin: 0 !important;
        flex-shrink: 0;
    }

    .footer-lang-btn {
        font-size: 0.85rem !important;
        font-weight: 500;
        padding: 6px 18px !important;
        border-radius: 20px !important;
        border: none;
    }

    .footer-lang-btn.active {
        background-color: var(--primary-green) !important;
        color: #ffffff !important;
        font-weight: 700;
    }

    /* Regulation Text full-width underneath */
    .footer-regulation-text {
        width: 100% !important;
        order: 3;
        margin-top: 2px;
    }

    .footer-regulation-text p {
        width: 100% !important;
        font-size: 11.5px !important;
        line-height: 1.45 !important;
        color: #555555 !important;
        text-decoration: underline !important;
        margin: 0 !important;
    }

    /* 2. Middle Grid: Links & Awards Full Width Stacked */
    .footer-middle-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        margin-bottom: 35px !important;
    }

    /* 3-Column Horizontal Links Layout */
    .footer-nav-col {
        width: 100%;
    }

    .footer-middle-grid.footer-menu {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px 15px !important;
    }

    .footer-nav-col ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .footer-nav-col li {
        margin-bottom: 12px !important;
    }

    .footer-nav-col a {
        font-size: 12px !important;
        line-height: 1.35 !important;
        color: #181818 !important;
        font-weight: 500;
        text-decoration: none;
        display: block;
    }

    /* 3. Awards Row: Full Width Horizontal Row (5 in one row) */
    .footer-awards-col {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        margin-top: 15px;
    }

    .awards-badges-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .award-img {
        height: 38px !important;
        max-width: 18% !important;
        width: auto !important;
        object-fit: contain !important;
    }

    .gptw-badge {
        height: 44px !important;
    }

    /* 4. Bottom Legal Section: Full Width Text, No Sharia Image */
    .footer-bottom-legal {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
        padding-top: 0 !important;
        border-top: none !important;
    }

    .legal-text-content {
        max-width: 100% !important;
    }

    .legal-description {
        font-size: 11px !important;
        line-height: 1.6 !important;
        color: #8c8c8c !important;
        margin-bottom: 15px !important;
    }

    .legal-copyright {
        font-size: 11px !important;
        line-height: 1.6 !important;
        color: #8c8c8c !important;
    }

    .legal-copyright a {
        color: #8c8c8c !important;
        text-decoration: underline !important;
        display: inline;
    }

    /* Hide Sharia badge on mobile to match reference */
    .sharia-badge-box {
        display: none !important;
    }
}