/* @font-face {
    font-family: 'Fraunces', sans-serif;
    src: url('../fraunces-italic-variablefont-soft-wonk-opsz-wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
} */

.font-primary {
    font-family: "Fraunces", sans-serif !important;
    font-style: italic;
}

@media (min-width: 1200px) {
    .py-xl-11 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}

.image-box-1 {
    max-width: 250px;
}

.bg-beige {
    background-color: #FFF5EB;
}

.bg-image {
    background-image: url('../img/banner-home.webp');
    background-repeat: no-repeat;
    background-size: cover;
}

.header-sticky .nav-link {
    color: #231f20;
}

h5.offcanvas-title.text-uppercase {
    color: #fff !important;
}

.header-sticky .nav-link:hover {
    color: #231f20;
}

.text-dark {
    color: #231f20 !important;
}

.pb-12 {
    padding-bottom: 2rem !important;
}

.icon-box-icon.card-img img,
.footerImg {
    height: 70px;
}

.mail {
    color: var(--bs-primary);
}

/* Hide on desktop (992px and above) */
.hide-desktop {
    display: none !important;
}

.iconBox i {
    font-size: 40px;
    color: var(--bs-primary);
}

.iconBox svg {
    fill: var(--bs-primary);
    width: 40px;
    height: 40px;
}

.dropdown-hover:hover>.dropdown-menu {
    top: 85% !important;
}

.custom-select-wrapper {
    z-index: 0 !important;
}

/* .productRow {
    gap: 10px;
} */

.cardProduct {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

figure {
    margin: 0;
}

.card a:hover h4 span {
    color: var(--bs-primary) !important;
    text-decoration: none;
}

/* 
.bg-body-secondary,
.py-4.lh-30px {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-secondary-bg-rgb), var(--bs-bg-opacity)) !important;
} */
.dropdown-item.active,
.dropdown-item:active {
    text-decoration: none;
    background-color: var(--bs-primary) !important;
}

.card-body {
    padding: 15px 15px 15px 15px;
}

.coreValues {
    padding: 15px 0 15px 0;
}

.card-body h2 {
    font-size: 20px;
    line-height: 30px;
}

.gy-5 {
    --bs-gutter-y: 2rem;
}

label {
    font-size: 14px;
    line-height: 24px;
}

.logoJell {
    width: 400px;
    /* height: 80px; */
    /* object-fit: cover; */
}

.main-header {
    background-color: var(--bs-body-bg) !important;
}

@media (min-width: 1200px) {
    .dropdown:hover .dropdown-menu {
        display: block !important;
    }
}

@media (max-width: 1199px) {
    .dropdown:hover .dropdown-menu {
        display: none !important;
    }

    .hide-mobile-sm {
        display: none !important;
        /* or flex/grid as needed */
    }

    .hide-desktop {
        display: block !important;
    }

    .divisionImg {
        height: unset !important;
    }
}

/* Keep the header in normal flow (solid background) up to 1252px
   instead of the default lg (992px) breakpoint */
@media (min-width: 992px) and (max-width: 1251.98px) {
    .header.position-lg-absolute {
        position: relative !important;
    }
}

/* Show only on mobile */
@media (max-width: 991px) {


    .landing-top-min-height {
        min-height: 60vh !important;
    }

    .hide-mobile {
        display: none !important;
    }

    .bg-image {
        background-image: url('../img/banner-mobile.webp');
        background-repeat: no-repeat;
        background-size: cover;
    }
}

.navbar-toggler {
    font-size: var(--bs-navbar-toggler-font-size);
    line-height: 1;
    color: #000;
}

.bg-body-dark {
    background-color: #2c2d2d !important;
}

.bb {
    border-bottom: 1px solid #f2f2f2;
}


/* For all other pages */
body.inner header {
    position: relative !important;
}


.custompt {
    padding-top: 60px;
}

.custompb {
    padding-bottom: 60px;
}

.nav-link {
    color: #000 !important;
}

.form-group {
    overflow: visible;
}

.card,
.card-body {
    overflow: visible !important;
}

.row.gy-50px {
    position: relative;
    z-index: 1;
}

.custom-select-wrapper {
    position: relative;
    z-index: 9999;
}

.custom-select-wrapper {
    position: relative !important;
    display: block;
    /* FIX: moves dropdown BELOW label */
    width: max-content;
    /* content-based width */
    margin-top: 6px;
    overflow: visible;
}

.custom-select {
    border: 1px solid #ddd;
    padding: 12px 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    white-space: nowrap;
}

.custom-arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #000;
    transition: transform 0.3s ease;
}

.custom-select-wrapper.open .custom-arrow {
    transform: rotate(180deg);
}

.custom-options {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #ddd;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    /* FIX: dropdown fits longest text */
    min-width: 100%;
    background: #fff;
    display: none;
    z-index: 99999;
    /* FIX: above everything */
    max-height: 220px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.textDivision {
    font-size: 16px;
}

.divisionImg {
    height: 130px;
    object-fit: cover;
    margin-bottom: 10px;
}

.navbar-toggler,
.toggle-bar {
    position: absolute;
}

.certificatesLogo {
    height: 65px;
    object-fit: contain;
}

.imgValues {
    height: 70px;
    object-fit: contain;
}

.custom-select-wrapper.open .custom-options {
    display: block;
}

.custom-options li {
    padding: 10px 16px;
    cursor: pointer;
    white-space: nowrap;
}

.custom-options li:hover {
    background: #f5f5f5;
}

.dropdown-item {
    background-color: #fff;
}

.list-inline {
    gap: 10px;
}

.card-img-top .categoriesImage {
    height: 250px;
    object-fit: cover;
}

.list-inline-item a {
    color: #000;
    text-transform: uppercase;
    font-weight: 600;
}

.list-unstyled li:hover a span {
    color: var(--bs-primary);
}

.categorySlider .card:hover .card-body h4 a {
    color: var(--bs-primary) !important;
}

.hover-zoom-in:hover img,
.card-img-top:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.card-product:hover .card-body h4 {
    color: var(--bs-primary) !important;
}

.cardProduct figure a img {
    height: 250px;
    object-fit: cover;
}

.text-orange {
    color: var(--bs-primary) !important;
}

/* Floating Enquiry Button */
.floating-enquiry {
    position: fixed;
    top: 50%;
    right: 0px;
    /* transform: translateY(-50%) rotate(-90deg); */
    writing-mode: vertical-rl;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 25px 15px;
    background: #F58220;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 10px 0px 0px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    transition: all .35s ease;
}

.floating-enquiry:hover {
    top: 49%;
    background: #e26d08;
    color: #fff;
    text-decoration: none;
}

.nav-link.active,
#header .nav-item .megamenu-home a.active {
    color: var(--bs-primary) !important;
}

/* Icon */
.floating-enquiry i {
    margin-right: 8px;
    font-size: 16px;
}


@media (min-width: 992px) {
    .landing-page .landing-page-subtitle {
        font-size: 56px;
        line-height: 66px;
    }
}

/* Mobile */
@media (max-width:768px) {

    .floating-enquiry {
        right: -65px;
    }

}

@media (max-width:575px) {
    .certificatesLogo {
        height: 50px;
    }

    .bg-black {
        background-color: #343A40 !important;
        color: #fff !important;
    }

    .breadcrumb-item.active {
        color: #fff !important;
    }

    .coreValuesSection {
        overflow: hidden;
    }

    h2 {
        font-size: 2rem;
    }

    .certificatesCont {
        flex-wrap: wrap;
    }

    .landing-top-min-height {
        min-height: 55vh !important;
    }

    .breadrumb img {
        height: 250px;
        object-fit: cover;
        display: block;
    }

    .logoJell {
        width: 280px;
        height: 100%;
    }
}