/*===================================================
    Professional Product Pages Styling
    Gapat Engineering Pvt. Ltd.
====================================================*/

:root {
    --primary-color: #089fac;
    --primary-hover: #07828d;
    --dark-navy: #141f2b;
    --card-dark: #1a2734;
    --heading-dark: #1e293b;
    --text-body: #475569;
    --border-light: #e2e8f0;
    --accent-gold: #ffaa17;
}

/* ===================================================
   1. Product Hero Banner - Bright & Luminous
=================================================== */
.product-hero-header {
    position: relative;
    padding: 65px 0 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e8edf3 100%);
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
    color: #1e293b;
    z-index: 1 !important;
}

.product-hero-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(8, 159, 172, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(8, 159, 172, 0.05) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: 1;
}

.product-hero-header .hero-bg-watermark {
    position: absolute;
    inset: 0;
    background-image: url(../img/page-header.jpg);
    background-size: cover;
    background-position: center;
    opacity: 0.06;
    filter: grayscale(100%);
    z-index: 0;
}

.product-hero-header .container {
    position: relative;
    z-index: 2;
}

/* Breadcrumb Capsule */
.product-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.product-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.25s ease;
}

.product-breadcrumb a:hover {
    color: #07828d;
}

.product-breadcrumb i {
    font-size: 11px;
    color: #94a3b8;
}

.product-breadcrumb span {
    color: #1e293b;
    font-weight: 600;
}

/* Category Badge */
.product-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(8, 159, 172, 0.1);
    border: 1px solid rgba(8, 159, 172, 0.35);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.product-badge-tag i {
    font-size: 15px;
    color: var(--accent-gold);
}

/* Title & Description */
.product-hero-title {
    font-size: 29px;
    font-weight: 800;
    line-height: 1.25;
    color: #1e293b;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.product-hero-title span {
    color: var(--primary-color);
}

.product-hero-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    max-width: 740px;
    margin-bottom: 22px;
}

/* Feature Pills in Hero */
.product-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.product-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    transition: all 0.25s ease;
}

.product-hero-pill:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.product-hero-pill i {
    color: var(--primary-color);
    font-size: 16px;
}

/* ===================================================
   1.1 Video Background Hero Header Styles
=================================================== */
.product-hero-header.has-video-bg {
    position: relative;
    padding: 70px 0 65px;
    background-color: #0c141f;
    border-bottom: 2px solid rgba(8, 159, 172, 0.4);
    overflow: hidden;
    color: #ffffff;
    z-index: 1 !important;
}

.product-hero-header.has-video-bg::before {
    display: none;
}

.product-hero-header.has-video-bg .hero-bg-watermark {
    display: none;
}

/* Video Wrapper */
.hero-video-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-video-wrap video.hero-video-player {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.85) contrast(1.1);
}

/* Fallback Poster Background */
.hero-video-wrap .hero-video-poster {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Dark Frosted Gradient Overlay for Crisp Text Legibility */
.hero-video-wrap .hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(10, 18, 28, 0.88) 0%,
            rgba(15, 25, 38, 0.76) 50%,
            rgba(8, 159, 172, 0.42) 100%);
    z-index: 1;
}

/* Engineering Micro-Grid Texture */
.hero-video-wrap .hero-video-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 2;
}

/* Video Status Badge */
.hero-video-live-badge {
    position: absolute;
    bottom: 18px;
    right: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    z-index: 3;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.hero-video-live-badge .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: liveDotPulse 2s infinite ease-in-out;
}

@keyframes liveDotPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.35);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

/* Typography & Components in Video Hero */
.product-hero-header.has-video-bg .product-breadcrumb {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.product-hero-header.has-video-bg .product-breadcrumb a {
    color: #38bdf8;
}

.product-hero-header.has-video-bg .product-breadcrumb a:hover {
    color: #ffffff;
}

.product-hero-header.has-video-bg .product-breadcrumb i {
    color: rgba(255, 255, 255, 0.6);
}

.product-hero-header.has-video-bg .product-breadcrumb span {
    color: #ffffff;
}

.product-hero-header.has-video-bg .product-badge-tag {
    background: rgba(8, 159, 172, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #5eead4;
    box-shadow: 0 0 18px rgba(8, 159, 172, 0.35);
}

.product-hero-header.has-video-bg .product-badge-tag i {
    color: #fbbf24;
}

.product-hero-header.has-video-bg .product-hero-title {
    color: #ffffff;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.65);
}

.product-hero-header.has-video-bg .product-hero-title span {
    background: linear-gradient(90deg, #38bdf8, #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-hero-header.has-video-bg .product-hero-desc {
    color: #e2e8f0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.product-hero-header.has-video-bg .product-hero-pill {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.product-hero-header.has-video-bg .product-hero-pill:hover {
    background: rgba(8, 159, 172, 0.3);
    border-color: #38bdf8;
    transform: translateY(-2px);
}

.product-hero-header.has-video-bg .product-hero-pill i {
    color: #38bdf8;
}

/* Plant Card in Video Hero */
.product-hero-header.has-video-bg .sidebar-plant-card {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.product-hero-header.has-video-bg .sidebar-plant-card .plant-icon-box {
    background: rgba(8, 159, 172, 0.35);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.45);
}

.product-hero-header.has-video-bg .sidebar-plant-card .plant-badge-text small {
    color: #94a3b8;
}

.product-hero-header.has-video-bg .sidebar-plant-card .plant-badge-text strong {
    color: #ffffff;
}

@media (max-width: 767px) {
    .product-hero-header.has-video-bg {
        padding: 50px 0 45px;
    }

    .hero-video-live-badge {
        display: none;
    }
}

/* ===================================================
   2. Main Product Content Layout
=================================================== */
.product-details-section {
    padding: 5px 0 85px;
    background-color: #ffffff;
}

/* Main Showcase Image Frame */
.product-main-showcase {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    margin-bottom: 35px;
    background: #f1f5f9;
}

.product-main-showcase img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.product-main-showcase:hover img {
    transform: scale(1.025);
}

.product-floating-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(20, 31, 43, 0.92);
    backdrop-filter: blur(8px);
    border-left: 4px solid var(--primary-color);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.product-floating-tag i {
    font-size: 24px;
    color: #38d6e3;
}

.product-floating-tag strong {
    font-size: 14.5px;
    display: block;
    line-height: 1.2;
}

.product-floating-tag small {
    font-size: 11.5px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section Subheadings */
.product-content-head {
    margin-bottom: 25px;
}

.product-content-head h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--heading-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-content-head p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 15px;
}

/* Feature & Advantage 2-Column Cards */
.product-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0 40px;
}

.product-feature-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 26px 22px;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-feature-card:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(8, 159, 172, 0.1);
    transform: translateY(-4px);
}

.feature-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.feature-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(8, 159, 172, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.product-feature-card:hover .feature-icon-box {
    background: var(--primary-color);
    color: #ffffff;
}

.feature-card-header h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--heading-dark);
    margin: 0;
}

.feature-points-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-points-list li {
    font-size: 14px;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}

.feature-points-list li i {
    color: var(--primary-color);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Technical Parameter / Specifications Table */
.specs-table-wrap {
    margin: 35px 0 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.03);
}

.specs-table-header {
    background: #141f2b;
    color: #ffffff;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.specs-table-header h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.specs-table-header span {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.specs-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #f1f5f9;
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table tr:hover {
    background: #f8fafc;
}

.specs-table th,
.specs-table td {
    padding: 14px 22px;
    font-size: 14px;
}

.specs-table th {
    width: 35%;
    font-weight: 700;
    color: var(--heading-dark);
    background: #f8fafc;
    border-right: 1px solid #f1f5f9;
}

.specs-table td {
    color: var(--text-body);
    font-weight: 500;
}

/* Industrial Applications Grid */
.applications-section-wrap {
    margin: 35px 0;
}

.applications-section-wrap h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--heading-dark);
    margin-bottom: 18px;
}

.app-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.app-pill-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease;
}

.app-pill-card:hover {
    border-color: var(--primary-color);
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(8, 159, 172, 0.08);
}

.app-pill-card i {
    font-size: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.app-pill-card span {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--heading-dark);
}

/* ===================================================
   3. Modern Interactive Product Sidebar
=================================================== */
.product-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Sidebar Product Menu Card */
.sidebar-product-nav-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.sidebar-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-dark);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-card-title span {
    font-size: 12px;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.sidebar-product-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-product-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.sidebar-product-list li a .nav-left-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-product-list li a .nav-left-item i {
    font-size: 16px;
    color: #64748b;
    transition: color 0.25s ease;
}

.sidebar-product-list li a:hover,
.sidebar-product-list li.active a {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 6px 18px rgba(8, 159, 172, 0.25);
}

.sidebar-product-list li a:hover .nav-left-item i,
.sidebar-product-list li.active a .nav-left-item i {
    color: #ffffff;
}

.sidebar-product-list li a i.arrow-icon {
    font-size: 12px;
}

/* Sidebar Quick RFQ Card */
.sidebar-rfq-card {
    background: #141f2b;
    border-radius: 14px;
    padding: 28px 24px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
}

.sidebar-rfq-card::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(8, 159, 172, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.rfq-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(8, 159, 172, 0.2);
    color: #38d6e3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.sidebar-rfq-card h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.sidebar-rfq-card p {
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 20px;
}

.rfq-direct-call {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.rfq-direct-call:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-gold);
}

.rfq-direct-call i {
    font-size: 22px;
    color: var(--accent-gold);
}

.rfq-direct-call small {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    display: block;
    line-height: 1;
}

.rfq-direct-call strong {
    font-size: 15px;
    color: #ffffff;
    display: block;
    line-height: 1.3;
}

.btn-rfq-submit {
    background: var(--primary-color);
    color: #ffffff;
    width: 100%;
    padding: 13px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-rfq-submit:hover {
    background: #ffffff;
    color: #141f2b;
    transform: translateY(-2px);
}

/* Sidebar Plant Capability Badge */
.sidebar-plant-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
}

.plant-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(8, 159, 172, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.plant-badge-text small {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
}

.plant-badge-text strong {
    font-size: 14px;
    color: var(--heading-dark);
    display: block;
    line-height: 1.3;
}

/* ===================================================
   4. Bottom Full-Width CTA Banner
=================================================== */
.product-bottom-cta {
    position: relative;
    padding: 65px 0;
    background: #141f2b;
    color: #ffffff;
    overflow: hidden;
}

.product-bottom-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 35px 35px;
    pointer-events: none;
}

.product-cta-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
}

.product-cta-text h3 {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-cta-text p {
    font-size: 15.5px;
    color: #cbd5e1;
    margin: 0;
}

.product-cta-btns {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ===================================================
   5. Responsive Breakpoints
=================================================== */
@media (max-width: 991px) {
    .product-hero-header {
        padding: 50px 0 45px;
    }

    .product-hero-title {
        font-size: 30px;
    }

    .product-main-showcase img {
        height: 320px;
    }

    .product-features-grid {
        grid-template-columns: 1fr;
    }

    .app-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-sidebar {
        position: static;
        margin-top: 45px;
    }
}

@media (max-width: 575px) {
    .product-hero-title {
        font-size: 24px;
    }

    .product-hero-pills {
        flex-direction: column;
        align-items: flex-start;
    }

    .app-cards-grid {
        grid-template-columns: 1fr;
    }

    .specs-table th {
        width: 45%;
    }

    .product-floating-tag {
        position: static;
        border-radius: 0;
        margin-top: -5px;
    }
}