.mbs-hp {
    position: absolute;
    inset: 0 auto auto 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    opacity: 0;
    pointer-events: none;
}

html {
    overflow-x: hidden;
    overflow-anchor: none;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    max-width: 100%;
}

img,
video,
iframe,
svg {
    max-width: 100%;
}

p,
h1, h2, h3, h4, h5, h6,
.portfolio-info p,
.service-item p,
.footer p {
    overflow-wrap: break-word;
    word-break: normal;
}

.header .container-xl {
    min-width: 0;
    gap: 8px;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}

.header .lang-switcher a {
    color: var(--nav-color, #222);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 4px;
    font-weight: 600;
    line-height: 1.2;
}

.header .lang-switcher a:hover,
.header .lang-switcher a:focus {
    color: var(--nav-hover-color, #ed502e);
    background: color-mix(in srgb, var(--accent-color, #ed502e), transparent 90%);
}

.header .lang-switcher a.active {
    color: #fff;
    background: var(--accent-color, #ed502e);
    font-weight: 700;
}

.header .lang-sep {
    color: #8a8a8a;
    padding-inline: 2px;
    user-select: none;
}

.navmenu .dropdown a.active {
    color: var(--nav-hover-color, #ed502e);
    font-weight: 700;
}

.hero,
#hero-carousel {
    direction: ltr;
}

.hero .carousel-container {
    padding-inline: 16px;
    direction: rtl;
    text-align: right;
}

html[dir="ltr"] .hero .carousel-container {
    direction: ltr;
    text-align: left;
}

.hero .carousel-container h2 {
    word-break: break-word;
}

.hero .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero {
    padding: 100px 16px 48px;
    background-color: #1b1f28;
    color: #fff;
}

.page-hero h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.services .service-item .service-image img,
.portfolio-content img,
.member img {
    max-width: 100%;
    height: auto;
}

.table-responsive {
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-active .whatsapp-float,
.mobile-nav-active .scroll-top,
.mobile-nav-active .mbs-chatbot-fab,
.mobile-nav-active .mbs-chatbot-panel {
    display: none !important;
}

@media (max-width: 1199px) {
    .header .lang-switcher {
        display: none;
    }

    html[dir="rtl"] .mobile-nav-toggle {
        margin-right: 0;
        margin-left: 4px;
    }

    html[dir="rtl"] .mobile-nav-active .mobile-nav-toggle {
        right: auto;
        left: 15px;
    }

    .header {
        padding: 6px 0;
    }

    .header .container-xl {
        flex-wrap: nowrap;
        min-height: 52px;
    }

    .header .logo {
        min-width: 0;
        flex: 1 1 auto;
    }

    .header .logo .sitename {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--heading-color, inherit);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 58vw;
    }

    .header .navmenu {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        gap: 2px;
    }

    .header .logo img {
        max-height: 32px;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 52px !important;
        height: 52px !important;
        font-size: 26px !important;
        bottom: 18px !important;
    }

    .scroll-top {
        width: 40px;
        height: 40px;
        bottom: 80px;
    }

    .section {
        padding: 48px 0;
    }

    .section-title h2,
    .section-title .description-title {
        font-size: 1.4rem;
    }

    .hero .carousel-container h2 {
        font-size: 1.6rem;
        line-height: 1.4;
    }

    .hero .carousel-container p {
        font-size: 0.95rem;
    }

    .services .service-item {
        padding: 20px 16px;
    }

    .faq-item {
        flex-direction: column;
    }

    .portfolio-filters {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
}

html.mbs-no-aos [data-aos],
html.mbs-no-aos [data-aos].aos-animate {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: none !important;
}

@media (max-width: 991.98px) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    section,
    .section {
        overflow: visible;
        padding: 28px 0;
        scroll-margin-top: 64px;
    }

    .section-title {
        padding-bottom: 14px;
    }

    .container,
    .container-fluid,
    .container-xl {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header .container-xl {
        padding-left: 12px;
        padding-right: 12px;
        width: 100%;
    }

    .header .logo img {
        max-height: 30px;
        max-width: 140px;
        width: auto;
        object-fit: contain;
    }

    .mobile-nav-toggle {
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        margin: 0;
    }

    .navmenu a,
    .navmenu a:focus {
        white-space: normal;
        min-height: 48px;
        padding: 12px 18px;
        line-height: 1.4;
    }

    .mobile-nav-active .navmenu > ul {
        inset: 56px 12px 12px 12px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }

    .hero,
    .hero .carousel {
        min-height: 0;
        height: auto;
    }

    .hero .carousel-container {
        inset: auto;
        padding-inline: 0;
    }

    .hero .btn-get-started {
        min-height: 48px;
        padding: 12px 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 8px 0 0;
    }

    .page-hero {
        padding: 20px 16px 18px !important;
        background: #161a22 !important;
    }

    .page-hero h1 {
        font-size: 1.45rem;
        line-height: 1.35;
    }

    .call-to-action img {
        object-fit: cover;
        max-height: 420px;
    }

    .cta-btn,
    .contact .btn,
    .contact .form-control {
        min-height: 48px;
    }

    .contact .form-control {
        font-size: 16px;
    }

    .footer .social-links a {
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .whatsapp-float {
        bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
        inset-inline-start: 16px;
        width: 52px !important;
        height: 52px !important;
    }

    .scroll-top {
        bottom: calc(80px + env(safe-area-inset-bottom, 0px));
        inset-inline-end: 16px;
    }
}

@media (max-width: 575px) {
    .hero,
    .hero .carousel {
        min-height: 0;
        max-height: none;
        height: auto;
    }

    .hero .carousel-container h2 {
        font-size: 1.35rem;
        margin-bottom: 12px;
        line-height: 1.35;
    }

    .hero .carousel-container p {
        font-size: 0.9rem;
        line-height: 1.75;
    }

    .client-item {
        padding: 12px 8px !important;
    }

    .testimonial-item {
        padding: 16px 12px;
    }

    .section-title h2,
    .section-title .description-title {
        font-size: 1.2rem;
    }

}

@media (max-width: 359px) {
    .hero .carousel-container h2 {
        font-size: 1.2rem;
    }

    .header .logo img {
        max-width: 110px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero h2,
    .hero p,
    .hero .btn-get-started,
    .whatsapp-float {
        animation: none !important;
    }
}

.mbs-hero-static {
    position: relative;
    min-height: 72vh;
    min-height: 72svh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.mbs-hero-static .carousel-container p {
    max-width: 40rem;
    line-height: 1.7;
}

.mbs-hero-static .hero-actions {
    flex-shrink: 0;
}

.mbs-hero-static .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.mbs-hero-static::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: color-mix(in srgb, var(--background-color, #111), transparent 32%);
}

.mbs-hero-static .carousel-container {
    position: relative;
    inset: auto;
    z-index: 3;
    width: 100%;
    padding: 112px 16px 56px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 4px;
}

.hero .btn-hero-outline {
    background: transparent;
    border: 1px solid currentColor;
}

.hero .btn-hero-outline:hover {
    background: color-mix(in srgb, var(--contrast-color, #fff), transparent 85%);
}

.header .logo .sitename {
    font-weight: 700;
    color: var(--heading-color, inherit);
}

.header-cta,
.mbs-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 4px;
    background: var(--accent-color);
    color: var(--contrast-color, #fff) !important;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.header-cta:hover,
.mbs-nav-cta:hover {
    color: var(--contrast-color, #fff) !important;
    opacity: 0.92;
}

.services a.service-item {
    color: inherit;
}

.services a.service-item:hover h3 {
    color: var(--accent-color);
}

.portfolio-info a {
    color: inherit;
}

.mbs-prose {
    line-height: 1.85;
    overflow-wrap: break-word;
    word-break: normal;
    text-align: start;
}

.mbs-contact-success {
    border-radius: 8px;
}

.mbs-contact-submit {
    min-height: 48px;
    padding-inline: 24px;
}

.mbs-view-all {
    min-height: 44px;
}

@media (max-width: 991.98px) {
    .mbs-hero-static {
        min-height: 38svh;
        height: auto;
        align-items: flex-end;
    }

    .mbs-hero-static .carousel-container {
        padding: 32px 16px 28px;
        min-height: 0;
    }
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--nav-color, #222);
    cursor: pointer;
}

.theme-toggle:hover,
.theme-toggle:focus {
    color: var(--nav-hover-color, #ed502e);
    background: color-mix(in srgb, var(--accent-color, #ed502e), transparent 90%);
}

.theme-icon-sun {
    display: none;
}

html[data-theme="dark"] .theme-icon-sun {
    display: inline-block;
}

html[data-theme="dark"] .theme-icon-moon {
    display: none;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --background-color: #121212;
    --default-color: #e8e8e8;
    --heading-color: #f5f5f5;
    --accent-color: #ed502e;
    --surface-color: #1c1c1c;
    --contrast-color: #ffffff;
    --nav-color: #e8e8e8;
    --nav-hover-color: #ed502e;
    --nav-mobile-background-color: #1c1c1c;
    --nav-dropdown-background-color: #1c1c1c;
    --nav-dropdown-color: #e8e8e8;
    --nav-dropdown-hover-color: #ed502e;
}

html[data-theme="dark"] .light-background {
    --background-color: #181818;
    --surface-color: #222222;
}

html[data-theme="dark"] .header {
    background-color: #161616;
    border-bottom: 1px solid #2a2a2a;
}

html[data-theme="dark"] .client-item,
html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .bg-light {
    background-color: #1c1c1c !important;
    color: var(--default-color);
}

html[data-theme="dark"] .form-control {
    background-color: #1c1c1c;
    color: #e8e8e8;
    border-color: #3a3a3a;
}

html[data-theme="dark"] .form-control:focus {
    background-color: #1c1c1c;
    color: #e8e8e8;
    border-color: var(--accent-color);
}

html[data-theme="dark"] .alert-light,
html[data-theme="dark"] .alert-success {
    background-color: #222;
    color: #e8e8e8;
    border-color: #3a3a3a;
}

html[data-theme="dark"] .btn-outline-primary,
html[data-theme="dark"] .btn-outline-secondary {
    color: #e8e8e8;
    border-color: #5a5a5a;
}

html[data-theme="dark"] .mbs-chatbot-panel {
    background: #1c1c1c;
    color: #e8e8e8;
    border-color: #333;
}

.mbs-chatbot-fab {
    position: fixed;
    z-index: 1001;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    background: var(--accent-color, #ed502e);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

html[dir="rtl"] .mbs-chatbot-fab,
html[dir="rtl"] .mbs-chatbot-panel {
    left: 30px;
    right: auto;
}

html[dir="ltr"] .mbs-chatbot-fab,
html[dir="ltr"] .mbs-chatbot-panel {
    right: 30px;
    left: auto;
}

.mbs-chatbot-fab {
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

.mbs-chatbot-fab .mbs-chatbot-close {
    display: none;
}

.mbs-chatbot-fab.is-open {
    display: none;
}

.mbs-chatbot-fab.is-open .mbs-chatbot-open {
    display: none;
}

.mbs-chatbot-fab.is-open .mbs-chatbot-close {
    display: inline-block;
}

.mbs-chatbot-panel {
    position: fixed;
    z-index: 1002;
    bottom: calc(164px + env(safe-area-inset-bottom, 0px));
    width: min(360px, calc(100vw - 24px));
    max-height: 70vh;
    display: none;
    flex-direction: column;
    background: #fff;
    color: var(--default-color, #222);
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.mbs-chatbot-panel.is-open {
    display: flex;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}

.mbs-chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    background: var(--accent-color, #ed502e);
    color: #fff;
}

.mbs-chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    min-height: 140px;
}

.mbs-chatbot-msg {
    margin-bottom: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    max-width: 90%;
    overflow-wrap: break-word;
    word-break: normal;
    white-space: pre-wrap;
    text-align: start;
    unicode-bidi: plaintext;
    line-height: 1.55;
}

.mbs-chatbot-msg.bot a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
}

.mbs-chatbot-msg.is-typing {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    white-space: nowrap;
    min-width: 44px;
}

.mbs-chatbot-msg.is-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.35;
    animation: mbs-chat-dot 1s infinite ease-in-out;
}

.mbs-chatbot-msg.is-typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.mbs-chatbot-msg.is-typing span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes mbs-chat-dot {
    0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-3px); }
}

.mbs-chatbot-msg.bot {
    background: color-mix(in srgb, var(--accent-color, #ed502e), transparent 90%);
}

.mbs-chatbot-msg.user {
    margin-inline-start: auto;
    background: var(--accent-color, #ed502e);
    color: #fff;
}

.mbs-chatbot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 12px 8px;
}

.mbs-chatbot-suggestions button {
    border: 1px solid #ddd;
    background: transparent;
    color: inherit;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
}

.mbs-chatbot-form {
    display: flex;
    gap: 6px;
    padding: 10px 12px 12px;
    border-top: 1px solid #eee;
}

.mbs-chatbot-form input {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 10px;
    background: inherit;
    color: inherit;
}

.mbs-chatbot-form button {
    min-height: 44px;
    min-width: 44px;
    border: 0;
    border-radius: 8px;
    background: var(--accent-color, #ed502e);
    color: #fff;
}

.mbs-chatbot-header .mbs-chatbot-x {
    border: 0;
    background: transparent;
    color: #fff;
    width: 36px;
    height: 36px;
}

.mbs-chatbot-wa {
    display: block;
    text-align: center;
    padding: 8px 12px 12px;
    color: #198754;
    font-weight: 600;
}

.navmenu .theme-toggle {
    margin: 8px 18px;
}

html[data-theme="dark"] .mbs-chatbot-form {
    border-top-color: #333;
}

html[data-theme="dark"] .mbs-chatbot-form input,
html[data-theme="dark"] .mbs-chatbot-suggestions button {
    border-color: #444;
}

@media (max-width: 768px) {
    html[dir="rtl"] .mbs-chatbot-fab,
    html[dir="rtl"] .mbs-chatbot-panel {
        left: 20px;
    }

    html[dir="ltr"] .mbs-chatbot-fab,
    html[dir="ltr"] .mbs-chatbot-panel {
        right: 20px;
    }

    .mbs-chatbot-fab {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px));
        width: 52px;
        height: 52px;
    }

    .mbs-chatbot-panel,
    .mbs-chatbot-panel.is-open {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px));
        max-height: min(70vh, calc(100svh - 120px));
    }
}

.mbs-card {
    background: var(--surface-color, #fff);
    border: 1px solid color-mix(in srgb, var(--default-color, #222), transparent 90%);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) {
    .mbs-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
        border-color: color-mix(in srgb, var(--accent-color, #ed502e), transparent 70%);
    }
}

.mbs-card-body {
    padding: 16px 18px 18px;
}

.mbs-card-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.45;
}

.mbs-card-media {
    display: block;
    overflow: hidden;
}

.mbs-card-media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.35s ease;
}

@media (hover: hover) {
    .mbs-card:hover .mbs-card-media img {
        transform: scale(1.04);
    }
}

.mbs-card-badge {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent-color, #ed502e), transparent 88%);
    color: var(--accent-color, #ed502e);
    font-size: 0.75rem;
    font-weight: 700;
}

.mbs-card-link {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent-color, #ed502e);
    text-decoration: none;
}

.mbs-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--accent-color, #ed502e), transparent 88%);
    color: var(--accent-color, #ed502e);
    font-size: 1.15rem;
}

.mbs-about-intro {
    padding: 22px 22px 20px;
}

.mbs-client-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 14px 18px;
    min-height: 158px;
}

.mbs-client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 64px;
    margin-bottom: 12px;
}

.mbs-client-logo img {
    max-height: 56px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

.mbs-client-logo .bi {
    font-size: 1.75rem;
    color: var(--accent-color, #ed502e);
}

.mbs-about-copy p {
    margin-bottom: 1rem;
    line-height: 1.9;
    text-align: start;
}

.mbs-about-copy p:last-child {
    margin-bottom: 0;
}

.mbs-about-aside {
    display: grid;
    gap: 12px;
}

.mbs-about-panel {
    padding: 18px 18px 16px;
}

.mbs-about-panel .h5 {
    margin-bottom: 8px;
    font-weight: 700;
}

.mbs-about-panel p {
    margin-bottom: 0;
    line-height: 1.8;
}

.mbs-page-lead {
    margin-bottom: 20px;
}

.footer-cta p {
    margin-bottom: 14px;
    line-height: 1.7;
}

.mbs-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mbs-footer-quote,
.mbs-footer-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.mbs-footer-whatsapp {
    background: #198754;
    color: #fff;
    border: 0;
}

.mbs-footer-whatsapp:hover,
.mbs-footer-whatsapp:focus {
    background: #157347;
    color: #fff;
}

.footer .copyright p {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer .mbs-copyright-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.4em;
}

.footer .mbs-footer-credit {
    margin-top: 8px;
    font-size: 0.8125rem;
    opacity: 0.88;
}

.footer .mbs-footer-credit strong {
    color: var(--accent-color);
    font-weight: 700;
    unicode-bidi: isolate;
}

.mbs-page-lead p {
    margin: 0;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.portfolio .portfolio-content,
.services .service-item {
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface-color, #fff);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.services .mbs-service-card.service-item {
    padding: 0;
    text-align: start;
    border: 1px solid color-mix(in srgb, var(--default-color, #222), transparent 90%);
}

.services .mbs-service-card.service-item:hover,
.services .mbs-service-card.service-item:hover h3,
.services .mbs-service-card.service-item:hover p {
    background: var(--surface-color, #fff);
    color: inherit;
    border-color: color-mix(in srgb, var(--accent-color, #ed502e), transparent 70%);
}

.services .mbs-service-card .icon {
    margin: 20px 18px 0;
}

.services .mbs-service-card .mbs-card-body {
    padding-top: 14px;
}

.portfolio .portfolio-content img,
.services .service-item .service-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.portfolio .portfolio-content .portfolio-info h4,
.portfolio .portfolio-content .portfolio-info p {
    padding-right: 0;
    padding-inline: 0;
}

.about-page .about.section,
.services-page .services.section,
.portfolio-page .portfolio.section,
.team-page .team.section,
.clients-page .clients.section,
.faq-page .faq.section,
.contact-page .contact.section {
    padding-top: 20px;
}

html[data-theme="dark"] .mbs-about-panel,
html[data-theme="dark"] .mbs-card {
    background: #1c1c1c;
    border-color: #333;
}

html[data-theme="dark"] .mbs-card-badge {
    background: #2a2a2a;
}

@media (max-width: 991.98px) {
    .page-hero {
        padding: 20px 16px 18px !important;
        background: #161a22 !important;
    }

    .page-hero h1 {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }

    .page-hero .breadcrumb {
        font-size: 0.82rem;
    }

    .about ul {
        padding-inline-start: 0;
        margin-top: 16px;
    }

    .about ul li {
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 10px;
        line-height: 1.7;
    }

    .about ul i {
        padding-right: 0;
        padding-inline-end: 2px;
        margin-top: 3px;
        flex-shrink: 0;
    }

    .stats i {
        font-size: 28px;
    }

    .stats .stats-item p {
        font-size: 0.8rem;
        text-align: center;
    }

    .about-page .stats.section {
        padding-top: 4px;
        padding-bottom: 24px;
    }

    .portfolio-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        margin-bottom: 8px;
    }

    .portfolio-filters li {
        flex: 0 0 auto;
        min-height: 36px;
        padding: 6px 12px;
    }

    .footer {
        padding-top: 28px;
        padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    }

    .contact .info-item {
        margin-bottom: 10px;
        padding: 12px 14px;
    }
}

.mbs-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
    height: 100%;
}

.mbs-info-copy {
    min-width: 0;
}

.call-to-action img {
    position: absolute;
}

@media (max-width: 991.98px) {
    .row {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

    .section-title h2 {
        display: none;
    }

    .section-title div,
    .section-title .description-title {
        font-size: 1.2rem;
        line-height: 1.4;
        text-transform: none;
        text-wrap: balance;
    }

    .hero .btn-get-started {
        margin: 0;
        width: auto;
        flex: 1 1 auto;
    }

    .hero-actions {
        width: 100%;
        justify-content: stretch;
        gap: 10px;
        margin-top: 12px;
    }

    .mbs-hero-static .carousel-container h2 {
        margin-bottom: 10px;
        font-size: clamp(1.3rem, 6vw, 1.75rem);
        text-wrap: balance;
    }

    .mbs-hero-static .carousel-container p {
        margin-bottom: 0;
        max-width: none;
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .services .service-item {
        padding: 16px 14px !important;
        text-align: center;
    }

    .services .service-item .service-image {
        margin-bottom: 10px;
    }

    .services .service-item .icon {
        width: 48px;
        height: 48px;
        margin-bottom: 10px;
    }

    .services .service-item .icon::before {
        display: none;
    }

    .services .service-item h3 {
        font-size: 1.05rem;
        margin: 0 0 6px;
        text-wrap: balance;
    }

    .services .service-item p {
        line-height: 1.65;
    }

    .hero h2,
    .hero p,
    .hero .btn-get-started {
        animation: none !important;
        transform: none !important;
    }

    .client-item .bi {
        font-size: 1.7rem !important;
    }

    .stats i {
        font-size: 22px;
        margin-bottom: 0;
    }

    .stats .stats-item {
        margin-top: -16px;
        padding: 22px 8px 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }

    .stats .stats-item span {
        font-size: 1.35rem;
        line-height: 1.2;
    }

    .mbs-client-card {
        min-height: 132px;
        padding: 14px 10px 12px;
    }

    .mbs-client-logo {
        height: 48px;
        margin-bottom: 8px;
    }

    .mbs-client-logo img {
        max-height: 44px;
    }

    .mbs-card-title {
        font-size: 0.8rem;
    }

    .mbs-about-intro {
        padding: 16px 14px;
    }

    .portfolio .portfolio-content .portfolio-info {
        padding: 12px 14px;
    }

    .portfolio .portfolio-content .portfolio-info h4,
    .portfolio .portfolio-content .portfolio-info p {
        padding-right: 0;
        padding-inline: 0;
        font-size: 0.95rem;
    }

    .portfolio .isotope-container {
        height: auto !important;
    }

    .portfolio .isotope-item {
        position: relative !important;
        inset: auto !important;
        transform: none !important;
        width: 100%;
    }

    .contact .info-item.mbs-info-item {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: start;
        padding: 12px 14px;
        gap: 12px;
    }

    .contact .info-item i {
        width: 44px;
        height: 44px;
        font-size: 20px;
        flex-shrink: 0;
    }

    .contact .info-item h3 {
        margin: 0 0 2px;
        font-size: 0.85rem;
    }

    .contact .info-item p {
        font-size: 0.9rem;
        overflow-wrap: anywhere;
    }

    .mbs-contact-submit,
    .contact .btn-success {
        width: 100%;
        min-height: 48px;
    }

    .call-to-action {
        padding: 32px 0;
    }

    .call-to-action img {
        position: absolute;
        height: 100%;
    }

    .call-to-action h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
        text-wrap: balance;
    }

    .call-to-action p {
        font-size: 0.92rem;
        margin-bottom: 12px;
        line-height: 1.65;
    }

    .call-to-action .cta-btn {
        margin: 0;
        min-height: 48px;
        padding: 12px 22px;
    }

    .team .member .member-info {
        position: static;
        opacity: 1;
        background: var(--surface-color, #fff);
        color: var(--default-color, #222);
        padding: 10px 12px 12px;
    }

    .team .member .member-info-content {
        position: static;
        inset: auto;
        bottom: auto;
    }

    .team .member .member-info-content h4 {
        color: var(--heading-color, #222);
        font-size: 0.95rem;
        margin-bottom: 2px;
    }

    .team .member .member-info-content span {
        color: color-mix(in srgb, var(--default-color, #222), transparent 25%);
        font-size: 0.78rem;
    }

    .team .member .social {
        display: none;
    }

    .faq-item {
        margin: 0 0 12px;
        padding: 12px 0 14px;
        gap: 6px;
    }

    .faq-item .col-lg-5,
    .faq-item .col-lg-7 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .faq-item h4 {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 0;
    }

    .faq-item p {
        margin-bottom: 0;
        line-height: 1.7;
    }

    .footer-top {
        padding-top: 8px;
    }

    .footer .footer-links ul {
        margin-bottom: 0;
    }

    .mbs-footer-actions {
        margin-top: 8px;
    }

    .mbs-footer-quote,
    .mbs-footer-whatsapp {
        flex: 1 1 140px;
    }

    .copyright {
        margin-top: 16px !important;
        padding-top: 12px;
        font-size: 0.8rem;
    }

    .page-hero.section {
        padding: 16px 12px 14px !important;
        margin: 0;
    }

    .mbs-about-panel {
        padding: 14px 14px;
    }

    .mbs-about-copy p {
        margin-bottom: 0.75rem;
        line-height: 1.8;
    }

    .bg-light.rounded,
    .p-4.bg-light {
        padding: 16px !important;
    }
}

@media (max-width: 575.98px) {
    .container,
    .container-fluid,
    .container-xl {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn-get-started {
        width: 100%;
        justify-content: center;
    }

    .mbs-hero-static .carousel-container {
        padding: 24px 12px 22px;
    }

    section,
    .section {
        padding: 24px 0;
    }

    .section-title {
        padding-bottom: 10px;
        margin-bottom: 0;
    }

    .stats .col-6 {
        padding-left: 6px;
        padding-right: 6px;
    }

    .footer-cta {
        margin-top: 4px;
    }
}
