
/* =====================================================
   STIGASOFT INDUSTRY CAROUSEL
   Responsive Layout + Animated Card Hover
===================================================== */

/* =====================================================
   SECTION
===================================================== */

.pcb-industry {
    position: relative;
    width: 100%;
    padding: 65px 0 30px;
    background: #fff;
}

.pcb-industry,
.pcb-industry * {
    box-sizing: border-box;
}

/* Container */

.pcb-industry .container {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: 0;
}

/* =====================================================
   SECTION HEADER
===================================================== */

.pcb-industry-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 48px;
}

.pcb-industry-header-left {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 850px;
}

/* Subtitle */

.pcb-industry-subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 23px;
    color: #239dea;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.15px;
}

.pcb-industry-subtitle-arrow {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
}

.pcb-industry-subtitle-arrow svg {
    display: block;
    width: 66px;
    height: 12px;
}

/* Heading */

.pcb-industry-heading {
    margin: 0 0 14px;
    color: #141b2b;
    font-size: clamp(30px, 3vw, 38px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -1.1px;
}

/* Section Description */

.pcb-industry-description {
    max-width: 740px;
    margin: 0;
    color: #596579;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
}

/* =====================================================
   SLIDER NAVIGATION
===================================================== */

.pcb-industry-navigation {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 14px;
    padding-bottom: 1px;
}

.pcb-industry-navigation button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #f2f4f6;
    color: #239dea;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        opacity 0.25s ease;
}

.pcb-industry-navigation button:hover:not(.swiper-button-disabled) {
    background: #239dea;
    color: #fff;
}

.pcb-industry-navigation button:focus-visible {
    outline: 2px solid #239dea;
    outline-offset: 3px;
}

.pcb-industry-navigation button.swiper-button-disabled {
    color: #aab2bd;
    cursor: not-allowed;
    opacity: 0.75;
}

.pcb-industry-navigation button svg {
    display: block;
    width: 22px;
    height: 22px;
}

/* =====================================================
   SWIPER
===================================================== */

.pcb-industry-slider {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

/* Keep Swiper's required layout intact */

.pcb-industry-slider > .swiper-wrapper {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: auto;
}

.pcb-industry-slider > .swiper-wrapper > .swiper-slide {
    position: relative;
    display: block;
    height: auto;
    flex-shrink: 0;
    min-width: 0;
}

/* Do not override Swiper's calculated slide widths */

/* =====================================================
   INDUSTRY CARD
===================================================== */

.pcb-industry-card {
    position: relative;
    display: flex;
    width: 100%;
    height: 269px;
    min-width: 0;
    overflow: hidden;
    align-items: flex-end;
    border-radius: 9px;
    isolation: isolate;
    background: #e9eef3;
}

/* =====================================================
   CARD IMAGE
===================================================== */

.pcb-industry-card-image {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: center;

    filter: blur(0);
    transform: scale(2);

    transition:
        filter 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
        transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);

    will-change: filter, transform;
}

/* =====================================================
   DARK GRADIENT OVERLAY
===================================================== */

.pcb-industry-card-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;

    background: linear-gradient(
        180deg,
        rgba(7, 20, 42, 0.02) 15%,
        rgba(7, 20, 42, 0.16) 43%,
        rgba(7, 20, 42, 0.94) 100%
    );

    transition: background 0.5s ease;
}

/* =====================================================
   CARD CONTENT
===================================================== */

.pcb-industry-card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    min-width: 0;
    padding: 22px 20px 18px;
}

/* Card Title */

.pcb-industry-card-title {
    margin: 0;
    color: #fff;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.3px;
    overflow-wrap: anywhere;

    transform: translateY(0);

    transition: transform 0.45s ease;
}

/* =====================================================
   CARD DESCRIPTION
   Hidden initially, animated on hover
===================================================== */

.pcb-industry-card-description {
    display: block;
    max-height: 0;
    margin: 0;
    overflow: hidden;

    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;

    opacity: 0;
    transform: translateY(18px);

    transition:
        max-height 0.5s ease,
        margin 0.45s ease,
        opacity 0.4s ease,
        transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* =====================================================
   DESKTOP HOVER EFFECT
===================================================== */

@media (hover: hover) and (pointer: fine) {

    /* Blur and zoom the image */

    .pcb-industry-card:hover .pcb-industry-card-image,
    .pcb-industry-card:focus-within .pcb-industry-card-image {
        filter: blur(20px);
        transform: scale(1.06);
    }

    /* Darken overlay for better readability */

    .pcb-industry-card:hover .pcb-industry-card-overlay,
    .pcb-industry-card:focus-within .pcb-industry-card-overlay {
        background: linear-gradient(
            180deg,
            rgba(7, 20, 42, 0.15) 0%,
            rgba(7, 20, 42, 0.42) 35%,
            rgba(7, 20, 42, 0.97) 100%
        );
    }

    /* Reveal description from the bottom */

    .pcb-industry-card:hover .pcb-industry-card-description,
    .pcb-industry-card:focus-within .pcb-industry-card-description {
        max-height: 140px;
        margin-top: 8px;
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   TABLET / SMALL DESKTOP
===================================================== */

@media (max-width: 1399px) {

    .pcb-industry .container {
        padding-inline: 32px;
    }

    .pcb-industry-header {
        margin-bottom: 40px;
    }

    .pcb-industry-card {
        height: 250px;
    }
}

/* =====================================================
   TABLET LANDSCAPE
===================================================== */

@media (min-width: 768px) and (max-width: 1199px) {

    .pcb-industry {
        padding: 55px 0 28px;
    }

    .pcb-industry-header {
        gap: 24px;
    }

    .pcb-industry-heading {
        font-size: 32px;
    }

    .pcb-industry-card {
        height: 245px;
    }

    .pcb-industry-card-content {
        padding: 18px 16px;
    }

    .pcb-industry-card-title {
        font-size: 17px;
    }

    .pcb-industry-card-description {
        font-size: 12px;
    }
}

/* =====================================================
   MOBILE AND SMALL TABLET
===================================================== */

@media (max-width: 767px) {

    .pcb-industry {
        padding: 48px 0 24px;
    }

    .pcb-industry .container {
        padding-inline: 22px;
    }

    .pcb-industry-header {
        display: block;
        margin-bottom: 28px;
    }

    .pcb-industry-header-left {
        max-width: 100%;
    }

    .pcb-industry-subtitle {
        gap: 8px;
        margin-bottom: 17px;
    }

    .pcb-industry-subtitle-arrow svg {
        width: 52px;
    }

    .pcb-industry-heading {
        margin-bottom: 12px;
        font-size: clamp(27px, 6vw, 33px);
        line-height: 1.2;
        letter-spacing: -0.7px;
    }

    .pcb-industry-description {
        font-size: 13px;
        line-height: 1.7;
    }

    .pcb-industry-navigation {
        justify-content: flex-end;
        margin-top: 22px;
        gap: 10px;
    }

    .pcb-industry-navigation button {
        width: 38px;
        height: 38px;
    }

    .pcb-industry-slider {
        overflow: hidden;
    }

    .pcb-industry-card {
        height: 250px;
        border-radius: 8px;
    }

    .pcb-industry-card-content {
        padding: 18px 16px;
    }

    .pcb-industry-card-title {
        font-size: 17px;
        line-height: 1.4;
    }

    /* Show description on touch devices */

    .pcb-industry-card-description {
        max-height: 140px;
        margin-top: 8px;
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

    .pcb-industry {
        padding: 40px 0 20px;
    }

    .pcb-industry .container {
        padding-inline: 18px;
    }

    .pcb-industry-heading {
        font-size: 27px;
    }

    .pcb-industry-card {
        height: 235px;
    }

    .pcb-industry-card-content {
        padding: 16px 14px;
    }

    .pcb-industry-card-title {
        font-size: 16px;
    }

    .pcb-industry-card-description {
        font-size: 12px;
        line-height: 1.45;
    }
}

/* =====================================================
   REDUCED MOTION ACCESSIBILITY
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .pcb-industry-card-image,
    .pcb-industry-card-overlay,
    .pcb-industry-card-title,
    .pcb-industry-card-description,
    .pcb-industry-navigation button {
        transition: none !important;
    }
}


.quantum-computing-services .inner-hero-box{padding-bottom:40px}