/* Home: "Innovative Solutions Across Industries" (home.php) — CSS only.
   Swiper (fade) + tab sync JS unchanged. Full-width dark band: industry photo per slide,
   copy left, device mockup right, underline tabs on top, motion on every slide change. */

section.industry-expertise-section {
    --ind-g: max(24px, calc((100vw - 1320px) / 2 + 24px));
    position: relative;
    padding: 110px 0 0 !important;
    background: #fff !important;
    overflow: hidden;
}

section.industry-expertise-section::before,
section.industry-expertise-section::after {
    display: none !important;
}

section.industry-expertise-section > div > .container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}

/* ---------- head: title left, copy right ---------- */
section.industry-expertise-section .section-title-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: end;
    gap: 64px;
    max-width: 1320px !important;
    margin: 0 auto 56px !important;
    padding: 0 24px !important;
    text-align: left !important;
}

section.industry-expertise-section .section-title-wrap .h2 {
    margin: 0 !important;
    color: #111 !important;
    font-size: 52px !important;
    line-height: 1.1 !important;
    letter-spacing: -.03em;
}

section.industry-expertise-section .section-title-wrap .body-2 {
    margin: 0 !important;
    color: #55524c !important;
    font-size: 17px !important;
    line-height: 1.75 !important;
    text-align: left !important;
}

/* ---------- band ---------- */
section.industry-expertise-section .industry-slider-outer {
    position: relative;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 0 !important;
    background: #0c0c0f !important;
    box-shadow: none !important;
}

section.industry-expertise-section .industry-slider-outer::before,
section.industry-expertise-section .industry-slider-outer::after {
    display: none !important;
}

/* tabs: underline row over the photo */
section.industry-expertise-section .industry-nav-container {
    position: absolute !important;
    left: 0;
    right: 0;
    top: 0;
    z-index: 20;
    margin: 0 !important;
    padding: 0 var(--ind-g) !important;
    background: linear-gradient(180deg, rgba(10, 10, 12, .7) 0%, rgba(10, 10, 12, 0) 100%) !important;
    border: 0 !important;
}

section.industry-expertise-section .industry-nav {
    flex-wrap: nowrap !important;
    gap: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: auto;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    scrollbar-width: none;
}

section.industry-expertise-section .industry-nav::-webkit-scrollbar {
    display: none;
}

section.industry-expertise-section .industry-tab {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 26px 0 22px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, .6) !important;
    font-family: var(--medium);
    font-size: 15px !important;
    white-space: nowrap;
    cursor: pointer;
    transition: color .3s ease;
}

section.industry-expertise-section .industry-tab img {
    width: 20px !important;
    height: 20px !important;
    opacity: .6;
    transition: opacity .3s ease;
}

section.industry-expertise-section .industry-tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: #ff9f0a;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .5s cubic-bezier(.65, 0, .35, 1);
}

section.industry-expertise-section .industry-tab:hover {
    color: #fff !important;
}

section.industry-expertise-section .industry-tab.active {
    background: none !important;
    color: #fff !important;
}

section.industry-expertise-section .industry-tab.active img,
section.industry-expertise-section .industry-tab:hover img {
    opacity: 1;
}

section.industry-expertise-section .industry-tab.active::after {
    transform: scaleX(1);
}

/* slides */
section.industry-expertise-section .industryExpertiseSlider {
    width: 100% !important;
    margin: 0 !important;
    overflow: hidden;
}

section.industry-expertise-section .industry-slide {
    min-height: 780px;
    height: auto !important;
    background: #0c0c0f !important;
}

section.industry-expertise-section .industry-bg-wrapper {
    position: absolute !important;
    inset: 0 !important;
    overflow: hidden;
    background: none !important;
}

section.industry-expertise-section .ind-photo {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    object-fit: cover !important;
}

section.industry-expertise-section .industry-overlay {
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(90deg, rgba(10, 10, 12, .95) 0%, rgba(10, 10, 12, .84) 36%, rgba(10, 10, 12, .4) 66%, rgba(10, 10, 12, .62) 100%),
        linear-gradient(0deg, rgba(10, 10, 12, .75) 0%, rgba(10, 10, 12, 0) 38%) !important;
}

/* copy + device */
section.industry-expertise-section .industry-content {
    min-height: 780px;
    padding: 150px var(--ind-g) 120px !important;
    justify-content: center;
}

section.industry-expertise-section .industry-content .row {
    align-items: center !important;
    --bs-gutter-x: 48px;
}

section.industry-expertise-section .industry-content h3,
section.industry-expertise-section .industry-description,
section.industry-expertise-section .industry-feature-grid,
section.industry-expertise-section .industry-ctas,
section.industry-expertise-section .industry-app-mockup {
    opacity: 1;
    visibility: visible !important;
}

section.industry-expertise-section .industry-content h3 {
    max-width: 640px;
    margin: 0 0 20px !important;
    color: #fff !important;
    font-family: var(--bold);
    font-size: 48px !important;
    line-height: 1.1 !important;
    letter-spacing: -.025em;
    text-shadow: none !important;
}

section.industry-expertise-section .industry-description p {
    max-width: 620px;
    margin: 0 0 32px !important;
    color: rgba(255, 255, 255, .78) !important;
    font-size: 17px !important;
    line-height: 1.75 !important;
}

section.industry-expertise-section .industry-feature-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 32px !important;
    max-width: 640px;
    margin: 0 0 40px !important;
}

section.industry-expertise-section .industry-feature {
    margin: 0 !important;
    padding: 2px 0 2px 16px !important;
    border: 0 !important;
    border-left: 2px solid #ff9f0a !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

section.industry-expertise-section .industry-feature-title {
    margin: 0 0 4px !important;
    color: #fff !important;
    font-family: var(--bold);
    font-size: 15px !important;
}

section.industry-expertise-section .industry-feature-desc {
    color: rgba(255, 255, 255, .7) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

section.industry-expertise-section .industry-ctas {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 !important;
}

section.industry-expertise-section .industry-ctas .btn {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    height: auto !important;
    padding: 15px 26px !important;
    border-radius: 999px !important;
    font-family: var(--medium);
    font-size: 15px !important;
    box-shadow: none !important;
    transition: background .3s ease, color .3s ease, border-color .3s ease !important;
}

section.industry-expertise-section .industry-ctas .btn-blue {
    border: 0 !important;
    background: #ff9f0a !important;
    color: #111 !important;
}

section.industry-expertise-section .industry-ctas .btn-blue svg path {
    stroke: currentColor !important;
}

section.industry-expertise-section .industry-ctas .btn-blue:hover {
    background: #fff !important;
    color: #111 !important;
}

section.industry-expertise-section .industry-ctas .industry-btn-secondary {
    border: 1px solid rgba(255, 255, 255, .35) !important;
    background: transparent !important;
    color: #fff !important;
}

section.industry-expertise-section .industry-ctas .industry-btn-secondary:hover {
    border-color: #fff !important;
    background: #fff !important;
    color: #111 !important;
}

/* device mockup */
section.industry-expertise-section .industry-app-mockup {
    display: flex !important;
    justify-content: center;
    margin: 0 !important;
}

section.industry-expertise-section .app-mockup-frame {
    position: relative;
    animation: indFloat 6s ease-in-out infinite;
}

section.industry-expertise-section .app-mockup-screen {
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

section.industry-expertise-section .app-mockup-screen img {
    display: block;
    width: auto !important;
    max-width: 300px !important;
    height: auto !important;
    max-height: 600px;
    margin: 0 auto;
    filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55));
}

@keyframes indFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* arrows */
section.industry-expertise-section .industry-arrows {
    position: absolute !important;
    right: var(--ind-g) !important;
    bottom: 48px !important;
    left: auto !important;
    top: auto !important;
    z-index: 20;
    display: flex !important;
    gap: 10px;
}

section.industry-expertise-section .industry-arrows .swiper_btn {
    position: static !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, .3) !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 20px;
    box-shadow: none !important;
    cursor: pointer;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}

section.industry-expertise-section .industry-arrows .swiper_btn:hover {
    border-color: #ff9f0a !important;
    background: #ff9f0a !important;
    color: #111 !important;
}

section.industry-expertise-section .industry-arrows .swiper_btn i {
    color: inherit !important;
}

/* ---------- motion on the active slide ---------- */
section.industry-expertise-section .swiper-slide-active .ind-photo {
    animation: indKen 8s cubic-bezier(.22, 1, .36, 1) both;
}

section.industry-expertise-section .swiper-slide-active .industry-content h3,
section.industry-expertise-section .swiper-slide-active .industry-description,
section.industry-expertise-section .swiper-slide-active .industry-feature,
section.industry-expertise-section .swiper-slide-active .industry-ctas {
    animation: indUp .8s cubic-bezier(.22, 1, .36, 1) both;
}

section.industry-expertise-section .swiper-slide-active .industry-content h3 { animation-delay: .25s; }
section.industry-expertise-section .swiper-slide-active .industry-description { animation-delay: .35s; }
section.industry-expertise-section .swiper-slide-active .industry-feature:nth-child(1) { animation-delay: .45s; }
section.industry-expertise-section .swiper-slide-active .industry-feature:nth-child(2) { animation-delay: .52s; }
section.industry-expertise-section .swiper-slide-active .industry-feature:nth-child(3) { animation-delay: .59s; }
section.industry-expertise-section .swiper-slide-active .industry-feature:nth-child(4) { animation-delay: .66s; }
section.industry-expertise-section .swiper-slide-active .industry-ctas { animation-delay: .75s; }

section.industry-expertise-section .swiper-slide-active .industry-app-mockup {
    animation: indPhone 1.1s cubic-bezier(.22, 1, .36, 1) .35s both;
}

@keyframes indKen {
    from { transform: scale(1.16); }
    to { transform: scale(1); }
}

@keyframes indUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: none; }
}

@keyframes indPhone {
    from { opacity: 0; transform: translateY(90px) rotate(6deg); }
    to { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1399px) {
    section.industry-expertise-section .industry-content h3 {
        font-size: 42px !important;
    }

    section.industry-expertise-section .industry-nav {
        gap: 26px !important;
    }

    section.industry-expertise-section .industry-tab {
        font-size: 14px !important;
    }
}

@media (max-width: 1199px) {
    section.industry-expertise-section .section-title-wrap .h2 {
        font-size: 42px !important;
    }

    section.industry-expertise-section .industry-content h3 {
        font-size: 36px !important;
    }

    section.industry-expertise-section .app-mockup-screen img {
        max-width: 250px !important;
    }
}

@media (max-width: 991px) {
    section.industry-expertise-section {
        padding-top: 80px !important;
    }

    section.industry-expertise-section .section-title-wrap {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 36px !important;
        padding: 0 20px !important;
    }

    section.industry-expertise-section .section-title-wrap .h2 {
        font-size: 34px !important;
    }

    section.industry-expertise-section .industry-nav-container {
        padding: 0 20px !important;
    }

    section.industry-expertise-section .industry-tab {
        padding: 22px 0 18px !important;
    }

    section.industry-expertise-section .industry-slide,
    section.industry-expertise-section .industry-content {
        min-height: 0;
    }

    section.industry-expertise-section .industry-overlay {
        background: linear-gradient(180deg, rgba(10, 10, 12, .88) 0%, rgba(10, 10, 12, .8) 55%, rgba(10, 10, 12, .92) 100%) !important;
    }

    section.industry-expertise-section .industry-content {
        padding: 120px 20px 120px !important;
    }

    section.industry-expertise-section .industry-content h3 {
        font-size: 32px !important;
    }

    section.industry-expertise-section .app-mockup-screen img {
        max-width: 220px !important;
        max-height: 450px;
    }

    section.industry-expertise-section .industry-arrows {
        right: 20px !important;
        bottom: 36px !important;
    }
}

@media (max-width: 575px) {
    section.industry-expertise-section {
        padding-top: 56px !important;
    }

    section.industry-expertise-section .section-title-wrap {
        padding: 0 16px !important;
    }

    section.industry-expertise-section .section-title-wrap .h2 {
        font-size: 27px !important;
    }

    section.industry-expertise-section .section-title-wrap .body-2,
    section.industry-expertise-section .industry-description p {
        font-size: 15px !important;
    }

    section.industry-expertise-section .industry-nav-container {
        padding: 0 16px !important;
    }

    section.industry-expertise-section .industry-nav {
        gap: 22px !important;
    }

    section.industry-expertise-section .industry-content {
        padding: 108px 16px 110px !important;
    }

    section.industry-expertise-section .industry-content h3 {
        font-size: 27px !important;
    }

    section.industry-expertise-section .industry-feature-grid {
        grid-template-columns: 1fr;
        gap: 16px !important;
    }

    section.industry-expertise-section .industry-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    section.industry-expertise-section .industry-arrows {
        right: 16px !important;
        bottom: 30px !important;
    }

    section.industry-expertise-section .industry-arrows .swiper_btn {
        width: 44px !important;
        height: 44px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    section.industry-expertise-section .swiper-slide-active *,
    section.industry-expertise-section .app-mockup-frame {
        animation: none !important;
    }
}

/* square edges; device mockup stays visible on every screen */
section.industry-expertise-section .industry-slide,
section.industry-expertise-section .industryExpertiseSlider,
section.industry-expertise-section .industry-bg-wrapper {
    border-radius: 0 !important;
}

section.industry-expertise-section .industry-content .col-lg-5 {
    display: block !important;
}

@media (max-width: 991px) {
    section.industry-expertise-section .industry-content .col-lg-5 {
        margin-top: 44px;
    }
}

/* ================= v2: bigger devices, calmer photo, stronger copy ================= */

/* photo sits on the right; the copy side is near-solid for readability */
section.industry-expertise-section .industry-overlay {
    background:
        linear-gradient(90deg, rgba(10, 10, 12, .97) 0%, rgba(10, 10, 12, .94) 40%, rgba(10, 10, 12, .6) 62%, rgba(10, 10, 12, .38) 100%),
        linear-gradient(0deg, rgba(10, 10, 12, .8) 0%, rgba(10, 10, 12, 0) 34%),
        linear-gradient(180deg, rgba(10, 10, 12, .6) 0%, rgba(10, 10, 12, 0) 22%) !important;
}

section.industry-expertise-section .ind-photo {
    object-position: 70% center !important;
}

/* copy */
section.industry-expertise-section .industry-content h3 {
    font-size: 54px !important;
    margin-bottom: 22px !important;
}

section.industry-expertise-section .industry-description p {
    color: rgba(255, 255, 255, .86) !important;
    font-size: 18px !important;
    line-height: 1.75 !important;
}

section.industry-expertise-section .industry-feature-grid {
    gap: 26px 36px !important;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

section.industry-expertise-section .industry-feature-title {
    font-size: 16px !important;
}

section.industry-expertise-section .industry-feature-desc {
    color: rgba(255, 255, 255, .78) !important;
    font-size: 14.5px !important;
}

/* layout: copy and device share the width more evenly */
@media (min-width: 992px) {
    section.industry-expertise-section .industry-content .row {
        display: grid !important;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
        column-gap: 48px;
        margin: 0 !important;
    }

    section.industry-expertise-section .industry-content .row > [class*="col-"] {
        width: auto !important;
        max-width: none !important;
        flex: none !important;
        padding: 0 !important;
    }
}

/* device: larger, grounded, lit from behind */
section.industry-expertise-section .industry-app-mockup {
    position: relative;
    align-items: center;
    min-height: 560px;
}

section.industry-expertise-section .industry-app-mockup::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 78%;
    aspect-ratio: 1;
    transform: translate(-50%, -52%);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 159, 10, .22), rgba(255, 159, 10, .08) 55%, rgba(255, 159, 10, 0) 100%);
    pointer-events: none;
}

section.industry-expertise-section .industry-app-mockup::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2%;
    width: 62%;
    height: 34px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
    filter: blur(4px);
    pointer-events: none;
    animation: indShadow 6s ease-in-out infinite;
}

@keyframes indShadow {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: .9; }
    50% { transform: translateX(-50%) scale(.86); opacity: .6; }
}

section.industry-expertise-section .app-mockup-frame {
    position: relative;
    z-index: 1;
    width: 100% !important;
    max-width: 540px;
}

section.industry-expertise-section .app-mockup-screen img {
    width: 100% !important;
    max-width: 520px !important;
    max-height: none !important;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6));
}

@media (min-width: 1600px) {
    section.industry-expertise-section .industry-slide,
    section.industry-expertise-section .industry-content {
        min-height: 820px;
    }

    section.industry-expertise-section .app-mockup-screen img {
        max-width: 560px !important;
    }

    section.industry-expertise-section .app-mockup-frame {
        max-width: 580px;
    }
}

@media (max-width: 1399px) {
    section.industry-expertise-section .industry-content h3 {
        font-size: 44px !important;
    }

    section.industry-expertise-section .industry-description p {
        font-size: 17px !important;
    }

    section.industry-expertise-section .app-mockup-screen img {
        max-width: 460px !important;
    }

    section.industry-expertise-section .industry-app-mockup {
        min-height: 500px;
    }
}

@media (max-width: 1199px) {
    section.industry-expertise-section .industry-content h3 {
        font-size: 38px !important;
    }

    section.industry-expertise-section .app-mockup-screen img {
        max-width: 400px !important;
    }

    section.industry-expertise-section .industry-app-mockup {
        min-height: 440px;
    }
}

/* tablet & mobile: copy on solid dark, device below at a comfortable size */
@media (max-width: 991px) {
    section.industry-expertise-section .industry-overlay {
        background: linear-gradient(180deg, rgba(10, 10, 12, .93) 0%, rgba(10, 10, 12, .9) 60%, rgba(10, 10, 12, .8) 100%) !important;
    }

    section.industry-expertise-section .industry-content h3 {
        font-size: 34px !important;
    }

    section.industry-expertise-section .industry-description p {
        font-size: 16px !important;
    }

    section.industry-expertise-section .industry-app-mockup {
        min-height: 0;
        padding: 10px 0 20px;
    }

    section.industry-expertise-section .app-mockup-screen img {
        max-width: min(420px, 92%) !important;
    }
}

@media (max-width: 575px) {
    section.industry-expertise-section .industry-content h3 {
        font-size: 28px !important;
    }

    section.industry-expertise-section .industry-description p {
        font-size: 15.5px !important;
    }

    section.industry-expertise-section .industry-feature-desc {
        font-size: 14px !important;
    }

    section.industry-expertise-section .app-mockup-screen img {
        max-width: 100% !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    section.industry-expertise-section .industry-app-mockup::after {
        animation: none !important;
    }
}

/* arrows move under the copy so they never sit on the device */
@media (min-width: 992px) {
    section.industry-expertise-section .industry-content {
        padding-bottom: 150px !important;
    }

    section.industry-expertise-section .industry-arrows {
        left: var(--ind-g) !important;
        right: auto !important;
        bottom: 56px !important;
    }
}
