@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700&display=swap');

:root,
:root[data-bs-theme="dark"] {
    --primary: #6F2DBD;
    --primary-dark: #54208F;
    --primary-darker: var(--primary-dark);
    --primary-light: #F3EBFB;
    --ca-white: #FFFFFF;
    --ca-off-white: #FBFBFB;
    --ca-ink: #171321;
    --ca-orange: #FC5C02;
    --ca-orange-action: #C44700;
    --ca-charcoal-purple: #29262E;
    --ca-border: #E2E8F0;
    --ca-muted: #64748B;
    --body-color: var(--ca-ink);
    --heading-color: var(--ca-ink);
    --gray-light: var(--ca-off-white);
    --border-color: var(--ca-border);
    --border-dark-color: var(--primary-dark);
    --border-primary-light: var(--primary-light);
    --font-family-sans-serif: 'Inter', sans-serif;
    --font-family-monospace: 'Plus Jakarta Sans', sans-serif;
    --bs-primary: var(--primary);
    --bs-tertiary: var(--ca-orange);
    --bs-tertiary-rgb: 252, 92, 2;
}

body, button, input, select, textarea {
    font-family: var(--font-family-sans-serif);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-family-monospace);
}

.btn-primary, .badge-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--ca-off-white);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: var(--ca-off-white) !important;
}

.btn-tertiary, .btn-tertiary:hover, .btn-tertiary:focus, .btn-tertiary:active,
.tt-double-header .tt-top-header .codeafrique-client-area-btn,
.tt-double-header .tt-top-header .codeafrique-client-area-btn:hover,
.tt-double-header .tt-top-header .codeafrique-client-area-btn:focus,
.ca-footer .ca-footer-cta, .ca-footer .ca-footer-cta:hover {
    background: var(--ca-orange-action) !important;
    border-color: var(--ca-orange-action) !important;
    color: var(--ca-off-white) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

.bg-primary, .primary-bg-color {
    background-color: var(--primary) !important;
}

.text-primary, .color-primary {
    color: var(--primary) !important;
}

a:focus-visible, button:focus-visible, select:focus-visible, [tabindex="0"]:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 4px;
}

.ca-footer, .ca-footer .ca-footer-main {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary)) !important;
}

.ca-kohost-hero .background-image-wraper::after {
    background: linear-gradient(90deg, color-mix(in srgb, var(--primary-dark) 94%, transparent), color-mix(in srgb, var(--primary) 76%, transparent));
}

.ca-mobile-menu-header .logo-img {
    content: url('../img/codeafrique-logo.png');
}

.tt-body-wrapper .ca-mobile-nav > a.ca-mobile-client-btn,
.tt-body-wrapper .ca-mobile-nav > a.ca-mobile-client-btn:hover,
.tt-body-wrapper .ca-mobile-nav > a.ca-mobile-client-btn:focus {
    background: var(--ca-orange-action) !important;
    color: var(--ca-off-white) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

.tt-body-wrapper .ca-mobile-nav > a.ca-mobile-client-btn i {
    color: var(--ca-off-white) !important;
}

.primary-bg, .secondary-bg, .bg-primary {
    background: var(--primary) !important;
}

:is(.primary-bg, .secondary-bg, .bg-primary, .gradient-bg, .bg-gradient, .bg-dark, .ca-footer, .ca-service-footer) {
    color: var(--ca-off-white);
}

:is(.primary-bg, .secondary-bg, .bg-primary, .gradient-bg, .bg-gradient, .bg-dark, .ca-footer, .ca-service-footer) :is(h1, h2, h3, h4, h5, h6, p, .h1, .h2, .h3, .h4, .h5, .h6) {
    color: var(--ca-off-white) !important;
}

:root[data-bs-theme="dark"] {
    --body-color: var(--ca-off-white);
    --heading-color: var(--ca-off-white);
    --gray-light: var(--ca-ink);
}

.primary-bg a:focus-visible, .gradient-bg a:focus-visible, .bg-dark a:focus-visible {
    outline-color: var(--ca-off-white);
}

.tt-body-wrapper .tt-double-header .tt-top-header .tt-toolbar-wrap a.codeafrique-client-area-btn,
.tt-body-wrapper .tt-double-header .tt-top-header .tt-toolbar-wrap a.codeafrique-client-area-btn:hover,
.tt-body-wrapper .tt-double-header .tt-top-header .tt-toolbar-wrap a.codeafrique-client-area-btn:focus,
.tt-body-wrapper .tt-double-header .tt-top-header .tt-toolbar-wrap a.codeafrique-client-area-btn i,
.ca-footer a, .ca-service-footer a {
    color: var(--ca-off-white) !important;
}
