/********** Template CSS **********/
:root {
    --primary: #982E45;
    --secondary: #555555;
    --light: #F8F8F8;
    --dark: #252525;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 15px;
    bottom: 50px;
    z-index: 9999;
}
/*--- floting-btn Start----*/
#fab-detailspage .fab-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    user-select: none;
    position: fixed;
    bottom: 115px;
    right: 0px;
    z-index:9999;
    pointer-events: none;
}
#fab-detailspage .fab-container .fab,
#fab-detailspage .fab-container.is-open .sub-button,
#fab-detailspage .fab-container:hover .sub-button {
  pointer-events: auto;
}
#fab-detailspage .fab-container:hover .sub-button:nth-child(2),
#fab-detailspage .fab-container.is-open .sub-button:nth-child(2) {
  transform: translateY(-60px);
}
#fab-detailspage .fab-container:hover .sub-button:nth-child(3),
#fab-detailspage .fab-container.is-open .sub-button:nth-child(3) {
  transform: translateY(-120px);
}
#fab-detailspage .fab-container:hover .sub-button:nth-child(4),
#fab-detailspage .fab-container.is-open .sub-button:nth-child(4) {
  transform: translateY(-180px);
}
#fab-detailspage .fab-container:hover .sub-button:nth-child(5),
#fab-detailspage .fab-container.is-open .sub-button:nth-child(5) {
  transform: translateY(-240px);
}
#fab-detailspage .fab-container:hover .sub-button:nth-child(6),
#fab-detailspage .fab-container.is-open .sub-button:nth-child(6) {
  transform: translateY(-300px);
}
#fab-detailspage .fab-container .fab {
  position: relative;
  height: 50px;
  width: 50px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background-color: var(--primary);
  border-radius: 50%;
  z-index: 2;
}
#fab-detailspage .fab-container .fab .bi-plus {
  display: inline-block;
  transition: transform 0.2s ease;
}
#fab-detailspage .fab-container.is-open .fab .bi-plus {
  transform: rotate(45deg);
}
#fab-detailspage .fab-container .fab::before {
  content: " ";
  position: absolute;
  bottom: 0;
  right: 0;
  height: 25px;
  width: 25px;
  background-color: inherit;
  border-radius: 0 0 10px 0;
  z-index: -1;
}
#fab-detailspage .fab-container .fab .fab-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  border-radius: 50%;
}
#fab-detailspage .fab-container .fab .fab-content .material-icons {
  color: white;
  font-size: 28px;
}
#fab-detailspage .fab-container .sub-button {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 5px;
  right: 5px;
  height: 40px;
  width: 40px;
  color: #fff;
  text-decoration: none;
  background-color: var(--primary);
  border-radius: 50%;
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
}
#fab-detailspage .fab-container:hover .sub-button,
#fab-detailspage .fab-container.is-open .sub-button {
  opacity: 1;
  pointer-events: auto;
}
#fab-detailspage .fab-container .sub-button:hover {
  cursor: pointer;
  color: #fff;
}
#fab-detailspage .fab-container .sub-button .material-icons {
  color: white;
  padding-top: 6px;
}
/*--- floting-btn end ----*/

/*--- floting-btn Start----*/
/*#fab-allpage .fab-container{
position:absolute;
bottom:50%;
left:2%!important;
transform:translateY(-50%);
curser:pointer;
}*/
#fab-allpage .fab-container {
    position: fixed;
    bottom: 50px;
    left: 1%!important;
    curser: pointer;
}
#fab-allpage .iconbutton{
width:50px;
height:50px;
border-radius:100%;
background:#ff4f79;
box-shadow:10px 10px 5px #aaaaaa;
}
#fab-allpage .button{
width:60px;
height:60px;
background:#a11692;
}
#fab-allpage .iconbutton i{
display:flex;
align-items:center;
justify-content:center;
height:100%;
color:white;
}
#fab-allpage .options{
list-style-type: none;
position:absolute;
bottom:70px;
right:0;
}
#fab-allpage .options li{
display:flex;
justify-content:flex-end;
padding:5px;
}
#fab-allpage .btn-label{
padding:2px 5px;
margin-right:10px;
align-self: center;
user-select:none;
background-color: black;
color:white;
border-radius: 3px;
box-shadow: 10px 10px 5px #aaaaaa;
}
/*#fab-allpage .fab-container:hover .sub-button:nth-child(2) {*/
/*  transform: translateY(-60px);*/
/*}*/
/*#fab-allpage .fab-container:hover .sub-button:nth-child(3) {*/
/*  transform: translateY(-120px);*/
/*}*/
/*#fab-allpage .fab-container:hover .sub-button:nth-child(4) {*/
/*  transform: translateY(-180px);*/
/*}*/
/*#fab-allpage .fab-container:hover .sub-button:nth-child(5) {*/
/*  transform: translateY(-240px);*/
/*}*/
/*#fab-allpage .fab-container:hover .sub-button:nth-child(6) {*/
/*  transform: translateY(-300px);*/
/*}*/

/*#fab-allpage .fab-container .sub-button {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 5px;
  left: 5px;
  height: 40px;
  width: 40px;
  background-color: var(--primary);
  border-radius: 50%;
  transition: all 0.3s ease;
}*/
#fab-allpage .fab-container .sub-button {
    /* position: relative; */
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 10px;
    left: 10px;
    height: 40px;
    width: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-bottom:10px;
}
#fab-allpage  .fab-container .sub-button:hover {
  cursor: pointer;
}
#fab-allpage  .fab-container .sub-button .material-icons {
  color: white;
  padding-top: 6px;
}
/*--- floting-btn end ----*/


body {
    font-family: "Noto Sans", sans-serif;
    font-weight: 400;
    color: #333333;
    margin: 0;
    padding: 0;
}

p {
    font-weight: 400;
}

.category-intro-text {
    color: #333333;
    font-weight: 400;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 10000;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** sticky-top navigation logo css ***/

.site-header-sticky {
    z-index: 1030;
    background: #fff;
    top: 0 !important;
}

.site-header-sticky > .container-fluid.px-0:first-of-type {
    overflow-x: clip;
}

.site-header-sticky.scrolled {
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
}

/* Logo styling — enlarged wordmark with clear space before nav */
.navbar-brand.logo {
    flex-shrink: 0;
    margin-right: 1.25rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    transition: margin-top 0.3s ease-in-out;
}

.sticky-top.scrolled .navbar-brand.logo {
    margin-top: 0;
}

/*** End ***/

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
    border-radius:0;
}
.btn:focus {
    outline:none;
    box-shadow:none!important;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

a.cta-txt-btn[aria-expanded="false"] {
  margin-top: 0;
  border-radius:0;
}
a.cta-txt-btn[aria-expanded="true"] {
  margin-top: 1rem;
  border-radius:0;
}
[aria-expanded="false"] > .expanded,
[aria-expanded="true"] > .collapsed {
  display: none;
}
.btn-search{
    height:35px;
    width:35px;
    padding:0!important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.btn-search i {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
}
/*.btn-search i{*/
/*    margin: 0 auto;*/
/*}*/
/*** Category Navbar ***/
.navbar-brand img {
    width: auto;
    height: auto;
    max-width: 280px;
    max-height: 44px;
    aspect-ratio: 1728 / 200;
    object-fit: contain;
}

@media (min-width: 1200px) {
    .navbar-brand img {
        max-width: 360px;
        max-height: 52px;
    }
}

@media (min-width: 1400px) {
    .navbar-brand img {
        max-width: 420px;
        max-height: 56px;
    }
}

@media (max-width: 1199.98px) {
    .navbar-brand.logo {
        margin-right: 0.75rem;
    }
}
/*.navbar {*/
/*  flex-wrap: nowrap!important;*/
/*}*/
@media (min-width: 1200px) {
  .navbar-expand-xl .navbar-collapse {
    justify-content: space-between !important;
  }
}

#category-navbar .navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

#category-navbar .navbar .navbar-nav .nav-link {
    margin: 0px 0px;
    padding: 15px 30px;
    /* font-weight: 500; */
    color: rgba(0, 0, 0, 0.55);
    outline: none;
}

#category-navbar .navbar .navbar-nav .nav-link .active:hover {
    background: var(--primary);
    -webkit-clip-path: polygon(0 0, 60% 50%, 0 100%);
    clip-path: polygon(0 0, 60% 50%, 0 100%);
    content: "";
    height: 100%;
    left: 99%;
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
    transition: transform .5s;
    width: 2rem;
    margin: 1px -7px;
}

#category-navbar .navbar-expand-lg .navbar-nav .dropdown-menu {
    position: absolute;
    left: 0;
    top: 0%;
    width: 100%;
}

#category-navbar .navbar .navbar-nav .nav-link:hover,
#category-navbar .navbar .navbar-nav .nav-link.active {
    background-color: var(--primary) !important;
    color: rgba(255, 255, 255, 0.75);
}

#category-navbar .navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

/*#category-navbar .product-category-title::after {*/
/*    background: var(--primary);*/
/*    -webkit-clip-path: polygon(0 0, 60% 50%, 0 100%);*/
/*    clip-path: polygon(0 0, 60% 50%, 0 100%);*/
/*    content: "";*/
/*    height: 100%;*/
/*    left: 99%;*/
/*    top: 50%;*/
/*    position: absolute;*/
/*    transform: translateY(-50%);*/
/*    transition: transform .5s;*/
/*    width: 2rem;*/
/*    margin: 1px -7px;*/
/*}*/

@media (max-width: 991.98px) {
    #category-navbar .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 8px 0;
    }

    #category-navbar .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid rgba(256, 256, 256, .1)
    }
}

@media (min-width: 992px) {
    #category-navbar .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    #category-navbar .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Category Navbar End***/

.sticky-top {
    transition: 0.5s;
    background: var(--bs-white);
}

/*** Navbar Start ***/
.navbar .navbar-nav .nav-link {
    padding: 10px 8px;
    font-size: 14px;
    transition: .5s;
    white-space: nowrap;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top.bg-white .navbar .navbar-nav .nav-link:hover,
.sticky-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-menu .dropdown-item.active,
.navbar .dropdown-menu .dropdown-item:active {
    background: rgba(152, 46, 69, 0.08);
    color: var(--bs-primary);
    font-weight: 600;
}

.navbar .nav-link.rightLink {
    flex-shrink: 0;
}

.navbar .nav-link.rightLink .btn-search {
    pointer-events: none;
}

@media (max-width: 1199.98px) {
    .navbar-utility {
        flex-direction: column;
        align-items: stretch !important;
        flex-wrap: wrap;
        padding-top: 0 !important;
        border-top: 0 !important;
    }

    .navbar-utility .nav-item {
        width: 100%;
    }

    .navbar-utility .nav-link.rightLink {
        display: block;
        width: 100%;
        text-align: left;
        padding: 10px 8px !important;
        margin-right: 0 !important;
        font-size: 14px;
        color: rgba(0, 0, 0, 0.55);
        background: transparent;
    }

    .navbar-utility .nav-link.rightLink:hover,
    .navbar-utility .nav-link.rightLink.active,
    .navbar-utility .nav-link.rightLink:focus {
        color: var(--bs-primary);
    }

    #mg-lang-switcher {
        position: relative;
    }

    #mg-lang-switcher .dropdown-menu {
        position: static !important;
        transform: none !important;
        inset: auto !important;
        left: auto !important;
        right: auto !important;
        float: none;
        width: 100%;
        min-width: 0;
        margin: 0 !important;
        border: 0;
        box-shadow: none;
        padding: 0 0 0.25rem 1.25rem;
        background: transparent !important;
    }

    #mg-lang-switcher .dropdown-item {
        padding: 0.4rem 8px;
        font-size: 14px;
        color: rgba(0, 0, 0, 0.55);
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .nav-item .dropdown-menu {
    z-index: 9999 !important;
    font-size: 14px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-light);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu,
.navbar .nav-item .dropdown-toggle[aria-expanded="true"] + .dropdown-menu,
.navbar .nav-item.show .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    /*border-radius: 10px !important;*/
    transition: .5s;
    opacity: 1;
}

@media (min-width: 1200px) {
    .navbar .navbar-collapse .border-top {
        border-top: none !important;
    }

    /* Keep main + utility nav on one line (German labels are longer) */
    .navbar.navbar-expand-xl .navbar-collapse {
        flex-wrap: nowrap;
        align-items: center;
    }

    .navbar.navbar-expand-xl .navbar-nav {
        flex-wrap: nowrap;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;
        margin-left: 0.5rem;
    }

    .navbar.navbar-expand-xl .navbar-nav .nav-item,
    .navbar.navbar-expand-xl .navbar-nav .nav-link,
    .navbar.navbar-expand-xl .nav-link.rightLink {
        white-space: nowrap;
    }
}

/* Only tighten when Google Translate switches to German — keep English at normal size */
@media (min-width: 1200px) {
    html[lang="de"] .navbar.navbar-expand-xl .navbar-nav .nav-link,
    body.translated-ltr .navbar.navbar-expand-xl .navbar-nav .nav-link {
        padding: 10px 6px;
        font-size: 13px;
    }

    html[lang="de"] .navbar.navbar-expand-xl .nav-link.rightLink,
    body.translated-ltr .navbar.navbar-expand-xl .nav-link.rightLink {
        font-size: 13px;
        margin-right: 0.35rem !important;
    }

    html[lang="de"] .navbar.navbar-expand-xl .nav-link.rightLink > span.me-2,
    body.translated-ltr .navbar.navbar-expand-xl .nav-link.rightLink > span.me-2 {
        margin-right: 0.35rem !important;
    }

    html[lang="de"] .navbar.navbar-expand-xl .d-flex.align-items-center.flex-nowrap,
    body.translated-ltr .navbar.navbar-expand-xl .d-flex.align-items-center.flex-nowrap {
        gap: 0.15rem;
    }
}

#searchModal .modal-content {
    background: rgba(250, 250, 250, .6);
}

.search-text {
    font-size: 14px;
}

/*** Navbar End ***/



/*** Header ***/

#header-carousel .carousel-inner {
    height: 320px;
}

#header-carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
    width: 10%;
}

#header-carousel .carousel-control-prev-icon,
#header-carousel .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 500px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

#header-carousel .carousel-indicators [data-bs-target] {
    width: 60px;
    height: 60px;
    text-indent: 0;
    margin-bottom: 15px;
    border: 2px solid #FFFFFF;
    border-radius: 60px;
    overflow: hidden;
}

#header-carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../../img/mg-banner.webp) center center no-repeat;
    background-size: cover;
}


.top-links a {
    font-size: 11px;
}

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

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

/*.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}*/

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 10px;
    left: -60px;
    /*background: var(--primary);*/
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}



/*** Img Border ***/
.img-border {
    position: relative;
    height: auto;
    min-height: 0;
}
@media (min-width: 992px) {
    .img-border {
        height: 100%;
        min-height: 300px;
    }
}

.history-profile {
    display: grid;
    gap: 1.25rem;
    grid-template-areas:
        "title"
        "media"
        "text";
    align-items: start;
}
.history-profile__title { grid-area: title; }
.history-profile__media { grid-area: media; }
.history-profile__text { grid-area: text; }
.history-profile__media .img-border {
    min-height: 0;
    height: auto;
}
.history-profile__title h2 {
    margin-bottom: 0;
}
.history-profile__text > p:first-child {
    margin-top: 0;
}
@media (min-width: 992px) {
    .history-profile {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto 1fr;
        grid-template-areas:
            "title media"
            "text media";
        column-gap: 1.5rem;
        row-gap: 0.5rem;
        align-items: start;
    }
    .history-profile--media-start {
        grid-template-areas:
            "media title"
            "media text";
    }
    .history-profile__media .img-border {
        height: 100%;
        min-height: 0;
    }
}

.downloads-table {
    table-layout: fixed;
    width: 100%;
}
.downloads-table .downloads-col-doc {
    width: auto;
}
.downloads-table .downloads-col-size {
    width: 4.75rem;
}
.downloads-table .downloads-col-dl {
    width: 6.25rem;
}
.downloads-table th,
.downloads-table td {
    vertical-align: middle;
}
.downloads-table td:first-child {
    word-break: break-word;
}
.downloads-table .downloads-col-dl,
.downloads-table th:nth-child(3),
.downloads-table td:nth-child(3) {
    text-align: center;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
    white-space: nowrap;
}
.downloads-table .btn {
    padding: 0.2rem 0.5rem;
    white-space: nowrap;
}
@media (max-width: 575.98px) {
    .downloads-table .downloads-col-size {
        width: 4.25rem;
    }
    .downloads-table .downloads-col-dl {
        width: 4.75rem;
    }
    .downloads-table thead th {
        font-size: 0.8rem;
        padding: 0.5rem 0.4rem;
    }
    .downloads-table tbody td {
        padding: 0.55rem 0.4rem;
    }
    .downloads-table .downloads-btn-label {
        display: none;
    }
    .downloads-table .btn {
        padding: 0.28rem 0.4rem;
    }
}
/*.img-border::before {*/
/*    position: absolute;*/
/*    content: "";*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 3rem;*/
/*    bottom: 3rem;*/
/*    border: 1px solid var(--primary);*/
/*    border-radius: 6px;*/
/*}*/

/*.img-border img {*/
/*    position: absolute;*/
/*    top: 3rem;*/
/*    left: 3rem;*/
/*    width: calc(100% - 3rem);*/
/*    height: calc(100% - 3rem);*/
/*    object-fit: cover;*/
/*    border-radius: 6px;*/
/*}*/

/*.img-border img {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
    /*width: calc(100% - 3rem);
    border-radius: 6px;*/
/*}*/


/*** Service ***/
#choose25year{
    background: linear-gradient(rgba(119, 119, 119, 0.95), rgba(61, 61, 61, 0.85)), rgb(58, 58, 58) url(../../img/mg-banner.webp);
    background-size: cover;    
}

#choose25year .service-item p{
  font-size: 14px;
}
#choose25year .service-item {
    background-color: var(--light);
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transition: .5s;
    color: var(--bs-dark);
}

#choose25year .service-item:hover {
    margin-top: -10px;
    box-shadow: none;
    border: 1px solid #DEE2E6;
    color: var(--bs-dark);
}

/*** Features Start ***/

.feature {
    background: linear-gradient(rgba(119, 119, 119, 0.95), rgba(61, 61, 61, 0.85)), rgb(58, 58, 58) url(../../img/mg-banner.webp);
    background-size: cover;
}
.feature .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bs-white);
    border-radius: 10px;
    transition: 0.5s;
}

.feature .feature-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature .feature-item .feature-icon {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
}

.feature .feature-item .feature-icon i {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon i {
    transform: rotate(360deg);
}

.feature .feature-item a.btn {
    transition: 0.5s;
}

.feature .feature-item:hover a.btn:hover {
    color: var(--bs-primary) !important;
}
.features .icon-bg {
    width: 150px;
    height: 150px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e3e3e3;
    color:var(--primary);
}
/*** Features End ***/

/***progress***/
.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Project ***/
.project-item a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(0, 0, 0, .5);
    border-radius: 6px;
    opacity: 0;
    transition: .5s;
}
#project h2{
   font-size: 16px;
    font-weight: 400;
}
.project-item:hover a {
    opacity: 1;
}

.project-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.project-carousel .owl-dot {
    width: 35px;
    height: 35px;
    margin: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 35px;
    transition: .5s;
}

.project-carousel .owl-dot:hover,
.project-carousel .owl-dot.active {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-text {
    position: relative;
    height: 65px;
    overflow: hidden;
}

.team-item .team-title {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-item:hover .team-title {
    top: -65px;
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 65px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    margin: 0 3px;
}

.team-item:hover .team-social {
    top: 0;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Footer ***/
.footer {
  overflow: hidden;
  padding-bottom: 3.25rem;
}
.footer h5 {
    border-left:2px solid var(--primary);
    padding-left:1rem;
}
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--light);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

/* Keep each footer link on a single line on desktop */
@media (min-width: 992px) {
    .footer .btn.btn-link {
        white-space: nowrap;
    }
}

.footer .copyright {
    padding: 22px 0;
    font-size: 15px;
    color: #fff;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #fff;
    text-decoration: none;
}

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

.footer-copyright-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.footer-copyright-logo {
    height: 36px;
    width: auto;
    max-width: 280px;
    aspect-ratio: 1728 / 200;
    object-fit: contain;
    background: #fff;
    padding: 4px 8px;
    border-radius: 4px;
}

@media (max-width: 767.98px) {
    .footer > .container > .row {
        --bs-gutter-y: 0;
    }

    .footer .footer-links-col {
        margin-top: 0 !important;
    }

    .footer .btn.btn-link {
        margin-bottom: 0;
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
        line-height: 1.35;
    }

    .footer .footer-links-col h5.mb-4 {
        margin-bottom: 0.65rem !important;
    }

    .footer .footer-address-col {
        margin-top: 1.25rem !important;
    }

    .footer .copyright .row {
        justify-content: center;
        text-align: center;
    }

    .footer-copyright-brand {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 8px;
        width: 100%;
    }

    .footer-copyright-logo {
        margin-left: auto;
        margin-right: auto;
    }
}

.footer-sticky-bar {
    z-index: 1030;
}

.grecaptcha-badge {
    visibility: hidden;
}

.mg-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.footer .icon-border {
    border-radius: 0;
    border: 1px solid var(--light);
    padding: 5px;
    height: fit-content;
    background: var(--light);
}

/* Added by Harshada */

/***** product *****/
.category-hero-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.portfolio-item {
    border: 3px solid white;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.portfolio-inner:hover {
    transform: translateY(-5px);
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
}

.portfolio-media {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.portfolio-media img,
.portfolio-img > img {
    width: 100%;
    height: 250px; /* Fixed image height for uniformity */
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-media:hover img,
.portfolio-card:hover .portfolio-media img,
.portfolio-img:hover > img {
    transform: scale(1.1);
}

.portfolio-media--placeholder img {
    object-fit: contain;
    background: #f2f2f2;
}

.portfolio-card:hover .portfolio-media--placeholder img {
    transform: none;
}

.portfolio-caption {
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 0.85rem 0.35rem 0.25rem;
    text-align: center;
}

.portfolio-caption h2,
#project .portfolio-caption h2 {
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 0.65rem;
    line-height: 1.35;
    min-height: 2.7em;
    color: inherit;
}

.portfolio-img {
    position: relative;
    width: 100%;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

/* Keep legacy markup captions above hover-zoomed images */
.portfolio-img > .overlay {
    position: relative;
    z-index: 2;
    background: #fff;
    padding-top: 0.75rem;
}

.portfolio-title h2 {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .portfolio-media img,
    .portfolio-img > img {
        height: 200px;
    }
    .portfolio-caption h2,
    #project .portfolio-caption h2,
    .portfolio-title h2 {
        font-size: 16px;
    }
}


/*Industries And Solutions*/
#sectors .feature-icon {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#sectors .feature-icon img {
    width: 100%;
    height: 250px; /* Fixed image height for uniformity */
    object-fit: cover;
    transition: transform 0.3s ease;
}

#sectors .feature-icon:hover img {
    transform: scale(1.1);
}

/**** Card ****/

.section-header {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 45px;
    padding-bottom: 15px;
}

/* .section-header::after {
    position: absolute;
    content: '';
    width: 100px;
    height: 1px;
    bottom: 0;
    left: calc(50% - 50px);
    background: #666;
    z-index: 99;
} */

.section-header h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header p {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 25px;
    color: #333333;
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 35px;
        font-weight: 700;
    }
}

@media (max-width: 575.98px) {
    .section-header h2 {
        font-size: 25px;
        font-weight: 400;
        letter-spacing: 0;
    }
}


#amenities {
    position: relative;
    /* padding: 45px 0 30px 0; */
    text-align: center;
}

#amenities.home-amenities h2,
#amenities.home-amenities h3,
#amenities.home-amenities p {
    color: #ffffff;
}

#amenities h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

#amenities .item {
    padding: 30px 15px;
    margin-bottom: 30px;
    /* background: #ffffff; */
    border-radius: 30px;
}

#amenities .icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: contain;
    transition: 0.5s;
}

#amenities .icon.icon-1 {
    background-image: url(../img/icon/shield-hover.png);
}

#amenities .icon.icon-1:hover {
    background-image: url(../img/icon/shield.png);
}

#amenities .icon.icon-2 {
    background-image: url(../img/icon/air-conditioner-hover.png);
}

#amenities .icon.icon-2:hover {
    background-image: url(../img/icon/air-conditioner.png);
}

#amenities .icon.icon-3 {
    background-image: url(../img/icon/bathtub-hover.png);
}

#amenities .icon.icon-3:hover {
    background-image: url(../img/icon/bathtub.png);
}

#amenities .icon.icon-4 {
    background-image: url(../img/icon/shower-hover.png);
}

#amenities .icon.icon-4:hover {
    background-image: url(../img/icon/shower.png);
}

#amenities .icon.icon-5 {
    background-image: url(../img/icon/towel-hover.png);
}

#amenities .icon.icon-5:hover {
    background-image: url(../img/icon/towel.png);
}

#amenities .icon.icon-6 {
    background-image: url(../img/icon/television-hover.png);
}

#amenities .icon.icon-6:hover {
    background-image: url(../img/icon/television.png);
}

#amenities .icon.icon-7 {
    background-image: url(../img/icon/wifi-hover.png);
}

#amenities .icon.icon-7:hover {
    background-image: url(../img/icon/wifi.png);
}

#amenities .icon.icon-8 {
    background-image: url(../img/icon/call-hover.png);
}

#amenities .icon.icon-8:hover {
    background-image: url(../img/icon/call.png);
}

#amenities .icon.icon-9 {
    background-image: url(../img/icon/minibar-hover.png);
}

#amenities .icon.icon-9:hover {
    background-image: url(../img/icon/minibar.png);
}

#amenities .icon.icon-10 {
    background-image: url(../img/icon/kitchen-hover.png);
}

#amenities .icon.icon-10:hover {
    background-image: url(../img/icon/kitchen.png);
}


/**** Counter ****/
/*** Facts ***/
.fact-item {
    transition: .5s;
}

.fact-item:hover {
    margin-top: -10px;
    background: #FFFFFF !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}
.facts {
    /* background: linear-gradient(rgba(119, 119, 119, 0.95), rgba(152, 46, 69, .95)), rgb(119, 119, 119) url(../img/carousel-1.jpg); */
    background: linear-gradient(rgba(119, 119, 119, 0.95), rgba(61, 61, 61, 0.85)), rgb(58, 58, 58) url(../../img/mg-banner.webp);
    background-size: cover;
}


/**** Our Clients ****/
.clients {
    position: relative;
    padding: 90px 0 0;
}

.clients .section-header p {
    padding-bottom: 10px;
}

.clients img {
    /*max-width: 100%;*/
    opacity: 1;
    transition: 0.3s;
    padding: 15px 0;
}
/*.clients .owl-carousel .owl-item img{*/
/*    max-width: 100px;*/
/*}*/

.clients img:hover {
    opacity: .5;
}

.clients .owl-nav,
.clients .owl-dots {
    margin-top: 5px;
    text-align: center;
}

.clients .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
}

.clients .owl-dot.active {
    background-color: #4F84C4;
}

.clients-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

/*.clients-carousel .owl-nav .owl-prev,*/
/*.clients-carousel .owl-nav .owl-next {*/
/*    margin: 0 12px;*/
/*    width: 50px;*/
/*    height: 50px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    border: 1px solid #DEE2E6;*/
/*    border-radius: 50px;*/
/*    font-size: 18px;*/
/*    transition: .5s;*/
/*    position: absolute;*/
/*    top: 0;*/
    /*transform:translateY(-50%);*/
/*}*/
.clients-carousel .owl-nav .owl-prev, .clients-carousel .owl-nav .owl-next {
    margin: 0 0px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 50px;
    font-size: 14px;
    transition: .5s;
    position: absolute;
    top: -50px;
    /*transform: translateY(-50%);*/
    padding: 10px 10px;
}

.clients-carousel .owl-nav .owl-prev{
    left: 0;
}
.clients-carousel .owl-nav .owl-next {
    right: 0;
}

.clients-carousel .owl-nav .owl-prev:hover,
.clients-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}



.underline {
    text-decoration: none;
    position: relative;
}

.underline:after {
    position: absolute;
    content: '';
    height: 3px;
    /* adjust this to move up and down. you may have to adjust the line height of the paragraph if you move it down a lot. */
    bottom: -14px;


    /****** 
    optional values below 
    ******/

    /* center - (optional) use with adjusting width   */
    margin: 0 auto;
    left: 0;
    right: 0;
    width: 20%;
    background: var(--primary);

    /* optional animation
    -o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s; */
}
.underline.underlineLeft:after {
    margin: 0;
}
/* optional hover classes used with anmiation 
.underline:hover:after {
    width: 80%;
    background: orange;
}*/




/******************************************************** 
        About CSS Start
*********************************************************/
.title h2 {
  font-size: 27px;
  line-height: 38px;
  font-weight: 300;
}

/******************************************************** 
        About CSS End
*********************************************************/


/******************************************************** 
        Product Detail Page CSS Start
*********************************************************/
/* product detail start */
#product-detail {
  position: relative;
  width: 100%;
  /* padding: 30px 0; */
}

/* Product listing cards (subcategory grid) — whole card is one link */
#product-detail .js-product-group > .row.contentTitle,
#product-detail .js-product-group .contentTitle {
    padding-left: 0.25rem;
}

#product-detail .product-list-grid {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.25rem;
    margin-left: 0;
}

@media (min-width: 768px) {
    #product-detail .subcat-block--intro,
    #product-detail .subcat-block--products {
        padding-left: 0.25rem;
    }
}

/* Subcategory catalog layout:
   mobile: intro → material|standards → products
   desktop: material|intro / standards|products */
#product-detail .subcat-catalog-layout {
    display: grid;
    gap: 1rem 0.75rem;
    align-items: start;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
        "intro intro"
        "material standards"
        "products products";
}

#product-detail .subcat-block--intro { grid-area: intro; }
#product-detail .subcat-block--material { grid-area: material; }
#product-detail .subcat-block--standards { grid-area: standards; }
#product-detail .subcat-block--products { grid-area: products; }

#product-detail .subcat-catalog-layout--no-material {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "intro"
        "standards"
        "products";
}

@media (min-width: 768px) {
    #product-detail .subcat-catalog-layout {
        grid-template-columns: minmax(150px, 16.666%) minmax(0, 1fr);
        grid-template-areas:
            "material intro"
            "standards products";
        column-gap: 1.5rem;
        row-gap: 1.5rem;
    }

    #product-detail .subcat-catalog-layout--no-material {
        grid-template-areas:
            "standards intro"
            "standards products";
    }

    #product-detail .subcat-block--material,
    #product-detail .subcat-block--standards {
        border-right: 1px solid #dee2e6;
        padding-right: 1rem;
    }
}

@media (max-width: 767.98px) {
    #product-detail .subcat-catalog-layout {
        row-gap: 0;
        column-gap: 0;
    }

    #product-detail .subcat-block--intro {
        margin-bottom: 1rem;
    }

    #product-detail .subcat-filter-col.border-end {
        border-right: 0 !important;
    }

    #product-detail .subcat-block--material,
    #product-detail .subcat-block--standards {
        min-width: 0;
        background: #f6f1f2;
        border: 1px solid #ead9dd;
        border-bottom: 0;
        padding-top: 0.85rem;
        padding-bottom: 0.8rem;
    }

    #product-detail .subcat-block--material {
        border-right: 0;
        border-radius: 10px 0 0 0;
        padding-left: 0.8rem;
        padding-right: 0.4rem;
    }

    #product-detail .subcat-block--standards {
        border-left: 1px solid #ead9dd;
        border-radius: 0 10px 0 0;
        padding-left: 0.4rem;
        padding-right: 0.8rem;
    }

    #product-detail .subcat-block--products {
        background: #fff;
        border: 1px solid #ead9dd;
        border-radius: 0 0 10px 10px;
        padding: 0.35rem 0.25rem 0.55rem;
        box-shadow: 0 8px 18px rgba(152, 46, 69, 0.05);
    }

    #product-detail .subcat-catalog-layout--no-material .subcat-block--standards {
        border-left: 1px solid #ead9dd;
        border-radius: 10px 10px 0 0;
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }

    #product-detail .subcat-filter-select {
        margin-bottom: 0 !important;
        background-color: #fff;
    }

    #product-detail .js-product-group .contentTitle {
        padding-top: 0.55rem;
        padding-bottom: 0.15rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    #product-detail .js-product-group > .row.mt-1,
    #product-detail .js-product-group .product-list-grid {
        margin-top: 0.15rem !important;
    }
}

#product-detail a.product-list-card {
    color: inherit;
    gap: 0.85rem;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    background: transparent;
    border: 1px solid transparent;
    box-sizing: border-box;
    width: 100%;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#product-detail a.product-list-card .product-list-card__media img {
    display: block;
    width: 140px;
    max-width: 140px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 4px;
}

@media (max-width: 575.98px) {
    #product-detail a.product-list-card .product-list-card__media img {
        width: 96px;
        max-width: 96px;
    }
}

#product-detail a.product-list-card .product-list-card__body {
    min-width: 0;
    flex: 1;
    padding-top: 0.15rem;
}

#product-detail a.product-list-card:hover,
#product-detail a.product-list-card:focus-visible {
    background-color: rgba(128, 0, 32, 0.06);
    border-color: rgba(128, 0, 32, 0.18);
    outline: none;
    box-shadow: none;
    z-index: 1;
    position: relative;
}

#product-detail a.product-list-card:hover .product-list-card__title,
#product-detail a.product-list-card:focus-visible .product-list-card__title {
    text-decoration: underline;
}

#product-detail a.product-list-card .product-list-card__desc {
    color: #6c757d;
}

#product-detail h2{
    font-size :24px;
}

#product-detail #product-detail-top,
#product-detail #product-detail-bottom {
  margin-bottom: 30px;
}


#product-detail #product-detail-top {
  padding: 0;
  background: #ffffff;
}

#product-detail .product-slider-single img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.product-detail-main-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  background: #f7f7f7;
}

#product-detail .product-slider-single-nav {
  margin: 15px 30px 30px 30px;
  /* border: 1px double var(--secondary); */
}

#product-detail .product-slider-single-nav .slider-nav-img {
  border: 1px solid var(--secondary);
  overflow: hidden;
  margin:5px;
}

#product-detail .product-slider-single-nav img {
  width: 100%;
  transition: all .3s;
}

#product-detail .product-slider-single-nav img:hover {
  transform: scale(1.2);
}

#product-detail .product-content,
#product-detail .product-content .title,
#product-detail .product-content .details,
#product-detail .product-content .action {
  position: relative;
  width: 100%;
}
#product-detail .product-content p {
  margin-bottom:10px;  
}
#product-detail .product-content p b {
    color: var(--primary);
    font-weight: 500;
}
#product-detail .product-content {
  padding: 0px;
}

@media (min-width: 768px) {
  #product-detail .product-content {
    padding-left: 0;
  }
}

#product-detail .product-content .title h2 {
  font-size: 27px;
  line-height: 38px;
  font-weight: 300;
  margin-bottom: 5px;
}
#product-detail .product-content .action a:first-child {
  margin-right: 11px;
}

#product-detail .product-content .action a i {
  margin-right: 5px;
}

#product-detail .tab-content h2, #product-detail .product h2{
  font-size: 27px;
  line-height: 38px;
  font-weight: 300;
}
#product-detail .data{
  display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid gray;
}
#product-detail .data .label{
    font-weight:bold;
}

#product-detail .table p{
    margin-bottom:0;
}
#product-detail .table p span{
    color: var(--bs-primary) !important;
}
#product-detail .table>:not(:last-child)>:last-child>* {
    border-bottom-color: var(--primary) !important;
    color: var(--bs-primary) !important;
}
#specification hr{
    width: 50%;
    margin: 30px auto;
    background-color: var(--primary);
}



#product-detail .nav.nav-pills .nav-link {
  color: var(--secondary);
  /*background: var(--primary);*/
  border-radius: 0;
  width: fit-content;
  font-weight: 300;
  transition: all .3s;
  width:100%;
  text-align: left;
  border: 0;
}

#product-detail .nav.nav-pills .nav-link:hover,
#product-detail .nav.nav-pills .nav-link.active {
  color: var(--primary);
}
#product-detail .nav.nav-pills .nav-link:hover,
#product-detail .nav.nav-pills a.nav-link:hover,
#product-detail .nav.nav-pills button.nav-link:hover {
  /*background-color: rgba(0, 0, 0, .2);*/
  border-bottom: 0px solid #fff;
  
}
#product-detail .nav.nav-pills .nav-link.active,
#product-detail .nav.nav-pills a.nav-link.active,
#product-detail .nav.nav-pills button.nav-link.active {
  background-color: transparent;
  border-bottom: 0;
  color: var(--primary);
  font-weight: 500;
}
#product-detail .nav.nav-pills.bg-secondary .nav-link.active,
#product-detail .nav.nav-pills.bg-secondary a.nav-link.active,
#product-detail .nav.nav-pills.bg-secondary button.nav-link.active {
  /*background-color: rgba(0, 0, 0, .2);*/
  background-color: var(--primary);
  border-bottom: 3px solid #fff;
  color: #fff !important;
}

#product-detail .tab-content {
    /*background: #fafafa;
    /*padding: 25px 0px !important;
    margin: 0 15px;*/
}

#product-detail .tab-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  /*flex-direction: column;*/
}

/* #product-detail .tab-content ul li {
  margin-bottom: 10px;
}

#product-detail .tab-content ul li::before {
  content: '\f061';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  padding-right: 5px;
} */

#product-detail .tab-content ul.bullet{
  overflow: hidden;
  padding-left: 30px
}

#product-detail .tab-content ul.bullet>li {
  list-style: disc none outside
}

#product-detail .tab-content p{
    display:flex;
    flex-direction:column;
    
}
#product-detail .tab-content p b{
    color:var(--primary);
    font-weight:500;
}
#product-detail .tab-content .reviews-submitted {
  position: relative;
  margin-bottom: 45px;
}

#product-detail .tab-content .reviewer {
  color: var(--primary);
  font-size: 18px;
  font-weight: 600;
}

#product-detail .tab-content .reviewer span {
  color: #666666;
  font-size: 14px;
  font-weight: 400;
}



#product-detail .tab-content .form input {
  width: 100%;
  height: 35px;
  padding: 0 15px;
  color: #666666;
  border: 1px solid #dddddd;
  border-radius: 4px;
  margin-bottom: 15px;
}

#product-detail .tab-content .form textarea {
  width: 100%;
  height: 80px;
  padding: 6px 15px;
  color: #666666;
  border: 1px solid #dddddd;
  border-radius: 4px;
  margin-bottom: 15px;
}

#product-detail .tab-content .form button {
  display: inline-block;
  height: 35px;
  padding: 0 15px;
  color: var(--primary);
  background: #ffffff;
  border: 1px solid var(--primary);
  border-radius: 4px;
  margin-bottom: 15px;
  transition: all .3s;
}

#product-detail .tab-content .form button:hover {
  color: #ffffff;
  background: var(--primary);
}

/*#product-detail .nav-pills .nav-link.btmArrow {
    position: relative;
    background: var(--primary);
    border-bottom: 0px solid #fff; 
    text-align:center;
    width: 150px;
}*/
#product-detail .nav-pills .nav-link.btmArrow {
    position: relative;
    color:var(--secondary);
    background: var(--white);
    border-bottom: 0px solid #fff; 
    font-weight:400;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#product-detail .nav-pills .nav-link.btmArrow:hover {
    background-color: var(--white);
    color: var(--primary);
}
#product-detail .nav-pills .nav-link.btmArrow.active {
    color: var(--primary) !important;
    background-color: var(--white) !important;
    font-weight: 500;
}
#product-detail .nav-pills .nav-link.btmArrow.active::after {
    border: none;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}
@media(max-width:567px){
    #product-detail .nav-pills .nav-link.btmArrow {
        padding: .5rem .5rem!important;
    }
}
/*#product-detail .nav-pills .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.50rem 0.50rem 0;
    border-color: var(--secondary) transparent transparent;
}*/

/*#product-detail .nav-pills .nav-link.active::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    right: -8px;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    width: 0;*/
/*    height: 0;*/
/*    border-style: solid;*/
/*    border-width: 0.5rem 0 0.5rem 0.5rem;*/
/*    border-color: transparent transparent transparent var(--secondary);*/
/*}*/
#arrowNoneBottom .nav-pills .nav-link.btmArrow:hover {
    background-color: rgb(115, 115, 115);
    color: var(--dark);
}
#arrowNoneBottom .nav-pills .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0;
    border-color: var(--secondary) transparent transparent;
}
#product-detail .nav.nav-pills a.nav-link {
    /*background-color: #F8F8F8;*/
    border-bottom: 0px solid #fff;
}
#product-detail .nav.nav-pills a.nav-link.active {
    background-color: #fff;
    border-bottom: 0px solid #fff; 
    color:var(--primary);
    font-weight:500;
    display: flex;
    justify-content: space-between;
}
#product-detail .nav.nav-pills a.nav-link.active::after {
    border: none;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

/* Subcategory Material/Standards filters — no active chevron; dropdowns below lg */
#product-detail #subcat-material-nav .nav-link.active::after,
#product-detail #subcat-standard-nav .nav-link.active::after,
#product-detail #subcat-material-nav .nav-link.btmArrow.active::after {
    content: none !important;
    display: none !important;
    margin: 0 !important;
}

#product-detail .subcat-filter-select {
    width: 100%;
    max-width: 100%;
}

#product-detail .subcat-filter-nav .nav-link {
    width: 100%;
    text-align: left;
}

#product-detail #subcat-material-nav .nav-link.active,
#product-detail #subcat-standard-nav .nav-link.active {
    color: var(--primary) !important;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    #product-detail .subcat-filter-col {
        border-right: 0 !important;
    }

    #product-detail .subcat-filter-col > p.border-bottom,
    #product-detail p.border-bottom.text-secondary.fw-bold {
        border-bottom: 0 !important;
        padding-bottom: 0;
        font-size: 0.75rem;
        letter-spacing: 0.02em;
        color: #6c757d;
        margin-top: 0.15rem !important;
        margin-bottom: 0.4rem !important;
        white-space: nowrap;
    }

    #product-detail .subcat-filter-select {
        height: 44px;
        padding: 0.5rem 2rem 0.5rem 0.7rem;
        border-radius: 8px;
        border: 1px solid #e4d6d9;
        background-color: #fff;
        margin-bottom: 0 !important;
        color: var(--dark);
        font-weight: 500;
        font-size: 0.875rem;
        line-height: 1.3;
        box-shadow: 0 1px 2px rgba(152, 46, 69, 0.06);
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23982E45' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 0.65rem center;
        background-size: 14px 10px;
        appearance: none;
        -webkit-appearance: none;
    }

    #product-detail .subcat-filter-select:focus {
        border-color: var(--primary);
        background-color: #fff;
        box-shadow: 0 0 0 0.2rem rgba(152, 46, 69, 0.16);
        outline: 0;
    }

    #product-detail .js-product-group > .row {
        margin-left: 0;
        margin-right: 0;
    }

    #product-detail .js-product-group .contentTitle {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/******************************************************** 
        Product Detail Page CSS End
*********************************************************/


/******************************************************** 
        Vertical Tab
*********************************************************/
.nav-tabs {
    border-bottom: 1px solid transparent!important;
}
.tab-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: row !important;
    background: #777;
}
.nav-tabs .nav-link {
        border: none;
        border-right: 3px solid transparent; /* Highlight the active tab */
        width: 100%;
        border-radius:0px!important;
        text-align: left;
        color: var(--secondary) !important;
        background-color: #fff!important;
    }
    .nav-tabs .nav-link.active {
        border-bottom: 0px solid #fff; 
        color:var(--primary) !important;
        font-weight:500;
        display: flex;
        justify-content: space-between;
    }
    
    .nav-tabs .nav-link.active::after {
    border: none;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

#product-detail #subcat-standard-nav.nav-tabs .nav-link.active::after {
    content: none !important;
    display: none !important;
}

.tab-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    /* flex-direction: column; */
    justify-content: space-evenly;
}
@media (min-width: 768px) {
    .nav-tabs {
        border-right: 1px solid transparent; /* Divider for vertical tabs */
    }
    .nav-tabs .nav-link {
        border: none;
        border-right: 0px solid transparent; /* Highlight the active tab */
        width: 100%;
        border-radius:0px!important;
        text-align: left;
        color: var(--secondary)!important;
    }
    /*.nav-tabs .nav-link.active {*/
    /*    border-right: 3px solid #d7d7d7;*/
    /*}*/
    .tab-content ul {
        flex-direction: column !important;
        background: #fff;
    }
}


/******************************************************** 
        Product Detail Bredcrumb css
*********************************************************/

.breadcrumb {
    font-size: 12px;
    padding: 8px 0px;
    margin-bottom: 10px;
    list-style: none;
    /*background: linear-gradient(to right, #f8f8f8 0%, white 80%);*/
    border-radius: 0;
}
.breadcrumb>li {
    display: inline-block;
}
.breadcrumb>li a{
    color: var(--secondary);
    font-weight:400;
}
.breadcrumb>li active a{
    color: var(--primary);
}

.breadcrumb>li+li:before {
    content: "/\00a0";
    padding: 0 5px;
    color: var(--secondary);
}

.breadcrumb>.active {
    color: var(--primary)
}
.breadcrumb>.active a{
    color: var(--primary)
}
/*---------End--------------*/

/******************************************************** 
        Product Left Panel Navigation CSS Start
*********************************************************/
#sidebar {
    font-size: 12px;
    font-weight: 200;
    /*width: 250px;*/
    height: 100%;
    background-color: rgba(0, 0, 0, 0.40);
    padding: 0px;
    /*position: fixed;*/
}

#sidebar .menu-container {
    width: 100%;
}

#sidebar .menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#sidebar .menu-item > a {
    display: block;
    color: white;
    padding: 10px;
    text-decoration: none;
    border-bottom: 1px solid #85777a;
    border-left: 3px solid #8d8688;
    width: 100%;
    position: relative;
}

#sidebar .menu-item > a:hover,
#sidebar .menu-item > a:active,
#sidebar .menu-item > a:focus {
    background-color: #444;
    border-left: 3px solid rgb(187 74 98);
    /* background-color: #982E45; */
    transition: none;
}

#sidebar .menu-item.active > a {
    background-color: #982E45;
    border-left: 3px solid rgb(187 74 98);
    transition: all 0.2s ease;
}

#sidebar .menu-item > a > i:first-child {
    margin-right: 10px;
}

#sidebar .menu-item > a > i.submenu-arrow {
    position: absolute;
    right: 10px;
}

#sidebar .submenu {
    list-style-type: none;
    padding: 0;
    display: none;
}

#sidebar .submenu > li > a {
    display: block;
    color: white;
    padding: 10px 10px 10px 10px;
    text-decoration: none;
    border-bottom: 1px solid #85777a;
    width: 100%;
    position: relative;
}

#sidebar .submenu > li > a:hover,
#sidebar .submenu > li > a:focus {
    background-color: #555; /* Different color for submenu items */
    border-left: 3px solid rgb(187 74 98);
    background-color: #982E45;
    transition: none;
}

#sidebar .submenu > li.active > a {
    background-color: #666; /* Different color for active submenu items */
    margin-left:0;
}

#sidebar .submenu > li > a > i:first-child {
    margin-right: 10px;
}

#sidebar .submenu > li > a > i.submenu-arrow {
    position: absolute;
    right: 10px;
}

#sidebar .menu-item.active > .submenu,
#sidebar .submenu > li.active > .submenu,
#sidebar .submenu > li > .submenu.active {
    display: block;
}

/* Styles for deeper levels of submenu */
#sidebar .submenu .submenu > li > a {
    padding: 10px 10px 10px 10px; /* Adjust padding for nested submenu */
    background-color: #444; /* Different background color for nested submenu */
}

#sidebar .submenu .submenu > li > a:hover,
#sidebar .submenu .submenu > li > a:focus {
    background-color: #555; /* Different hover color for nested submenu */
}

#sidebar .submenu .submenu > li.active > a {
    background-color: #666; /* Different active color for nested submenu */
}

/* Styles for deeper levels of submenu */
.submenu .submenu > li > a {
    padding: 10px 10px 10px 40px; /* Adjust padding for nested submenu */
    background-color: #555; /* Background color for second level submenu */
}

.submenu .submenu > li > a:hover,
.submenu .submenu > li > a:focus {
    background-color: #666; /* Different hover color for nested submenu */
}

.submenu .submenu > li.active > a {
    background-color: #777; /* Different active color for nested submenu */
}

.submenu .submenu .submenu > li > a {
    padding: 10px 10px 10px 50px; /* Adjust padding for deeper nested submenu */
    background-color: #666; /* Background color for third level submenu */
}

.submenu .submenu .submenu > li > a:hover,
.submenu .submenu .submenu > li > a:focus {
    background-color: #777; /* Different hover color for deeper nested submenu */
}

.submenu .submenu .submenu > li.active > a {
    background-color: #888; /* Different active color for deeper nested submenu */
}

/* More levels can be added similarly */

/******************************************************** 
        Product Left Panel Navigation CSS Start
*********************************************************/
#nav-side-menu {
  overflow: hidden;
  font-size: 12px;
  font-weight: 200;
  background-color: rgba(0, 0, 0, 0.40);
  position: relative;
  top: 0;
  width: 100%;
  height: 100%;
  color: #ffffff;
}
#nav-side-menu .brand {
  background-color: rgba(0, 0, 0, 0.40); 
  line-height: 50px;
  display: block;
  text-align: center;
  font-size: 14px;
}
#nav-side-menu .toggle-btn {
  display: none;
}
#nav-side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 35px;
  cursor: pointer;
}
#nav-side-menu ul .active {
  /* border-left: 3px solid #d19b3d; */
  background-color: #982e45;
}
#nav-side-menu ul .sub-menu li.active {
  color: #d19b3d;
}
/* #nav-side-menu ul .sub-menu li.active a {
  color: #d19b3d;
} */
#nav-side-menu ul .sub-menu li {
  background-color: rgba(0, 0, 0, 0.40);
  /*background-color: #020203;*/
  border: none;
  line-height: 28px;
  border-bottom: 1px solid #23282e;
  margin-left: 0;
  padding-left: 15px;
}
#nav-side-menu ul .sub-menu li > li{
  background-color: rgba(0, 0, 0, 0.40);
  /*background-color: #020203;*/
  border: none;
  line-height: 28px;
  border-bottom: 1px solid #23282e;
  margin-left: 0;
  padding-left: 0px;
}

#nav-side-menu ul .sub-menu li > li.active {
  color: #d19b3d;
}
#nav-side-menu ul .sub-menu li > li i {
  font-size:10px;
}

#nav-side-menu ul .sub-menu li:hover {
  background-color: rgba(0, 0, 0, 0.60);
  transition: none;
}
#nav-side-menu li {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 35px;
  cursor: pointer;
  padding-left: 0;
  /* border-left: 3px solid #2e353d; */
  border-bottom: 1px solid #23282e;
  transition: all 0.2s ease;
}
#nav-side-menu li .active {
  border-left: 3px solid #d19b3d;
  background-color: #982e45;
}
#nav-side-menu li .sub-menu li.active {
  color: #d19b3d;
}
#nav-side-menu li .sub-menu li.active a {
  color: #d19b3d;
}
#nav-side-menu li .sub-menu li {
  background-color: #181c20;
  border: none;
  line-height: 28px;
  border-bottom: 1px solid #23282e;
  margin-left: 0;
}
#nav-side-menu li .sub-menu li:hover {
  background-color: #020203;
}
#nav-side-menu li a {
  text-decoration: none;
  color: #ffffff;
}
#nav-side-menu li a i {
  margin: 10px 15px;
}
#nav-side-menu li:hover {
  border-left: 3px solid #d19b3d;
  background-color: #982E45;
  transition: none;
}
#nav-side-menu .sub-menu li {
  padding-left: 20px;
}
#nav-side-menu li .fa-chevron-down {
  margin: 10px;
  vertical-align: middle;
  float: right;
  transition: transform 0.4s;
}
#nav-side-menu li.active .fa-chevron-down {
  transform: rotateX(180deg);
}
@media (max-width: 767px) {
  #nav-side-menu {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
  #nav-side-menu .toggle-btn {
    display: block;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 10 !important;
    padding: 3px;
    background-color: #fff;
    color: #000;
    width: 40px;
    text-align: center;
    border-radius: 4px;
  }
  .brand {
    text-align: left !important;
    font-size: 22px;
    padding-left: 20px;
    line-height: 50px !important;
  }
}
@media (min-width: 767px) {
  #nav-side-menu .menu-list .menu-content {
    display: block;
  }
}
/* @media (min-width: 767px) {
  .content {
    margin-left: 250px;
  }
} */
        justify-content: center;
        padding: 2rem 0
    }

    .c-cat-info-tech-tabber .tabber__display__item .label,.c-cat-info-tech-tabber .tabber__display__item .value {
        font-size: 1.4rem;
        line-height: 1.8rem
    }

    .c-cat-info-tech-tabber .tabber__display__item .label {
        margin-bottom: .5rem
    }

    .c-cat-info-tech-tabber .tabber__display__item:first-child {
        padding: 0 0 2.5rem
    }
}

@media screen and (max-width: 374px) {
    .c-cat-info-tech-tabber .tabber__display__item .label {
        max-width:29.4rem
    }
}

/*Tabular css end */

/* title & paragrapgh font size css start */


.pass .h2{
  font-size: 22px !important;
  font-weight: 300px;
}

.p .h4{
  font-size: 14px;
}



/* title & paragrapgh font size css end */

/* four buttons css start */
.button{
  margin: 30px 15px;  
}
.button .btn-label {position: relative; left: -12px;display: inline-block;padding: 6px 12px;background: rgba(0,0,0,0.15);border-radius: 3px 0 0 3px;}
.button .btn-labeled {padding-top: 0;padding-bottom: 0;font-weight: 300;}
.button .btn { margin-bottom: 10px;
  background: var(--primary);
  width: 100%;
  border-radius: 0;
  display: flex;
  align-items: center;}

/* four buttons css end */
#trending-product h6 {position:relative;}
#trending-product h6 span.title{
    position:relative;
    z-index:10;
}
#trending-product h6 span.bg-line{
    position:absolute;
    left:0;
    right:0;
    top:50%;
    transform:translateY(-50%);
    background-color:var(--primary);
    height:2px;
    width:100%;
    z-index:1;
}
.page-header h1{
  font-size: 30px;
  font-weight: 300;
}

/* cable lugs connectors */
#portfolio-flters li {
  display: inline-block;
  font-weight: 500;
  color: var(--dark);
  /* cursor: pointer; */
  /* transition: .5s; */
  border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
  color: var(--primary);
  border-color: var(--primary);
  
}

.portfolio-img {
  position: relative;
}

.portfolio-btn {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  /* background: rgba(98, 68, 197, .9); */
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 30px;
  padding-bottom: 100px !important;
  opacity: 0;
  animation: none;
  /* transition: .5s; */
}

/* .portfolio-item:hover .portfolio-btn {
  opacity: 1;
  padding-bottom: 30px !important;
} */
.slick-track{
    height:150px;
}

/*** Fair Calendar ***/
.fair-calendar-page {
    max-width: 1140px;
}

.fair-section-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--secondary);
    font-weight: 600;
}

.fair-section-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
}

.fair-event-card {
    position: relative;
    display: flex;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9eaed;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(37, 37, 37, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fair-event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(152, 46, 69, 0.12);
}

.fair-event-card__accent {
    flex: 0 0 6px;
    background: linear-gradient(180deg, var(--primary) 0%, #c45a6e 100%);
}

.fair-event-card--featured .fair-event-card__accent {
    flex-basis: 8px;
}

.fair-event-card__body {
    flex: 1;
    padding: 1.35rem 1.5rem 1.5rem;
}

.fair-event-card__badge {
    display: inline-block;
    margin-bottom: 0.65rem;
    padding: 0.2rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(152, 46, 69, 0.08);
    border-radius: 2px;
}

.fair-event-card__title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

.fair-event-card--featured .fair-event-card__title {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.fair-event-card__meta li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.45rem;
    color: #555;
    font-size: 0.95rem;
}

.fair-event-card__meta li:last-child {
    margin-bottom: 0;
}

.fair-event-card__meta i {
    margin-top: 0.2rem;
    color: var(--primary);
}

.fair-upcoming-empty {
    background: var(--light);
}

.fair-past-table {
    border: 1px solid #e9eaed;
    border-radius: 4px;
    overflow: hidden;
}

.fair-past-table thead th {
    border: none;
    font-weight: 600;
    white-space: nowrap;
}

.fair-past-table tbody th {
    font-weight: 600;
    color: var(--dark);
}

/* Bento gallery */
.fair-bento {
    display: grid;
    gap: 0.75rem;
    grid-auto-rows: minmax(140px, 18vw);
}

.fair-bento__item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #1a1a1a;
    min-height: 140px;
}

.fair-bento__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.fair-bento__item:hover img {
    transform: scale(1.04);
}

.fair-bento__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.65rem 0.85rem;
    font-size: 0.8rem;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
}

/* 1 image */
.fair-bento--count-1 {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(240px, 42vw);
}

/* 2 images */
.fair-bento--count-2 {
    grid-template-columns: 1.2fr 0.8fr;
}

.fair-bento--count-2 .fair-bento__item--1 {
    grid-row: span 2;
}

/* 3 images */
.fair-bento--count-3 {
    grid-template-columns: 1.4fr 1fr;
}

.fair-bento--count-3 .fair-bento__item--1 {
    grid-row: span 2;
}

/* 4 images */
.fair-bento--count-4 {
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(150px, 18vw));
}

.fair-bento--count-4 .fair-bento__item--1 {
    grid-row: span 2;
}

/* 5 images */
.fair-bento--count-5 {
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(150px, 18vw));
}

.fair-bento--count-5 .fair-bento__item--1 {
    grid-row: span 2;
}

.fair-bento--count-5 .fair-bento__item--5 {
    grid-column: 2 / span 2;
}

/* 6+ images — repeating bento rhythm */
.fair-bento--count-6 {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(140px, 16vw);
}

.fair-bento--count-6 .fair-bento__item--1 {
    grid-column: span 2;
    grid-row: span 2;
}

.fair-bento--count-6 .fair-bento__item--2 {
    grid-column: span 2;
}

.fair-bento--count-6 .fair-bento__item:nth-child(n + 7) {
    grid-column: span 1;
}

@media (max-width: 991.98px) {
    .fair-bento,
    .fair-bento--count-2,
    .fair-bento--count-3,
    .fair-bento--count-4,
    .fair-bento--count-5,
    .fair-bento--count-6 {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: minmax(160px, 28vw);
    }

    .fair-bento__item--1,
    .fair-bento--count-2 .fair-bento__item--1,
    .fair-bento--count-3 .fair-bento__item--1,
    .fair-bento--count-4 .fair-bento__item--1,
    .fair-bento--count-5 .fair-bento__item--1,
    .fair-bento--count-6 .fair-bento__item--1 {
        grid-column: 1 / -1;
        grid-row: span 1;
        min-height: 220px;
    }

    .fair-bento--count-5 .fair-bento__item--5,
    .fair-bento--count-6 .fair-bento__item--2 {
        grid-column: auto;
    }
}

@media (max-width: 575.98px) {
    .fair-bento,
    .fair-bento--count-1,
    .fair-bento--count-2,
    .fair-bento--count-3,
    .fair-bento--count-4,
    .fair-bento--count-5,
    .fair-bento--count-6 {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(200px, 55vw);
    }

    .fair-bento__item--1,
    .fair-bento--count-2 .fair-bento__item--1,
    .fair-bento--count-3 .fair-bento__item--1,
    .fair-bento--count-4 .fair-bento__item--1,
    .fair-bento--count-5 .fair-bento__item--1,
    .fair-bento--count-6 .fair-bento__item--1 {
        grid-column: auto;
        min-height: 200px;
    }

    .fair-event-card__body {
        padding: 1.15rem 1.2rem;
    }
}

/********************************************************
        FAQ accordion — theme primary (#982E45)
*********************************************************/
#faqAccordion .accordion-item {
    border-color: rgba(152, 46, 69, 0.18);
}

#faqAccordion .accordion-button {
    color: var(--dark);
    background-color: #fff;
    font-weight: 500;
    box-shadow: none;
}

#faqAccordion .accordion-button:hover {
    color: var(--primary);
    z-index: 2;
}

#faqAccordion .accordion-button:focus {
    border-color: rgba(152, 46, 69, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(152, 46, 69, 0.2);
}

#faqAccordion .accordion-button:not(.collapsed) {
    color: #fff;
    background-color: var(--primary);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

#faqAccordion .accordion-button:not(.collapsed):hover {
    color: #fff;
}

/* Chevron: collapsed = primary, expanded = white */
#faqAccordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23982E45'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

#faqAccordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

#faqAccordion .accordion-body {
    background-color: #fff;
    color: var(--secondary);
}

/********************************************************
        Product Category — mobile / tablet panel
*********************************************************/
.product-cat-mobile {
    position: relative;
    z-index: 1020;
    border-bottom: 0 !important;
}

/* Two-tone rule under the product category nav: maroon → grey gradient */
.header-two-tone-rule {
    display: block;
    width: 100%;
    height: 3px;
    margin: 0;
    padding: 0;
    border: 0;
    background: linear-gradient(to right, var(--primary, #982E45), #6b6b6b);
}

.product-cat-mobile__toggle {
    min-height: 48px;
    padding: 0.75rem 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
}

.product-cat-mobile__toggle:focus-visible {
    outline: 2px solid rgba(152, 46, 69, 0.45);
    outline-offset: 2px;
}

.product-cat-mobile__chevron {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.product-cat-mobile__toggle[aria-expanded="true"] .product-cat-mobile__chevron {
    transform: rotate(180deg);
}

.product-cat-mobile__accordion .accordion-item {
    background: transparent;
}

.product-cat-mobile__accordion .accordion-button {
    background: transparent;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.product-cat-mobile__accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: transparent;
    box-shadow: none;
}

.product-cat-mobile__accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.product-cat-mobile__accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23982E45'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.product-cat-mobile__link,
.product-cat-mobile__top-link {
    color: var(--secondary);
    font-size: 0.92rem;
    font-weight: 500;
    min-height: 44px;
}

.product-cat-mobile__link:hover,
.product-cat-mobile__link:focus,
.product-cat-mobile__top-link:hover,
.product-cat-mobile__top-link:focus {
    color: var(--primary);
}

.product-cat-mobile__link.active,
.product-cat-mobile__top-link.active,
.product-cat-mobile__accordion .accordion-button.active {
    color: var(--primary);
    font-weight: 600;
}

.product-cat-mobile__top-link {
    color: var(--dark);
}

/* Keep sticky main navbar + product bar above page content */
.sticky-top {
    z-index: 1030;
    top: 0 !important;
}

#header20 .js-mega-intro-row {
    margin-top: 1.5rem !important;
    margin-bottom: 0.5rem;
}

#header20 .js-mega-intro-title {
    margin: 0 0 0.35rem !important;
    padding-top: 0.5em;
    font-size: 1.05rem;
    line-height: 1.45 !important;
}

#header20 .js-mega-intro-copy,
#header20 .js-mega-intro-copy * {
    line-height: 1.45 !important;
}

#header20 .js-mega-intro-text {
    display: block;
    margin: 0 0 0.35rem !important;
    font-size: 13px;
    color: var(--secondary);
}

#header20 .menu20 .eastSide .js-mega-intro-text p {
    margin: 0 0 0.55em !important;
    white-space: normal;
    color: var(--secondary) !important;
}

#header20 .menu20 .eastSide .js-mega-intro-text p:last-child {
    margin-bottom: 0 !important;
}

#header20 .js-mega-intro-browse {
    margin: 0.25rem 0 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#header20 .westSide .l2 a.js-mega-sub.is-selected,
#header20 .menu20 ul li .menu20Content a.js-mega-sub.is-selected {
    color: var(--primary) !important;
}

/*** Quality & Technical Data (static page) ***/
.quality-tech-page .txt-content p {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.quality-tech-page .txt-content a:not(.btn) {
    color: var(--primary);
    font-weight: 600;
}

.quality-tech-page .txt-content a:not(.btn):hover {
    text-decoration: underline;
}

.quality-tech-page .txt-content .btn.btn-primary {
    color: #fff;
}

.quality-tech-page ul.bullet {
    list-style: disc;
    padding-left: 1.25rem;
}

.quality-tech-page ul.bullet > li {
    list-style: disc;
    color: var(--secondary);
}

.quality-msds-card {
    background: #fff;
    border: 1px solid #e9eaed;
    border-radius: 4px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 37, 37, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.quality-msds-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 14px 32px rgba(152, 46, 69, 0.12);
    color: inherit;
}

.quality-msds-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(152, 46, 69, 0.08);
    color: var(--primary);
    font-size: 1.75rem;
    flex-shrink: 0;
}

/********************************************************
        Quality Certification — thumbnail grid
*********************************************************/
.certification-page .title h2 {
    font-weight: 500;
}

.cert-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.cert-card__frame {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 10px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.cert-card a:hover .cert-card__frame,
.cert-card a:focus-visible .cert-card__frame {
    border-color: var(--bs-primary, #982E45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.cert-card__frame img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: contain;
    object-position: top center;
    background: #fff;
}

.cert-card__fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 280px;
    color: var(--bs-primary, #982E45);
    gap: 0.5rem;
}

.cert-card__fallback i {
    font-size: 3rem;
}

.cert-card__caption {
    margin: 0.85rem 0 0;
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
    line-height: 1.35;
}

#amenities .item img.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.clients-logo-sheet {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}
@media (min-width: 768px) {
    .clients-logo-sheet {
        max-width: 75%;
    }
}

/* WebP / CLS — reserve image boxes before decode */
#header-carousel-new.owl-carousel:not(.owl-loaded) > .item {
    display: none;
}
#header-carousel-new.owl-carousel:not(.owl-loaded) > .item:first-child {
    display: block;
}
#header-carousel-new .item > img {
    width: 100%;
    height: auto;
    aspect-ratio: 971 / 496;
    object-fit: cover;
    display: block;
}

.img-border img {
    width: 100%;
    height: auto;
    display: block;
}

.project-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 4;
    object-fit: contain;
    display: block;
}

.clients-carousel img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 5;
    object-fit: contain;
}

#header20 .js-mega-intro-img,
#header20 .dd-category-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
}

.infrastructure-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}



