/* PV Cable Page Specific Styles */
.pv-cable-hero {
    position: relative;
    background: linear-gradient(rgba(0, 31, 55, 0.75), rgba(0, 31, 55, 0.85)), url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?q=80&w=1920&auto=format&fit=crop') center bottom/cover no-repeat;
    background-color: var(--color-oxford-blue);
    /* Fallback */
    color: white;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: calc(-1 * var(--header-height));
    /* Pull up behind transparent navbar */
    padding: calc(var(--header-height) + 60px) 0 60px;
    border-bottom: 5px solid var(--color-tiffany-blue);
}

.pv-cable-hero h1,
.pv-cable-hero .display-2 {
    color: white !important;
}

.pv-cable-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-highlights .badge {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 12px 24px !important;
    border-radius: 30px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    cursor: default;
    color: white;
}

.hero-highlights .badge:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Styled Lists */
.styled-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.styled-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.6;
}

.styled-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Feature Cards for 3-Column Grid */
.features-grid-3col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .features-grid-3col {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 183, 179, 0.1);
    color: var(--color-tiffany-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: white;
}

.feature-content h4 {
    color: var(--color-oxford-blue);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-content p {
    color: var(--color-slate-gray);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Certifications Marquee Section */
.cert-marquee-section {
    background-color: #F8FAFC;
    overflow: hidden;
    position: relative;
    padding: 30px 0;
}

.cert-marquee-container {
    display: flex;
    width: 200%;
    animation: marqueeScroll 30s linear infinite;
}

.cert-marquee-container:hover {
    animation-play-state: paused;
}

.cert-marquee-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.cert-img {
    height: 55px;
    object-fit: contain;
    transition: all 0.3s ease;
    margin: 0 40px;
}

.cert-img:hover {
    transform: scale(1.05);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.cert-fade-left {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(to right, #F8FAFC, transparent);
    z-index: 2;
    pointer-events: none;
}

.cert-fade-right {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(to left, #F8FAFC, transparent);
    z-index: 2;
    pointer-events: none;
}


/* Core Overview Background */
.pv-intro-bg {
    background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.92)), url('../../images/products/pv_junction_background_1.png') center/cover no-repeat;
    padding-bottom: 60px;
}

/* Advantage Items List */
.adv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 768px) {
    .adv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.adv-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f1f5f9;
    padding: 15px 20px;
    border-radius: 10px;
    color: var(--color-oxford-blue);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.adv-item:hover {
    background: white;
    border-color: var(--color-tiffany-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.adv-item svg {
    flex-shrink: 0;
}

/* Custom Table Styles */
.custom-table-wrapper {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.custom-table th {
    background-color: var(--color-oxford-blue);
    color: white;
    font-weight: 600;
    border: none;
    padding: 15px;
    vertical-align: middle;
}

.custom-table td {
    padding: 15px;
    vertical-align: middle;
    color: #475569;
    border-color: #e2e8f0;
}

.custom-table tbody tr:hover {
    background-color: rgba(0, 183, 179, 0.05);
}

/* Premium CTA Section */
.premium-cta {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(rgba(0, 31, 55, 0.85), rgba(0, 31, 55, 0.95)), url('https://images.unsplash.com/photo-1592833159155-c62df1b65634?q=80&w=1920&auto=format&fit=crop') center/cover fixed no-repeat;
    color: white;
    overflow: hidden;
}

.premium-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

.cta-glass-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

/* Split Section Layouts (Redeclared or inherited) */
.split-section {
    padding: var(--spacing-4xl) 0;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
}

@media (min-width: 992px) {
    .split-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.split-image img {
    width: 100%;
    height: auto; aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.section-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(0, 183, 179, 0.1);
    color: var(--color-tiffany-blue);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
}

.split-title {
    color: var(--color-oxford-blue);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
}

.split-text {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

/* Mobile Responsive Adjustments */
@media (max-width: 767px) {
    .pv-cable-hero {
        padding: 40px 15px;
        min-height: 350px;
    }

    .pv-cable-hero .display-2 {
        font-size: 2.2rem !important;
    }

    .pv-cable-hero p.lead {
        font-size: 1rem !important;
    }

    .hero-highlights {
        gap: 10px !important;
    }

    .hero-highlights .badge {
        font-size: 0.85rem;
        padding: 8px 16px !important;
    }

    .split-section {
        padding: 40px 0;
    }

    .split-title {
        font-size: 1.8rem;
    }

    .split-image img {
        height: 300px;
    }

    .cta-glass-box {
        padding: 40px 20px;
    }

    .premium-cta .display-4 {
        font-size: 2rem !important;
    }
}

/* =========================================
   New V2 Styles Extracted from pv-cable.php
   ========================================= */

.pv-cable-hero-v2 {
    overflow: hidden;
    margin-top: calc(-1 * var(--header-height));
    padding: calc(var(--header-height) + 60px) 0 60px;
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.8)), url('../../images/products/manufacturing_background.png') center/cover no-repeat;
}

.pv-hero-img-wrapper {
    padding: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.pv-hero-img-glow {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250%;
    height: 250%;
    background: radial-gradient(ellipse at center, rgba(46, 204, 113, 0.12) 0%, rgba(232, 248, 243, 0) 65%);
    z-index: 0;
    pointer-events: none;
}

.pv-hero-product-img {
    max-width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    z-index: 1;
}

.pv-hero-title {
    color: var(--color-oxford-blue);
    letter-spacing: -1px;
}

.pv-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0F9B8E;
}

.pv-hero-desc {
    color: #475569;
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 800px;
}

.pv-spec-badge {
    background: rgba(15, 155, 142, 0.1);
    color: #0F9B8E;
    font-size: 0.9rem;
    padding: 10px 16px;
    border: 1px solid rgba(15, 155, 142, 0.2);
}

.pv-hero-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: sans-serif;
    color: #ffffff;
    border-radius: 50px;
    background: linear-gradient(135deg, #0F9B8E 0%, #2ECC71 100%);
    border: none;
    box-shadow: 0 8px 24px rgba(15, 155, 142, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.pv-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 155, 142, 0.45);
    color: #ffffff;
}

.pv-hero-btn svg {
    margin-right: 12px;
}

/* Product Details Section */
.pv-details-section {
    padding: 40px 0 100px;
}

.pv-responsive-details-card {
    background-color: #062B22;
    padding: 60px 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.pv-details-bg-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
}

.pv-details-bg-svg {
    position: absolute;
    top: 50%;
    left: -5%;
    transform: translateY(-50%) rotate(20deg);
    fill: rgba(15, 155, 142, 0.1);
}

.pv-details-badge {
    color: #ffffff;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pv-details-title {
    color: #ffffff;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.pv-details-highlight {
    color: #63C720;
}

.pv-details-desc {
    color: #D1D5DB;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.pv-details-desc.last {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .pv-cable-hero-v2 {
        padding: 80px 0 40px;
    }

    .pv-hero-product-img {
        max-height: 250px;
    }

    .pv-hero-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .pv-responsive-details-card {
        padding: 40px 20px;
    }
}

/* Specifications Strip Grid Layout */
.pv-spec-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.pv-spec-grid .badge {
    white-space: nowrap;
    border-radius: 4px;
}

@media (max-width: 767px) {
    .pv-spec-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .pv-spec-grid .badge {
        white-space: normal;
        /* allow text to wrap */
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 12px 8px;
        /* Touch-friendly padding */
    }

    /* Make the last odd item span 2 columns so it looks perfectly balanced */
    .pv-spec-grid .badge:last-child:nth-child(odd) {
        grid-column: span 2;
    }
}

/* =========================================
   Core Overview Section Styles (Refactored)
   ========================================= */

.core-overview-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.core-overview-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(0, 183, 179, 0.1);
    color: #00B7B3;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.core-overview-heading {
    color: #001F37;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.core-overview-gradient-text {
    background: linear-gradient(135deg, #0F9B8E 0%, #2ECC71 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.core-overview-text {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* E-Beam Feature Box */
.ebeam-feature-box {
    background-color: rgba(76, 224, 110, 0.05);
    border-left: 4px solid #4CE06E;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.ebeam-icon-box {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.ebeam-title {
    color: #001F37;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.ebeam-text {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Mobile Responsive Adjustments for Core Overview */
@media (max-width: 767px) {
    .core-overview-section {
        padding: 50px 0;
    }

    .core-overview-heading {
        font-size: 1.8rem;
    }

    .ebeam-feature-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
    }

    .ebeam-icon-box {
        margin-bottom: 5px;
    }
}
