/* ==========================================================================
   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: 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;
}

/* ==========================================================================
   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: 75px;
    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: -175px;
    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);
}


/* ==========================================================================
   10. FOOTER SECTION STYLES (MATCHING ORIGINAL DESIGN)
   ========================================================================== */
.site-footer {
    background-color: #ffffff;
    padding: 20px 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);
    /* #65BC47 */
    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: 17px;
    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;
}

/* ==========================================================================
   BASEETA HERO SECTION STYLES
   ========================================================================== */

.hero_section.baseeta-hero {
    background: url(../images/Vector.png) no-repeat, linear-gradient(to bottom, transparent 96%, #fff 4%), linear-gradient(to left, #60B3B7, #A580B3) !important;
    background-size: contain, cover, cover !important;
    background-position: 143% -55px, center, center !important;
    padding: 70px 0 0 !important;
    position: relative;
    overflow: hidden;
    min-height: 520px;
}

.baseeta-hero-container {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* Left Content Column */
.baseeta-hero-left {
    color: #ffffff;
    padding-bottom: 40px;
}

.baseeta-hero-title {
    font-family: var(--font-family);
    font-size: 48px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
    margin-bottom: 22px !important;
    letter-spacing: -1px;
}

.baseeta-hero-subtitle {
    font-family: var(--font-family);
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    max-width: 440px;
}

/* QR App Download Badge */
.baseeta-qr-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background-color: #65BC47;
    padding: 15px 22px 15px 14px;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.qr-img-box {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-text-box {
    display: flex;
    flex-direction: column;
    color: #ffffff;
    font-family: var(--font-family);
    line-height: 1.25;
}

.qr-text-box span {
    font-size: 18px;
    font-weight: 400;
}

.qr-text-box strong {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Right Composite Image Area */
.baseeta-hero-right-visual {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.baseeta-composite-img {
    width: 100%;
    max-width: 720px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .baseeta-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .baseeta-hero-left {
        padding-bottom: 0;
        text-align: right;
    }

    .qr-img-box {
        display: none;
    }

    .baseeta-hero-title {
        font-size: 34px !important;
    }

    .baseeta-hero-subtitle {
        font-size: 17px !important;
        margin-left: auto;
        margin-right: auto;
    }

    .baseeta-hero-right-visual {
        justify-content: center;
    }
}

/* ==========================================================================
   BASEETA BENEFITS SECTION STYLES
   ========================================================================== */

.baseeta-benefits-section {
    background-color: #ffffff;
    padding: 70px 0 90px;
    width: 100%;
}

.baseeta-section-title {
    font-family: var(--font-family);
    font-size: 2.5rem !important;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;

}

/* 2x2 Grid Layout */
.baseeta-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* Card Styling */
.baseeta-benefit-card {
    background-color: #f8f9fa;
    border-radius: 20px;
    padding: 35px 0px 0px 35px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

.benefit-card-content {
    flex: 1;
    max-width: 360px;
    /* Widened slightly so "No Downpayment" stays on 1 line */
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
}

.benefit-card-title {
    font-family: var(--font-family);
    font-size: 2.5rem !important;
    /* Balanced h3 heading size */
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.2;
    white-space: nowrap;
    /* Prevents "No Downpayment" from breaking onto 2 lines */
}

.benefit-card-desc {
    font-family: var(--font-family);
    font-size: 28px !important;
    /* Adjusted to match clean body text proportion */
    color: #181818;
    line-height: 1.45;
    font-weight: 400;
    margin: 0;
    padding-bottom: 45px;
}

/* Bottom Right Corner Graphic Alignment */
.benefit-card-img-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-shrink: 0;
    z-index: 1;
    margin-left: 10px;
}

.benefit-card-img {
    max-width: 175px;
    height: auto;
    object-fit: contain;
    object-position: right bottom;
}


/* Responsive adjustments */
@media (max-width: 1024px) {
    .baseeta-section-title {
        font-size: 2rem !important;
    }

    .baseeta-benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .benefit-card-title {
        font-size: 2rem !important;
        white-space: normal;
    }

    .benefit-card-desc {
        font-size: 20px !important;
    }
}

@media (max-width: 576px) {
    .baseeta-benefit-card {
        padding: 25px 20px 0 20px;
        flex-direction: column;
        justify-content: space-between;
    }

    .benefit-card-content {
        max-width: 100%;
        padding-bottom: 0px;
    }

    .benefit-card-title {
        font-size: 1.75rem !important;
    }

    .benefit-card-desc {
        font-size: 18px !important;
        padding-bottom: 0;
    }

    .qr-text-box {
        display: block;
        flex-direction: row;
    }

    .qr-text-box span {
        font-size: 1.1rem;
        font-weight: 700;
    }

    .hero_section.baseeta-hero {
        background-position: center, bottom !important;
    }

    .baseeta-slider-controls {
        padding: 0 !important;
    }

    .banner-qr-box {
        display: none !important;
    }

    .sticky-qr-box {
        display: none !important;
    }

    .benefit-card-img-wrapper {
        align-self: flex-end;
    }

    .benefit-card-img {
        max-width: 120px;
    }
}

/* ==========================================================================
   BASEETA CALCULATOR SECTION STYLES
   ========================================================================== */

.baseeta-calc-section {
    background-color: #ffffff;
    padding: 60px 0 90px;
    width: 100%;
}

.baseeta-calc-main-title {
    font-family: var(--font-family);
    font-size: 2.2rem !important;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

/* Outer Gradient Container Frame */
.main-gradient {
    background: linear-gradient(to left, #60B3B7, #A580B3) !important;
}

.calc-outer-frame {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

/* Left Content Area */
.calc-left-container {
    padding: 40px 35px;
}

.calc-inner-heading {
    font-family: var(--font-family);
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

/* Inner White Card */
.calc-white-card {
    background-color: #ffffff;
    border-radius: 22px;
    padding: 30px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Radio Tab Pills */
.calc-tab-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 22px;
}

.calc-tab-pill {
    display: inline-flex;
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
}

.btn-check {
    display: none;
}

.tab-btn {
    font-family: var(--font-family);
    font-size: 0.9rem;
    font-weight: 600;
    color: #555555;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.btn-check:checked+.tab-btn {
    background-color: #A681B4;
    color: #ffffff;
}

/* Field Groups & Labels */
.calc-field-group {
    margin-bottom: 20px;
}

.calc-field-label {
    display: block;
    font-family: var(--font-family);
    font-size: 0.9rem;
    font-weight: 500;
    color: #666666;
    margin-bottom: 8px;
}

.calc-select-input,
.calc-number-input {
    width: 100%;
    max-width: 200px;
    padding: 10px 14px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: #333333;
    outline: none;
    background-color: #ffffff;
}

/* Input Range Sliders */
.calc-range-wrapper {
    margin-top: 12px;
}

.calc-slider[type='range'] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px !important;
    border-radius: 4px;
    background-size: 100% 100% !important;
    background: linear-gradient(45deg, #60B3B7, #9AC25B) !important;
    outline: none;
    margin-bottom: 8px;
}

.calc-slider[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #60B3B7;
    border: 2px solid #ffffff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.range-labels-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-family);
    font-size: 0.85rem;
    color: #777777;
}

.r_cur {
    height: 12px;
    vertical-align: middle;
}

/* Output Results Row */
.calc-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}

.result-label {
    display: block;
    font-family: var(--font-family);
    font-size: 0.85rem;
    color: #666666;
    margin-bottom: 4px;
}

.result-value {
    font-family: var(--font-family);
    font-size: 1.25rem;
    font-weight: 700;
    color: #333333;
}

.result-value.green-text {
    color: #65BC47;
}

/* Buttons */
.calc-buttons-grid {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-calc {
    flex: 1.2;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
}

.gradient {
    background: linear-gradient(45deg, #60B3B7, #9AC25B) !important;
}

.btn-reset {
    flex: 0.8;
    background-color: #e9ecef;
    color: #6c757d;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
}

/* Disclaimer & Footer Links */
.calc-disclaimer-box {
    font-family: var(--font-family);
    font-size: 0.78rem;
    color: #888888;
    line-height: 1.45;
}

.tc-text {
    margin-bottom: 4px;
}

.guide-text {
    margin-bottom: 8px;
}

.apr-link {
    color: #0d6efd;
    text-decoration: underline;
    font-weight: 500;
}

/* Right Side Image Showcase */
.calc-right-visual {
    background-color: #e9ecef;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
}

.calc-person-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    display: block;
}

.text-white {
    color: #ffffff;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 992px) {
    .calc-outer-frame {
        grid-template-columns: 1fr;
    }

    .calc-right-visual {
        min-height: 350px;
        order: -1;
    }

    .calc-left-container {
        padding: 30px 20px;
    }

    .calc-inner-heading {
        font-size: 1.75rem;
    }

    .calc-white-card {
        padding: 20px 16px;
    }

    .calc-tab-pill {
        flex-direction: column;
        width: 100%;
    }

    .tab-btn {
        text-align: center;
    }
}

/* ==========================================================================
   WHAT'S HOT SLIDER SECTION STYLES
   ========================================================================== */

.baseeta-hot-section {
    background-color: #ffffff;
    padding: 60px 0 80px;
    width: 100%;
}

.baseeta-hot-slider-wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

/* Slide Frame with Rounded Corners */
.baseeta-slider-track-window {
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    margin-bottom: 25px;
}

.baseeta-slider-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    width: 100%;
}

.baseeta-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.baseeta-slide-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Controls & Indicators Row below Slide */
.baseeta-slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    max-width: 100%;
}

.baseeta-nav-arrow {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.baseeta-nav-arrow:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

/* Horizontal Indicator Bars (Matching Screenshot) */
.baseeta-slider-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.baseeta-slider-dots .dot {
    width: 32px;
    height: 4px;
    background-color: #cccccc;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease, width 0.3s ease;
}

.baseeta-slider-dots .dot.active {
    background-color: #666666;
    width: 42px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .baseeta-hot-section {
        padding: 40px 0 60px;
    }

    .baseeta-slider-track-window {
        border-radius: 16px;
    }

    .baseeta-slider-dots .dot {
        width: 18px;
        height: 3px;
    }

    .baseeta-slider-dots .dot.active {
        width: 26px;
    }
}

/* ==========================================================================
   DISCOVER BASEETA PARTNERS SECTION STYLES
   ========================================================================== */

.baseeta-partners-section {
    background-color: #ffffff;
    padding: 60px 0 90px;
    width: 100%;
}

/* 3-Column Grid Layout */
.baseeta-partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 25px;
    margin-bottom: 45px;
}

/* Partner Card Box */
.partner-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.partner-img-wrapper {
    position: relative;
    width: 100%;
    height: 210px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 16px;
    background-color: #f4f4f4;
}

.partner-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-bg-img {
    transform: scale(1.03);
}

/* White Logo Badge Box Overlay */
.partner-logo-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 110px;
    height: 75px;
    background-color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.partner-logo-badge img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Partner Title */
.partner-name {
    font-family: var(--font-family);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

/* Tags Row Below Name */
.partner-tags-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.partner-tag {
    font-family: var(--font-family);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-block;
}

.partner-tag.tag-green {
    background-color: #d8f0d2;
    color: #2e691e;
}

.partner-tag.tag-gray {
    background-color: #f0f0f0;
    color: #555555;
}

/* Center See More Button Wrapper */
.partner-see-more-action {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 35px;
}

.partner-see-more-action .btn-green {
    padding: 12px 60px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    text-align: center;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 992px) {
    .baseeta-partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .partner-img-wrapper {
        height: 180px;
    }

    .partner-name {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .baseeta-partners-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .partner-img-wrapper {
        height: 200px;
    }

    .partner-see-more-action .btn-green {
        width: 100%;
    }
}

/* ==========================================================================
   WHAT IS BASEETA LIMIT SECTION STYLES
   ========================================================================== */

.baseeta-limit-section {
    background-color: #ffffff;
    padding: 60px 0 90px;
    width: 100%;
}

.main-gradient {
    background: linear-gradient(to left, #60B3B7, #A580B3) !important;
}

/* 2-Column Main Section Grid */
.baseeta-limit-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Left Column Layout */
.limit-info-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Main Top Gradient Card */
.limit-card.main-gradient-card {
    border-radius: 20px;
    padding: 35px 35px;
    color: #ffffff;
}

.gradient-card-text {
    font-family: var(--font-family);
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
}

.riyal-icon.white-icon {
    filter: brightness(0) invert(1);
    height: 16px;
    vertical-align: middle;
}

/* 2-Column Light Cards Row */
.limit-subcards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* General Light Gray Cards */
.limit-card-light {
    background-color: #f8f9fa;
    border-radius: 20px;
    padding: 28px 25px;
    display: flex;
    flex-direction: column;
}

.limit-card-title {
    font-family: var(--font-family);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.limit-card-desc {
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.5;
    margin: 0;
}

/* Bottom Full Width Card */
.limit-repay-card {
    padding: 32px 30px;
}

.limit-repay-card .limit-card-desc {
    margin-bottom: 22px;
}

.repay-action .btn-green {
    padding: 12px 32px;
    font-size: 20px;
    border-radius: 10px;
}

/* Right Column Phone Image */
.limit-visual-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.baseeta-limit-phone-img {
    width: fit-content;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 992px) {
    .baseeta-limit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .limit-visual-col {
        order: -1;
        /* Shows phone on top on mobile/tablet */
    }

    .gradient-card-text {
        font-size: 1.15rem;
    }
}

@media (max-width: 576px) {
    .limit-subcards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .limit-card.main-gradient-card {
        padding: 25px 20px;
    }

    .limit-card-light {
        padding: 22px 18px;
    }

    .limit-card-title {
        font-size: 1.35rem;
    }

    .repay-action .btn-green {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   BASEETA IN 20 SECS VIDEO SECTION STYLES
   ========================================================================== */

.baseeta-video-section {
    background-color: #ffffff;
    padding: 70px 0 90px;
    width: 100%;
}

.baseeta-video-grid {
    display: grid;
    grid-template-columns: 1fr 2.2fr;
    align-items: center;
    gap: 50px;
}

/* Title Styling */
.baseeta-video-title {
    font-family: var(--font-family);
    font-size: 2.5rem !important;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -1px;
    margin: 0;
}

/* Video Player Frame Styling */
.baseeta-video-player-col {
    width: 100%;
}

.video-card-frame {
    width: 100%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background-color: #000000;
    line-height: 0;
}

.video-card-frame video {
    width: 100%;
    height: auto;
    display: block;
    outline: none;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 992px) {
    .baseeta-video-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .baseeta-video-title {
        font-size: 2rem !important;
    }

    .baseeta-video-title br {
        display: none;
        /* Keeps title inline on mobile screens */
    }
}

@media (max-width: 576px) {
    .baseeta-video-section {
        padding: 40px 0 60px;
    }

    .baseeta-video-title {
        font-size: 1.75rem !important;
    }

    .video-card-frame {
        border-radius: 14px;
    }

    .video-card-frame video {
        border-radius: 14px;
    }
}

/* ==========================================================================
   HOW TO START WITH BASEETA SECTION STYLES
   ========================================================================== */

.baseeta-how-start-section {
    background-color: #ffffff;
    padding: 60px 0 90px;
    width: 100%;
}

.main-gradient {
    background: linear-gradient(to left, #60B3B7, #A580B3) !important;
}

/* 3-Column Steps Grid */
.baseeta-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: flex-start;
}

.baseeta-step-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Rounded Gradient Image Frame */
.step-img-box {
    width: 100%;
    height: 380px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-top: 25px;
    position: relative;
}

.step-img {
    max-width: 85%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    display: block;
}

/* Step Header (Number + Title) */
.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

/* Circle Badge with specified background color */
.step-number {
    width: 44px;
    height: 44px;
    background-color: #A681B4;
    color: #ffffff;
    border-radius: 50%;
    font-family: var(--font-family);
    font-size: 1.35rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-title {
    font-family: var(--font-family);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin: 0;
}

/* Step Description Bullet List */
.step-desc-list {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
    margin-left: 56px;
    /* Aligns bullet text underneath the title text */
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-desc-list li {
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: #444444;
    line-height: 1.45;
    font-weight: 400;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 992px) {
    .baseeta-steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .step-img-box {
        height: 320px;
    }

    .step-title {
        font-size: 1.45rem;
    }
}

@media (max-width: 576px) {
    .baseeta-how-start-section {
        padding: 40px 0 60px;
    }

    .step-img-box {
        height: 280px;
        border-radius: 18px;
    }

    .step-desc-list {
        margin-left: 20px;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   FIXED SPLIT IT YOUR WAY BANNER STYLES
   ========================================================================== */

.gradient {
    background: linear-gradient(45deg, #60B3B7, #9AC25B) !important;
}

.bg-main-color {
    background-color: #A681B4 !important;
}

.baseeta-banner-section {
    background-color: #ffffff;
    padding: 60px 0 40px;
    width: 100%;
}

.baseeta-banner-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Exact 50/50 Split */
    border-radius: 28px;
    overflow: hidden;
    min-height: 380px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
}

/* Left Gradient Side */
.banner-left-content {
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.banner-title {
    font-family: var(--font-family);
    font-size: 2.75rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    letter-spacing: -1px;
    margin: 0;
    white-space: nowrap;
    /* Ensures "Split it your way," stays on 1 line */
}

/* QR Code Display matching Reference */
.banner-qr-box {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
    border-radius: 8px;
    padding: 6px;
}

/* Right Background Image Side */
.banner-right-visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
}

.banner-person-img {
    width: 100%;
    height: 390px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Data Request Action Alignment */
.data-request-action.text-left {
    display: flex;
    justify-content: flex-start;
}

.data-request-action .btn-green {
    padding: 12px 28px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 10px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .banner-title {
        white-space: normal;
        font-size: 2.2rem !important;
    }
}

/* ==========================================================================
   STICKY FLOATING DOWNLOAD BUTTON STYLES
   ========================================================================== */

.sticky-download-btn {
    position: fixed;
    bottom: 35px;
    right: 15px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #ffffff;
    border: 1px solid var(--primary-green);
    border-radius: 16px;
    padding: 15px 18px 15px 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.sticky-download-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sticky-qr-box {
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sticky-qr-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sticky-text-box {
    display: flex;
    flex-direction: column;
    color: #333333;
    font-family: var(--font-family);
    line-height: 1.25;
}

.sticky-text-box span {
    font-size: 17px;
    color: #666666;
    font-weight: 400;
}

.sticky-text-box strong {
    font-size: 1rem;
    font-weight: 700;
    color: #222222;
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 992px) {
    .baseeta-banner-card {
        grid-template-columns: 1fr;
    }

    .banner-left-content {
        padding: 35px 25px;
        flex-direction: column;
        text-align: center;
    }

    .banner-title {
        font-size: 2.2rem;
        max-width: 100%;
    }

    .banner-right-visual {
        min-height: 280px;
    }

    .sticky-download-btn {
        bottom: 20px;
        right: 20px;
        padding: 8px 14px 8px 10px;
        background: #65BC47;
    }

    .sticky-text-box {
        display: block;
        flex-direction: row;
    }

    .sticky-text-box span {
        font-size: 1.1rem;
        color: #fff;
        font-weight: 700;
    }

    .sticky-text-box strong {
        font-size: 1rem;
        font-weight: 700;
        color: #fff;
    }
}

/* ==========================================================================
   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;
    }


    /* 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;
    }
}

/* ==========================================================================
   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;
    }
}