.section,
.bg-cover,
.optech-section-padding,
.cta-bg3 {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.wishlist_icon svg path {
    stroke: #000;
    /* default outline color */
    fill: transparent;
    transition: all 0.3s ease;
}

.wishlist_icon:hover svg path {
    fill: #ff4d4d;
    /* hover fill color */
    stroke: #ff4d4d;
}

.wishlist_icon.active svg path {
    fill: #ff4d4d;
    /* active state fill color */
    stroke: #ff4d4d;
}

.optech-hero-slider-item::before {
    content: "";
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    position: absolute;
    background-size: cover;
    background-image: url('../img/hero/overlay.png') !important;
}

.optech-service-contact {
    background-image: url('../img/service/bg.png');
}

.optech-footer-cta-wrap {
    background-image: url('../img/cta/cta.png');
}

.optech-counter-wrap {
    background-image: url('../img/v2/counter-bg.png');
}

.optech-hero-section {
    background-image: url('../img/hero/bg1.png');
}

.optech-service-contact {
    background-image: url('../img/service/bg.png');
}

.custom_image {
    background-image: url('../img/cta/cta-bg2.png');
}

.optech-hero-section4 {
    background-image: url('../img/hero/bg3.png');
}

.tech-agency-img {
    background-image: url('../img/hero/bg2.png');
}

.optech-footer-cta-wrap {
    background-image: url('../img/cta/cta.png');
}

.optech-hero-section8 {
    background-image: url('../img/hero/bg4.png');
}

.custom-image-two {
    background-image: url('../img/cta/cta-bg3.png');
}

.custom-image-two-home {
    background-image: url('../img/cta/cta-bg2.png') !important;
}

.cookie_consent_modal {
    width: 350px;
    padding: 30px;
    background-color: var(--white-color);
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    border: 1px solid #e4e4e4;
    box-shadow: 2px 3px 4px 0 rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.cookie_consent_modal .btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 1;
}

.cookie_consent_modal h5 {
    font-size: 22px;
    font-weight: 500;
}

.cookie_consent_modal p {
    font-size: 16px;
    line-height: 27px;
    margin-top: 10px;
}

.cookie_consent_modal .thm-btn-two {
    margin-top: 20px;
}

.shop_sidebar_item_box_main.fst {
    min-height: 240px !important;
    height: 0px !important;
}

.dashbord_sidebar {
    border-radius: 0px !important;
    border-right: 1px solid #e3e3ec;
}

.dashbord_bg {
    background: #fff !important;
    box-shadow: 0 12px 40px 4px rgba(10, 22, 94, 0.0784313725) !important;
}

.dashbord_item {
    padding: 0 !important;
    flex-direction: row !important;
    text-align: start !important;
}

.dashbord_item_icon {
    width: 54px !important;
    height: 54px !important;
}

.dashbord_item_text .d-item-label {
    font-size: 14px !important;
    font-weight: 400 !important;
}

.dashbord_table_main .table thead tr th {
    background: #EEF1FF !important;
    white-space: nowrap !important;
}

.d_review_box_head {
    background: #EEF1FF !important;
}

.dashbord_table_main .table tbody tr td {
    min-width: 150px !important;
}

/* ============================================================
   Service Success Progress Bars — Clean, No Clipping
============================================================ */
.optech-progress-item {
    overflow: visible !important;
    position: relative;
    margin-bottom: 20px;
}
.optech-progress-item .progress-bar {
    overflow: visible !important;
    position: relative;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Title row: name on left, animated % on right */
.optech-progress-item .progress-title-holder {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    margin-bottom: 8px;
    gap: 12px;
}
.optech-progress-item .progress-title {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 700;
    font-size: 15px;
    color: #0a165e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.optech-progress-item .progress-number-wrapper {
    flex: 0 0 auto !important;
    position: static !important;
    width: auto !important;
    overflow: visible !important;
}
.optech-progress-item .progress-number-mark {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
    font-weight: 700;
    font-size: 15px;
    color: #2b4dff;
    line-height: 1;
    min-width: 46px;
    text-align: right;
    display: block;
}
.optech-progress-item .progress-number-mark .percent {
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: #2b4dff;
    white-space: nowrap;
}

/* Bar track */
.optech-progress-item .progress-content-outter {
    position: relative;
    width: 100%;
    height: 9px;
    border-radius: 6px;
    background-color: #EEF1FF;
    overflow: hidden;
}
/* Filled portion — starts at 0%, animated via JS transition */
.optech-progress-item .progress-content {
    height: 100%;
    width: 0%;
    border-radius: 6px;
    background: linear-gradient(90deg, #1d4ed8 0%, #3b82f6 100%) !important;
    will-change: width;
}

/* ============================================================
   Navbar & Brand Logo Layout Fixes
============================================================ */
.site-header {
    width: 100%;
    position: relative;
    z-index: 999;
}

.optech-header-bottom {
    padding: 0;
}

.site-navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    min-height: 70px;
}

/* Brand Logo Containment */
.brand-logo,
.default-logo,
.responsive-logo {
    max-width: 220px !important;
    max-height: 55px !important;
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    margin-right: 28px !important;
}

.brand-logo a {
    display: inline-flex !important;
    align-items: center !important;
    max-height: 55px !important;
}

.brand-logo img,
.brand-logo a img,
.light-version-logo {
    max-height: 50px !important;
    max-width: 220px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/* Desktop Navigation (min-width: 992px) */
@media (min-width: 992px) {
    .site-navbar {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }

    .site-navbar .menu-block-wrapper {
        display: flex !important;
        flex-grow: 1 !important;
        align-items: center !important;
        position: static !important;
    }

    .site-header .menu-block {
        position: static !important;
        transform: none !important;
        width: auto !important;
        height: auto !important;
        background-color: transparent !important;
        overflow: visible !important;
        display: flex !important;
        align-items: center !important;
        z-index: auto !important;
    }

    .site-header .menu-block .mobile-menu-head {
        display: none !important;
    }

    .site-menu-main {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .site-menu-main > li {
        display: inline-block !important;
        position: relative !important;
        margin: 0 !important;
        line-height: normal !important;
    }

    .site-menu-main > li > a {
        display: inline-flex !important;
        align-items: center !important;
        padding: 24px 14px !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        color: var(--heading-color, #0a165e) !important;
        line-height: normal !important;
        height: auto !important;
        border: none !important;
        text-decoration: none !important;
        transition: color 0.25s ease !important;
    }

    .site-menu-main > li > a:hover,
    .site-menu-main > li > a.active {
        color: var(--accent-color, #2b4dff) !important;
    }

    .site-menu-main > li > a i {
        position: static !important;
        line-height: 1 !important;
        height: auto !important;
        width: auto !important;
        transform: none !important;
        margin-left: 4px !important;
        font-size: 15px !important;
    }

    /* Submenu dropdowns */
    .site-menu-main .sub-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        background-color: #ffffff !important;
        min-width: 220px !important;
        box-shadow: 0 12px 35px rgba(10, 22, 94, 0.12) !important;
        border: 1px solid #eef1ff !important;
        border-radius: 8px !important;
        padding: 10px 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(12px) !important;
        transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        z-index: 9999 !important;
        height: auto !important;
        max-width: none !important;
        display: block !important;
        overflow: visible !important;
    }

    .site-menu-main li.nav-item-has-children:hover > .sub-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    .site-menu-main .sub-menu .sub-menu {
        top: 0 !important;
        left: 100% !important;
    }

    .site-menu-main .sub-menu--item {
        display: block !important;
        padding: 0 !important;
        border: none !important;
        position: relative !important;
    }

    .site-menu-main .sub-menu--item > a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 9px 20px !important;
        color: #0a165e !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
        border: none !important;
        line-height: 1.4 !important;
        height: auto !important;
    }

    .site-menu-main .sub-menu--item > a:hover {
        color: #2b4dff !important;
        background-color: #f7f9ff !important;
        padding-left: 24px !important;
    }

    .mobile-menu-trigger {
        display: none !important;
    }
}

/* Mobile Navigation (max-width: 991.98px) */
@media (max-width: 991.98px) {
    .brand-logo,
    .default-logo,
    .responsive-logo {
        max-width: 150px !important;
        margin-right: 15px !important;
    }

    .brand-logo img,
    .brand-logo a img,
    .light-version-logo {
        max-height: 42px !important;
        max-width: 150px !important;
    }

    .site-header .mobile-menu-trigger {
        display: flex !important;
        height: 36px;
        width: 36px;
        margin-left: auto;
        cursor: pointer;
        align-items: center;
        justify-content: center;
    }

    .site-header .menu-block {
        position: fixed !important;
        width: 300px !important;
        max-width: 85vw !important;
        background-color: #ffffff !important;
        left: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        transform: translateX(-100%) !important;
        transition: transform 0.35s ease !important;
        z-index: 99999 !important;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15) !important;
    }

    .site-header .menu-block.active {
        transform: translateX(0%) !important;
    }

    .site-header .menu-block .mobile-menu-head {
        display: flex !important;
        height: 55px;
        padding: 0 16px;
        border-bottom: 1px solid #eef1ff;
        justify-content: space-between;
        align-items: center;
        background-color: #ffffff;
        position: sticky;
        top: 0;
        z-index: 501;
    }

    .menu-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background-color: rgba(10, 22, 94, 0.45) !important;
        backdrop-filter: blur(2px) !important;
        z-index: 99998 !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transition: all 0.3s ease !important;
    }

    .menu-overlay.active {
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* ============================================================
   Project & Portfolio Cards (Brand Logo Optimization)
============================================================ */
.optech-portfolio-wrap {
    margin-bottom: 30px;
}

.optech-portfolio-thumb {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    width: 100% !important;
    height: 270px !important;
    background-color: #ffffff !important;
    border: 1px solid #eef1ff !important;
    box-shadow: 0 8px 25px rgba(10, 22, 94, 0.06) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}

.optech-portfolio-wrap:hover .optech-portfolio-thumb {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 35px rgba(10, 22, 94, 0.12) !important;
}

.optech-portfolio-thumb img,
.optech-portfolio-thumb .full-img {
    max-width: 82% !important;
    max-height: 120px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin-bottom: 50px !important;
    background-color: transparent !important;
    transition: transform 0.35s ease !important;
    display: block !important;
}

.optech-portfolio-wrap:hover .optech-portfolio-thumb img,
.optech-portfolio-wrap:hover .optech-portfolio-thumb .full-img {
    transform: scale(1.06) !important;
}

.optech-portfolio-thumb:before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 110px !important;
    background: linear-gradient(180deg, rgba(4, 13, 67, 0) 0%, rgba(4, 13, 67, 0.88) 45%, #040d43 100%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
    transition: all 0.35s ease !important;
}

.optech-portfolio-thumb::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 110px !important;
    background: linear-gradient(180deg, rgba(43, 77, 255, 0) 0%, rgba(43, 77, 255, 0.92) 45%, #2b4dff 100%) !important;
    z-index: 1 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: all 0.35s ease !important;
}

.optech-portfolio-wrap:hover .optech-portfolio-thumb::after {
    opacity: 1 !important;
}

.optech-portfolio-data {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 12px 18px !important;
    z-index: 2 !important;
    text-align: center !important;
}

.optech-portfolio-data h4 {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin-bottom: 2px !important;
}

.optech-portfolio-data p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 13px !important;
    margin-bottom: 0 !important;
}