/* --- 1. THEME DESIGN SYSTEM VARIABLES --- */

/* WHITE (LIGHT) MODE NATIVE DEFAULT CONFIG */
.light-theme {
    --bg-color: #f7f6fa;
    --text-main: #14121f;
    --text-muted: rgba(20, 18, 31, 0.6);
    --text-nav-inactive: rgba(20, 18, 31, 0.7);
    --header-bg: rgba(247, 246, 250, 0.85);
    --header-border: rgba(20, 18, 31, 0.08);
    --btn-bg: rgba(20, 18, 31, 0.05);
    --btn-border: rgba(20, 18, 31, 0.08);
    --btn-hover: rgba(20, 18, 31, 0.1);
    --card-bg: linear-gradient(135deg, rgba(20, 18, 31, 0.03) 0%, rgba(20, 18, 31, 0.01) 100%);
    --card-border: rgba(20, 18, 31, 0.06);
    --marquee-bg: rgba(20, 18, 31, 0.02);
    --marquee-border: rgba(20, 18, 31, 0.05);
    --marquee-card-bg: rgba(255, 255, 255, 0.8);
    --marquee-card-border: rgba(20, 18, 31, 0.06);
    --hero-gradient-overlay: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.85) 85%);
    --footer-bg: #eae8f0;
    --glow-opacity: 0.15;
}

/* BLACK (DARK) MODE CONFIG */
.dark-theme {
    --bg-color: #0b0912;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-nav-inactive: rgba(255, 255, 255, 0.6);
    --header-bg: rgba(11, 9, 18, 0.85);
    --header-border: rgba(255, 255, 255, 0.06);
    --btn-bg: rgba(255, 255, 255, 0.05);
    --btn-border: rgba(255, 255, 255, 0.08);
    --btn-hover: rgba(255, 255, 255, 0.12);
    --card-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    --card-border: rgba(255, 255, 255, 0.05);
    --marquee-bg: rgba(255, 255, 255, 0.02);
    --marquee-border: rgba(255, 255, 255, 0.05);
    --marquee-card-bg: rgba(255, 255, 255, 0.03);
    --marquee-card-border: rgba(255, 255, 255, 0.06);
    --hero-gradient-overlay: linear-gradient(135deg, rgba(15,13,25,0.4) 0%, rgba(15,13,25,0.95) 85%);
    --footer-bg: #07050b;
    --glow-opacity: 0.25;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* --- 2. LAYOUT CONTAINERS & GLOW EFFECTS --- */
.web-main-content {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    z-index: 10;
}

.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: var(--glow-opacity);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.circle-top-left {
    background: radial-gradient(circle, #4d12ad 0%, transparent 70%);
    top: -100px;
    left: -200px;
}

.circle-bottom-right {
    background: radial-gradient(circle, #f26522 0%, transparent 70%);
    bottom: -100px;
    right: -200px;
}

/* --- 3. STICKY HEADER --- */
.web-header {
    background-color: var(--header-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--header-border);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    transition: background-color 0.4s ease, border-bottom 0.4s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-logo-box {
    background-color: #e31b23;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(227, 27, 35, 0.4);
}

.logo-icon {
    font-size: 22px;
    transform: scaleX(-1);
    color: #fff;
}

.app-logo-text h1 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1.1;
}

.app-logo-text p {
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.web-nav-links {
    display: flex;
    gap: 30px;
}

.web-nav-links a {
    color: var(--text-nav-inactive);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.light-theme .web-nav-links a:hover, .light-theme .web-nav-links a.active { color: #4d12ad; }
.dark-theme .web-nav-links a:hover, .dark-theme .web-nav-links a.active { color: #bfb2eb; }

.header-right {
    display: flex;
    gap: 12px;
}

.icon-btn {
    background: var(--btn-bg);
    border: 1px solid var(--btn-border);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.icon-btn:hover {
    background: var(--btn-hover);
    transform: translateY(-1px);
}

/* --- 4. HERO SLIDER --- */
.hero-slider-section {
    width: 100%;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--header-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}

.slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.web-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    padding: 60px;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.web-slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-inner-content {
    max-width: 600px;
}

.dark-theme .slide-inner-content h2 { color: #ffffff; }
.dark-theme .slide-inner-content p { color: rgba(255, 255, 255, 0.7); }
.light-theme .slide-inner-content h2 { color: #14121f; }
.light-theme .slide-inner-content p { color: rgba(20, 18, 31, 0.8); }

.slide-badge {
    background: rgba(227, 27, 35, 0.15);
    border: 1px solid #e31b23;
    color: #ff5e64;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
}

.badge-cyan {
    background: rgba(0, 242, 254, 0.1) !important;
    border-color: #00f2fe !important;
    color: #00b3bc !important;
}

.web-slide h2 {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.web-slide p {
    font-size: 16px;
    margin-bottom: 24px;
}

.slide-cta-btn {
    background: #e31b23;
    color: white;
    border: none;
    font-weight: 700;
    font-size: 13px;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-cyan { background: #00f2fe !important; color: #000 !important; }

.slider-bullets {
    position: absolute;
    bottom: 24px;
    right: 60px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-bullets .bullet-dot {
    width: 8px;
    height: 8px;
    background: rgba(120, 120, 120, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-bullets .bullet-dot.active {
    background: var(--text-main);
    width: 24px;
    border-radius: 4px;
}

/* --- 5. FIXED & LARGER BANKS VS SCROLLING PARTNERS --- */
.separated-networks-section {
    margin-top: 45px;
}

.network-block {
    width: 100%;
}

.network-header-title {
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.light-theme .network-header-title { color: #5b5b5b; }
.dark-theme .network-header-title { color: #bfb2eb; }

/* FIXATION FOR THE BANKS GRID (NO MARQUEE) */
.banks-fixed-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

/* INCREASED SIZING FOR PREMIUM BANK CARDS */
.bank-large-card {
    background: var(--marquee-card-bg);
    border: 1px solid var(--marquee-card-border);
    border-radius: 16px;
    height: 75px; /* Noticeably taller & larger than partner cards */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px; /* Bigger Typography */
    font-weight: 800;
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-width: 283px;
}

.bank-large-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.bank-large-card img {
    max-height: 38px; /* Bigger logo space */
}

/* SCROLLING PARTNERS LOGOS SYSTEM */
.partners-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    background: var(--marquee-bg);
    border: 1px solid var(--marquee-border);
    border-radius: 16px;
    padding: 12px 0;
}

.marquee-moving-track {
    display: flex;
    gap: 20px;
    width: max-content;
}

.speed-reverse { animation: LoopRight 25s linear infinite; }
.marquee-moving-track:hover { animation-play-state: paused; }

@keyframes LoopRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* SMALLER CARD RULES FOR REGULAR COMMERCIAL PARTNERS */
.marquee-logo-card {
    background: var(--marquee-card-bg);
    border: 1px solid var(--marquee-card-border);
    border-radius: 10px;
    padding: 8px 20px;
    min-width: 130px;
    height: 46px; /* Visually smaller layout footprint than banks */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
}

/* Corporate Brand Accent Identifiers */
.font-green { color: #27ae60; border-color: rgba(39, 174, 96, 0.25); border-bottom: 3px solid #27ae60; }
.font-orange { color: #f26522; border-color: rgba(242, 101, 34, 0.25); border-bottom: 3px solid #f26522; }
.font-orange-baraka { color: #d35400; border-color: rgba(211, 84, 0, 0.25); border-bottom: 3px solid #d35400; }
.font-cyan { color: #1abc9c; border-color: rgba(26, 188, 156, 0.25); border-bottom: 3px solid #1abc9c; }

/* Partner Specific Colors */
.font-green-partner { color: #2ecc71; }
.font-cyan-partner { color: #00b3bc; }
.text-purple { color: #8e44ad; }

/* --- 6. CATEGORIES INTERACTIVE DASHBOARD GRID --- */
.categories-grid-section {
    margin-top: 50px;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 30px;
}

.section-title-wrap h2 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-title-wrap p {
    font-size: 14px;
    color: var(--text-muted);
}

.categories-grid-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.glow-grid-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    width: 269px;
    height: 228px;
    justify-content: center;
}

.grid-card-icon { font-size: 32px; }

.glow-grid-card h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.5px;
}

/* Neon Accents */
.neon-cyan { border-bottom: 3px solid #00b3bc; }
.neon-cyan:hover { box-shadow: 0 8px 25px rgba(0, 242, 254, 0.15); transform: translateY(-4px); }
.neon-green { border-bottom: 3px solid #2ecc71; }
.neon-green:hover { box-shadow: 0 8px 25px rgba(46, 204, 113, 0.15); transform: translateY(-4px); }
.neon-blue { border-bottom: 3px solid #3498db; }
.neon-blue:hover { box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15); transform: translateY(-4px); }
.neon-purple { border-bottom: 3px solid #9b59b6; }
.neon-purple:hover { box-shadow: 0 8px 25px rgba(155, 89, 182, 0.15); transform: translateY(-4px); }
.neon-magenta { border-bottom: 3px solid #f368e0; }
.neon-magenta:hover { box-shadow: 0 8px 25px rgba(243, 104, 224, 0.15); transform: translateY(-4px); }
.neon-orange { border-bottom: 3px solid #f39c12; }
.neon-orange:hover { box-shadow: 0 8px 25px rgba(243, 156, 18, 0.15); transform: translateY(-4px); }
.neon-red { border-bottom: 3px solid #f31243; }
.neon-red:hover { box-shadow: 0 8px 25px rgba(243, 18, 67, 0.15); transform: translateY(-4px); }

/* --- 7. FOOTER BAR --- */
.web-footer {
    background-color: var(--footer-bg);
    border-top: 1px solid var(--header-border);
    padding: 24px 20px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    width: 100%;
    margin-top: 60px;
}

/* --- 8. BREAKPOINTS RESPONSIVENESS --- */
/* @media (max-width: 992px) {
    .categories-grid-layout { grid-template-columns: repeat(3, 1fr); }
    .banks-fixed-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .web-nav-links { display: none; }
    .categories-grid-layout { grid-template-columns: repeat(2, 1fr); }
    .slider-container { height: 320px; }
} */


.banks-img img {
    width: 290px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.banks-img img:hover {
    /* box-shadow: 0 8px 25px rgba(46, 204, 113, 0.15); */
    transform: translateY(-4px);
}
.projects {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

.project-item {
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
}
.projects .project-item:after {
    border-left: 1px solid #707070;
    content: " ";
    height: 19px;
    margin-left: 5px;
    margin-right: 5px;
}

.project-item .nav-link {
    padding: .5rem 1rem;
    text-decoration: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}

.project-item a.nav-link img, .project-item a.nav-link svg {
    margin-right: 6px;
}

.recharge img {
    width: 116px;
}

.paiement img {
    width: 200px;
}


.heroSwiper {
    width: 100%;
    height: 420px; /* or whatever height you use */
    border-radius: 20px;
}

@media (max-width: 527px) {
    .heroSwiper {
        height: 196px; 
    }
} 

.swiper-slide {
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.slide-inner-content {
    max-width: 600px;
    margin-left: 8%;
    color: #fff;
}

.slider-track {
    display:flex;
}


.swiper-button-next,
.swiper-button-prev {
    color: #ffffff !important;
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 22px !important;
    font-weight: bold;
}
.swiper-pagination-bullet {
    background: #ffffff !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: #eeeeee !important;
    opacity: 1;
}

.service-card { 
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.15);
    transform: translateY(-4px);
}

[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
    border: none  !important;
    box-shadow:  none !important;
}

.slide-link {
    display: block;
    width: 100%;
    height: 100%;
}

.ass-tel {
    align-items: center;
    display: flex;
    justify-content: center;
}

#banks , #partners , #contact  {
    scroll-margin-top: 120px; /* Adjust to your navbar height */
  }