/* =============================================
   PV CONNECTORS — pv-connectors.css
   ============================================= */

/* ---- HERO SECTION ---- */
.pv-connectors-hero {
    position: relative;
    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;
}

.hero-img-wrapper {
    padding: 20px;
    margin: 0 auto;
    max-width: 600px;
}

.hero-img-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(46, 204, 113, 0.15) 0%, rgba(232, 248, 243, 0) 65%);
    z-index: 0;
    pointer-events: none;
}

.hero-product-img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.1));
}

.hero-title {
    color: var(--color-oxford-blue);
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(135deg, #0F9B8E 0%, #2ECC71 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.connectors-hero-desc {
    color: #475569;
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-btn {
    padding: 14px 40px !important;
    font-size: 1.1rem !important;
    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 25px rgba(15, 155, 142, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 155, 142, 0.45);
    color: #ffffff;
}

.hero-btn svg {
    margin-right: 12px;
}

/* ---- CERT 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;
}

/* ---- FEATURES TIMELINE SECTION ---- */
.features-timeline-section {
    padding: 80px 0;
    background-color: #062B22; /* Dark background similar to details section */
    color: #ffffff;
}

.title-vertical-line {
    width: 4px;
    height: 40px;
    background-color: #2ECC71;
    margin-right: 15px;
    border-radius: 2px;
}

.timeline-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
    max-width: 1200px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(46, 204, 113, 0.3);
}

.timeline-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.1);
    color: #2ECC71;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.timeline-desc {
    font-size: 0.95rem;
    color: #A0AABF;
    line-height: 1.6;
    margin: 0;
}

/* ---- PRODUCT DETAILS SECTION ---- */
.details-section {
    padding: 80px 0;
}

.responsive-details-card {
    background-color: #062B22;
    padding: 60px 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.details-bg-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
}

.details-bg-svg {
    position: absolute;
    top: 50%;
    left: -5%;
    transform: translateY(-50%) rotate(20deg);
    fill: rgba(15, 155, 142, 0.1);
}

.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);
}

.details-title {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.details-highlight {
    color: #63C720;
}

.details-desc {
    color: #D1D5DB;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.details-desc.last {
    margin-bottom: 0;
}

/* ---- RESPONSIVE OVERRIDES ---- */
@media (max-width: 768px) {
    .pv-connectors-hero {
        padding: 140px 0 40px;
    }
    
    .hero-product-img {
        max-height: 250px;
    }
    
    .hero-btn {
        width: 100%;
        padding: 14px 20px !important;
        font-size: 1rem !important;
    }
    
    .features-timeline-section {
        padding: 50px 0;
    }
    
    .responsive-details-card {
        padding: 40px 20px;
    }
    
    .cert-img {
        height: 40px;
        margin: 0 20px;
    }
    .cert-marquee-container {
        width: 300%;
        animation-duration: 20s;
    }
}
