/* ==========================================================================
   Prabhu Flow Tech - Custom-2 Stylesheet
   Dedicated styles & UI/UX enhancements for Product Detail Pages
   (green.html, red.html, blue.html)
   ========================================================================== */

:root {
    /* Color System for Product Detail Themes */
    --mek-green: #27ae60;
    --mek-green-dark: #1e824c;
    --mek-green-light: #e8f8f5;

    --mek-red: #d32f2f;
    --mek-red-dark: #9a0007;
    --mek-red-light: #fdeded;

    --mek-blue: #1976d2;
    --mek-blue-dark: #004ba0;
    --mek-blue-light: #e3f2fd;

    --mek-valve: #7B1FA2;
    --mek-valve-dark: #4A148C;
    --mek-valve-light: #F3E5F5;

    /* System Tokens from Prabhu Flow Tech Guide */
    --pft-primary: var(--primary-color, #18191A);
    --pft-secondary: var(--secondary-color, #FFFFFF);
    --pft-bg: var(--bg-color, #F6F5ED);
    --pft-text: var(--text-color, #727272);
    --pft-accent: var(--accent-color, #763235);
    --pft-gold: var(--accent-secondary-color, #C19A5B);
    --pft-divider: var(--divider-color, rgba(24, 25, 26, 0.1));
}

/* --------------------------------------------------------------------------
   01. Page Header & Hero Enhancements
   -------------------------------------------------------------------------- */
.product-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.product-hero-badge.badge-green {
    background-color: var(--mek-green-light);
    color: var(--mek-green-dark);
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.product-hero-badge.badge-red {
    background-color: var(--mek-red-light);
    color: var(--mek-red-dark);
    border: 1px solid rgba(211, 47, 47, 0.3);
}

.product-hero-badge.badge-blue {
    background-color: var(--mek-blue-light);
    color: var(--mek-blue-dark);
    border: 1px solid rgba(25, 118, 210, 0.3);
}

/* --------------------------------------------------------------------------
   02. Product Detail Layout & Card Containers
   -------------------------------------------------------------------------- */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: flex-start;
    /* background: var(--pft-secondary); */
    /* padding: 35px; */
    /* border-radius: 16px; */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--pft-divider); */
    margin-bottom: 50px;
}

.product-image-gallery {
    border: 1px solid var(--pft-divider);
    border-radius: 12px;
    padding: 20px;
    background-color: #fafafa;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-image-gallery:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.product-image-gallery img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.product-info h2 {
    font-family: var(--accent-font, "Cal Sans", serif);
    font-size: 36px;
    font-weight: 600;
    color: var(--pft-primary);
    margin-bottom: 12px;
    line-height: 1.2;
}

.product-info .subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.product-green-info .subtitle {
    color: var(--mek-green);
}

.product-red-info .subtitle {
    color: var(--mek-red);
}

.product-blue-info .subtitle {
    color: var(--mek-blue);
}

.product-info p {
    color: var(--pft-text);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* --------------------------------------------------------------------------
   03. Advantages & Highlights Grid
   -------------------------------------------------------------------------- */
.advantages-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.advantages-list li {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 15px;
    color: var(--pft-primary);
    background: #f9f9fb;
    padding: 10px 14px;
    border-radius: 8px;
    border-left: 3px solid transparent;
}

._green .advantages-list li {
    border-left-color: var(--mek-green);
}

._red .advantages-list li {
    border-left-color: var(--mek-red);
}

._blue .advantages-list li {
    border-left-color: var(--mek-blue);
}

.advantages-list i {
    margin-right: 12px;
    font-size: 18px;
}

._green i {
    color: var(--mek-green);
}

._red i {
    color: var(--mek-red);
}

._blue i {
    color: var(--mek-blue);
}

/* --------------------------------------------------------------------------
   04. Modern Product Tabs Navigation & Panels
   -------------------------------------------------------------------------- */
.product-tabs {
    margin-top: 0px;
    background: var(--pft-secondary);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--pft-divider);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.tab-navigation {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid var(--pft-divider);
    margin-bottom: 35px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 5px;
}

.tab-nav-item {
    padding: 12px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: var(--pft-text);
    border-bottom: 3px solid transparent;
    margin-bottom: -7px;
    transition: all 0.3s ease;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.tab-nav-item:hover {
    color: var(--pft-primary);
    background-color: rgba(0, 0, 0, 0.02);
}

.at-green.active {
    color: var(--mek-green-dark);
    border-bottom-color: var(--mek-green);
    background-color: var(--mek-green-light);
}

.at-red.active {
    color: var(--mek-red-dark);
    border-bottom-color: var(--mek-red);
    background-color: var(--mek-red-light);
}

.at-blue.active {
    color: var(--mek-blue-dark);
    border-bottom-color: var(--mek-blue);
    background-color: var(--mek-blue-light);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-family: var(--accent-font, "Cal Sans", serif);
    font-size: 26px;
    font-weight: 600;
    color: var(--pft-primary);
    margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   05. Enhanced Technical Specification Tables
   -------------------------------------------------------------------------- */
.table-responsive {
    border-radius: 12px;
    overflow-x: auto;
    border: 1px solid var(--pft-divider);
    background-color: var(--pft-secondary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 25px;
}

.table {
    margin-bottom: 0;
    font-size: 14px;
    width: 100%;
    border-collapse: collapse;
}

.table thead th {
    background-color: var(--pft-primary);
    color: var(--pft-secondary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    vertical-align: middle;
    padding: 14px 14px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.dimension-header th {
    background-color: #2b2d2f !important;
    font-size: 13px;
}

.table tbody tr {
    transition: background-color 0.2s ease;
}

.table tbody tr:nth-child(even) {
    background-color: #f9f9fb;
}

.table tbody tr:hover {
    background-color: rgba(193, 154, 91, 0.08);
}

.table th,
.table td {
    white-space: nowrap;
    padding: 12px 16px;
    border: 1px solid var(--pft-divider);
    text-align: center;
    vertical-align: middle;
}

.table tbody td {
    color: var(--pft-primary);
    font-size: 14px;
}

.table tbody td:nth-child(2) {
    font-weight: 600;
    color: var(--pft-primary);
}

.table tbody td:nth-child(3) {
    font-weight: 600;
    color: var(--mek-green-dark);
}

.product-red-theme .table tbody td:nth-child(3) {
    color: var(--mek-red-dark);
}

.product-blue-theme .table tbody td:nth-child(3) {
    color: var(--mek-blue-dark);
}

/* Fittings and Spec Image Diagrams */
#fittings img,
#specifications img {
    max-width: 220px;
    height: auto;
    margin: 1rem auto;
    border-radius: 8px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
}

/* --------------------------------------------------------------------------
   06. Comparison Grids & Information Boxes
   -------------------------------------------------------------------------- */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.comparison-column {
    background: #fafafa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--pft-divider);
}

.comparison-column h4 {
    font-family: var(--accent-font, "Cal Sans", serif);
    font-size: 22px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--pft-gold);
    color: var(--pft-primary);
}

.comparison-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-grid li {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.comparison-grid li strong {
    display: block;
    margin-bottom: 4px;
    color: var(--pft-primary);
    font-size: 15px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.info-grid-box {
    background: #fafafa;
    padding: 22px;
    border-radius: 12px;
    border: 1px solid var(--pft-divider);
}

.info-grid h4 {
    font-size: 18px;
    margin-bottom: 14px;
    color: var(--pft-primary);
    font-weight: 600;
}

.info-grid ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.info-grid li {
    padding-left: 22px;
    position: relative;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--pft-text);
}

.info-grid li::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
}

.grid-green li::before {
    color: var(--mek-green);
}

.grid-red li::before {
    color: var(--mek-red);
}

.grid-blue li::before {
    color: var(--mek-blue);
}

.grid-support li::before {
    color: #D97706;
}

#types .type-description {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    align-items: center;
    margin-bottom: 30px;
    background: #fafafa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--pft-divider);
}

@media (min-width: 768px) {
    #types .type-description {
        grid-template-columns: 2fr 1fr;
    }
}

#types ul {
    list-style: none;
    padding: 0;
}

#types li {
    padding-left: 22px;
    position: relative;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--pft-text);
}

#types li::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
}

#types.types-green li::before {
    color: var(--mek-green);
}

#types.types-red li::before {
    color: var(--mek-red);
}

#types.types-blue li::before {
    color: var(--mek-blue);
}

#types img {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------------------------------
   07. Responsive Media Queries for Custom-2
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .product-info h2 {
        font-size: 30px;
    }

    .product-tabs {
        padding: 20px;
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .advantages-list {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .tab-nav-item {
        padding: 10px 16px;
        font-size: 14px;
    }

    .table th,
    .table td {
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* --------------------------------------------------------------------------
   08. Products Landing Page Components & Design System Refinements
   -------------------------------------------------------------------------- */

/* Section Spacing & Container Box Layouts */
.pft-section-spacing {
    padding: 100px 0;
    margin-bottom: 50px;
}

.bg-section.pft-section-card {
    /* background-image: none !important; */
    background-color: var(--secondary-color, #ffffff) !important;
    border-radius: 24px;
    margin: 40px auto 70px auto;
    padding: 90px 0;
    box-shadow: 0 12px 40px rgba(0, 54, 118, 0.05);
    border: 1px solid var(--pft-divider, rgba(0, 54, 118, 0.08));
}

/* Dark Section Container Styling */
.bg-section.dark-section {
    background-color: var(--primary-color-dark-section, #011b3a) !important;
    background-image: url('../images/dark-section-bg-image.png') !important;
    background-repeat: no-repeat !important;
    background-position: top center !important;
    background-size: cover !important;
    border-radius: 24px;
    margin: 40px auto 70px auto;
    padding: 90px 0;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.dark-section .pft-showcase-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dark-section .pft-showcase-card:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--accent-color, #D58800) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3) !important;
}

.dark-section .pft-showcase-icon {
    background: var(--accent-color, #D58800) !important;
    color: #ffffff !important;
    border: none !important;
}

.dark-section .pft-showcase-title {
    color: #ffffff !important;
}

.dark-section .pft-showcase-desc {
    color: rgba(255, 255, 255, 0.8) !important;
}

.dark-section .pft-spec-pill {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Section Sub-Title Bullet Color Alignment */
.section-title .section-sub-title::before {
    background: var(--accent-color, #D58800) !important;
}

.pft-hero-subtitle {
    max-width: 750px;
    opacity: 0.9;
}

/* Button Overrides Inside Cards (Prevents 50px overflow and duplicate arrows) */
.pft-category-card .btn-default,
.pft-product-card .btn-default,
.pft-showcase-card .btn-default,
.pft-info-banner .btn-default,
.pft-card-btn {
    margin-right: 0 !important;
    width: 100%;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
}

.pft-category-card .btn-default::before,
.pft-product-card .btn-default::before,
.pft-showcase-card .btn-default::before,
.pft-info-banner .btn-default::before,
.pft-card-btn::before,
.pft-category-card .btn-default::after,
.pft-product-card .btn-default::after,
.pft-showcase-card .btn-default::after,
.pft-info-banner .btn-default::after,
.pft-card-btn::after {
    display: none !important;
}

/* Master Button Hover State (.btn-default circle stays vertically centered and rotates on hover) */
.btn-default:hover::before,
.btn-default:focus::before {
    transform: translateY(-50%) rotate(45deg) !important;
    background-color: var(--accent-color) !important;
}

.pft-category-card-wrapper {
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.pft-category-card-wrapper:hover {
    transform: translateY(-8px);
}

.pft-category-card {
    background: var(--pft-secondary, #ffffff);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--pft-divider, rgba(0, 54, 118, 0.1));
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pft-category-card-wrapper:hover .pft-category-card {
    border-color: rgba(213, 136, 0, 0.4);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.pft-category-card-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background-color: #eef2f7;
}

.pft-category-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.pft-category-card-wrapper:hover .pft-category-card-img-wrapper img {
    transform: scale(1.06);
}

.pft-category-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent-color, #D58800);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pft-category-card-body {
    padding: 28px 25px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pft-category-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color, #003676);
    font-family: var(--accent-font, "Cal Sans", serif);
}

.pft-category-card-desc {
    font-size: 15px;
    color: var(--text-color, #3D5068);
    line-height: 1.6;
    margin-bottom: 22px;
    flex-grow: 1;
}

.pft-product-card {
    background: var(--pft-secondary, #ffffff);
    border-radius: 16px;
    padding: 28px 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid var(--pft-divider, rgba(0, 54, 118, 0.1));
}

.pft-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.09);
    border-color: rgba(213, 136, 0, 0.35);
}

.pft-product-img {
    text-align: center;
    margin-bottom: 22px;
    overflow: hidden;
    border-radius: 10px;
    background-color: #fafafa;
    border: 1px solid var(--pft-divider, rgba(0, 54, 118, 0.1));
}

.pft-product-img img {
    max-height: 220px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.5s ease;
}

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

.pft-product-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: var(--accent-font, "Cal Sans", serif);
}

.pipe-title-green {
    color: #27ae60;
}

.pipe-title-red {
    color: #d32f2f;
}

.pipe-title-blue {
    color: #1976d2;
}

.pft-features-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 24px;
}

.pft-features-list li {
    font-size: 14px;
    color: var(--text-color, #3D5068);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.pft-features-list li i {
    margin-right: 10px;
    font-size: 15px;
}

/* Theme checkmark colors per product type */
.check-green i {
    color: #27ae60 !important;
}

.check-red i {
    color: #d32f2f !important;
}

.check-blue i {
    color: #1976d2 !important;
}

/* Supports & Valves Showcase Components */
.pft-showcase-card {
    background: var(--pft-secondary, #ffffff);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--pft-divider, rgba(0, 54, 118, 0.1));
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pft-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: rgba(213, 136, 0, 0.3);
}

.pft-showcase-icon {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: #ffffff;
    color: var(--primary-color, #003676);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 54, 118, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.pft-showcase-card:hover .pft-showcase-icon {
    background: var(--primary-color, #003676);
    color: #ffffff;
    transform: scale(1.05);
}

.pft-showcase-title {
    font-size: 22px;
    font-weight: 600;
    font-family: var(--accent-font, "Cal Sans", serif);
    color: var(--primary-color, #003676);
    margin-bottom: 12px;
}

.pft-showcase-desc {
    font-size: 15px;
    color: var(--text-color, #3D5068);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.pft-spec-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.pft-spec-pill {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    background: #ffffff;
    color: var(--primary-color, #003676);
    border: 1px solid rgba(0, 54, 118, 0.15);
}

.pft-info-banner {
    background: linear-gradient(135deg, #003676 0%, #011b3a 100%);
    color: var(--pft-secondary, #ffffff);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 54, 118, 0.18);
    position: relative;
    overflow: hidden;
}

.pft-info-banner h3 {
    font-family: var(--accent-font, "Cal Sans", serif);
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 12px;
}

.pft-info-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .pft-category-card-body {
        padding: 20px 18px;
    }

    .pft-product-card {
        padding: 20px 18px;
    }

    .pft-showcase-card {
        padding: 22px 18px;
    }

    .pft-info-banner {
        padding: 25px 20px;
    }

    .pft-info-banner h3 {
        font-size: 22px;
    }
}

/* --------------------------------------------------------------------------
   09. Multi-Section Product Detail Components (Feature Cards & Fitting Showcase)
   -------------------------------------------------------------------------- */

.pft-feature-card {
    background: var(--pft-secondary, #ffffff);
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 54, 118, 0.05);
    border: 1px solid var(--pft-divider, rgba(0, 54, 118, 0.08));
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pft-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 54, 118, 0.1);
    border-color: var(--accent-color, #D58800);
}

.pft-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(0, 54, 118, 0.06);
    color: var(--primary-color, #003676);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: background 0.3s ease, color 0.3s ease;
}

.pft-feature-card:hover .pft-feature-icon {
    background: var(--accent-color, #D58800);
    color: #ffffff;
}

.pft-feature-title {
    font-family: var(--accent-font, "Cal Sans", serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--pft-primary, #18191A);
    margin-bottom: 10px;
}

.pft-feature-desc {
    color: var(--pft-text, #727272);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

.pft-fitting-card {
    background: var(--pft-secondary, #ffffff);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 54, 118, 0.05);
    border: 1px solid var(--pft-divider, rgba(0, 54, 118, 0.08));
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pft-fitting-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 54, 118, 0.1);
}

.pft-fitting-img {
    /* background: #f8f9fa; */
    padding: 25px;
    text-align: center;
    border-bottom: 1px solid var(--pft-divider, rgba(0, 54, 118, 0.08));
}

.pft-fitting-img img {
    max-height: 140px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.pft-fitting-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pft-fitting-title {
    font-family: var(--accent-font, "Cal Sans", serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--pft-primary, #18191A);
    margin-bottom: 8px;
}

.pft-fitting-desc {
    font-size: 13px;
    color: var(--pft-text, #727272);
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.pft-fitting-specs {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color, #003676);
    background: rgba(0, 54, 118, 0.06);
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-top: auto;
}

/* --------------------------------------------------------------------------
   10. Product Detail Page Specific Button Variants & Hero Backgrounds
   -------------------------------------------------------------------------- */
.btn-green {
    background-color: var(--mek-green) !important;
    color: #ffffff !important;
    border: none !important;
}

.btn-green:hover {
    background-color: var(--mek-green-dark) !important;
    color: #ffffff !important;
}

.btn-red {
    background-color: var(--mek-red) !important;
    color: #ffffff !important;
    border: none !important;
}

.btn-red:hover {
    background-color: var(--mek-red-dark) !important;
    color: #ffffff !important;
}

.btn-blue {
    background-color: var(--mek-blue) !important;
    color: #ffffff !important;
    border: none !important;
}

.btn-blue:hover {
    background-color: var(--mek-blue-dark) !important;
    color: #ffffff !important;
}

/* Page Header Theme Background Accents */
.page-header.mek-green-bg {
    background-image: linear-gradient(135deg, rgba(24, 25, 26, 0.88) 0%, rgba(30, 130, 76, 0.85) 100%), url('../images/page-header-bg.jpg');
    background-position: center center;
    background-size: cover;
}

.page-header.mek-blaze-bg,
.page-header.mek-red-bg {
    background-image: linear-gradient(135deg, rgba(24, 25, 26, 0.88) 0%, rgba(154, 0, 7, 0.85) 100%), url('../images/page-header-bg.jpg');
    background-position: center center;
    background-size: cover;
}

.page-header.mek-pneumos-bg,
.page-header.mek-blue-bg {
    background-image: linear-gradient(135deg, rgba(24, 25, 26, 0.88) 0%, rgba(0, 75, 160, 0.85) 100%), url('../images/page-header-bg.jpg');
    background-position: center center;
    background-size: cover;
}

.page-header.mek-support-bg {
    background-image: linear-gradient(135deg, rgba(24, 25, 26, 0.88) 0%, rgba(180, 83, 9, 0.85) 100%), url('../images/page-header-bg.jpg');
    background-position: center center;
    background-size: cover;
}

/* Tab Fittings & Showcase Items Styling */
.fitting-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.fitting-item-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--pft-divider);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fitting-item-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.fitting-item-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--pft-primary);
}

.fitting-item-img-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.fitting-item-img-group img {
    max-height: 140px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

/* ==========================================================================
   11. Application Area Cards & Section Components (MEK Page Redesign)
   ========================================================================== */

/* Application Section */
.pft-applications-section {
    padding: 100px 0;
}

.pft-app-card {
    background: var(--pft-secondary, #ffffff);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--pft-divider, rgba(0, 54, 118, 0.08));
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.pft-app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.09);
    border-color: var(--pft-gold, #C19A5B);
}

.pft-app-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.pft-app-icon.icon-green {
    background: var(--mek-green-light);
    color: var(--mek-green);
}

.pft-app-icon.icon-red {
    background: var(--mek-red-light);
    color: var(--mek-red);
}

.pft-app-icon.icon-blue {
    background: var(--mek-blue-light);
    color: var(--mek-blue);
}

.pft-app-card:hover .pft-app-icon {
    transform: scale(1.1);
}

.pft-app-card:hover .pft-app-icon.icon-green {
    background: var(--mek-green);
    color: #ffffff;
}

.pft-app-card:hover .pft-app-icon.icon-red {
    background: var(--mek-red);
    color: #ffffff;
}

.pft-app-card:hover .pft-app-icon.icon-blue {
    background: var(--mek-blue);
    color: #ffffff;
}

.pft-app-title {
    font-family: var(--accent-font, "Cal Sans", serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--pft-primary, #18191A);
    margin-bottom: 10px;
}

.pft-app-desc {
    font-size: 14px;
    color: var(--pft-text, #727272);
    line-height: 1.6;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   12. Counter Stats Row (Dark Section Enhancement)
   -------------------------------------------------------------------------- */
.pft-stats-row {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pft-stat-item {
    text-align: center;
    padding: 20px 15px;
}

.pft-stat-number {
    font-family: var(--accent-font, "Cal Sans", serif);
    font-size: 48px;
    font-weight: 700;
    color: var(--pft-gold, #C19A5B);
    line-height: 1;
    margin-bottom: 8px;
}

.pft-stat-number .counter {
    font-family: inherit;
}

.pft-stat-number sub {
    font-size: 22px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    bottom: 0;
}

.pft-stat-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   13. Section Title Variant for Product Detail Pages
   -------------------------------------------------------------------------- */
.section-title-center {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title-center .section-sub-title {
    margin-left: auto;
    margin-right: auto;
}

/* Product Overview Card Enhancements */
.pft-product-overview {
    padding: 90px 0;
}

/* Dark section feature card overrides for mek pages */
.dark-section .pft-feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dark-section .pft-feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--pft-gold, #C19A5B);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.dark-section .pft-feature-icon {
    background: var(--pft-gold, #C19A5B);
    color: #ffffff;
    border: none;
}

.dark-section .pft-feature-title {
    color: #ffffff;
}

.dark-section .pft-feature-desc {
    color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   14. Responsive Adjustments for New Components
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .pft-stats-row {
        margin-top: 40px;
        padding-top: 35px;
    }

    .pft-stat-number {
        font-size: 40px;
    }

    .pft-applications-section {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .pft-app-card {
        padding: 22px 18px;
    }

    .pft-stat-item {
        padding: 15px 10px;
    }

    .pft-stat-number {
        font-size: 36px;
    }

    .pft-stat-label {
        font-size: 12px;
    }

    .pft-applications-section {
        padding: 50px 0;
    }
}

/* ==========================================================================
   15. Pipe Types Grid & Card Components (UI/UX Fix)
   ========================================================================== */

.pft-pipe-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 25px;
}

@media (max-width: 991px) {
    .pft-pipe-types-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.pft-pipe-type-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--pft-divider, rgba(0, 54, 118, 0.08));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pft-pipe-type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--pft-gold, #C19A5B);
}

.pft-pipe-type-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.pft-pipe-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pft-pipe-type-badge.badge-green {
    background: var(--mek-green-light, #e8f8f5);
    color: var(--mek-green, #27ae60);
}

.pft-pipe-type-badge.badge-red {
    background: var(--mek-red-light, #fdeded);
    color: var(--mek-red, #d32f2f);
}

.pft-pipe-type-badge.badge-blue {
    background: var(--mek-blue-light, #e3f2fd);
    color: var(--mek-blue, #1976d2);
}

.pft-pipe-type-badge.badge-support {
    background: var(--mek-support-light, #FEF3C7);
    color: var(--mek-support-dark, #B45309);
    border: 1px solid rgba(217, 119, 6, 0.25);
}

.pft-pipe-type-img-box {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    margin-bottom: 20px;
    overflow: hidden;
}

.pft-pipe-type-img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.pft-pipe-type-card:hover .pft-pipe-type-img-box img {
    transform: scale(1.05);
}

.pft-pipe-type-title {
    font-family: var(--accent-font, "Cal Sans", serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--pft-primary, #18191A);
    margin-bottom: 12px;
    line-height: 1.3;
}

.pft-pipe-type-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pft-pipe-type-list li {
    font-size: 14px;
    color: var(--pft-text, #727272);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pft-pipe-type-list li i {
    font-size: 15px;
    margin-top: 3px;
    flex-shrink: 0;
}

.types-green .pft-pipe-type-list li i {
    color: var(--mek-green, #27ae60);
}

.types-red .pft-pipe-type-list li i {
    color: var(--mek-red, #d32f2f);
}

.types-blue .pft-pipe-type-list li i {
    color: var(--mek-blue, #1976d2);
}

/* ==========================================================================
   16. About Us Prime (Product Overview Section) Enhancements
   ========================================================================== */

.about-us-prime {
    padding: 100px 0;
}

.about-us-prime .about-us-info-box-prime {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--pft-divider, rgba(24, 25, 26, 0.08));
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-us-prime .about-us-info-box-prime:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--pft-gold, #C19A5B);
}

.about-info-box-body-prime h2 {
    color: var(--pft-primary, #18191A);
    font-weight: 700;
}

.about-info-box-body-prime h3 {
    color: var(--pft-primary, #18191A);
    font-family: var(--accent-font, "Cal Sans", serif);
}

/* Key Product Advantages Grid Cards */
.pft-advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 575px) {
    .pft-advantages-grid {
        grid-template-columns: 1fr;
    }
}

.pft-advantage-item {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(24, 25, 26, 0.06);
    transition: all 0.3s ease;
}

.pft-advantage-item:hover {
    background: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.product-green-theme .pft-advantage-item:hover,
._green .pft-advantage-item:hover {
    border-color: var(--mek-green, #27ae60);
}

.product-red-theme .pft-advantage-item:hover,
._red .pft-advantage-item:hover {
    border-color: var(--mek-red, #d32f2f);
}

.product-blue-theme .pft-advantage-item:hover,
._blue .pft-advantage-item:hover {
    border-color: var(--mek-blue, #1976d2);
}

.pft-adv-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.product-green-theme .pft-adv-icon,
._green .pft-adv-icon {
    background: #E8F8F5;
    color: var(--mek-green, #27ae60);
}

.product-red-theme .pft-adv-icon,
._red .pft-adv-icon {
    background: #FDEDED;
    color: var(--mek-red, #d32f2f);
}

.product-blue-theme .pft-adv-icon,
._blue .pft-adv-icon {
    background: #E3F2FD;
    color: var(--mek-blue, #1976d2);
}

.pft-adv-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--pft-primary, #18191A);
    line-height: 1.35;
    margin: 0;
}

/* ==========================================================================
   17. Comprehensive Mobile Optimization & Tab Bar Fixes
   ========================================================================== */

/* Hide horizontal scrollbar & remove harsh borders for Tab Navigation */
.tab-navigation {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    -webkit-overflow-scrolling: touch;
    border-bottom: none !important; /* Remove bottom bar line */
    padding-bottom: 6px;
    margin-bottom: 25px;
}

.tab-navigation::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Table Responsive Container Protection */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    margin-bottom: 20px;
    scrollbar-width: none;
}

.table-responsive::-webkit-scrollbar {
    display: none;
}

@media (max-width: 991px) {
    .about-us-prime {
        padding: 60px 0;
    }

    .about-us-image-prime {
        margin-bottom: 30px;
    }

    .get-in-touch-circle-prime {
        text-align: center;
        margin-top: 20px;
    }

    .get-in-touch-circle-prime a img {
        max-width: 90px;
    }

    .product-tabs {
        padding: 20px 16px;
    }
}

@media (max-width: 767px) {
    /* Section 1: Page Header / Hero Mobile */
    .page-header {
        padding: 50px 0 40px;
    }

    .page-header-box h1 {
        font-size: 26px;
    }

    /* Section 2: About Us Prime Mobile */
    .about-us-prime {
        padding: 45px 0;
    }

    .about-us-info-box-prime {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .about-info-box-header-prime {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    /* Section 3: Dark Section & Counter Mobile */
    .pft-advantages-dark-section {
        padding: 50px 0;
    }

    .pft-stat-item {
        margin-bottom: 15px;
    }

    /* Section 4: Tab Navigation Pill Bar (No scrollbars, clean app feel) */
    .tab-navigation {
        background: #F4F6F8;
        padding: 6px;
        border-radius: 14px;
        gap: 6px;
    }

    .tab-nav-item {
        padding: 9px 14px;
        font-size: 13px;
        border-bottom: none !important;
        margin-bottom: 0;
        border-radius: 10px;
        text-align: center;
        background: transparent;
        color: var(--pft-text, #4A5568);
    }

    .tab-nav-item.active {
        background: #FFFFFF !important;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    }

    .at-green.active {
        color: var(--mek-green, #27ae60) !important;
    }

    .at-red.active {
        color: var(--mek-red, #d32f2f) !important;
    }

    .at-blue.active {
        color: var(--mek-blue, #1976d2) !important;
    }

    .fitting-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fitting-item-box {
        padding: 16px;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Section 5 & 6: App Cards & Showcase */
    .pft-applications-section {
        padding: 45px 0;
    }

    .pft-app-card {
        padding: 20px 16px;
    }

    /* Section 7: CTA Banner Mobile */
    .cta-prime,
    .pft-cta-banner {
        padding: 40px 20px;
        text-align: center;
    }

    .cta-prime .btn-default,
    .pft-cta-banner .btn-default {
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }

    /* Footer Mobile Adjustments */
    .section-footer-text.section-satisfy-img {
        margin-top: 35px;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .section-footer-text ul {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .pft-advantages-grid {
        grid-template-columns: 1fr;
    }

    .pft-pipe-types-grid {
        grid-template-columns: 1fr;
    }

    .pft-stat-number {
        font-size: 32px;
    }

    .advantages-list {
        grid-template-columns: 1fr !important;
    }

    .info-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   18. Pipe Fitting Support Systems Accent Theme
   ========================================================================== */

:root {
    --mek-support: #D97706;
    --mek-support-dark: #B45309;
    --mek-support-light: #FEF3C7;
}

.badge-support {
    background: #FEF3C7;
    color: #B45309;
    border: 1px solid rgba(217, 119, 6, 0.25);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.btn-support {
    background-color: #D97706;
    color: #ffffff !important;
}

.btn-support:hover {
    background-color: #B45309;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.3);
}

.at-support.active {
    color: #B45309 !important;
    border-bottom-color: #D97706 !important;
    background-color: #FEF3C7 !important;
}

.product-support-info .subtitle {
    color: #D97706 !important;
}

.product-support-theme .table tbody td:nth-child(3) {
    color: #B45309 !important;
    font-weight: 600;
}

.icon-support {
    background: #FEF3C7 !important;
    color: #B45309 !important;
}

.pft-feature-card:hover .icon-support,
.pft-app-card:hover .icon-support {
    background: #D97706 !important;
    color: #ffffff !important;
}

.product-support-theme .pft-advantage-item:hover,
._support .pft-advantage-item:hover {
    border-color: #D97706;
}

.product-support-theme .pft-adv-icon,
._support .pft-adv-icon {
    background: #FEF3C7;
    color: #B45309;
}

.types-support .pft-pipe-type-list li i {
    color: #D97706;
}

.pft-support-gallery-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--pft-divider, rgba(0, 54, 118, 0.08));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pft-support-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(217, 119, 6, 0.15);
    border-color: #D97706;
}

.pft-support-gallery-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.pft-support-gallery-card h4 {
    font-family: var(--accent-font, "Cal Sans", serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--pft-primary, #18191A);
    margin-bottom: 8px;
}

.pft-support-gallery-card p {
    font-size: 14px;
    color: var(--pft-text, #727272);
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.pft-support-gallery-card .badge-support {
    align-self: flex-start;
}

/* ==========================================================================
   19. Industrial Valves Accent Theme
   ========================================================================== */

.page-header.mek-valves-bg,
.page-header.mek-valve-bg {
    background-image: linear-gradient(135deg, rgba(24, 25, 26, 0.88) 0%, rgba(74, 20, 140, 0.85) 100%), url('../images/page-header-bg.jpg');
    background-position: center center;
    background-size: cover;
}

.badge-valve {
    background: #F3E5F5;
    color: #4A148C;
    border: 1px solid rgba(123, 31, 162, 0.25);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.btn-valve {
    background-color: #7B1FA2;
    color: #ffffff !important;
}

.btn-valve:hover {
    background-color: #4A148C;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(123, 31, 162, 0.3);
}

.at-valve.active {
    color: #4A148C !important;
    border-bottom-color: #7B1FA2 !important;
    background-color: #F3E5F5 !important;
}

.product-valve-info .subtitle {
    color: #7B1FA2 !important;
}

.product-valve-theme .table tbody td:nth-child(3) {
    color: #4A148C !important;
    font-weight: 600;
}

.icon-valve {
    background: #F3E5F5 !important;
    color: #4A148C !important;
}

.pft-feature-card:hover .icon-valve,
.pft-app-card:hover .icon-valve {
    background: #7B1FA2 !important;
    color: #ffffff !important;
}

.pft-app-icon.icon-valve {
    background: #F3E5F5;
    color: #7B1FA2;
}

.pft-app-card:hover .pft-app-icon.icon-valve {
    background: #7B1FA2;
    color: #ffffff;
}

.product-valve-theme .pft-advantage-item:hover,
._valve .pft-advantage-item:hover {
    border-color: #7B1FA2;
}

.product-valve-theme .pft-adv-icon,
._valve .pft-adv-icon {
    background: #F3E5F5;
    color: #4A148C;
}

.types-valve .pft-pipe-type-list li i {
    color: #7B1FA2;
}

.grid-valve li::before {
    color: #7B1FA2;
}

.pft-pipe-type-badge.badge-valve {
    background: #F3E5F5;
    color: #4A148C;
    border: 1px solid rgba(123, 31, 162, 0.25);
}

.types-valve .pft-pipe-type-img-box {
    background: #ffffff;
    border: 1px solid rgba(0, 54, 118, 0.06);
}

.pft-pipe-type-card.types-valve:hover {
    border-color: #7B1FA2;
    box-shadow: 0 12px 30px rgba(123, 31, 162, 0.12);
}

.pft-valve-gallery-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--pft-divider, rgba(0, 54, 118, 0.08));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s ease;
}

.pft-valve-gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(123, 31, 162, 0.14);
    border-color: #7B1FA2;
}

.pft-valve-gallery-card-img {
    width: 100%;
    height: 200px;
    background: #ffffff;
    border: 1px solid rgba(0, 54, 118, 0.06);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pft-valve-gallery-card-img img,
.pft-valve-gallery-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
    /* border: 1px solid rgba(0, 54, 118, 0.06); */
    transition: transform 0.4s ease;
}

.pft-valve-gallery-card:hover .pft-valve-gallery-card-img img,
.pft-valve-gallery-card:hover img {
    transform: scale(1.05);
}

.pft-valve-gallery-card h4 {
    font-family: var(--accent-font, "Cal Sans", serif);
    font-size: 19px;
    font-weight: 600;
    color: var(--pft-primary, #18191A);
    margin-bottom: 8px;
    line-height: 1.3;
}

.pft-valve-gallery-card p {
    font-size: 13.5px;
    color: var(--pft-text, #727272);
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.pft-valve-gallery-card .badge-valve {
    align-self: flex-start;
}

/* Header Navbar Links Base, Hover & Active States */
.main-header .navbar-nav > li > a.nav-link,
.main-header .nav-menu-wrapper > ul > li > a {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500 !important;
    position: relative !important;
    transition: color 0.25s ease !important;
}

.main-header .navbar-nav > li > a.nav-link:hover,
.main-header .nav-menu-wrapper > ul > li > a:hover,
.main-header .navbar-nav > li > a.nav-link:focus {
    color: var(--pft-gold, #C19A5B) !important;
}

/* Active Nav Link Styling (Prabhu Gold Highlight with Gold Underline Indicator) */
.main-header .navbar-nav > li > a.nav-link.active,
.main-header .nav-menu-wrapper > ul > li > a.active {
    color: var(--pft-gold, #C19A5B) !important;
    font-weight: 600 !important;
}

.main-header .navbar-nav > li > a.nav-link.active::after,
.main-header .nav-menu-wrapper > ul > li > a.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: 2px !important;
    left: 10px !important;
    right: 10px !important;
    height: 2px !important;
    background-color: var(--pft-gold, #C19A5B) !important;
    border-radius: 2px !important;
    display: block !important;
}

/* Navbar Parent Positioning */
.main-header .navbar-nav > li.mega-menu-item {
    position: static !important;
}

.main-header .navbar {
    position: relative !important;
}

/* Mega Menu Dropdown Panel (Moved up closer to navbar) */
.main-menu .pft-mega-menu,
.pft-mega-menu {
    display: none !important;
    position: absolute !important;
    top: calc(100% - 36px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(0, 54, 118, 0.12) !important;
    padding: 24px 28px 16px 28px !important;
    z-index: 9999 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    margin-top: 0 !important;
    text-align: left !important;
}

/* Invisible Hover Bridge between Navbar Link and Mega Menu */
.main-menu .pft-mega-menu::before,
.pft-mega-menu::before {
    content: "" !important;
    position: absolute !important;
    top: -25px !important;
    left: 0 !important;
    right: 0 !important;
    height: 30px !important;
    background: transparent !important;
    display: block !important;
    z-index: 1 !important;
}

/* Desktop Hover State (Only display block on hover over mega-menu-item) */
@media (min-width: 992px) {
    .main-header .navbar-nav > li.mega-menu-item {
        position: static !important;
    }

    .main-header .navbar-nav > li.mega-menu-item:hover > .pft-mega-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }

    .main-header .navbar-nav > li.mega-menu-item:hover > a.nav-link {
        color: var(--pft-gold, #C19A5B) !important;
    }
}

/* Hard Reset for all Internal Lists inside Mega Menu (overriding custom.css .main-menu ul ul) */
.main-menu .pft-mega-menu ul,
.main-menu ul li .pft-mega-menu ul,
.pft-mega-menu ul.pft-mega-sub-list {
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    list-style: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
}

.main-menu .pft-mega-menu ul li,
.main-menu ul li .pft-mega-menu ul li,
.pft-mega-menu ul.pft-mega-sub-list li {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
    position: static !important;
}

/* Reset Internal Elements */
.pft-mega-col {
    background: #fdfdfd !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 12px !important;
    padding: 18px !important;
    height: 100% !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
}

.pft-mega-col:hover {
    background: #ffffff !important;
    border-color: rgba(193, 154, 91, 0.4) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06) !important;
}

.pft-mega-category-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.pft-mega-cat-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
}

.pft-mega-cat-icon.icon-green {
    background: rgba(39, 174, 96, 0.12) !important;
    color: #27ae60 !important;
}

.pft-mega-cat-icon.icon-red {
    background: rgba(211, 47, 47, 0.12) !important;
    color: #d32f2f !important;
}

.pft-mega-cat-icon.icon-blue {
    background: rgba(25, 118, 210, 0.12) !important;
    color: #1976d2 !important;
}

.pft-mega-cat-icon.icon-support {
    background: rgba(217, 119, 6, 0.12) !important;
    color: #D97706 !important;
}

.pft-mega-cat-icon.icon-valve {
    background: rgba(123, 31, 162, 0.12) !important;
    color: #7B1FA2 !important;
}

.pft-mega-cat-title {
    font-family: var(--accent-font, "Cal Sans", serif) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #18191A !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.pft-mega-cat-sub {
    font-size: 12px !important;
    color: #666666 !important;
    margin: 2px 0 0 0 !important;
}

/* Reset Anchors inside Mega Menu (overriding custom.css .main-menu ul li a) */
.main-menu .pft-mega-menu a.pft-mega-link,
.main-menu ul li .pft-mega-menu a.pft-mega-link,
.pft-mega-menu a.pft-mega-link {
    display: flex !important;
    align-items: center !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    background: transparent !important;
    color: #18191A !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
}

.main-menu .pft-mega-menu a.pft-mega-link:hover,
.pft-mega-menu a.pft-mega-link:hover {
    background: rgba(0, 0, 0, 0.04) !important;
    transform: translateX(3px) !important;
}

.pft-mega-link-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.pft-mega-link-dot.green { background: #27ae60 !important; }
.pft-mega-link-dot.red { background: #d32f2f !important; }
.pft-mega-link-dot.blue { background: #1976d2 !important; }
.pft-mega-link-dot.support { background: #D97706 !important; }
.pft-mega-link-dot.valve { background: #7B1FA2 !important; }

.pft-mega-link-content {
    display: flex !important;
    flex-direction: column !important;
}

.pft-mega-link-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #18191A !important;
    line-height: 1.3 !important;
    display: block !important;
}

.pft-mega-link-desc {
    font-size: 12px !important;
    color: #727272 !important;
    display: block !important;
}

.pft-mega-badge {
    font-size: 10px !important;
    padding: 3px 8px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    display: inline-block !important;
}

.badge-green { background: rgba(39, 174, 96, 0.12) !important; color: #27ae60 !important; }
.badge-red { background: rgba(211, 47, 47, 0.12) !important; color: #d32f2f !important; }
.badge-blue { background: rgba(25, 118, 210, 0.12) !important; color: #1976d2 !important; }
.badge-support { background: rgba(217, 119, 6, 0.12) !important; color: #D97706 !important; }
.badge-valve { background: rgba(123, 31, 162, 0.12) !important; color: #7B1FA2 !important; }

.pft-mega-footer {
    margin-top: 16px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(0, 54, 118, 0.08) !important;
}

.main-menu .pft-mega-menu a.pft-mega-all-btn,
.pft-mega-menu a.pft-mega-all-btn {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #C19A5B !important;
    text-decoration: none !important;
    padding: 4px 8px !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: color 0.2s ease !important;
}

.main-menu .pft-mega-menu a.pft-mega-all-btn:hover,
.pft-mega-menu a.pft-mega-all-btn:hover {
    color: #18191A !important;
}

/* SlickNav Mobile Accordion Enhancements */
.slicknav_nav .slicknav_item {
    font-weight: 600;
}

.slicknav_nav ul ul {
    margin-left: 10px;
    border-left: 2px solid rgba(193, 154, 91, 0.25);
    padding-left: 8px;
}

/* ==========================================================================
   07. Site-Wide Master Responsive Typography & Fluid Text Engine
   Harmonized scaling from Mobile (320px) to Large Desktop (1920px+)
   ========================================================================== */

/* --- A. Global Typography Resets & Defensive Text Wrapping --- */
html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--default-font, "Poppins", sans-serif);
    font-size: 16px;
    line-height: 1.6;
    color: var(--pft-text, #727272);
    overflow-x: clip;
}

/* Text Wrapping & Balance */
h1, h2, h3, h4, h5, h6,
.section-title h1,
.section-title h2,
.page-header-box h1,
.pft-pipe-type-title,
.pft-app-title,
.pft-feature-title {
    font-family: var(--accent-font, "Cal Sans", serif);
    color: var(--pft-primary, #18191A);
    text-wrap: balance;
    overflow-wrap: break-word;
    word-break: normal;
    letter-spacing: normal;
}

p,
.section-title p,
.about-us-content-prime p,
.pft-hero-subtitle {
    text-wrap: pretty;
    overflow-wrap: break-word;
}

/* --- B. Hero Headings (H1) & Subtitles --- */
.hero-contant-prime .section-title h1,
.hero-content .section-title h1,
.section-title h1 {
    font-size: clamp(2rem, 3.4vw, 3.15rem) !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 18px !important;
}

.page-header-box h1 {
    font-size: clamp(2rem, 3.5vw, 3.25rem) !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    margin-bottom: 12px !important;
    display: block !important;
}

.pft-hero-subtitle {
    font-size: clamp(0.95rem, 1.2vw, 1.15rem) !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 820px;
    /* margin: 12px auto 0 !important; */
}

.page-header {
    padding: 180px 0 80px !important;
}

.hero-prime {
    padding: 160px 0 80px !important;
}

/* --- C. Section Headings (H2) & Subtitles --- */
.section-title h2,
.about-us-content-prime h2,
.why-choose-content-prime h2,
.contact-form-title h2,
.cta-box h2,
.services-content-prime h2,
.projects-content-prime h2 {
    font-size: clamp(1.75rem, 2.4vw, 2.35rem) !important;
    line-height: 1.22 !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
}

.dark-section .section-title h2 {
    color: #FFFFFF !important;
}

.section-title .subtitle,
.product-info .subtitle {
    font-size: clamp(0.95rem, 1.15vw, 1.125rem) !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: var(--pft-primary, #18191A) !important;
    margin-bottom: 14px !important;
    display: block !important;
}

.dark-section .section-title .subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Section Title Paragraphs */
.section-title p {
    font-size: clamp(0.9rem, 1.05vw, 1rem) !important;
    line-height: 1.65 !important;
    color: var(--pft-text, #727272) !important;
    margin-top: 14px !important;
    margin-bottom: 0 !important;
}

.dark-section .section-title p {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* --- D. Sub-headers & Card Titles (H3 & H4) --- */
.service-content h3,
.industries-content-prime h3,
.projects-content-prime h3,
.blog-content-prime h3,
.tab-content h3,
.pft-app-title,
.pft-info-banner h3,
.contact-item h3,
.team-content h3,
.core-value-title {
    font-size: clamp(1.15rem, 1.4vw, 1.35rem) !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
}

.pft-pipe-type-title,
.pft-valve-gallery-card h4,
.pft-feature-title,
.comparison-column h4,
.info-grid-box h4,
.hero-client-title-prime h2,
.about-info-header-content-prime p {
    font-size: clamp(1.05rem, 1.2vw, 1.18rem) !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
}

/* --- E. Badges, Tags & Category Labels --- */
.section-sub-title,
.product-hero-badge,
.badge-green,
.badge-red,
.badge-blue,
.badge-support,
.badge-valve,
.pft-pipe-type-badge {
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 5px 14px !important;
    border-radius: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
    max-width: 100% !important;
}

.section-sub-title::before {
    display: none !important;
}

/* --- F. Paragraphs, Descriptions & List Items --- */
p {
    font-size: 15.5px;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    color: var(--pft-text, #727272);
}

.pft-valve-gallery-card p,
.pft-pipe-type-card p,
.pft-feature-desc,
.pft-app-desc,
.service-content p,
.industries-content-prime p {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    color: var(--pft-text, #727272) !important;
}

.dark-section .pft-feature-desc,
.dark-section .pft-app-desc {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* List Items & Bulleted Specs */
.pft-pipe-type-list li,
.info-grid li,
.comparison-grid ul li,
.pft-advantages-grid .pft-advantage-item {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.pft-pipe-type-list li i,
.pft-advantages-grid .pft-adv-icon {
    flex-shrink: 0;
}

/* --- G. Buttons & Interactive Controls --- */
.btn-default,
.btn-highlight,
.btn-valve {
    font-size: 14.5px !important;
    font-weight: 600 !important;
    padding: 13px 30px !important;
    border-radius: 50px !important;
    line-height: 1.3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.35s ease !important;
    letter-spacing: 0.3px !important;
}

.header-btn .btn-default {
    font-size: 13.5px !important;
    padding: 9px 20px !important;
}

/* Tab Navigation Pill Bar */
.tab-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 5px;
}

.tab-nav-item {
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 10px 22px !important;
    border-radius: 50px !important;
    line-height: 1.3 !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* --- H. Data Tables & Technical Specifications --- */
.table-responsive {
    border-radius: 12px;
    border: 1px solid var(--pft-divider, rgba(24, 25, 26, 0.08));
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 24px;
    background: #FFFFFF;
}

.table {
    margin-bottom: 0 !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
}

.table th {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    padding: 12px 14px !important;
    white-space: nowrap;
    vertical-align: middle !important;
}

.table td {
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    padding: 11px 14px !important;
    vertical-align: middle !important;
}

/* --- I. Numbers, Stat Counters & Metrics --- */
.pft-stat-number,
.counter-title-prime h2,
.counter-content-prime h2,
.experience-box-content h2 {
    font-size: clamp(2rem, 3.2vw, 2.75rem) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    font-family: var(--accent-font, "Cal Sans", serif) !important;
}

.pft-stat-label,
.counter-content-prime p {
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    margin-top: 4px !important;
}

/* --- J. Forms, Inputs & Controls --- */
.form-group label {
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: var(--pft-primary, #18191A) !important;
    margin-bottom: 6px !important;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    font-size: 15px !important;
    font-family: var(--default-font, "Poppins", sans-serif) !important;
    line-height: 1.5 !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
}

/* --- K. Footer Typography & Alignment --- */
.about-footer-content-prime p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer-links-prime h2 {
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #FFFFFF !important;
    margin-bottom: 16px !important;
}

.footer-links-prime ul li a {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer-copyright-text-prime p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ==========================================================================
   08. Responsive Breakpoint Harmonization
   ========================================================================== */

/* --- Desktop & Large Screens (max-width: 1199px) --- */
@media (max-width: 1199px) {
    .page-header {
        padding: 160px 0 70px !important;
    }

    .hero-prime {
        padding: 150px 0 70px !important;
    }

    .hero-contant-prime {
        width: calc(70% - 20px) !important;
    }

    .section-title h1 {
        font-size: 38px !important;
    }

    .section-title h2 {
        font-size: 32px !important;
    }
}

/* --- Tablets & Small Laptops (max-width: 991px) --- */
@media (max-width: 991px) {
    .page-header {
        padding: 140px 0 60px !important;
    }

    .hero-prime {
        padding: 130px 0 60px !important;
    }

    .hero-contant-prime {
        width: 100% !important;
    }

    .section-title h1 {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }

    .section-title h2 {
        font-size: 28px !important;
        line-height: 1.25 !important;
    }

    .section-title p {
        font-size: 14.5px !important;
        margin-top: 10px !important;
    }

    .pft-hero-subtitle {
        font-size: 15.5px !important;
    }

    /* Swipeable Tab Navigation on Tablets */
    .tab-navigation {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding-bottom: 8px !important;
    }

    .tab-navigation::-webkit-scrollbar {
        display: none !important;
    }

    .tab-nav-item {
        flex-shrink: 0 !important;
        font-size: 13.5px !important;
        padding: 9px 18px !important;
    }

    .product-detail-layout {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .btn-default,
    .btn-highlight,
    .btn-valve {
        font-size: 14px !important;
        padding: 11px 24px !important;
    }

    .pft-info-banner {
        padding: 28px 24px !important;
    }
}

/* --- Mobile Devices (max-width: 767px) --- */
@media (max-width: 767px) {
    body {
        font-size: 15px !important;
    }

    p {
        font-size: 14.5px !important;
        line-height: 1.55 !important;
        margin-bottom: 1rem !important;
    }

    .page-header {
        padding: 120px 0 50px !important;
    }

    .hero-prime {
        padding: 110px 0 50px !important;
    }

    .page-header-box h1 {
        font-size: 26px !important;
        line-height: 1.22 !important;
        margin-bottom: 8px !important;
    }

    .section-title h1 {
        font-size: 26px !important;
        line-height: 1.22 !important;
    }

    .section-title h2 {
        font-size: 23px !important;
        line-height: 1.25 !important;
    }

    .section-title .subtitle,
    .product-info .subtitle {
        font-size: 15px !important;
        margin-bottom: 10px !important;
    }

    .pft-hero-subtitle {
        font-size: 14.5px !important;
        line-height: 1.5 !important;
    }

    .section-sub-title,
    .product-hero-badge,
    .badge-green,
    .badge-red,
    .badge-blue,
    .badge-support,
    .badge-valve,
    .pft-pipe-type-badge {
        font-size: 12px !important;
        padding: 4px 10px !important;
        letter-spacing: 0.4px !important;
    }

    .service-content h3,
    .industries-content-prime h3,
    .projects-content-prime h3,
    .blog-content-prime h3,
    .tab-content h3,
    .pft-app-title,
    .pft-info-banner h3,
    .contact-item h3 {
        font-size: 18px !important;
    }

    .pft-pipe-type-title,
    .pft-valve-gallery-card h4,
    .pft-feature-title,
    .comparison-column h4,
    .info-grid-box h4 {
        font-size: 16px !important;
    }

    .pft-valve-gallery-card p,
    .pft-pipe-type-card p,
    .pft-feature-desc,
    .pft-app-desc,
    .service-content p {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .pft-pipe-type-list li,
    .info-grid li,
    .comparison-grid ul li,
    .pft-advantages-grid .pft-advantage-item {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .tab-nav-item {
        font-size: 13px !important;
        padding: 8px 14px !important;
    }

    .table th {
        font-size: 11.5px !important;
        padding: 8px 10px !important;
    }

    .table td {
        font-size: 12px !important;
        padding: 8px 10px !important;
    }

    .pft-stat-number,
    .counter-title-prime h2,
    .experience-box-content h2 {
        font-size: 26px !important;
    }

    .pft-stat-label {
        font-size: 11.5px !important;
    }

    .btn-default,
    .btn-highlight,
    .btn-valve {
        font-size: 13.5px !important;
        padding: 10px 20px !important;
    }

    .header-btn {
        display: none !important;
    }

    .pft-info-banner {
        padding: 24px 18px !important;
        text-align: center;
    }

    .pft-info-banner .btn-default {
        width: 100% !important;
        margin-top: 14px !important;
    }

    .footer-links-prime h2 {
        font-size: 17px !important;
        margin-bottom: 12px !important;
    }

    .footer-links-prime ul li a,
    .about-footer-content-prime p {
        font-size: 13.5px !important;
    }
}

/* --- Small Smartphones (max-width: 575px) --- */
@media (max-width: 575px) {
    .page-header-box h1 {
        font-size: 23px !important;
    }

    .section-title h1 {
        font-size: 23px !important;
    }

    .section-title h2 {
        font-size: 21px !important;
    }

    .pft-hero-subtitle {
        font-size: 13.5px !important;
    }

    .hero-content-body-prime {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }

    /* .hero-btn-prime {
        width: 100% !important;
    } */

    .hero-btn-prime .btn-default {
        width: 100% !important;
        text-align: center !important;
    }

    .pft-advantages-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .pft-advantage-item {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }

    .pft-stat-item {
        padding: 12px 6px !important;
    }

    .pft-valve-gallery-card {
        padding: 16px !important;
    }

    .pft-valve-gallery-card-img,
    .pft-valve-gallery-card img {
        height: 160px !important;
    }
}

/* --- Ultra-Narrow Mobile (max-width: 380px) --- */
@media (max-width: 380px) {
    .page-header-box h1 {
        font-size: 21px !important;
    }

    .section-title h1 {
        font-size: 21px !important;
    }

    .section-title h2 {
        font-size: 19px !important;
    }

    .btn-default,
    .btn-highlight,
    .btn-valve {
        /* width: 100% !important; */
        text-align: center !important;
        padding: 9px 14px !important;
        font-size: 13px !important;
    }
}

/* ==========================================================================
   09. Testimonial Cards Equal Height & Responsive Alignment Engine
   ========================================================================== */
.testimonial-slider-prime {
    width: 100%;
}

.testimonial-slider-prime .swiper {
    width: 100%;
    padding: 10px 0 20px;
}

.testimonial-slider-prime .swiper-wrapper {
    display: flex !important;
    align-items: stretch !important;
}

.testimonial-slider-prime .swiper-slide {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.testimonial-item-prime {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: #FFFFFF !important;
    border-radius: 20px !important;
    padding: 32px !important;
    box-shadow: 0 8px 30px rgba(24, 25, 26, 0.04) !important;
    border: 1px solid rgba(24, 25, 26, 0.06) !important;
    box-sizing: border-box !important;
}

.testimonial-item-rating-prime {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 18px !important;
}

.testimonial-item-rating-prime i {
    width: 22px !important;
    height: 22px !important;
    font-size: 11px !important;
    background-color: #1976D2 !important;
    color: #FFFFFF !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.testimonial-item-title-prime {
    min-height: 56px !important;
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 0 !important;
}

.testimonial-item-title-prime h2 {
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    color: var(--pft-primary, #18191A) !important;
    margin: 0 !important;
}

.testimonial-item-content-prime {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    border-top: 1px solid rgba(24, 25, 26, 0.08) !important;
    padding-top: 18px !important;
    margin-top: 18px !important;
    margin-bottom: 24px !important;
}

.testimonial-item-content-prime p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--pft-text, #727272) !important;
    margin-bottom: 0 !important;
}

.testimonial-item-author-prime {
    margin-top: auto !important;
    background-color: #F8FAFC !important;
    border-radius: 14px !important;
    padding: 12px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    border: 1px solid rgba(24, 25, 26, 0.05) !important;
    min-height: 68px !important;
    box-sizing: border-box !important;
}

.testimonial-author-image-prime figure {
    margin: 0 !important;
    width: 44px !important;
    height: 44px !important;
    flex-shrink: 0 !important;
}

.testimonial-author-image-prime figure img {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

.testimonial-author-content-prime {
    flex: 1 1 auto !important;
    width: auto !important;
    overflow: hidden !important;
}

.testimonial-author-content-prime h2 {
    font-size: 15.5px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    margin: 0 0 2px !important;
    color: var(--pft-primary, #18191A) !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
}

.testimonial-author-content-prime p {
    font-size: 12.5px !important;
    line-height: 1.3 !important;
    color: #718096 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
}

@media (max-width: 767px) {
    .testimonial-item-prime {
        padding: 24px 20px !important;
    }

    .testimonial-item-title-prime {
        min-height: auto !important;
    }

    .testimonial-item-author-prime {
        min-height: auto !important;
        padding: 10px 14px !important;
    }
}

/* ==========================================================================
   10. Full-Height Right-Side Mobile Drawer Navigation & Bottom Action Panel
   ========================================================================== */
@media (max-width: 991px) {
    /* Prevent background page scroll while mobile menu is active */
    body.mobile-menu-active {
        overflow: hidden !important;
        touch-action: none !important;
    }

    /* Right-Side Off-Canvas Drawer (Crystal Clear & Crisp) */
    .responsive-menu {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: 100vw !important;
        max-width: 420px !important; /* Elegant drawer width on tablet, 100vw on mobile */
        height: 100vh !important;
        height: 100dvh !important;
        background: #0B1120 !important;
        z-index: 9999999 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateX(100%) !important; /* Positioned off-screen to the right */
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, visibility 0.32s ease !important;
        box-shadow: -15px 0 40px rgba(0, 0, 0, 0.6) !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }

    @media (max-width: 575px) {
        .responsive-menu {
            max-width: 100vw !important;
        }
    }

    body.mobile-menu-active .responsive-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important; /* Smoothly slides in from the right */
    }

    /* Main Drawer Layout (Header + Scrollable Nav Body + Fixed Footer) */
    .pft-mobile-drawer-wrapper {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        height: 100dvh !important;
        max-height: 100% !important;
        padding: 20px 20px 20px 20px !important;
        box-sizing: border-box !important;
        background: #0B1120 !important;
    }

    /* Drawer Header */
    .pft-mobile-drawer-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding-bottom: 16px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        margin-bottom: 8px !important;
        flex-shrink: 0 !important;
        width: 100% !important;
    }

    .pft-mobile-drawer-logo {
        display: inline-flex !important;
        align-items: center !important;
    }

    .pft-mobile-drawer-logo img {
        max-height: 40px !important;
        width: auto !important;
        display: block !important;
    }

    .pft-mobile-drawer-close {
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        color: #ffffff !important;
        width: 38px !important;
        height: 38px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 16px !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        padding: 0 !important;
    }

    .pft-mobile-drawer-close:hover,
    .pft-mobile-drawer-close:active {
        background: #C19A5B !important;
        color: #18191A !important;
        border-color: #C19A5B !important;
    }

    /* Scrollable Drawer Body */
    .pft-mobile-drawer-body {
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 10px 0 !important;
        display: block !important;
    }

    /* Hard Reset on SlickNav container */
    .slicknav_menu {
        position: static !important;
        width: 100% !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
        box-shadow: none !important;
    }

    .slicknav_nav {
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
    }

    .slicknav_nav li {
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    /* Top-level Navigation Links and Accordion Parent Rows */
    .slicknav_nav > li > a,
    .slicknav_nav .slicknav_row,
    .slicknav_nav .slicknav_item {
        font-size: 16px !important;
        font-weight: 500 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        padding: 12px 14px !important;
        border-radius: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
        line-height: 1.3 !important;
        background: transparent !important;
        box-sizing: border-box !important;
        cursor: pointer !important;
    }

    .slicknav_nav > li > a:hover,
    .slicknav_nav > li > a:active,
    .slicknav_nav .slicknav_row:hover,
    .slicknav_nav .slicknav_item:hover {
        background: rgba(193, 154, 91, 0.12) !important;
        color: #C19A5B !important;
    }

    /* Defensive Reset: Zero out any nested anchor inside parent rows */
    .slicknav_nav .slicknav_row a,
    .slicknav_nav .slicknav_item a {
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        color: inherit !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        line-height: inherit !important;
        display: inline !important;
        pointer-events: none !important;
        box-shadow: none !important;
    }

    /* Submenu Accordions */
    .slicknav_nav ul ul,
    .slicknav_nav .slicknav_hidden {
        background: rgba(0, 0, 0, 0.25) !important;
        border-radius: 10px !important;
        padding: 6px 8px !important;
        margin: 4px 0 8px 12px !important;
        border-left: 2px solid #C19A5B !important;
        list-style: none !important;
    }

    .slicknav_menu ul ul li a {
        font-size: 14px !important;
        font-weight: 400 !important;
        color: rgba(255, 255, 255, 0.75) !important;
        padding: 8px 12px !important;
        border-radius: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }

    .slicknav_menu ul ul li a:hover {
        color: #C19A5B !important;
        background: rgba(255, 255, 255, 0.05) !important;
    }

    /* Clean Single Arrow */
    .slicknav_arrow {
        font-size: 0 !important;
        position: relative !important;
        display: inline-block !important;
        width: 12px !important;
        height: 12px !important;
        margin-left: auto !important;
    }

    .slicknav_arrow:after {
        content: '\f107' !important;
        font-family: 'FontAwesome' !important;
        font-weight: 900 !important;
        font-size: 13px !important;
        color: rgba(255, 255, 255, 0.6) !important;
        position: absolute !important;
        right: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        transition: transform 0.25s ease !important;
    }

    .slicknav_open > a .slicknav_arrow:after,
    .slicknav_open > .slicknav_row .slicknav_arrow:after {
        transform: translateY(-50%) rotate(-180deg) !important;
        color: #C19A5B !important;
    }

    /* Drawer Bottom Action Panel */
    .pft-mobile-drawer-footer {
        flex-shrink: 0 !important;
        margin-top: auto !important;
        padding-top: 14px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .pft-mobile-cta-button {
        background: linear-gradient(135deg, #C19A5B 0%, #D4AF37 100%) !important;
        color: #18191A !important;
        font-weight: 600 !important;
        font-size: 14.5px !important;
        padding: 13px 20px !important;
        border-radius: 50px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        text-decoration: none !important;
        width: 100% !important;
        box-shadow: 0 4px 16px rgba(193, 154, 91, 0.25) !important;
        transition: all 0.25s ease !important;
    }

    .pft-mobile-cta-button:hover,
    .pft-mobile-cta-button:active {
        color: #18191A !important;
        opacity: 0.95 !important;
        transform: translateY(-1px) !important;
    }

    .pft-mobile-contact-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .pft-mobile-contact-item {
        background: rgba(255, 255, 255, 0.06) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 10px !important;
        padding: 10px 12px !important;
        color: rgba(255, 255, 255, 0.85) !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        transition: all 0.2s ease !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .pft-mobile-contact-item i {
        color: #C19A5B !important;
        font-size: 12px !important;
        flex-shrink: 0 !important;
    }

    .pft-mobile-contact-item:hover,
    .pft-mobile-contact-item:active {
        background: rgba(193, 154, 91, 0.18) !important;
        border-color: #C19A5B !important;
        color: #ffffff !important;
    }

    .pft-mobile-iso-tag {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        font-size: 11px !important;
        color: rgba(255, 255, 255, 0.5) !important;
        text-align: center !important;
    }

    .pft-mobile-iso-tag i {
        color: #C19A5B !important;
        font-size: 12px !important;
    }
}