/* ==========================================================================
   Bootstrap 5.3 runtime overrides + theme CSS
   Notes:
   - Load Bootstrap CSS first, then this file.
   - Uses CSS custom properties (Bootstrap 5.3 supports many runtime variables).
   ========================================================================== */

:root {
    /* Core palette */
    --bs-primary: #f16521;
    --bs-secondary: #1d75bb;
    --bs-success: #64b414;
    --bs-info: #4bb7da;
    --bs-warning: #ffc579;
    --bs-danger: #f90867;
    --bs-light: #f9fafd;
    --bs-dark: #1A2C4D;

    --bs-primary-rgb: 241, 101, 33;
    --bs-secondary-rgb: 241, 101, 33;

    --bs-primary-text-emphasis: color-mix(in srgb, var(--bs-primary), black 60%);
    --bs-primary-bg-subtle: color-mix(in srgb, var(--bs-primary), white 80%);
    --bs-primary-border-subtle: color-mix(in srgb, var(--bs-primary), white 60%);

    --bs-link-color: var(--bs-primary);
    --bs-link-hover-color: color-mix(in srgb, var(--bs-primary), black 15%);
    --bs-focus-ring-color: rgba(var(--bs-primary-rgb), .25);


    /* Extra theme tints */
    --light-primary: #faeee8;
    --light-success: #d5f3f2;
    --light-info: #d3edfa;
    --light-warning: #f8ecdc;
    --light-danger: #f8dddd;
    --lightgray: #f2f2f3;

    /* Grays (Bootstrap-compatible) */
    --bs-white: #fff;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #eef5f9;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #757e85;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #1e2a35;
    --bs-black: #000;

    /* Body & typography */
    --bs-body-font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
    --bs-body-bg: var(--bs-white);
    --bs-body-color: #0e1833;
    --bs-font-sans-serif: var(--bs-body-font-family);
    --bs-font-size-base: 1rem;
    --bs-heading-color: inherit;
    --bs-body-line-height: 1.5;

    /* Radius & shadows */
    --bs-border-radius: 0.3rem;
    --bs-border-radius-sm: 0.3rem;
    --bs-border-radius-lg: 0.6rem;
    --bs-card-border-radius: 0.6rem;
    --box-shadow-soft: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);

    /* Buttons */
    --bs-btn-padding-x: 1.2rem;
    --bs-btn-padding-y: 0.6rem;
    --bs-btn-border-radius: 0.3rem;
    --bs-btn-focus-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); /* emulate focus width 0 */
    --bs-btn-font-weight: 300;

    /* Nav */
    --bs-nav-link-color: var(--bs-primary);

    /* Layout */
    --bs-gutter-x: 1.85rem;

    /* Forms */
    --input-bg: var(--bs-white);

    /* Contrast (informational) */
    --min-contrast-ratio: 2;
}

/* Remove button focus halo as in SCSS ($btn-focus-width: 0) */
.btn:focus, .btn:active:focus, .btn-check:focus + .btn {
    box-shadow: none !important;
}

.btn {
    font-weight: 300;
}

/* Solid primary button */
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);

    /* Fallbacks (zonder color-mix: hetzelfde als base) */
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);

    --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);

    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);

    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

/* Outline primary button */
.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);

    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;

    --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);

    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
    --bs-btn-active-color: #fff;

    --bs-btn-disabled-color: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}


/* Mooier in moderne browsers: donkere hover/active voor .btn-primary */
@supports (color: color-mix(in srgb, black, white)) {
    .btn-primary {
        --bs-btn-hover-bg: color-mix(in srgb, var(--bs-primary), black 15%);
        --bs-btn-hover-border-color: color-mix(in srgb, var(--bs-primary), black 20%);
        --bs-btn-active-bg: color-mix(in srgb, var(--bs-primary), black 20%);
        --bs-btn-active-border-color: color-mix(in srgb, var(--bs-primary), black 25%);
    }
}

.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-secondary);
    --bs-btn-border-color: var(--bs-secondary);

    /* Fallbacks (zonder color-mix: hetzelfde als base) */
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-secondary);
    --bs-btn-hover-border-color: var(--bs-secondary);

    --bs-btn-focus-shadow-rgb: var(--bs-secondary-rgb);

    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-secondary);
    --bs-btn-active-border-color: var(--bs-secondary);

    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--bs-secondary);
    --bs-btn-disabled-border-color: var(--bs-secondary);
}

/* Outline secondary button */
.btn-outline-secondary {
    --bs-btn-color: var(--bs-secondary);
    --bs-btn-border-color: var(--bs-secondary);

    --bs-btn-hover-bg: var(--bs-secondary);
    --bs-btn-hover-border-color: var(--bs-secondary);
    --bs-btn-hover-color: #fff;

    --bs-btn-focus-shadow-rgb: var(--bs-secondary-rgb);

    --bs-btn-active-bg: var(--bs-secondary);
    --bs-btn-active-border-color: var(--bs-secondary);
    --bs-btn-active-color: #fff;

    --bs-btn-disabled-color: var(--bs-secondary);
    --bs-btn-disabled-border-color: var(--bs-secondary);
}


/* Mooier in moderne browsers: donkere hover/active voor .btn-secondary */
@supports (color: color-mix(in srgb, black, white)) {
    .btn-secondary {
        --bs-btn-hover-bg: color-mix(in srgb, var(--bs-secondary), black 15%);
        --bs-btn-hover-border-color: color-mix(in srgb, var(--bs-secondary), black 20%);
        --bs-btn-active-bg: color-mix(in srgb, var(--bs-secondary), black 20%);
        --bs-btn-active-border-color: color-mix(in srgb, var(--bs-secondary), black 25%);
    }
}

/* Card base */
.card {
    --bs-card-border-width: 0;
    --bs-card-bg: var(--bs-white);
    --bs-card-box-shadow: var(--box-shadow-soft);
    border-width: var(--bs-card-border-width);
    box-shadow: var(--bs-card-box-shadow);
    border-radius: var(--bs-card-border-radius, 0.6rem);
}

/* Actieve item-achtergrond in dropdowns */
.dropdown-menu {
    --bs-dropdown-link-active-bg: var(--bs-primary-bg-subtle);
    --bs-dropdown-link-active-color: var(--bs-primary-text-emphasis);
}

.pagination {
    --bs-pagination-active-bg: var(--bs-secondary);
    --bs-pagination-active-border-color: var(--bs-secondary);
    --bs-pagination-active-color: #fff;
}

.page-link.active, .active > .page-link {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

/* Body basics */
html {
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--bs-body-font-family);
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    font-weight: 300;
    overflow-x: hidden;
}

footer {
    margin-top: auto;
}

/* ----------------------------------
   Header
   ---------------------------------- */
.main-header {
    background: #fff;
    transition: all 0.3s ease;
}

.main-header .navbar-nav .nav-item {
    margin-right: 1.5rem;
}

.main-header .navbar-nav .nav-item .nav-link {
    color: var(--bs-dark);
}

.main-header .navbar-nav .nav-item .nav-link:hover {
    color: var(--bs-primary);
}

.main-header .navbar-nav .dropdown-menu .dropdown-item {
    font-size: 0.875rem;
}

.main-header .dark-logo {
    display: block;
}

.main-header .light-logo {
    display: none;
}

.main-header.sticky {
    box-shadow: 0px 10px 30px rgba(35, 55, 128, 0.08);
}

/* Home theme header variants */
.home-theme .main-header {
    background: transparent;
    transition: all 0.3s ease;
}

.home-theme .main-header .navbar-nav .nav-item {
    margin-right: 1.5rem;
}

.home-theme .main-header .navbar-nav .nav-item .nav-link {
    color: #fff;
    font-weight: 300;
}

.home-theme .main-header .navbar-nav .nav-item .nav-link:hover {
    color: var(--bs-primary);
}

.home-theme .main-header .navbar-nav .dropdown-menu .dropdown-item {
    font-size: 0.875rem;
}

.home-theme .main-header.sticky {
    background: #fff;
    box-shadow: 0px 10px 30px rgba(35, 55, 128, 0.08);
}

.home-theme .main-header.sticky .dark-logo {
    display: block;
}

.home-theme .main-header.sticky .light-logo {
    display: none;
}

.home-theme .main-header.sticky .navbar-nav .nav-item .nav-link {
    color: var(--bs-dark);
}

.home-theme .main-header.sticky .navbar-nav .nav-item .nav-link:hover {
    color: var(--bs-primary);
}

.home-theme .main-header .dark-logo {
    display: none;
}

.home-theme .main-header .light-logo {
    display: block;
}

.main-header .navbar-toggler {
    background: none;
    border: none;
    box-shadow: none;
}

.main-header .navbar-toggler .navbar-toggler-icon {
    background-image: none;
    position: relative;
    top: 3px;
}

.main-header .navbar-toggler .navbar-toggler-icon:after {
    content: "\f0c9"; /* fa-bars */
    font-family: "FontAwesome";
    font-size: 1.5rem;
    width: auto;
    height: auto;
    color: inherit;
}

.home-theme .main-header .navbar-toggler .navbar-toggler-icon:after {
    color: #fff;
}

.home-theme .main-header.sticky .navbar-toggler .navbar-toggler-icon:after {
    color: var(--bs-dark);
}

/* ----------------------------------
   Banners
   ---------------------------------- */
.main-banner {
    background: linear-gradient(to bottom, #0D3555, #1D75BB);
    /*height: 80vh;*/
    min-height: 500px;
    background-size: cover;
    position: relative;
}

/* Alleen voor grotere schermen */
@media (min-height: 800px) {
    .main-banner {
        height: 80vh;
    }
}

.main-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../img/pattern-bg.jpg') no-repeat center center;
    opacity: 0.2;
}

.main-banner h1 {
    font-size: 3rem;
}

.main-banner p {
    color: #B4CFF3;
    font-weight: 300;
}

.main-banner .banner-content {
    position: relative;
    z-index: 1;
}

.main-banner::after {
    content: "";
    background: rgba(14, 24, 51, 0.7);
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.floating-product-count {
    bottom: 40px;
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
}

.about-banner {
    background: url('img/headway-5QgIuuBxKwM-unsplash-3.jpg') 0 0 no-repeat;
    background-size: cover;
    position: relative;
}

.about-banner .banner-content {
    position: relative;
    z-index: 1;
}

.about-banner::after {
    content: "";
    background: rgba(14, 24, 51, 0.7);
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.contact-banner {
    background: url('img/michael-fousert-ThCZr0pyP5M-unsplash.jpg') 0 0 no-repeat;
    background-size: cover;
    position: relative;
}

.contact-banner .banner-content {
    position: relative;
    z-index: 1;
}

.contact-banner::after {
    content: "";
    background: rgba(14, 24, 51, 0.7);
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ----------------------------------
   Spacing / headings / content
   ---------------------------------- */
.section-spacing {
    padding: 110px 0;
}

.headings-section h2 {
    margin-bottom: 1rem;
}

.headings-section h6 {
    color: var(--bs-gray-700);
}

.content-section {
    padding: 100px 0;
}

/* Frontpage font-size helpers */
.fs-26 {
    font-size: clamp(1.125rem, 2.5vw, 1.625rem);
}

.fs-18 {
    font-size: 1.125rem;
}

.fs-30 {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
}

.bg-dark-section {
    background-color: var(--bs-dark);
}

.content-section h5 {
    line-height: 28px;
    margin-bottom: 0;
}

.features-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 20px;
    text-align: center;
}

.features-content i {
    font-size: 40px;
}

.features-content p {
    padding: 0 30px;
}

/* ----------------------------------
   Carousels (Owl)
   ---------------------------------- */
.logo-carousel .owl-item .item {
    display: flex;
    align-items: center;
    min-height: 200px;
    /* border: 1px solid #f0f0f0; */
    padding: 10px;
    border-radius: 10px;
}

.logo-carousel .owl-dots {
    margin-top: 3rem !important;
}

.client-carousel .owl-dots {
    margin-top: 0 !important;
    display: none;
}

/* Portfolio / client / logo carousel navigation */
.portfolio-carousel .owl-nav,
.client-carousel .owl-nav,
.logo-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.portfolio-carousel .owl-nav button,
.client-carousel .owl-nav button,
.logo-carousel .owl-nav button {
    pointer-events: all;
    color: white !important;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 30px;
}

.portfolio-carousel .owl-nav button:hover,
.client-carousel .owl-nav button:hover,
.logo-carousel .owl-nav button:hover {
    background: #2a3045 !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.portfolio-carousel .owl-nav i,
.client-carousel .owl-nav i,
.logo-carousel .owl-nav i {
    font-size: 30px;
}

.portfolio-carousel .owl-nav .owl-prev,
.client-carousel .owl-nav .owl-prev,
.logo-carousel .owl-nav .owl-prev {
    margin-left: -10px;
}

.portfolio-carousel .owl-nav .owl-next,
.client-carousel .owl-nav .owl-next,
.logo-carousel .owl-nav .owl-next {
    margin-right: -10px;
}

.tags-section {
    color: var(--bs-primary);
    font-size: 0.875rem;
}

.card.author-card {
    background: transparent;
    padding: 0;
}

.author-card blockquote {
    line-height: 1.5;
    font-size: 1.25rem;
}

.bg-dark-section .author-card blockquote {
    font-size: 1.675rem;
    font-weight: 300;
    color: #fff;
}

.bg-dark-section .author-card blockquote::before,
.bg-dark-section .author-card blockquote::after {
    color: #fff;
}

.bg-dark-section .author-card .aname,
.bg-dark-section .author-card .atitle {
    font-size: 1rem;
    font-weight: 300;
    color: #EFEFEF;
}

.logo-carousel .owl-item .item {
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logo-carousel .owl-item .item:hover {
    filter: grayscale(0%);
}

/* Logo marquee: continuous scroll (replaces Owl on new_home); pause + color on hover */
.logo-marquee {
    overflow: hidden;
    width: 100%;
    padding: 0;
}

.logo-marquee__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: logo-marquee 45s linear infinite;
}

.logo-marquee:hover .logo-marquee__track {
    animation-play-state: paused;
}

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

.logo-marquee .item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 234px;
    width: 234px;
    min-height: 120px;
    padding: 10px 20px;
    border-radius: 10px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-marquee .item:hover {
    filter: grayscale(0%);
}

.logo-marquee .item img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

.problems-card {
    border-radius: 30px;
}

/* Problems card image: rounded corners match card, zoom on hover, no inline styles */
.problems-card-img-wrap {
    overflow: hidden;
    border-radius: 0 0 30px 30px;
}

@media (min-width: 992px) {
    .problems-card-img-wrap {
        border-radius: 0 30px 30px 0;
    }
}

.problems-card-img {
    height: 100%;
    min-height: 260px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.problems-card-img-wrap img {
    transition: transform 0.4s ease;
    transform: scale(1);
}

.problems-card-img-wrap:hover img {
    transform: scale(1.05);
}

/* Home "Put your product data to work" cards: image zoom + no inline styles */
.home-content-card {
    border: none;
    border-radius: 8px;
}

.home-card-img-wrap {
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.home-card-img-wrap img {
    transition: transform 0.4s ease;
    transform: scale(1);
}

.home-card-img-wrap:hover img {
    transform: scale(1.05);
}

.home-card-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.solution-step {
    position: relative;
    padding: 0 0 110px 0;
}

.solution-step-1 {
    padding-top: 40px;
}

.solution-section {
    background: url('../../img/bg-solution.png') no-repeat center center;
}

.impact-cards-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 0 30px 0;
    min-height: 220px;
}

.impact-cards-wrapper .container-lg {
    padding-left: 15px;
    padding-right: 15px;
}

.impact-cards-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    /*position: absolute;*/
    left: 0;
    width: 100%;
    -webkit-mask-image: linear-gradient(
            to right,
            transparent 0%,
            black 8%,
            black 92%,
            transparent 100%
    );
    mask-image: linear-gradient(
            to right,
            transparent 0%,
            black 8%,
            black 92%,
            transparent 100%
    );
}

.impact-cards-container::-webkit-scrollbar {
    display: none;
}

.impact-cards-container.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.impact-cards-container, .impact-cards-header {
    padding: 10px 15px 10px 15px;
}

.impact-card-placeholder {
    min-height: 80px;
}

.impact-card,
.portfolio-card {
    background: white;
    border-radius: 24px;
    padding: 40px 35px;
    max-width: 290px;
    width: 100%;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
}

.portfolio-card {
    max-width: 400px;
    padding: 0;
    box-shadow: none;
    background: none;
}

.impact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.impact-card h3 {
    color: #F16521;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 12px;
}

.impact-card p {
    color: #333;
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
}

.impact-img-placeholder {
    background: #fcfcfc;
    min-height: 200px;
    margin-bottom: 20px;
}

.start-profile-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.start-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #0e1833;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    font-size: 18px;
    margin-right: 10px;
    text-decoration: none;
}

.start-social-icons a:hover {
    background: #F16521;
    color: #fff;
}

.start-social-icons a:last-child {
    margin-right: 0;
}

.start-card {
    border-radius: 24px;
    border: none;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
}

.start-card-header {
    font-size: 0.85rem;
    font-weight: 400;
    color: #6c757d;
}

.start-card-title {
    color: #F16521;
    font-weight: 500;
}

.start-card-list .item {
    display: flex;
    align-items: center;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.start-card-list .item i {
    color: #28a745;
    margin-right: 0.4rem;
}

.start-calendar-placeholder {
    border-radius: 24px;
    background: #f8f9fb;
    min-height: 260px;
}

.start-calendar-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.85rem;
    border-radius: 999px;
    background: #fff;
    font-size: 0.8rem;
    color: #6c757d;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.start-calendar-pill i {
    margin-right: 0.4rem;
}

/* Contact hero: profile image badge (e.g. LinkedIn) on booking card */
.contact-profile-badge {
    width: 36px;
    height: 36px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.contact-profile-badge:hover {
    opacity: 0.9;
}

.contact-profile-badge-linkedin {
    background-color: #fff;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: 5px;
}

.contact-profile-badge-linkedin i {
    color: #333;
}

/* Contact page booking card: dark text to match design (not orange title) */
.contact-booking-card .contact-booking-card-title {
    color: var(--bs-body-color);
    font-weight: 600;
}

.contact-booking-card .contact-booking-card-desc {
    color: #374151;
    line-height: 1.6;
}

.contact-booking-card .start-card-list .item span {
    color: #374151;
}

.contact-booking-card .contact-booking-card-label {
    color: var(--bs-body-color);
}

.portfolio-cards-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 0 20px 0;
    min-height: 420px;
    /* Space for edge nav arrows so cards are not covered; extra right margin so content doesn't look stuck */
    padding-left: 52px;
    padding-right: 72px;
}

/* Arrows at absolute left/right end of section; carousel uses static so nav positions relative to wrapper */
.portfolio-cards-carousel.owl-carousel {
    position: static;
}

.portfolio-cards-carousel .owl-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
}

.portfolio-cards-carousel .owl-nav button {
    pointer-events: all;
}

.portfolio-cards-carousel .owl-nav .owl-prev {
    margin-left: 0;
    left: 10px;
    position: absolute;
}

.portfolio-cards-carousel .owl-nav .owl-next {
    margin-right: 0;
    right: 10px;
    position: absolute;
}

.portfolio-carousel .owl-nav i {
    font-size: 40px;
    color: #111 !important;
    background: none !important;
}

.portfolio-carousel .owl-nav button:hover {
    background: none !important;
}

.portfolio-carousel .owl-nav button.disabled {
    display: none !important;
}

.portfolio-carousel .owl-nav i:hover {
    color: #333 !important;
}

/* Portfolio Owl Carousel – Apple-style smooth scroll (ease-out, snap, peek on mobile) */
.portfolio-carousel.owl-carousel .owl-stage,
.portfolio-cards-carousel.owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
    transition: transform 0.52s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.portfolio-cards-carousel .owl-item .portfolio-card {
    height: 100%;
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 5px #eee;
}

.portfolio-cards-carousel .owl-item .portfolio-card .card {
    width: 100%;
}

.portfolio-cards-carousel .owl-item .portfolio-card .card-body {
    padding: 40px 20px;
}

/* Right margin so last item isn't stuck to the edge */
.portfolio-cards-carousel .owl-stage-outer {
    padding-right: 20px;
}

.portfolio-cards-carousel .owl-item:last-child {
    margin-right: 20px !important;
}

/* Desktop: card width 400px fixed (min and max so it doesn't exceed on large desktops) */
@media screen and (min-width: 992px) {
    .portfolio-cards-carousel .owl-item,
    .portfolio-cards-carousel .owl-item .portfolio-card {
        min-width: 400px;
        max-width: 400px;
    }
}

/* Large desktop: item margin and side padding (smaller screens use Owl margin) */
@media screen and (min-width: 1200px) {
    .portfolio-cards-carousel .owl-item {
        margin-right: 20px !important;
    }

    .portfolio-cards-carousel .owl-stage-outer {
        padding-left: 12px !important;
        padding-right: 20px !important;
    }
}

/* Legacy scroll container (e.g. other pages) – keep for backwards compatibility */
.portfolio-cards-carousel .owl-stage-outer {
    overflow: visible;
}

.portfolio-cards-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    position: absolute;
    left: 0;
    padding: 10px 15px 10px 15px;
    width: 100%;
}

.portfolio-cards-container::-webkit-scrollbar {
    display: none;
}

.portfolio-cards-container.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* Marketing & Sales page */
.ms-hero {
    background: #f4f6fb;
    padding: 90px 0;
}

.ms-hero-kicker {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: #a0a4ae;
    margin-bottom: 0.6rem;
}

.ms-hero-title {
    font-size: 2.4rem;
    font-weight: 600;
    color: #0e1833;
    margin-bottom: 2.4rem;
}

.ms-benefit-card {
    background: #fff;
    border-radius: 1.8rem;
    color: var(--bs-dark);
    padding: 2rem 1.8rem;
    font-size: 0.95rem;
    line-height: 1.5;
    box-shadow: 0 0 5px #ddd;
    min-height: 150px;
    font-weight: 400;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ms-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ms-hero-quote {
    font-size: 1rem;
    line-height: 1.8;
    color: #111827;
}

.ms-hero-stats-value {
    font-weight: 400;
    font-size: 2.4rem;

    /* color: #0e1833; */
}

.ms-hero-stats-label {
    font-size: 0.9rem;
    color: #4b5563;
}

.marketing-sales-section {
    background: #ffffff;
    padding: 50px 0;
    display: flex;
    align-items: center;
}

.marketing-sales-content {
    margin: 0 auto;
    position: relative;
}

.main-heading {
    font-size: 3rem;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin: 40px 0;
    line-height: 1.2;
}

.main-heading .orange-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #F16521;
    border-radius: 50%;
    margin-left: 8px;
    vertical-align: middle;
}

.marketing-carousel {
    position: relative;
}

.marketing-carousel .owl-item {
    padding: 20px 0;
}

.carousel-item-content {
    text-align: left;
}

.section-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bs-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.body-text {
    font-size: 1rem;
    color: #5a5a5a;
    line-height: 1.5;
    margin-bottom: 30px;
    font-weight: 300;
}

.body-text:last-child {
    margin-bottom: 0;
}

.marketing-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.marketing-carousel .owl-nav button {
    pointer-events: all;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.marketing-carousel .owl-nav button:hover {
    background: transparent !important;
    color: var(--bs-primary) !important;
}

.marketing-carousel .owl-prev.disabled {
    opacity: 0.1;
}

.marketing-carousel .owl-nav i {
    font-size: 30px;
}

.marketing-carousel .owl-nav .owl-prev {
    margin-left: -15px;
}

.marketing-carousel .owl-nav .owl-next {
    margin-right: -15px;
}

.marketing-sales-slide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

/* ----------------------------------
   Author card
   ---------------------------------- */
.author-card {
    box-shadow: 0px 10px 30px rgba(35, 55, 128, 0.08);
}

.author-card blockquote {
    line-height: 46px;
    /*quotes: "“" "”" "‘" "’";*/
}

/*.author-card blockquote::before {*/
/*    content: open-quote;*/
/*    font: 1.8rem/1.4 Georgia, serif;*/
/*    color: var(--bs-primary);*/
/*}*/

/*.author-card blockquote::after {*/
/*    content: close-quote;*/
/*    font: 1.8rem/1.4 Georgia, serif;*/
/*    color: var(--bs-primary);*/
/*}*/

.author-card .aname {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 0;
}

.author-card .aname {
    font-size: 20px;
    color: var(--bs-gray-600);
    margin-bottom: 0;
}

/* ----------------------------------
   Footer
   ---------------------------------- */
.footer {
    background: var(--bs-dark);
    color: #fff;
}

.footer .content-section {
    padding: 50px 0 20px 0;
}

.footer .card p {
    color: var(--bs-dark);
}

.footer h6 {
    font-weight: 500;
}

.footer p {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.footer p strong {
    color: #fff;
    font-weight: 500;
}

.footer .footer-bottom {
    font-size: 0.875rem;
}

.footer .footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer .footer-bottom a:hover {
    color: var(--bs-primary);
}

.footer .social-btn {
    width: 36px;
    height: 36px;
    background: #D1E4FF;
    border-radius: 8px;
    margin-right: 15px;
    display: inline-block;
    line-height: 36px;
}

.footer .social-btn a {
    color: var(--bs-dark);
    display: block;
    text-align: center;
}

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

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

.footer .footer-nav li a {
    font-weight: 300;
}

.footer .footer-nav a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

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

/* ----------------------------------
   Stats section
   ---------------------------------- */
.stats-section h2 {
    color: #fff;
}

.stats-section h6 {
    color: rgba(255, 255, 255, 0.5);
}

/* ----------------------------------
   Platform base
   ---------------------------------- */
.base-platform {
    padding-top: 100px;
    background: #E8E8E8;
}

.base-platform .main-header {
    background: #fff;
}

.base-platform .main-header .nav-item .nav-link {
    color: var(--bs-dark) !important;
}

.base-platform .main-header .light-logo {
    display: block !important;
}

.base-platform .main-header .light-logo img {
    height: 40px !important;
}

.base-platform .main-header .dark-logo {
    display: none !important;
}

.base-platform .nice-select {
    height: auto;
}

.custom-shadow {
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1), 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.select-platform .dropdown a.dropdown-toggle {
    color: var(--bs-dark);
    text-decoration: none;
    font-weight: 500;
}

/* ----------------------------------
   Helpers / placeholders
   ---------------------------------- */
.image-placeholder {
    width: 50px;
    height: 50px;
    display: block;
    border-radius: 100%;
    overflow: hidden;
    box-shadow: 0px 10px 30px rgba(35, 55, 128, 0.08);
    border: 1px solid var(--lightgray);
    background: #fff;
}

.card-img-placeholder {
    height: 270px;
    overflow: hidden;
    position: relative;
}

.card-img-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    border-radius: 0.3rem;
}

.card-img-placeholder .card-tag {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
}

.card-img-placeholder .card-tag div {
    display: inline-block;
    padding: 3px 5px;
    background: var(--bs-dark);
    color: #fff;
    border-radius: 0.3rem;
    font-size: 0.75rem;
    font-weight: normal;
}

.card-img-placeholder .card-tag div.dev {
    background: var(--bs-info);
}

.card-img-placeholder .card-tag div.live {
    background: var(--bs-success);
}

.card-img-placeholder .card-version {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 2;
}

.card-img-placeholder .card-version div {
    display: inline-block;
    padding: 3px 5px;
    color: #fff;
    border-radius: 0.3rem;
    font-size: 0.75rem;
}

.platform-nav {
    color: var(--bs-gray-300);
}

.platform-nav a {
    display: inline-block;
    padding: 0 5px;
    text-decoration: none;
    color: var(--bs-dark);
}

.platform-nav a:hover {
    opacity: 0.5;
}

.platform-card p {
    font-size: 0.875rem;
}

.platform-card p .text-muted a {
    color: var(--bs-gray-700);
}

.custom-table {
    font-size: 0.875rem;
    border-spacing: 0;
    width: 100%;
}

.custom-table th[scope="col"] {
    font-weight: 500;
    padding: 0.75rem 0.5rem;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary-text-emphasis);
}

.custom-table th[scope="row"] {
    padding: 0.75rem 0.5rem;
    font-weight: 600;
}

.custom-table td {
    padding: 0.75rem 0.5rem;
}

/* ----------------------------------
   Calculation Base
   ---------------------------------- */
.calculation-base {
    padding-top: 56px;
    overflow-y: hidden;
}

.calculation-base a.text-primary {
    color: var(--bs-primary) !important;
}

.calculation-base .right-calc-panel {
    padding: 1rem 0 1rem 1rem;
    height: calc(100vh - 118px);
    overflow-y: auto;
}

.calculation-base .right-calc-panel .tab-pane a {
    color: var(--bs-primary) !important;
}

.calculation-base .right-calc-panel .infotext {
    font-size: 0.875rem;
}

.calculation-base .right-calc-panel .nav-tabs .nav-link {
    color: var(--bs-dark);
    cursor: pointer;
}

.calculation-base .right-calc-panel .nav-tabs .nav-link.active,
.calculation-base .right-calc-panel .nav-tabs .nav-link:hover {
    color: var(--bs-primary);
}

.calculation-base .left-calc-panel {
    font-size: 0.875rem;
    overflow-y: auto;
    background: #fff;
    padding: 1rem;
    height: calc(100vh - 118px);
}

.calculation-base .left-calc-panel label {
    color: var(--bs-gray-600);
    font-weight: 500;
}

.calculation-base .left-calc-panel .form-check-label {
    font-weight: normal;
    color: var(--bs-gray-900);
}

.calculation-base .left-calc-panel .form-check-input:checked {
    background-color: var(--bs-gray);
    border-color: var(--bs-gray);
}

.calculation-base .left-calc-panel .calc-headers {
    padding-top: 1rem;
    font-size: 1rem;
}

.calculation-base .left-calc-panel .calc-headers strong {
    font-weight: 500;
}

.calculation-base .left-calc-panel .calc-headers:first-child {
    padding-top: 0;
}

.calculation-base .calc-blocks { /* reserved */
}

.calculation-base .navbar {
    font-size: 0.875rem;
}

/* ----------------------------------
   Tab slider (Owl)
   ---------------------------------- */
.tab-slider {
    flex-direction: row !important;
    white-space: nowrap;
}

.tab-slider .owl-nav {
    position: absolute;
    right: 0;
    top: 0;
    background: #fff;
}

.tab-slider .owl-nav button {
    margin: 0 5px;
}

.tab-slider .owl-nav button.disabled {
    cursor: none;
    opacity: 0.1;
}

.tab-slider .owl-nav button:hover {
    color: var(--bs-primary) !important;
}

.tab-slider .owl-nav button span {
    font-size: 27px;
}

/* ----------------------------------
   Split.js gutters (if used)
   ---------------------------------- */
.split {
    display: flex;
    flex-direction: row;
}

.gutter {
    background-color: #eee;
    background-repeat: no-repeat;
    background-position: 50%;
}

.gutter.gutter-horizontal {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==');
    cursor: col-resize;
}

/* Owl stage flex fix */
.owl-stage {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-box;
    display: box;
}

/* About cards */
.about-cards {
    box-shadow: 0px 10px 30px rgba(35, 55, 128, 0.08);
}

.about-cards .round-block {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    color: var(--bs-primary);
    font-size: 2rem;
}

/* Team cards */
.team-cards .card {
    margin-bottom: 2rem;
    box-shadow: 0px 10px 30px rgba(35, 55, 128, 0.08);
}

.team-cards .card .image-cover {
    overflow: hidden;
    border-top-left-radius: 0.6rem;
    border-top-right-radius: 0.6rem;
}

.team-cards .card .image-cover img {
    transform: scale(1);
    transition: all 0.3s ease;
}

.team-cards .card .image-cover img:hover {
    transform: scale(1.05);
}

.team-cards .card .card-body .card-title {
    color: var(--bs-secondary);
}

/* Lists */
.py-list {
    line-height: 24px;
}

.py-list li {
    padding-bottom: 1rem;
}

.py-list li span {
    color: var(--bs-primary);
}

/* Accordion */
.custom-accordion .accordion-item {
    margin-bottom: 1rem;
}

.custom-accordion .accordion-item .accordion-button {
    font-weight: 600;
}

.custom-accordion .accordion-item:not(:first-of-type) {
    border-top: 1px solid #dee2e6;
}

/* FAQ page accordion: white block, orange active state, chevron styling */
.faq-accordion-wrapper {
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-accordion.accordion .accordion-item {
    margin-bottom: 0;
    border-top: none;
    border-bottom: 1px solid #eee;
    background-color: transparent;
}

.faq-accordion.accordion .accordion-item:last-child {
    border-bottom: none;
}

.faq-accordion.accordion .accordion-item .accordion-button {
    color: var(--bs-body-color);
    background-color: transparent;
    padding: 1rem 0;
    font-size: 1rem;
    border: none;
    box-shadow: none;
    font-weight: 400 !important;
}

.faq-accordion.accordion .accordion-item .accordion-button:not(.collapsed) {
    color: var(--bs-primary);
    background-color: transparent;
    box-shadow: none;
}

.faq-accordion.accordion .accordion-item .accordion-button::after {
    background-image: none;
    content: "\f078";
    font-family: "FontAwesome";
    font-size: 1rem;
    width: auto;
    height: auto;
    color: inherit;
}

.faq-accordion.accordion .accordion-item .accordion-button:not(.collapsed)::after {
    content: "\f077";
    transform: none;
}

.faq-accordion.accordion .accordion-item .accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.faq-accordion.accordion .accordion-body {
    color: var(--bs-body-color);
    padding: 0 0 1rem 0 !important;
}

/* Clipboard button wrapper */
.clip-container .clip-button {
    position: absolute;
    right: 0;
    top: 0;
}

/* Dotted section */
.dotted-section {
    position: relative;
}

.dotted-section .content-section {
    position: relative;
    z-index: 1;
}

.dotted-section .content-section .carousel {
    border: 3px solid rgba(241, 101, 33, 0.3);
}

.dotted-section::after {
    content: "";
    position: absolute;
    height: 80%;
    width: 1px;
    border-right: 3px dotted var(--bs-primary);
    opacity: 0.30;
    left: 50%;
    top: 10%;
    transform: translateX(-50%);
}

/* Blog */
.blog-container {
    max-width: 740px;
    margin: 0 auto;
}

/* Documentation */
.documentation h2 {
    margin-bottom: 1rem;
}

.documentation h1 {
    margin-bottom: 1.5rem;
}

.documentation .code {
    background: var(--bs-dark);
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    margin: 1rem 0;
    font-family: monospace;
}

/* TOC */
.table_of_contents-item {
    font-size: 0.875rem;
    padding: 10px 10px;
    font-weight: 500;
}

.table_of_contents-item.table_of_contents-indent-1 {
    padding-left: 10px;
    font-weight: normal;
}

.table_of_contents-item.table_of_contents-indent-1 {
    padding-left: 20px;
    font-weight: normal;
}

.table_of_contents-item:hover {
    background: var(--bs-gray-100);
}

.table_of_contents-item a {
    text-decoration: none;
    color: var(--bs-dark);
    display: block;
}

.table_of_contents-item a.active {
    color: var(--bs-primary);
}

/* ----------------------------------
   Breakpoints
   ---------------------------------- */

@media screen and (min-width: 992px) {
    .bd-nav {
        position: sticky;
        top: 5rem;
        display: block !important;
        height: calc(100vh - 6rem);
        overflow-y: auto;
    }

    .impact-cards-container, .impact-cards-header {
        padding: 10px 40px 10px 10%;
    }

    .logo-carousel .owl-nav {
        display: none !important;
    }

    .portfolio-cards-container {
        padding: 10px 40px 10px 6%;
    }
}

@media screen and (max-width: 991px) {
    body:not(.home-theme) .main-header.navbar {
        border-bottom: 1px solid var(--bs-gray-300);
    }

    .navbar-collapse .nav-item {
        border-bottom: 1px solid var(--bs-gray-300);
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .navbar-collapse .nav-item .btn {
        background: transparent !important;
        color: var(--bs-dark) !important;
        border: 0;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        padding-left: 0;
    }

    .navbar-collapse .nav-item .dropdown-menu {
        border: 0;
        padding: 0;
        margin: 0;
    }

    .navbar-collapse .nav-item .dropdown-menu .dropdown-item {
        border-bottom: 1px solid var(--bs-gray-300);
        font-size: 0.875rem;
        padding: 0.5rem;
    }

    .navbar-collapse .nav-item .dropdown-menu .dropdown-item:last-child {
        border-bottom: 0;
    }


    /* .home-theme .main-header:not(.sticky) .navbar-toggler {
        background: #fff;
    } */
    .home-theme .main-header:not(.sticky) .navbar-collapse {
        background: var(--bs-dark);
    }

    .home-theme .main-header:not(.sticky) .navbar-collapse .nav-item {
        border-color: var(--bs-black);
        margin-right: 0;
    }

    .home-theme .main-header:not(.sticky) .navbar-collapse .nav-item .dropdown-menu {
        background: none;
    }

    .home-theme .main-header:not(.sticky) .navbar-collapse .nav-item .dropdown-menu .dropdown-item {
        color: #fff;
    }

    .home-theme .main-header:not(.sticky) .navbar-collapse .nav-item .dropdown-menu .dropdown-item:hover {
        color: var(--bs-primary);
    }

    .home-theme .main-header:not(.sticky) .navbar-collapse .nav-item .btn {
        color: #fff !important;
    }

    .dark-logo img, .light-logo img {
        height: 40px !important;
    }

    .content-section {
        padding: 50px 0;
    }

    .section-spacing {
        padding: 45px 0;
    }

    .single-footer-widget {
        padding-left: 0;
    }

    .solution-step::after {
        display: none;
    }

    .portfolio-card {
        flex-basis: 280px;
    }

    .solution-step {
        padding: 0;
    }
}

@media screen and (min-width: 576px) {
    .impact-cards-container, .impact-cards-header {
        padding: 10px 30px 10px 6%;
    }

    .start-profile-img {
        width: 220px;
        height: 220px;
    }

    .portfolio-cards-container {
        padding: 10px 30px 10px 5%;
    }
}

@media screen and (min-width: 768px) {
    .impact-cards-wrapper {
        min-height: 250px;
    }

    .portfolio-cards-wrapper {
        min-height: 480px;
    }
}

@media screen and (max-width: 768px) {
    .impact-card {
        min-width: 260px;
        padding: 35px 30px;
    }

    /* .portfolio-carousel .owl-nav {
        display: none;
    } */
}

@media screen and (max-width: 480px) {
    .portfolio-cards-wrapper {
        padding: 0 20px;
    }

    .impact-card {
        min-width: 320px;
    }

    .problems-card-img-wrap {
        border-radius: 15px 15px 0 0;
    }

    .bg-dark-section .author-card blockquote {
        font-size: 1rem;
        line-height: 1.6;
        text-align: center;
    }

    .bg-dark-section .author-card .aname,
    .bg-dark-section .author-card .atitle {
        font-size: 0.875rem;
    }

    .client-carousel .owl-nav {
        display: none;
    }

    .client-carousel .owl-dots {
        display: block;
    }

    .portfolio-card {
        flex-basis: 90%;
    }

    .footer .content-section {
        padding: 20px 15px;
    }

    .logo-carousel .owl-item .item {
        width: 220px;
        margin: 0 auto;
    }

    .logo-marquee .item {
        min-width: 182px;
        width: 182px;
        min-height: 100px;
    }

    .logo-marquee .item img {
        max-height: 60px;
    }
}

.current-badge {
    display: inline-block;
    padding: 3px 5px;
    background: var(--bs-dark);
    color: #fff;
    border-radius: 0.3rem;
    font-size: 0.75rem;
    font-weight: normal;
    background: var(--bs-green);
}