/* ==========================================================================
   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';
    --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-left: 10px;
    float: right;
    width: 75%;
    text-align: right;
    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: left;
}

.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: 20px;
    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;
}

/* ==========================================================================
   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: 44px;
    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: 17px;
    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: -145px;
    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: 17px;
    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: 17px;
    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: 17px;
    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. CREDIT CARDS HERO SECTION STYLES
   ========================================================================== */
.cc-hero-section {
    background-color: #ffffff;
    padding: 60px 0 80px;
    width: 100%;
}

.riyal-icon {
    display: inline-block;
    height: 14px;
    /* Matches line height of surrounding text */
    width: auto;
    vertical-align: middle;
    margin: 0 2px;
}

.cc-hero-container {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr;
    gap: 40px;
    align-items: center;
}

/* Title */
.cc-hero-title {
    font-family: var(--font-family);
    font-size: 28px;
    font-weight: 650;
    color: var(--text-dark);
    line-height: 1.25;
    letter-spacing: -1.8px;
    margin-bottom: 45px;
    max-width: 520px;
}

/* 2x2 Feature Grid */
.cc-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 30px;
    margin-bottom: 45px;
    max-width: 560px;
}

.cc-feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cc-feature-icon-box {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

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

.cc-feature-text {
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.45;
}

/* Feature 4: Highlighted Box Style */
.cc-feature-card.cc-feature-highlight {
    background-color: #eaf5e7;
    /* Light soft green tint */
    border-radius: 16px;
    padding: 20px 22px;
}

.highlight-main {
    font-weight: 700;
    margin-bottom: 3px;
}

.highlight-sub {
    font-family: var(--font-family);
    font-size: 0.82rem;
    color: #666666;
    font-weight: 500;
}

.cc-hero-action {
    margin-top: 10px;
}

/* Right Side Cards Composite Visual */
.cc-hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.cc-hero-img {
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
}

.cc-feature-highlight .cc-feature-icon-box img {
    width: 30px;
}

.cc-feature-highlight .cc-feature-icon-box {
    margin-bottom: 0;
}

.cc-feature-card.cc-feature-highlight {
    background-color: #eaf5e7;
    border-radius: 16px;
    padding: 10px 22px 20px 22px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .cc-hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .cc-hero-visual {
        justify-content: center;
    }

    .cc-hero-title {
        font-size: 2.1rem;
    }
}

@media (max-width: 576px) {
    .cc-features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* ==========================================================================
   3. BEST CREDIT CARD IN SAUDI ARABIA SECTION STYLES
   ========================================================================== */
.card-comparison-section {
    background-color: #ffffff;
    padding: 70px 0 90px;
    width: 100%;
}

.section-heading {
    font-family: var(--font-family);
    font-size: 28px;
    font-weight: 650;
    color: var(--text-dark);
    margin-bottom: 45px;
}

.text-center {
    text-align: center;
}

/* 2-Column Grid Layout */
.card-comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: stretch;
}

/* Card Container */
.card-benefit-box {
    background-color: #f8f8f8;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-banner-wrapper {
    width: 100%;
    overflow: hidden;
}

.card-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Card Inner Body */
.card-benefit-body {
    padding: 35px 35px 40px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-benefit-title {
    font-family: var(--font-family);
    font-size: 28px;
    font-weight: 650px;
    color: var(--text-dark);

}

.card-benefit-subtitle {
    font-family: var(--font-family);
    font-size: 17px;
    line-height: 25px;
    color: var(--text-dark);
    margin-bottom: 25px;
    margin-top: 10px;
}

/* Benefit List */
.benefit-list {
    list-style: none;
    padding: 0;
    margin: 35px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    /* Pushes action buttons to the bottom baseline */
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-family);
    font-size: 17px;
    line-height: 25px;
    color: var(--text-dark);
}

.list-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

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

/* Action Buttons Area */
.card-benefit-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Outline White/Gray Button for "Learn more" */
.btn-outline-white {
    display: inline-block;
    background-color: #ffffff;
    color: #888888;
    text-decoration: none;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 11px 36px;
    border-radius: 10px;
    border: 1px solid #e2e2e2;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-outline-white:hover {
    border-color: #cccccc;
    color: var(--text-dark);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .card-comparison-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .card-benefit-body {
        padding: 25px 20px 30px;
    }

    .card-benefit-actions {
        flex-direction: column;
        width: 100%;
    }

    .card-benefit-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   4. UNLIMITED OFFERS WITH FAVORITE BRANDS SECTION STYLES
   ========================================================================== */
/* ==========================================================================
   OFFERS HEADER & NAVIGATION BAR STYLES
   ========================================================================== */
.offers-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
    width: 100%;
}

.offers-title {
    font-family: var(--font-family);
    font-size: 28px;
    font-weight: 650;
    color: var(--text-dark);
    margin: 0;
}

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

/* Styled Pill Button */
.btn-pill-light {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 10px;
    border: 1px solid #e2e2e2;
    background-color: #ffffff;
    color: #666666;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-pill-light:hover {
    border-color: #cccccc;
    color: var(--text-dark);
}

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

.arrow-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    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);
}

/* ==========================================================================
   BRAND CARDS & LOGO CLEANUP
   ========================================================================== */
.brand-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    margin-bottom: 40px;
}

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

.brand-offer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 0 calc(25% - 15px);
    min-width: 0;
}

.brand-logo-container {
    width: 100%;
    height: 140px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: transparent;
    /* Fixes double inner box issue */
}

.brand-offer-subtitle {
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
}

/* ==========================================================================
   5. WHY APPLY FOR TASHEEL CREDIT CARDS SECTION STYLES
   ========================================================================== */
.why-apply-section {
    background-color: #ffffff;
    background-image: url("../images/Bg-icons-Group-1597878812.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    padding: 85px 0 85px;
    width: 100%;
}

.why-apply-title {
    font-family: var(--font-family);
    font-size: 30px;
    font-weight: 650;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 50px;
}

/* 5 Columns Layout */
.why-apply-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 50px;
}

.why-apply-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.why-icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

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

.why-item-title {
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.45;
    margin: 0;
    max-width: 220px;
}

.why-apply-action {
    margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .why-apply-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px 20px;
    }
}

@media (max-width: 600px) {
    .why-apply-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================================================
   6. HOW TO APPLY STEPS SECTION STYLES
   ========================================================================== */
.how-apply-section {
    background-color: #ffffff;
    padding: 60px 0 80px;
    width: 100%;
}

.how-apply-title {
    font-family: var(--font-family);
    font-size: 28px;
    font-weight: 650;
    color: var(--text-dark);
    margin-bottom: 90px;
}

/* 3 Cards Row Grid */
.how-apply-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 45px;
}

/* Step Card Box */
.step-card {
    background-color: #f4f4f4;
    border-radius: 16px;
    padding: 40px 25px 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 140px;
}

/* Green Number Badge Positioned at Top Center Overflow */
.step-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-green);
    color: #ffffff;
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 700;
    width: 50px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.step-text {
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 700;
    color: #414141;
    line-height: 26px;
    margin: 0;
    max-width: 260px;
}

.how-apply-action {
    margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .how-apply-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================================================
   7. ELIGIBILITY CRITERIA SECTION STYLES
   ========================================================================== */
.eligibility-section {
    background-color: #ffffff;
    padding: 60px 0 80px;
    width: 100%;
}

.eligibility-card {
    background-color: #f4f4f4;
    border-radius: 24px;
    padding: 45px 45px 30px 0px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.eligibility-content {
    flex: 1;
    max-width: 820px;
    z-index: 2;
}

.eligibility-title {
    font-family: var(--font-family);
    font-size: 30px;
    font-weight: 650;
    color: var(--text-dark);
    margin-bottom: 35px;
}

/* 4 Equal Cards Grid */
.eligibility-boxes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 23px;
    margin-bottom: 25px;
}

.eligibility-box {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 155px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.box-label {
    font-family: var(--font-family);
    font-size: 17px;
    font-weight: 600;
    color: #A3A3A3;
    margin-bottom: 12px;
}

.box-value {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
}

.tc-note {
    font-family: var(--font-family);
    font-size: 0.82rem;
    color: #777777;
    font-weight: 500;
    margin: 0;
}

.eligibility-graphic-box {
    width: 240px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
    z-index: 1;
    transform: rotate(180deg);
}

.eligibility-img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    object-position: right bottom;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .eligibility-card {
        padding: 35px 30px;
        flex-direction: column;
    }

    .eligibility-boxes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }


}

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

/* ==========================================================================
   8. FAQ & HELP SECTION STYLES
   ========================================================================== */
.faq-section {
    background-color: #ffffff;
    padding: 70px 0 90px;
    width: 100%;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: flex-start;
}

.faq-column-title {
    font-family: var(--font-family);
    font-size: 28px;
    font-weight: 650;
    color: var(--text-dark);
    margin-bottom: 35px;
}

.faq-accordion-item h2 {
    font-size: 18.5px;
    line-height: 30px;
    font-weight: 550;
    color: #181818;
    padding: 0;
}

/* Accordions */
.accordion-container {
    display: flex;
    flex-direction: column;
}

.faq-accordion-item {
    border-bottom: 1px solid #e8e8e8;
}

.faq-accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: right;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 25px;
    line-height: 30px;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.2s ease;
}

.faq-accordion-header:hover {
    color: var(--primary-green);
}

.accordion-icon {
    font-size: 1.25rem;
    font-weight: 400;
    color: #181818;
    margin-left: 15px;
    user-select: none;
}

/* Accordion Smooth Expand Transition */
.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out, padding 0.35s ease-in-out;
    font-family: var(--font-family);
    font-size: 0.9rem;
    color: #888888;
    line-height: 1.65;
    padding: 0;
}

/* Active Open State */
.faq-accordion-item.active .faq-accordion-content {
    max-height: 500px;
    /* Increased to allow full text content expansion */
    padding-bottom: 22px;
}

/* Help Card Box Styling */
.help-card-box {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    padding: 35px 30px;
    margin-top: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.help-title {
    font-family: var(--font-family);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.help-subtitle {
    font-family: var(--font-family);
    font-size: 0.88rem;
    color: #888888;
    margin-bottom: 25px;
}

.help-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.help-links-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-family);
    font-size: 0.92rem;
    font-weight: 700;
    color: #b0b0b0;
    /* Light muted gray text matching screenshot */
    transition: color 0.2s ease;
}

.help-links-list a:hover {
    color: var(--text-dark);
}

.help-img-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.help-links-list a:hover .help-icon {
    stroke: var(--text-dark);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================================================
   9. 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/cc-whywait-cta.png");
    background-repeat: no-repeat;
    background-position: -90px bottom;
    background-size: cover;
    border-radius: 20px;
    padding: 40px 40px 59px;
    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: 27px;
    font-weight: 650;
    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: 500;
    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;
    }
}

/* ==========================================================================
   10. 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;
}

.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;
}

/* Rounded EN/عربى Toggle Pill */
.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 OVERRIDES FOR CREDIT CARDS LANDING PAGE
   ========================================================================== */

@media (max-width: 900px) {

    /* 1. Header & Hamburger Fix */
    .site-header {
        height: 70px;
    }

    .header-nav,
    .header-actions {
        display: none !important;
        /* Hide default nav items on mobile */
    }

    .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);
    }

    .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: fixed;
        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. Global Containers & Grid Stack Fix */
    .container {
        padding: 0 16px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .cc-hero-container,
    .card-comparison-grid,
    .why-apply-grid,
    .how-apply-grid,
    .eligibility-boxes-grid,
    .faq-grid,
    .app-support-grid,
    .footer-middle-grid {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        gap: 25px !important;
    }

    /* 3. Hero Section Responsive Fixes */
    .cc-hero-section {
        padding: 30px 0 50px;
    }

    .cc-hero-title {
        font-size: 1.85rem !important;
        line-height: 1.3 !important;
        margin-bottom: 25px !important;
        letter-spacing: -1px !important;
    }

    .cc-features-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-bottom: 30px !important;
    }

    .cc-hero-visual {
        justify-content: center;
        margin-top: 15px;
    }

    .cc-hero-img {
        max-width: 320px !important;
    }

    /* 4. Section Titles */
    .section-heading,
    .offers-title,
    .why-apply-title,
    .how-apply-title,
    .eligibility-title,
    .faq-column-title {
        font-size: 1.5rem !important;
        margin-bottom: 25px !important;
    }

    /* 5. Card Benefit Comparison Section */
    .card-benefit-body {
        padding: 20px 18px 25px !important;
    }

    .card-benefit-title {
        font-size: 1.35rem !important;
    }

    .card-benefit-actions {
        flex-direction: column;
        width: 100%;
    }

    .card-benefit-actions .btn {
        width: 100%;
        text-align: center;
    }

    /* 6. Brand Offers Carousel Items */
    .brand-offer-card {
        flex: 0 0 100% !important;
    }

    /* 7. Eligibility Card Adjustments */
    .eligibility-card {
        padding: 25px 20px !important;
    }


    /* 8. App Banner Section */
    .app-promo-card {
        padding: 30px 20px !important;
        min-height: auto !important;
    }

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

    /* 9. Footer Adjustments */
    .footer-top-bar,
    .footer-bottom-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

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

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

    /* 10. SAR Riyal Symbol Inline Fix */
    .riyal-icon {
        height: 13px !important;
        display: inline-block !important;
        vertical-align: middle !important;
    }

    /* new Responsive Fixes 14-08-26 */
    .cc-hero-container {
        width: 100% !important;
        gap: 25px !important;
        display: flex !important;
        flex-direction: column-reverse;
    }

    .cc-feature-card {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .cc-feature-text {
        padding-right: 10px;
    }

    .offers-actions .btn-pill-light {
        display: none;
    }

    .why-apply-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: right;
    }

    .why-item-title {
        max-width: fit-content;
        padding-right: 15px;
    }

    .eligibility-box {
        min-height: auto;
    }

    .eligibility-graphic-box {
        align-items: baseline;

    }

    .eligibility-img {
        object-position: right;
        transform: rotate(0deg);
        width: 170px;
        float: right;
    }

    .app-promo-card {
        background-position: -60px 71px;
    }
}

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

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 15px 35px !important;
        background-color: #ffffff;
    }

    .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;
    }

    .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;
    }

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

    .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;
    }

    .footer-middle-grid.footer-menu {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px 15px !important;
        margin-bottom: 35px !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;
        display: block;
    }

    .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;
    }

    .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,
    .legal-copyright {
        font-size: 11px !important;
        line-height: 1.6 !important;
        color: #8c8c8c !important;
    }

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

    .sharia-badge-box {
        display: none !important;
    }
}