:root {
    --bs-font-sans-serif: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --primary1: 0, 125, 79; /* #007D4F */
    --primary2: 0, 92, 59; /* #005C3B */
    --nav-bg: #d7e8de;
    --nav-text: #2a3a30;
    --nav-text-hover: rgba(var(--primary1));
    --light-gray: 241, 241, 241; /* #F1F1F1 */
    --nav-active-bg: #ffffff;
    --nav-active-text: rgba(var(--primary1));
    --bs-body-color: 85, 85, 85; /* #555555 */
    --title-font-color: 51, 51, 51; /* #333333 */
    --imgPrimary1: invert(22%) sepia(78%) saturate(2552%) hue-rotate(148deg) brightness(98%) contrast(101%);
    --imgWhite: invert(100%);
    --padding: clamp(1.875rem, 1.3125rem + 2.8125vw, 4.6875rem);

    /* For Red Theme (Arrow Systems) */
    /*--primary1: 205, 36, 45; /* #cd242d */
    /*--primary2: 153, 25, 32; /* #991920 */
    /*--imgPrimary1: invert(24%) sepia(70%) saturate(2588%) hue-rotate(338deg) brightness(85%) contrast(101%);*/
}

body {
    font-family: var(--bs-font-sans-serif);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: rgba(var(--bs-body-color));
    background-color: #f1f1f1;
}

body.as {
    --primary1: 205, 36, 45; /* #cd242d */
    --primary2: 156, 34, 38; /* #9c2226 */
    --nav-bg: #f3cacb;
    --nav-active-text: rgba(var(--primary1));
}

.container {
    max-width: 1200px;
}

header {
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

header.header-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-bs-theme="dark"] header.header-scrolled {
    background-color: rgba(30, 41, 35, 0.95) !important;
}

header .navbar-brand .logo-text {
    font-family: var(--bs-font-sans-serif);
    color: rgba(var(--primary1));
    letter-spacing: -0.5px;
}

header .nav-pill-container {
    background-color: rgba(var(--primary1), 0.2);
    border-radius: 50px;
    padding: 0.35rem 0.5rem;
    transition: all 0.3s ease;
}

header .nav-pill-container .navbar-nav {
    display: flex;
    flex-direction: row;
    gap: 0.15rem;
}

header .nav-pill-container .nav-link {
    color: var(--nav-text);
    background-color: rgba(var(--primary1), 0.10);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1.15rem !important;
    border-radius: 40px;
    transition: all 0.2s ease-in-out;
}

header .nav-pill-container .nav-link:hover {
    color: var(--nav-text-hover);
    background-color: rgba(255, 255, 255, 0.4);
}

header .nav-pill-container .nav-item.dropdown:hover .nav-link {
    color: var(--nav-text-hover);
}

header .nav-pill-container .nav-link.active {
    background-color: var(--nav-active-bg);
    color: var(--nav-active-text);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

header .nav-pill-container .dropdown-toggle::after {
    vertical-align: middle;
    margin-left: 0.4rem;
    border-top: 0.35em solid;
    border-right: 0.35em solid transparent;
    border-left: 0.35em solid transparent;
}

@media (min-width: 992px) {
    header .nav-pill-container .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeIn 0.2s ease-in;
    }
}

header .nav-pill-container .dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-top: 5px;
    padding: 0.5rem 0;
}

header .nav-pill-container .dropdown-menu .dropdown-item {
    padding: 0.5rem 1.5rem;
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.2s;
}

header .nav-pill-container .dropdown-menu .dropdown-item:hover {
    background-color: rgba(0, 118, 76, 0.05);
    color: var(--nav-text-hover);
}

header .nav-actions {
    gap: 0.15rem;
    margin-left: 0.15rem;
}

header .nav-actions .icon-link {
    background: rgba(var(--primary1), 0.10);
    color: rgba(var(--title-font-color));
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: all 0.2s;
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1.2rem;
}

header .nav-actions .icon-link:hover {
    background-color: rgba(255, 255, 255, 0.6);
    color: var(--nav-text-hover);
}

header .nav-actions .icon-link i {
    position: absolute;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.offcanvas-header .offcanvas-title {
    color: rgba(var(--primary1));
    font-family: var(--bs-font-sans-serif);
    letter-spacing: -0.5px;
}

.offcanvas .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 1rem !important;
}

.offcanvas .nav-link.active {
    background-color: rgba(0, 118, 76, 0.05);
    color: rgba(var(--primary1));
    border-radius: 8px;
    font-weight: 600;
}

[data-bs-theme="dark"] .nav-pill-container {
    background-color: #1e2923;
}

[data-bs-theme="dark"] .nav-pill-container .nav-link {
    color: #e0e0e0;
}

[data-bs-theme="dark"] .nav-pill-container .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .nav-pill-container .nav-link.active {
    background-color: #2a3a30;
    color: #6ee7b7;
}

[data-bs-theme="dark"] .nav-actions .icon-link {
    color: #e0e0e0;
}

[data-bs-theme="dark"] .nav-actions .icon-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .dropdown-menu {
    background-color: #2a3a30;
}

[data-bs-theme="dark"] .dropdown-item {
    color: #e0e0e0;
}

[data-bs-theme="dark"] .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #6ee7b7;
}

.grid-lines-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    pointer-events: none;
    z-index: 0;
}

.grid-line {
    width: 1px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.02);
}

.bg-white .grid-line,
.bg-light-gray .grid-line {
    background-color: rgba(0, 0, 0, 0.05);
}

.bg-light-gray {
    background: rgba(var(--light-gray));
}

.padding {
    padding: var(--padding) 0;
}

.btn-primary-custom {
    background-color: rgb(var(--primary1));
    color: #fff;
    border: 1px solid rgb(var(--primary1));
    padding: 0.65rem 1.85rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary-custom i {
    width: 24px;
    height: 24px;
    filter: var(--imgWhite);
    transition: 0.4s;
}

.btn-primary-custom:hover {
    background-color: rgba(var(--primary2));
    border-color: rgba(var(--primary2));
    color: #fff;
}

.btn-primary-custom .arrow-right-up {
    background: url('../images/arrow-icon.svg') left top no-repeat;
}

.btn-primary-custom .event-icon {
    background: url('../images/event-icon.svg') left top no-repeat;
}

.btn-primary-custom .call-icon {
    background: url('../images/call-icon.svg') left top no-repeat;
}

.btn-primary-custom .help-icon {
    background: url('../images/help-icon.svg') left top no-repeat;
}

.btn-primary-custom:hover .arrow-right-up {
    transform: rotate(45deg);
}

.btn-outline-custom .calendar-icon {
    background: url('../images/calendar-icon.svg') left top no-repeat;
    width: 24px;
    height: 24px;
}

.btn-outline-custom {
    background-color: transparent;
    color: rgba(var(--primary1));
    border: 1px solid rgba(var(--primary1));
    padding: 0.65rem 1.85rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: rgba(0, 118, 76, 0.05);
    color: rgba(var(--primary1));
}

.btn-outline-custom:not(.has-bi-icon) i {
    filter: var(--imgPrimary1);
}

/* banner section */
.banner-section {
    background-color: #DFDBD8;
    overflow: hidden;
    position: relative;
    min-height: 100vh;
}

.banner-section .machine-img {
    max-width: 90%;
    filter: drop-shadow(0px 20px 30px rgba(0, 0, 0, 0.15));
}

.banner-section .decoration-arrow {
    position: absolute;
    top: 140px;
    right: 0%;
}

.banner-slider .banner-title {
    color: rgba(var(--primary1));
    font-size: clamp(2.5rem, 2.2rem + 1.5vw, 4rem);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.banner-slider .banner-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 400;
    line-height: 1.6;
    max-width: 90%;
}

.banner-section .machine-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.banner-slider .owl-nav {
    padding: 0 2rem;
}

.banner-slider .owl-item .banner-title,
.banner-slider .owl-item .banner-subtitle,
.banner-slider .owl-item .banner-actions,
.banner-slider .owl-item .machine-wrapper {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.banner-slider .owl-item .machine-wrapper {
    transform: translateX(50px);
}

.banner-slider .owl-item.active .banner-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.banner-slider .owl-item.active .banner-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.banner-slider .owl-item.active .banner-actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.banner-slider .owl-item.active .machine-wrapper {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.4s;
}

.banner-section .scroll-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 51px;
    z-index: 10;
}

.banner-section .scroll-indicator::after {
    content: '';
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: url('../images/scroll-down-arrow-icon.svg') center center no-repeat;
    width: 10px;
    height: 51px;
    filter: var(--imgPrimary1);
}

/* owl carousel */
.owl-flex .owl-stage {
    display: flex;
}

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

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

.owl-carousel.style01 .owl-nav button.owl-prev,
.owl-carousel.style01 .owl-nav button.owl-next {
    pointer-events: auto;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.owl-carousel.style01 .owl-nav button {
    background-color: transparent !important;
    border: 1px solid rgba(var(--primary1)) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owl-carousel.style01 .owl-nav button:before {
    content: '';
    position: absolute;
    background: url('../images/chevron-icon.svg') center center no-repeat;
    width: 24px;
    height: 24px;
    filter: var(--imgPrimary1);
}

.owl-carousel.style01 .owl-nav button:hover {
    background-color: rgba(var(--primary1)) !important;
}

.owl-carousel.style01 .owl-nav button.owl-next:before {
    transform: rotate(180deg);
}

.owl-carousel.style01 .owl-nav button:hover::before {
    filter: var(--imgWhite);
}

.owl-carousel.style01 .owl-dots {
    text-align: center;
    margin-top: 40px;
}

.owl-carousel.style01 .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(var(--title-font-color), 0.33);
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    transition: all 0.3s ease;
    border: none;
}

.owl-carousel.style01 .owl-dots .owl-dot.active {
    background-color: rgba(var(--primary1));
}

/* Intro Section */
.intro-quote-section {
    border-color: rgba(0, 0, 0, 0.05) !important;
}

.intro-description {
    color: rgba(var(--title-font-color));
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 400;
}

.section-heading {
    color: rgba(var(--title-font-color), 1);
    font-size: clamp(1.5rem, 1.35rem + 0.75vw, 2.25rem);
    line-height: 1.35;
    letter-spacing: -0.5px;
}

.section-heading.lg {
    font-size: clamp(2.25rem, 2.075rem + 0.875vw, 3.125rem);
}

.text-primary1 {
    color: rgb(var(--primary1)) !important;
}

/* Featured Products */
.featured-products .custom-pill-tabs-outer {
    background: rgba(var(--primary1), 0.1);
}

.featured-products .custom-pill-tabs .nav-link {
    font-weight: 500;
    color: rgba(var(--title-font-color), 0.7) !important;
    padding: 6px 18px;
    border-radius: 50rem;
    transition: all 0.2s ease;
    background-color: rgba(var(--title-font-color), 0.05);
}

.featured-products .custom-pill-tabs .nav-link:hover {
    color: rgb(var(--title-font-color)) !important;
}

.featured-products .custom-pill-tabs .nav-link.active {
    background-color: rgb(var(--primary1)) !important;
    color: white !important;
}

.featured-products .custom-pill-tabs .dropdown-toggle::after {
    vertical-align: middle;
}

.featured-products .custom-pill-tabs .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.featured-products .custom-pill-tabs .dropdown-item.active,
.featured-products .custom-pill-tabs .dropdown-item:active,
.featured-products .custom-pill-tabs .dropdown-item:hover {
    background: rgba(0, 118, 76, 0.05);
    color: rgba(var(--primary1));
}

.product-specs .badge {
    font-size: 0.70rem;
    font-weight: 500;
    color: #444 !important;
    letter-spacing: 0.2px;
}

.badge-soft-gray {
    background-color: rgba(0, 0, 0, 0.06);
}

.featured-products-slider.owl-carousel .owl-nav {
    position: absolute;
    top: 40%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 5;
}

.featured-products-slider.owl-carousel .owl-nav button {
    position: absolute;
}

.featured-products-slider.owl-carousel .owl-nav .owl-prev {
    left: -75px;
}

.featured-products-slider.owl-carousel .owl-nav .owl-next {
    right: -75px;
}

/* applications section */
.applications-slider .app-img-wrapper {
    aspect-ratio: 352 / 400;
}

.applications-slider .app-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.applications-slider .img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.33);
    transition: background-color 0.4s ease;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.applications-slider .img-overlay span {
    position: absolute;
    border: 1px solid #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
}

.applications-slider .img-overlay span:before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: url('../images/arrow-icon.svg') center center no-repeat;
    filter: var(--imgWhite);
}

.applications-slider .app-number {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 300;
    z-index: 2;
    line-height: 1;
}

.applications-slider .app-desc {
    color: rgba(var(--bs-body-color));
}

.applications-slider .transition-all {
    transition: all 0.3s ease;
}

.applications-slider .app-card .arrow-right-up-sm {
    background: url('../images/arrow-icon.svg') center center no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.applications-slider .app-card:hover .img-overlay {
    background-color: rgba(var(--primary1), 0.75);
}

.applications-slider .app-card:hover .app-img {
    transform: scale(1.05);
}

.applications-slider .app-card:hover .img-overlay span {
    opacity: 1;
    visibility: visible;
}

.applications-slider .app-card:hover .app-title,
.applications-slider .app-card:hover .explore-link {
    color: rgb(var(--primary1)) !important;
}

.applications-slider .app-card:hover .arrow-right-up-sm {
    filter: var(--imgPrimary1);
    transform: rotate(45deg);
}

.applications-slider.owl-carousel .owl-nav {
    position: relative;
    margin: 75px auto 0;
    display: flex;
    align-items: center;
    background-color: rgb(var(--primary1));
    border-radius: 50px;
    padding: 0;
    width: 54px;
    height: 54px;
}

.applications-slider.owl-carousel .owl-nav:before,
.applications-slider.owl-carousel .owl-nav:after {
    content: '';
    width: 200px;
    height: 1px;
    background: linear-gradient(to right, rgba(var(--primary1)), #E5E5E5);
    position: absolute;
    top: calc(50% - 0.5px);
    left: 100%;
}

.applications-slider.owl-carousel .owl-nav:after {
    left: auto;
    right: 100%;
    background: linear-gradient(to left, rgba(var(--primary1)), #E5E5E5);
}

.applications-slider.owl-carousel .owl-nav button {
    width: 27px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border: none !important;
    background-color: transparent !important;
    transition: background-color 0.3s ease;
    position: relative;
    outline: none;
    margin: 0;
}

.applications-slider.owl-carousel .owl-nav button:before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background: url('../images/chevron-icon.svg') center center no-repeat;
    background-size: contain;
    filter: var(--imgWhite);
}

.applications-slider.owl-carousel .owl-nav button.owl-next {
    justify-content: flex-start;
}

.applications-slider.owl-carousel .owl-nav button.owl-next:before {
    transform: rotate(180deg);
}

/* industries section */
.industry-card {
    display: block;
    border-radius: 8px;
}

.industry-card .industry-img {
    transition: transform 0.5s ease;
    display: block;
    width: 100%;
    object-fit: cover;
}

.industry-card.card-tall .industry-img {
    aspect-ratio: 3/4;
}

.industry-card.card-short .industry-img {
    aspect-ratio: 1/1;
}

.industry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(to bottom, transparent 45%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.industry-title {
    position: absolute;
    bottom: 20px;
    left: 15px;
    right: 15px;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    z-index: 2;
    line-height: 1.25;
    transition: transform 0.3s ease;
}

.industry-card:hover .industry-img {
    transform: scale(1.1);
}

.industry-card:hover .industry-overlay {
    opacity: 0.9;
}

.industry-card:hover .industry-title {
    transform: translateY(-5px);
}

/* why choose us section */
.why-choose-section .why-choose-desc {
    max-width: 770px;
}

.why-choose-section .feature-icon {
    width: 100px;
    height: 100px;
    filter: var(--imgPrimary1);
}

.why-choose-section .feature-card p {
    color: rgba(var(--title-font-color));
}

/* success stories section */
.success-stories-section .story-panel {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex: 1;
    transition: flex 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    height: 480px;
}

.success-stories-section .story-panel:before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(var(--bs-body-color), 0.75);
}

.success-stories-section .story-panel.active {
    flex: 5;
    cursor: default;
}

.success-stories-section .story-panel.active:before {
    background-color: rgb(var(--primary1), 0.75);
}

.success-stories-section .story-panel .story-details {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: 0s;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.success-stories-section .story-panel.active .story-details {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
    visibility: visible;
    pointer-events: auto;
    position: relative;
    bottom: 0;
    left: 0;
}

.success-stories-section .story-panel .story-details .btn-outline-light .arrow-right-up {
    width: 20px;
    height: 20px;
    background: url('../images/arrow-icon.svg') left top / cover no-repeat;
    filter: var(--imgWhite);
    transition: 0.4s;
}

.success-stories-section .story-panel .story-details .btn-outline-light:hover .arrow-right-up {
    filter: none;
    transform: rotate(45deg);
}

.success-stories-section .story-panel .inactive-icon {
    opacity: 1;
    transition: opacity 0.3s ease;
    position: absolute;
    bottom: 25px;
    right: 25px;
}

.success-stories-section .story-panel.active .inactive-icon {
    opacity: 0;
    pointer-events: none;
}

.success-stories-section .circle-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.success-stories-section .circle-arrow-btn:before {
    content: '';
    width: 20px;
    height: 20px;
    background: url('../images/arrow-icon.svg') left top / cover no-repeat;
    filter: var(--imgWhite);
}

.success-stories-section .slider-nav-btn {
    width: 54px;
    height: 54px;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    border: 1px solid rgb(var(--primary1));
    position: absolute;
    left: -75px;
    top: calc(50% - 27px);
}

.success-stories-section .slider-nav-btn:before {
    content: '';
    position: absolute;
    background: url('../images/chevron-icon.svg') center center no-repeat;
    width: 24px;
    height: 24px;
    filter: var(--imgPrimary1);
}

.success-stories-section .slider-nav-btn.next-btn {
    left: auto;
    right: -75px;
}

.success-stories-section .slider-nav-btn.next-btn:before {
    transform: rotate(180deg);
}

.success-stories-section .slider-nav-btn:hover {
    background: rgb(var(--primary1));
}

.success-stories-section .slider-nav-btn:hover::before {
    filter: var(--imgWhite);
}

/* ionnovation section */
.innovation-section .main-pic:before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.33);
}

.custom-accordion .accordion-button::after {
    background-image: url('../images/arrow-icon.svg');
    transition: filter 0.3s ease, transform 0.3s ease;
    transform: rotate(90deg);
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    background-image: url('../images/arrow-icon.svg');
    filter: var(--imgPrimary1);
    transform: rotate(90deg);
}

.custom-accordion .accordion-button.collapsed {
    color: rgba(var(--title-font-color)) !important;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: rgba(var(--primary1)) !important;
    background-color: transparent;
    box-shadow: none;
}

/* insights section */
.insights-section .insight-img {
    aspect-ratio: 365/224;
}

.insight-card .insight-img-wrapper {
    background-color: #f8f9fa;
}

.insight-card .insight-img {
    transition: transform 0.6s ease;
}

.insight-card .insight-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(var(--primary1), 0.85);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.insight-card .circle-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.insight-card .circle-arrow-btn:before {
    content: '';
    width: 20px;
    height: 20px;
    background: url('../images/arrow-icon.svg') left top / cover no-repeat;
    filter: var(--imgWhite);
}

.insight-card:hover .insight-overlay {
    opacity: 1;
}

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

.insight-card .insight-title {
    color: rgba(var(--title-font-color), 1);
    transition: color 0.3s ease;
}

.insight-card:hover .insight-title {
    color: rgb(var(--primary1));
}

.insight-card:hover .arrow-right-up-sm {
    transform: rotate(45deg);
}

.insight-link .arrow-right-up-sm {
    background: url('../images/arrow-icon.svg') center center no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: var(--imgPrimary1)
}

.insight-link:hover .arrow-right-up-sm {
    transform: rotate(45deg);
}

.insight-link .dwn-icon {
    background: url('../images/dwn-icon.svg') center center no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: var(--imgPrimary1)
}

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

.insights-slider.owl-carousel .owl-nav button {
    position: absolute;
}

.insights-slider.owl-carousel .owl-nav .owl-prev {
    left: -75px;
}

.insights-slider.owl-carousel .owl-nav .owl-next {
    right: -75px;
}

/* partners section */
.partners-slider .partner-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    aspect-ratio: 275/125;
}

.partners-slider .partner-logo {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(1) opacity(0.65);
    transition: all 0.3s ease;
}

.partners-slider .partner-logo:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.05);
}

/* service support section */
.service-support-section .service-card {
    padding: 1rem;
    transition: 0.4s;
}

.service-support-section h3 {
    color: rgba(var(--title-font-color));
}

.service-support-section .service-card:hover {
    background-color: rgb(var(--primary1));
    color: #fff;
}

.service-support-section .service-card:hover h3 {
    color: #fff;
}

.service-support-section .service-card:hover a {
    color: #fff !important;
}

.service-support-section .service-card:hover a i {
    filter: var(--imgWhite);
}

/* footer */
.site-footer {
    background-color: #313131;
    color: #e5e7eb;
}

.site-footer .arrow-vector {
    bottom: 20%;
    right: -2px;
    width: 450px;
    max-width: 50%;
    pointer-events: none;
    opacity: 0.8;
}

.site-footer .form-control:focus {
    border-color: rgb(var(--title-font-color)) !important;
}

form::-ms-input-placeholder {
    color: rgb(var(--title-font-color));
}

form::placeholder {
    color: rgb(var(--title-font-color));
}

.footer-links li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 10px;
}

.footer-links li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 4px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-links a.active {
    color: rgb(var(--primary1));
}

.footer-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-btn:hover {
    background-color: rgb(var(--primary1));
}

.footer-social-btn:hover img {
    filter: var(--imgWhite);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.footer-contact-item img {
    filter: var(--imgPrimary1);
}

.footer-contact-item a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact-item a:hover {
    color: rgb(var(--primary1));
}

.footer-form-card .form-title {
    color: rgb(var(--primary1));
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.footer-form-card a {
    color: rgb(var(--title-font-color));
}

.footer-form-card a:hover {
    color: rgb(var(--primary1));
}

.site-footer h4 {
    color: rgb(var(--primary1));
    font-size: 0.8rem !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.totop {
    bottom: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    position: fixed;
    right: -60px;
    z-index: 99;
    background-color: rgb(var(--primary1));
    text-align: center;
    opacity: 0;
    border-radius: 50%;
    box-shadow: 0px 10px 29.7px 3.3px rgba(0, 0, 0, 0.2);
}

.totop img {
    filter: var(--imgWhite);
    transform: rotate(-90deg);
    width: 20px;
}

/* Navbar Mega Menu Dropdown */
@media (min-width: 992px) {
    .nav-item.has-mega-menu {
        position: static !important;
    }

    .mega-menu-dropdown {
        position: absolute;
        top: 100%;
        left: 50%;
        width: 100vw;
        transform: translateX(-50%) translateY(10px);
        background: #fff;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
        z-index: 1000;
        padding: 40px 0;
    }

    .nav-item.has-mega-menu:hover .mega-menu-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .mega-menu-dropdown .container {
        position: relative;
    }

    /* Mega Menu Header */
    .mm-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .mm-header-content h3 {
        font-size: 1.75rem;
        color: rgba(var(--title-font-color));
        font-weight: 500;
        margin-bottom: 5px;
    }

    .mm-header-content p {
        color: #777;
        font-size: 0.95rem;
        margin: 0;
    }

    /* Book a Demo Card */
    .mm-demo-card {
        background: #F6F6F6;
        border-radius: 6px;
        padding: 12px 20px;
        display: flex;
        align-items: center;
        gap: 15px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .mm-demo-card:hover {
        background: rgba(var(--primary1), 0.1);
    }

    .mm-demo-icon {
        width: 40px;
        height: 40px;
        background: #fff;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mm-demo-icon img {
        filter: var(--imgPrimary1);
    }

    .mm-demo-text strong {
        display: block;
        font-size: 0.95rem;
        color: rgba(var(--primary1));
    }

    .mm-demo-text span {
        font-size: 0.8rem;
        color: #888;
    }

    /* Col 1: Categories */
    .mm-cat-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mm-cat-btn {
        background: rgba(var(--title-font-color), 0.03);
        color: rgb(var(--title-font-color));
        padding: 10px 18px;
        border-radius: 50px;
        text-align: left;
        font-size: 1.125rem;
        font-weight: 600;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
    }

    .mm-cat-btn .arrow-up-right {
        background: url('../images/arrow-icon.svg') center center no-repeat;
        width: 24px;
        height: 24px;
        display: inline-block;
        transition: transform 0.3s ease;
        filter: var(--imgPrimary1);
        opacity: 0;
    }

    .mm-cat-btn:hover,
    .mm-cat-btn.active {
        background: #C4D6B0;
        color: rgba(var(--primary1));
    }

    .mm-cat-btn:hover i,
    .mm-cat-btn.active i {
        opacity: 1;
    }

    /* Col 2: Flexible Product List */
    .mm-prod-list {
        display: none;
        column-count: 2;
        column-gap: 20px;
        padding-left: 30px;
    }

    .mm-prod-list.active {
        display: block;
    }

    .mm-prod-item {
        margin-bottom: 12px;
        break-inside: avoid-column;
    }

    .mm-prod-link {
        color: #666;
        text-decoration: none;
        font-size: 0.95rem;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mm-prod-link::before {
        content: '';
        width: 8px;
        height: 8px;
        background: #c5c5c5;
        border-radius: 50%;
        transition: all 0.2s ease;
    }

    .mm-prod-link:hover,
    .mm-prod-link.active {
        color: rgba(var(--primary1));
    }

    .mm-prod-link:hover::before,
    .mm-prod-link.active::before {
        background: rgba(var(--primary1));
    }

    .mm-prod-link i {
        font-size: 0.8rem;
        opacity: 0;
        transition: all 0.2s ease;
    }

    .mm-prod-link.active i {
        opacity: 1;
        transform: rotate(-45deg);
    }

    /* Col 3: Showcase Panel */
    .mm-showcase {
        background: #f9f9f9;
        border-radius: 10px;
        padding: 25px 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        aspect-ratio: 597/440;
    }

    .mm-showcase-title {
        color: rgba(var(--primary1));
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 20px;
    }

    .mm-showcase-img {
        max-width: 100%;
        max-height: 220px;
        aspect-ratio: 597/400;
        object-fit: contain;
        margin: 0 auto 25px;
        transition: transform 0.5s ease;
    }

    .mm-showcase:hover .mm-showcase-img {
        transform: scale(1.05);
    }
}

.breadcrumb-nav {
    border-top: 1px solid rgba(var(--title-font-color), 0.05);
    border-bottom: 1px solid rgba(var(--title-font-color), 0.05);
    padding: 1rem 0;
}

.breadcrumb-nav .breadcrumb {
    margin: 0;
}

.breadcrumb-item a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: rgba(var(--primary1));
}

.breadcrumb-item.active {
    color: rgba(var(--primary1));
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgb(var(--primary1));
}

/* Product Listing Page */
.page-header-section {
    padding: calc(var(--padding)/2);
}

.page-title {
    font-size: clamp(2.5rem, 2.2rem + 1.5vw, 4rem);
    color: rgba(var(--title-font-color));
}

.page-title span {
    color: rgba(var(--primary1));
}

/* Filter Bar */
.product-filter-bar {
    padding: 0.75rem 0;
    border: none;
    background: #fff;
    position: sticky;
    top: 80px;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
}

[data-bs-theme="dark"] .product-filter-bar {
    background: #1e2923;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2) !important;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.filter-dropdown .filter-btn {
    background: #fff;
    border: none;
    font-size: 1.25rem;
    font-weight: 500;
    color: rgb(var(--title-font-color));
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-dropdown .filter-btn i {
    color: rgb(var(--primary1));
}

[data-bs-theme="dark"] .filter-dropdown .filter-btn {
    background: #2a3a30;
    border-color: #3a4a40;
    color: #e0e0e0;
}

.filter-dropdown .filter-btn:hover,
.filter-dropdown .show>.filter-btn {
    color: rgba(var(--primary1));
}

.filter-dropdown .dropdown-toggle::after {
    display: none;
}

.filter-badge {
    background-color: rgb(var(--primary1));
    border-radius: 50px;
    font-weight: 500;
}

.filter-dropdown .dropdown-menu {
    min-width: 280px;
    margin-top: 12px !important;
    animation: fadeIn 0.2s ease-out;
}

.filter-options-list {
    max-height: 350px;
    overflow-y: auto;
}

.filter-option {
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.filter-option:hover {
    background-color: #f8f9fa;
}

[data-bs-theme="dark"] .filter-option:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.filter-option.active {
    background-color: rgba(0, 125, 79, 0.08);
    color: rgb(var(--primary1));
    font-weight: 500;
}

[data-bs-theme="dark"] .filter-option.active {
    background-color: rgba(0, 125, 79, 0.15);
}

.filter-option .form-check-input {
    border-color: #ced4da;
    width: 1.1em;
    height: 1.1em;
    margin-top: 0;
}

.filter-option .form-check-input:checked {
    background-color: rgb(var(--primary1));
    border-color: rgb(var(--primary1));
}

.btn-primary-green {
    background-color: rgb(var(--primary1));
    border-color: rgb(var(--primary1));
}

.btn-primary-green:hover {
    background-color: rgba(var(--primary2));
    border-color: rgba(var(--primary2));
}

.filter-count {
    margin-left: auto;
    font-size: 0.95rem;
    color: #888;
}

.filter-count strong {
    color: #333;
}

[data-bs-theme="dark"] .filter-count strong {
    color: #e0e0e0;
}

@media (max-width: 991.98px) {
    .filter-group {
        overflow-x: auto;
        padding-bottom: 8px;
        gap: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .filter-group::-webkit-scrollbar {
        display: none;
    }

    .filter-dropdown .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .filter-count {
        display: none;
    }
}

.product-card {
    padding: 1rem;
    transition: 0.4s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-img-wrapper {
    aspect-ratio: 800/600;
    border-bottom: 1px solid rgba(var(--title-font-color), 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 1rem;
}

.product-img-wrapper img {
    object-fit: contain;
    max-width: 100%;
    transition: transform 0.5s ease;
}

.product-card .insight-link {
    color: rgb(var(--title-font-color));
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
}

.product-card .insight-link i {
    filter: none;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.product-card .dwn-link {
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
}

.product-card h3 {
    color: rgb(var(--title-font-color));
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.product-card:hover {
    background-color: #fff;
    box-shadow: 0 15px 40px rgba(var(--title-font-color), 0.1);
}

.product-card:hover h3 {
    color: rgb(var(--primary1));
}

.product-card:hover .product-img-wrapper {
    border-color: transparent;
}

.product-card:hover .insight-link {
    color: rgb(var(--primary1));
}

.product-card:hover .insight-link i {
    filter: var(--imgPrimary1);
    opacity: 1;
}

.product-card:hover .dwn-link {
    opacity: 1;
    visibility: visible;
}

/* Product Detail */
.product-quick-links {
    position: sticky;
    top: 150px;
    z-index: 5;
}

.product-quick-links li a {
    color: rgb(var(--title-font-color));
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
    padding-left: 1.85rem;
}

.product-quick-links li a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: url('../images/arrow-icon-dwn.svg') left top no-repeat;
}

.product-quick-links li a:hover {
    color: rgb(var(--primary1));
}

.product-quick-links li a:hover:before {
    filter: var(--imgPrimary1);
}

/* Image Slider */
.product-image-slider-wrapper {
    aspect-ratio: 945/575;
    position: relative;
}

.product-main-slider .item {
    background: #fff;
    aspect-ratio: 945/575;
}

.product-main-slider img {
    width: 100%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 945/575;
}

.product-thumb-slider {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    max-width: 50%;
}

.product-thumb-slider .item {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    padding: 5px;
    background: #F6F6F6;
    transition: all 0.2s;
    aspect-ratio: 150/90;
}

.product-thumb-slider .item img {
    width: 100%;
    height: auto;
    aspect-ratio: 150/90;
}

.product-thumb-slider .owl-item.active-thumb .item {
    border-color: rgb(var(--primary1));
    background: #fff;
}

.pd-section-heading {
    color: rgb(var(--primary1));
    font-size: clamp(1.625rem, 1.575rem + 0.25vw, 1.875rem);
    margin-bottom: 1.5rem;
    position: relative;
}

.highlights-list li {
    position: relative;
    padding-left: 1.75em;
}

.highlights-list li::before {
    content: "";
    width: 20px;
    height: 20px;
    background: url('../images/arrow-east-icon.svg') left top no-repeat;
    opacity: 0.75;
    position: absolute;
    left: 0;
    top: 2px;
}

.custom-table thead th {
    background-color: rgb(var(--title-font-color), 0.1);
    color: rgb(var(--primary1));
    font-weight: 600;
    padding: 10px 20px;
    border-bottom: none;
}

.custom-table tbody td {
    padding: 10px 20px;
    vertical-align: middle;
    background-color: rgb(var(--title-font-color), 0.05);
}

.custom-table tbody tr:nth-child(even) td {
    background-color: rgb(var(--title-font-color), 0.1);
}

.brochure-card {
    background-color: rgba(var(--light-gray));
    padding: 1rem 1.5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: rgb(var(--title-font-color));
    transition: 0.4s;
}

.brochure-card:before {
    content: '';
    position: absolute;
    right: 15%;
    top: 25px;
    background: url('../images/dwn-bg-icon.webp') left top no-repeat;
    width: 124px;
    height: 149px;
}

.brochure-card:hover {
    color: rgb(var(--primary1));
}

.brochure-icon-circle {
    width: 54px;
    height: 54px;
    background-color: rgb(var(--primary1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.brochure-icon-circle img {
    width: 24px;
    filter: var(--imgWhite);
}

.brochure-details h4 {
    margin-bottom: 2px;
    font-size: 1.05rem;
    font-weight: 500;
}

.brochure-details p {
    margin-bottom: 0;
    font-size: 0.85rem;
}