/* =========================================
   CHEMICOAT PRODUCT DETAIL
========================================= */

.chemicoat-product-detail {
    padding: 100px 0 80px;
    background: #fff;
}

.chemicoat-product-detail .container {
    width: min(1320px, 92%);
    margin: 0 auto;
}


/* =========================================
   MAIN GRID
========================================= */

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}


/* =========================================
   PRODUCT GALLERY
========================================= */

.product-gallery {
    min-width: 0;
}

.product-main-image {
    position: relative;
    width: 100%;
    height: 570px;
    background: #f5f5f5;
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}


/* Badge */

.product-badge {
    position: absolute;
    top: 24px;
    left: 24px;

    background: #cd0001;
    color: #fff;

    padding: 13px 25px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;

    z-index: 2;
}


/* =========================================
   THUMBNAILS
========================================= */

.product-thumbnails {
    display: flex;
    gap: 18px;
    margin-top: 22px;
}

.product-thumbnails .thumb {
    width: 105px;
    height: 105px;

    padding: 0;

    border: 1px solid #e5e5e5;
    background: #f7f7f7;

    cursor: pointer;

    overflow: hidden;

    transition: all 0.3s ease;
}

.product-thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnails .thumb:hover,
.product-thumbnails .thumb.active {
    border-color: #cd0001;
}


/* =========================================
   PRODUCT CONTENT
========================================= */

.product-content {
    padding-top: 10px;
}

.product-category {
    color: #cd0001;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;

    margin-bottom: 18px;
}

.product-content h1 {
    margin: 0;

    color: #17171a;

    font-family: "Abhaya Libre", serif;

    font-size: clamp(42px, 4vw, 62px);
    line-height: 1.08;

    font-weight: 700;
}

.product-line {
    width: 55px;
    height: 3px;

    background: #cd0001;

    margin: 28px 0;
}


/* =========================================
   INTRO
========================================= */

.product-intro {
    max-width: 650px;

    color: #666;

    font-family: "Open Sans", sans-serif;

    font-size: 17px;
    line-height: 1.8;

    margin-bottom: 35px;
}


/* =========================================
   SPECIFICATIONS
========================================= */

.product-specifications {
    border-top: 1px solid #e5e5e5;

    margin-top: 20px;
}

.spec-item {
    display: grid;
    grid-template-columns: 190px 1fr;

    padding: 17px 0;

    border-bottom: 1px solid #e5e5e5;

    font-size: 15px;
}

.spec-title {
    color: #222;
    font-weight: 700;
}

.spec-value {
    color: #666;
}


/* =========================================
   BUTTONS
========================================= */

.product-actions {
    display: flex;
    align-items: center;
    gap: 28px;

    margin-top: 38px;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    gap: 25px;

    padding: 18px 28px;

    background: #cd0001;
    color: #fff;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1.5px;

    text-decoration: none;

    transition: all 0.3s ease;
}

.product-btn span {
    font-size: 20px;
    line-height: 1;
}

.product-btn:hover {
    background: #1a191d;
    color: #fff;
}


.technical-link {
    color: #222;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    border-bottom: 1px solid #222;

    padding-bottom: 5px;
}

.technical-link span {
    margin-left: 8px;
}

.technical-link:hover {
    color: #cd0001;
    border-color: #cd0001;
}


/* =========================================
   PRODUCT NAVIGATION
========================================= */

.product-navigation {
    display: flex;
    justify-content: space-between;

    border-top: 1px solid #e4e4e4;

    margin-top: 90px;
    padding-top: 35px;
}

.product-nav {
    display: flex;
    align-items: center;
    gap: 20px;

    text-decoration: none;

    color: #222;
}

.product-nav.next {
    text-align: right;
}

.nav-arrow {
    font-size: 30px;
    color: #aaa;

    transition: all 0.3s ease;
}

.product-nav:hover .nav-arrow {
    color: #cd0001;
    transform: translateX(4px);
}

.product-nav.prev:hover .nav-arrow {
    transform: translateX(-4px);
}

.product-nav small {
    display: block;

    color: #cd0001;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 1px;

    margin-bottom: 8px;
}

.product-nav strong {
    display: block;

    font-size: 17px;
    font-weight: 500;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .product-main-image {
        height: 500px;
    }

    .product-content {
        padding-top: 0;
    }

}


@media (max-width: 767px) {

    .chemicoat-product-detail {
        padding: 60px 0;
    }

    .product-main-image {
        height: 400px;
    }

    .product-thumbnails {
        gap: 10px;
    }

    .product-thumbnails .thumb {
        width: 75px;
        height: 75px;
    }

    .product-content h1 {
        font-size: 42px;
    }

    .product-intro {
        font-size: 15px;
    }

    .spec-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .product-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-navigation {
        margin-top: 60px;
    }

    .product-nav strong {
        font-size: 14px;
    }

}


@media (max-width: 480px) {

    .product-main-image {
        height: 320px;
    }

    .product-thumbnails .thumb {
        width: 62px;
        height: 62px;
    }

    .product-navigation {
        gap: 20px;
    }

    .product-nav {
        gap: 8px;
    }

    .nav-arrow {
        font-size: 22px;
    }

}







/* =========================================
   CHEMICOAT PRODUCT TABS
========================================= */

.chemicoat-product-tabs {
    width: min(1560px, 100%);
    margin: 70px auto 100px;
}


/* =========================================
   TAB NAVIGATION
========================================= */

.product-tabs-nav {
    display: flex;
    align-items: stretch;

    border: 1px solid #dedede;
    border-bottom: 0;

    background: #fff;
}

.product-tab {
    position: relative;

    border: 0;
    border-right: 1px solid #dedede;

    background: #fff;

    padding: 22px 38px;

    color: #17171a;

    font-family: "Open Sans", sans-serif;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 1px;

    cursor: pointer;

    transition: all 0.3s ease;
}

.product-tab:last-child {
    border-right: 0;
}

.product-tab:hover {
    color: #cd0001;
}

.product-tab.active {
    color: #cd0001;
    background: #fafafa;
}

.product-tab.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    height: 3px;

    background: #cd0001;
}


/* =========================================
   TAB CONTENT
========================================= */

.product-tab-content {
    display: none;

    border: 1px solid #dedede;

    padding: 55px 50px;

    background: #fff;

    animation: tabFade 0.35s ease;
}

.product-tab-content.active {
    display: block;
}

@keyframes tabFade {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================
   HEADINGS
========================================= */

.product-tab-content h2 {
    margin: 0 0 25px;

    color: #17171a;

    font-family: 'Google Sans', serif;

    font-size: 34px;
    line-height: 1.2;

    font-weight: 700;
}

.product-tab-content p {
    max-width: 1100px;

    margin: 0 0 20px;

    color: #666;

    font-family: 'Google Sans', serif;

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================
   FEATURES
========================================= */

.feature-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px 60px;

    margin-top: 30px;
}

.feature-item {
    display: flex;

    gap: 18px;

    padding: 25px 0;

    border-bottom: 1px solid #e6e6e6;
}

.feature-icon {
    flex-shrink: 0;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #cd0001;
    color: #fff;

    font-size: 18px;
    font-weight: 700;
}

.feature-item h3 {
    margin: 0 0 8px;

    color: #17171a;

    font-size: 18px;
    font-weight: 700;
}

.feature-item p {
    margin: 0;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================
   APPLICATIONS
========================================= */

.application-intro {
    margin-bottom: 35px !important;
}

.application-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1px;

    background: #dedede;

    border: 1px solid #dedede;
}

.application-item {
    min-height: 190px;

    padding: 30px;

    background: #fff;

    transition: all 0.3s ease;
}

.application-item:hover {
    background: #fafafa;
}

.application-item > span {
    display: block;

    margin-bottom: 18px;

    color: #cd0001;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
}

.application-item h3 {
    margin: 0 0 10px;

    color: #17171a;

    font-size: 18px;
    font-weight: 700;
}

.application-item p {
    margin: 0;

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .application-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .chemicoat-product-tabs {
        width: 92%;
        margin: 50px auto 70px;
    }

    .product-tabs-nav {
        overflow-x: auto;
    }

    .product-tab {
        flex: 0 0 auto;

        padding: 18px 20px;

        font-size: 12px;
        white-space: nowrap;
    }

    .product-tab-content {
        padding: 35px 25px;
    }

    .product-tab-content h2 {
        font-size: 30px;
    }

    .application-grid {
        grid-template-columns: 1fr;
    }

}













/* =========================================
   CHEMICOAT SOLUTIONS SECTION
========================================= */

.chemicoat-solutions {
    padding: 70px 0;
    background: #f7f7f7;
}

.solutions-container {
    width: 100%;
    /* padding-left: 40px;
    padding-right: 40px; */
    margin-bottom: 60px;
}
/* =========================================
   HEADER
========================================= */

.solutions-header {
    max-width: 760px;
    margin-bottom: 55px;
}

.solutions-label {
    display: inline-block;

    margin-bottom: 15px;

    color: #cd0001;

    font-family: 'Google Sans', serif;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 2px;
}

.solutions-header h2 {
    margin: 0 0 20px;

    color: #17171a;

    font-family: 'Google Sans', serif;

    font-size: clamp(40px, 4vw, 58px);
    line-height: 1.1;

    font-weight: 700;
}

.solutions-header p {
    margin: 0;

    max-width: 700px;

    color: #666;

    font-family: 'Google Sans', serif;

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================
   GRID
========================================= */



/* =========================================
   CARD
========================================= */

.solution-card {
    background: #fff;

    overflow: hidden;

    border: 1px solid #e6e6e6;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.solution-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.09);
}


/* =========================================
   IMAGE
========================================= */

.solution-image {
    position: relative;

    height: 270px;

    overflow: hidden;

    background: #eee;
}

.solution-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.6s ease;
}

.solution-card:hover .solution-image img {
    transform: scale(1.06);
}


/* IMAGE OVERLAY */

.solution-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.02),
            rgba(0,0,0,0.35)
        );

    pointer-events: none;
}


/* NUMBER */

.solution-number {
    position: absolute;

    top: 20px;
    right: 20px;

    z-index: 2;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #cd0001;

    color: #fff;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;
}


/* =========================================
   CONTENT
========================================= */

.solution-content {
    padding: 30px 28px 32px;
}

.solution-category {
    display: block;

    margin-bottom: 10px;

    color: #cd0001;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.solution-content h3 {
    margin: 0 0 15px;

    color: #17171a;

    font-size: 22px;
    line-height: 1.25;

    font-weight: 700;
}

.solution-content p {
    margin: 0 0 25px;

    color: #666;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================
   LINK
========================================= */

.solution-link {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: #17171a;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.5px;

    text-decoration: none;

    border-bottom: 1px solid #17171a;

    padding-bottom: 5px;

    transition: all 0.3s ease;
}

.solution-link span {
    font-size: 18px;

    transition: transform 0.3s ease;
}

.solution-link:hover {
    color: #cd0001;

    border-color: #cd0001;
}

.solution-link:hover span {
    transform: translateX(5px);
}


/* =========================================
   LARGE TABLET
========================================= */

@media (max-width: 1100px) {

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   TABLET / MOBILE
========================================= */

@media (max-width: 767px) {

    .chemicoat-solutions {
        padding: 75px 0;
    }

    .solutions-header {
        margin-bottom: 40px;
    }

    .solutions-header h2 {
        font-size: 40px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solution-image {
        height: 280px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .solutions-header h2 {
        font-size: 34px;
    }

    .solution-content {
        padding: 25px 22px 28px;
    }

}



/* =========================================
   CHEMICOAT PRODUCTS
========================================= */

.chemicoat-products {
    background: #17171b;
    padding: 0 0 80px;
    overflow: hidden;
}


/* =========================================
   TABS
========================================= */

.product-tabs {
    width: 100%;
    display: flex;
    background: #29292d;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.product-tab {
    flex: 1;
    min-height: 105px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    padding: 20px 15px;

    border: 0;
    border-right: 1px solid rgba(255,255,255,.1);

    background: transparent;
    color: black;

    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;

    cursor: pointer;

    transition: all .35s ease;
}

.product-tab:last-child {
    border-right: 0;
}

.product-tab i {
    font-size: 28px;
    flex-shrink: 0;
}

.product-tab:hover {
    background: #333338;
}

.product-tab.active {
    background: #ebb2b2;
}

.product-tab.active i {
    color: #ffff;
}


/* =========================================
   PRODUCT GRID
========================================= */

.product-grid {
    width: 100%;

    padding: 55px 35px 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


/* =========================================
   PRODUCT BOX
========================================= */

.product-box {
    position: relative;

    height: 330px;

    overflow: hidden;

    background: #222;

    cursor: pointer;
}


/* IMAGE */

.product-box img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform .7s cubic-bezier(.2,.7,.2,1),
        filter .5s ease;
}


/* =========================================
   HOVER OVERLAY
========================================= */

.product-overlay {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: flex-end;

    padding: 35px;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.90) 0%,
            rgba(0,0,0,.65) 45%,
            rgba(0,0,0,.05) 100%
        );

    opacity: 0;

    transition: opacity .45s ease;
}


/* CONTENT */

.product-overlay > div {
    transform: translateY(30px);

    transition:
        transform .5s ease;
}

.product-overlay h3 {
    color: #fff;

    font-size: 27px;
    font-weight: 700;

    margin: 0 0 12px;
}

.product-overlay p {
    color: rgba(255,255,255,.88);

    font-size: 15px;
    line-height: 1.7;

    margin: 0 0 20px;

    max-width: 520px;
}

.product-overlay a {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: #fff;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;

    text-decoration: none;
}

.product-overlay a i {
    transition: transform .3s ease;
}


/* =========================================
   HOVER
========================================= */

.product-box:hover img {
    transform: scale(1.08);
    filter: brightness(.75);
}

.product-box:hover .product-overlay {
    opacity: 1;
}

.product-box:hover .product-overlay > div {
    transform: translateY(0);
}

.product-box:hover .product-overlay a i {
    transform: translateX(5px);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .product-tabs {
        overflow-x: auto;
    }

    .product-tab {
        flex: 0 0 180px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .product-tabs {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .product-tabs::-webkit-scrollbar {
        display: none;
    }

    .product-tab {
        flex: 0 0 165px;

        min-height: 90px;

        flex-direction: column;
        gap: 8px;

        font-size: 12px;
        text-align: center;
    }

    .product-tab i {
        font-size: 23px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        padding: 35px 15px 0;
    }

    .product-box {
        height: 300px;
    }

    /*
       On mobile there is no hover,
       so show the overlay content.
    */

    .product-overlay {
        opacity: 1;
    }

    .product-overlay > div {
        transform: translateY(0);
    }

}


  

/* ISO Button */


/* about sectio */


/* blog card height adjustment  */
/* =========================================
   HOMEPAGE BLOG CARD - FIXED HEIGHT
========================================= */

.cms-post-carousel .carousel-item-inner {
    height: 420px !important;
    position: relative;
    overflow: hidden;
}

.cms-post-carousel .entry-featured {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.cms-post-carousel .entry-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Dark overlay */
.cms-post-carousel .entry-featured::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.35) 55%,
        rgba(0, 0, 0, 0.05) 100%
    );
    z-index: 1;
}

/* Content over image */
.cms-post-carousel .entry-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 25px;
    background: transparent;
}

/* Date */
.cms-post-carousel .post-date {
    margin-bottom: 12px;
}

/* Title */
.cms-post-carousel .entry-title {
    margin: 0 0 10px;
    line-height: 1.35;
}

/* Description */
.cms-post-carousel .entry-content {
    margin: 0;
    line-height: 1.5;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* Read more */
.cms-post-carousel .entry-readmore {
    margin-top: 12px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {
    .cms-post-carousel .carousel-item-inner {
        height: 300px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {
    .cms-post-carousel .carousel-item-inner {
        height: 300px;
    }

    .cms-post-carousel .entry-body {
        padding: 20px;
    }

    .cms-post-carousel .entry-title {
        font-size: 18px;
    }
}