.header-left {
    max-width: 140px !important;
    width: 100%;
}
.navbar-brand {
    display: block;
}
img {
    width: 100%;
}

/* Custom Page Content Isolation — prevents user HTML from breaking layout */
.custom-page-content {
    contain: layout style;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.custom-page-content * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.custom-page-content table {
    width: 100% !important;
}
.custom-page-content iframe,
.custom-page-content img,
.custom-page-content video {
    max-width: 100% !important;
    height: auto !important;
}

.features-section .features-preview img,
.navbar-brand img {
    width: 100%;
}

.features-section .features-preview {
    max-width: 80%;
    margin: 0 auto -390px;
}
.img-wrapper {
    position: relative;
    padding-top: 50%;
    width: 100%;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    overflow: hidden;
}
.img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    margin: 0 !important;
}
.features-preview .img-fluid {
    border-radius: 15px;
}
.screenshot-card h5 {
    margin-top: 20px;
}

.screenshot-card .img-wrapper {
    margin-bottom: 20px;
    padding-top: 60%;
}

.footer-logo a {
    display: block;
    max-width: 180px;
    width: 100%;
}

.announcement p {
    margin-bottom: 0rem !important;
}

html[dir="rtl"] .container-offset {
    margin-right: calc((100% - 1540px) / 2);
    margin-left: 0;
    padding-right: 15px;
    padding-left: 0;
}
html[dir="rtl"] .main-banner .dash-preview {
    right: 0;
    left: -80px;
}

@media (max-width: 1500px) {
    .container {
        max-width: 1320px;
    }
    .main-banner .container-offset {
        margin-left: calc((100% - 1320px) / 2);
    }
    html[dir="rtl"] .container-offset {
        margin-right: calc((100% - 1320px) / 2);
    }
}

@media (max-width: 1260px) {
    .main-banner .container-offset {
        margin-left: 0;
    }
    html[dir="rtl"] .container-offset {
        margin-right: 0;
    }
}
@media (max-width: 991px) {
    html[dir="rtl"] .main-banner .dash-preview {
        left: -15px;
    }
}
@media (max-width: 767px) {
    html[dir="rtl"] .main-banner .dash-preview {
        left: 0;
    }
    .container-offset {
        padding: 0 15px !important;
    }
}
body.landing-dark .bg-gray-100 {
    background: linear-gradient(141.55deg, #22242c 3.46%, #22242c 99.86%);
    color: var(--bs-body-color);
}
body.landing-dark .site-footer .footer-row .ftr-col .list-unstyled li a {
    color: var(--bs-body-color);
}
body.landing-dark .site-footer {
    border-top: 1px solid #9d9d9d4a;
}
.custom-header-logo {
    max-width: 200px !important;
}

/***** dashboard 18-09 ****/

@media (max-width: 1600px) {
    .main-banner .container-offset {
        margin-left: calc((100% - 1320px) / 2);
    }
}
@media (max-width: 1400px) {
    .main-banner .container-offset {
        margin-left: calc((100% - 1140px) / 2);
    }
}
@media (max-width: 1200px) {
    .main-banner .container-offset {
        margin-left: calc((100% - 960px) / 2);
    }
}

@media (max-width: 991px) {
    .landing-page .container {
        max-width: 1140px;
    }
    .landing-page .main-banner .container-offset {
        padding-right: 15px;
        margin-left: 0;
    }
    .main-banner .dash-preview {
        right: 0;
    }
    .features-section .features-preview {
        max-width: 100%;
    }
    .landing-page .custom-header-logo {
        max-width: 170px !important;
    }
    .landing-page .price-card .p-price {
        font-size: 55px;
    }
}
@media (max-width: 767px) {
    .landing-page .m-bottom-img {
        margin-bottom: 15px;
    }
    .landing-page .navbar-toggler-icon {
        width: 23px;
    }
}

@media (max-width: 575px) {
    .landing-page .custom-header-logo {
        max-width: 149px !important;
    }
    .landing-page .price-card .p-price {
        font-size: 35px;
    }
    .landing-page .m-bottom-img {
        margin-bottom: 15px;
    }
}

body .main-header .navbar .btn.btn-outline-dark svg path,
body .main-banner .banner-btn .btn.btn-outline-dark svg path {
    stroke: var(--bs-btn-color) !important;
}
body .main-header .navbar .btn.btn-outline-dark:hover svg path,
body .main-banner .banner-btn .btn.btn-outline-dark:hover svg path {
    stroke: var(--bs-btn-hover-color) !important;
}

/* 16.12 */
.lnding-menubar li {
    position: relative;
}
@media screen and (max-width: 991px) {
    .main-header .navbar-expand-md .navbar-collapse {
        width: 320px;
        left: 0;
        transform: translateX(-100%);
    }
    .lnding-menubar li.has-item .menu-dropdown {
        min-width: 180px;
    }
    .main-header .navbar-expand-md .navbar-collapse.show {
        transform: translateX(0);
    }
}

/* ========== Pricing / Plan Section ========== */
.plan-tab-btn {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 5px;
}
.plan-tab-btn.active,
.plan-tab-btn:hover {
    background: #ffffff;
    color: #212529;
    border-color: #ffffff;
}

.plan-save-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 11px;
    padding: 1px 8px;
    border-radius: 10px;
    margin-left: 6px;
}
body.custom-color .plan-save-badge {
    background: var(--color-customColor);
    opacity: 0.85;
}

/* Pricing Card */
.pricing-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
.pricing-card.pricing-popular {
    border: 2px solid var(--color-customColor, #51459d);
}
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-customColor, #51459d);
    color: #fff;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.pricing-header h4 {
    font-size: 20px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 5px;
}
.pricing-desc {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 0;
}
.pricing-price-wrap {
    margin: 18px 0 6px;
}
.pricing-amount {
    font-size: 38px;
    font-weight: 800;
    color: #212529;
}
.pricing-period {
    font-size: 15px;
    color: #6c757d;
}
.pricing-save {
    background: rgba(var(--color-customColor-rgb, 81, 69, 157), 0.12);
    color: var(--color-customColor, #51459d);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 12px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 6px;
}
.pricing-sub {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 15px;
}
.pricing-trial {
    font-size: 13px;
    color: #198754;
    margin-bottom: 15px;
    font-weight: 500;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
    flex-grow: 1;
}
.pricing-features li {
    padding: 7px 0;
    font-size: 14px;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pricing-features li i {
    color: var(--color-customColor, #51459d);
    font-size: 16px;
    flex-shrink: 0;
}
.pricing-cta {
    display: block;
    background: var(--color-customColor, #51459d);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}
.pricing-cta:hover {
    opacity: 0.9;
    color: #fff;
    transform: translateY(-2px);
}

/* Testimonial card image border */
.testimonial-card img.rounded-circle {
    border: 3px solid var(--color-customColor, #e2e8f0);
}
body:not(.custom-color) .testimonial-card img.rounded-circle {
    border-color: #e2e8f0;
}

/* Header nav menu color fixes */
body.custom-color .main-header .navbar .navbar-nav .nav-item .nav-link {
    color: var(--color-customColor);
}
body.custom-color .main-header .navbar .navbar-nav .nav-item .nav-link:hover {
    color: var(--color-customColor);
    opacity: 0.8;
}
