/* ---- from front-page.php (originally lines 203-778) ---- */
/* =========================================================
   PLATFORM STORY SLIDER — ported as-is from the reference
   file (same colors/values), classes prefixed "pss-" only
   to avoid clashing with the rest of the theme's CSS.
========================================================= */

.platform-story-section {
    position: relative;
    background: radial-gradient(
        ellipse 95% 54% at 50% 54%,
        rgba(253, 89, 2, 0.85) 0%,
        rgba(253, 89, 2, 0.6) 40%,
        rgba(253, 89, 2, 0.32) 55%,
        rgba(253, 89, 2, 0) 85%
    ), #000000;
}

/* Center the section title + description */
.msos-heading-row { display: flex; justify-content: center; margin-bottom: 10px; }
.msos-heading-text { max-width: 640px; margin: 0 auto; }
.msos-heading-text .industry-title,
.msos-heading-text .industry-subtitle { text-align: center; }

/* --- Top Navigation --- */
.pss-nav-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 30px 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 10;
}

.pss-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: none;
    background: none;
    color: white;
}

.pss-nav-item.active, .pss-nav-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.pss-nav-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin-bottom: 8px;
    background-color: var(--boxbk);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-dark);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.pss-nav-item.active .pss-nav-icon,
.pss-nav-item:hover .pss-nav-icon {
    border-color: var(--btn-color);
    background-color: rgba(253, 89, 2, 0.12);
}

.pss-nav-icon i {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s ease;
}

.pss-nav-item.active .pss-nav-icon i,
.pss-nav-item:hover .pss-nav-icon i {
    color: #ffffff;
}

.pss-nav-label {
    font-size: 13px;
    font-weight: 500;
}

/* --- Slider Container --- */
.pss-slider-wrapper {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0 80px 0;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.pss-slider-wrapper.pss-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.pss-slider-wrapper::-webkit-scrollbar {
    display: none;
}

.pss-slider-wrapper.pss-dragging * {
    user-select: none;
    pointer-events: none;
}

/* --- Track: padding reduced so first card sits close to the
       left edge on typical screens. On very wide viewports it
       grows so the layout stays balanced. --- */
.pss-slider-track {
    display: flex;
    gap: 20px;
    padding: 0 max(120px, calc(50vw - 850px));
    width: max-content;
}

/* --- Cards Structure --- */
.pss-card {
    width: 900px;
    height: 520px;
    background-color: #0b0c10;
    border-radius: 24px;
    scroll-snap-align: center;
    display: flex;
    position: relative;
    box-shadow: 0 20px 32px -18px rgba(0, 0, 0, 0.55);
    /* border removed — no more outline around the right panel */
    overflow: hidden;
    z-index: 1;
}

/* Left Column */
.pss-card-left {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    background-color: #0b0c10;
    border-radius: 24px 0 0 24px;
    z-index: 2;
    /* Subtle outline only on left half, no right border */
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-right: none;
}

/* Right Column */
.pss-card-right {
    width: 50%;
    background-color: var(--boxbk);
    border-radius: 0 24px 24px 0;
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    border: none;
}

.pss-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border: none;
    transition: transform 0.5s ease;
}

.pss-card:hover .pss-card-image {
    transform: scale(1.03);
}

/* Spotlight */
.pss-card-right::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(500px circle at var(--pss-mouse-x, 50%) var(--pss-mouse-y, 50%), rgba(255, 255, 255, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.pss-card:hover .pss-card-right::before {
    opacity: 1;
}

/* --- Typography --- */
.pss-card-category {
    color: #fd5902;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.pss-card-title {
    font-size: 34px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.pss-card-footer-text {
    margin-top: auto;
    font-size: 16px;
    color: #9ca3af;
    line-height: 1.5;
}

/* --- Feature Items (kept for parity) --- */
.pss-feature-item {
    display: flex;
    align-items: center;
    background-color: #16181d;
    padding: 16px;
    border-radius: 12px;
    gap: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    border: 1px solid rgba(255,255,255,0.03);
}

.pss-feature-item:hover {
    background-color: #1f2229;
    transform: translateY(-2px);
}

.pss-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    flex-shrink: 0;
}

.pss-feature-icon.orange { background: #f7931a; color: white;}
.pss-feature-icon.blue { background: #2b5df5; }
.pss-feature-icon.dark { background: #2a2d36; }

.pss-feature-text {
    display: flex;
    flex-direction: column;
}

.pss-feature-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
}

.pss-feature-desc {
    font-size: 12px;
    color: #9ca3af;
}

/* =========================================================
   ZOOM HINT
   (now visible by default with a soft pulse, instead of
   only appearing on hover, so touch users see the cue too)
========================================================= */
.pss-zoom-hint {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.85;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 3;
    animation: pss-zoom-pulse 2.4s ease-in-out infinite;
}

.pss-zoom-hint svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.pss-card-right:hover .pss-zoom-hint {
    opacity: 1;
    animation: none;
}

@keyframes pss-zoom-pulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

@media (hover: none) {
    .pss-zoom-hint { opacity: 1; transform: translateY(0); animation: none; }
}

/* =========================================================
   LIGHTBOX — smooth spring-style entrance instead of a flat
   show/hide. transform + filter animate together on a
   expo-ease-out curve so it feels like the image "arrives"
   rather than snapping into view.
========================================================= */
.pss-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(6, 6, 8, 0.88);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 56px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, backdrop-filter 0.45s ease, visibility 0s linear 0.35s;
}

.pss-lightbox.pss-open {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: opacity 0.35s ease, backdrop-filter 0.45s ease, visibility 0s linear 0s;
}

.pss-lightbox-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 92vw;
    max-height: 78vh;
}

.pss-lightbox-img {
    max-width: 92vw;
    max-height: 78vh;
    width: auto;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
    cursor: crosshair;
    opacity: 0;
    transform: scale(0.88) translateY(18px);
    filter: blur(6px);
    transition:
        opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* When lens is active, hide the native cursor so the lens is
   the only visual feedback under the pointer. */
.pss-lightbox-stage.pss-lens-active .pss-lightbox-img {
    cursor: none;
}

.pss-lightbox.pss-open .pss-lightbox-img.pss-loaded {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
}

/* Quick cross-fade when navigating prev/next without closing */
.pss-lightbox-img.pss-switching {
    opacity: 0;
    transform: scale(0.97);
    filter: blur(3px);
    transition:
        opacity 0.22s cubic-bezier(0.4, 0, 1, 1),
        transform 0.22s cubic-bezier(0.4, 0, 1, 1),
        filter 0.22s cubic-bezier(0.4, 0, 1, 1);
}

.pss-lightbox-spinner {
    position: absolute;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    transition: opacity 0.2s ease;
    animation: pss-spin 0.8s linear infinite;
    pointer-events: none;
}

.pss-lightbox-spinner.pss-visible {
    opacity: 1;
}

@keyframes pss-spin {
    to { transform: rotate(360deg); }
}

.pss-lightbox-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 22px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

.pss-lightbox.pss-open .pss-lightbox-footer {
    opacity: 1;
    transform: translateY(0);
}

.pss-lightbox-caption {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.pss-lightbox-counter {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    letter-spacing: 0.5px;
}

.pss-lightbox-close {
    position: absolute;
    top: 22px;
    right: 26px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
    z-index: 3;
}

.pss-lightbox-close svg {
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
}

.pss-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.pss-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transition: background 0.2s ease, border-color 0.2s ease, opacity 0.3s ease 0.1s, transform 0.2s ease;
}

.pss-lightbox.pss-open .pss-lightbox-nav {
    opacity: 1;
}

.pss-lightbox-nav svg {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pss-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.32);
}

.pss-lightbox-nav:active {
    transform: translateY(-50%) scale(0.92);
}

.pss-lightbox-prev { left: 26px; }
.pss-lightbox-next { right: 26px; }

/* =========================================================
   🔍 ZOOM LENS (e-commerce style magnifier)
   - Fixed-position circular lens that follows the cursor.
   - The magnified view is drawn as the lens's background-image.
   - Only shown on devices with a real hover + fine pointer.
========================================================= */
.pss-zoom-lens {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.7),
        inset 0 0 0 1px rgba(0, 0, 0, 0.35),
        inset 0 0 24px rgba(0, 0, 0, 0.25);
    background-color: #0b0c10;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 10;
    display: none; /* hidden by default, enabled via media query */
    will-change: left, top, background-position;
}

.pss-zoom-lens.pss-active {
    opacity: 1;
    transform: scale(1);
}

/* Enable only on hover-capable, fine-pointer devices */
@media (hover: hover) and (pointer: fine) {
    .pss-zoom-lens { display: block; }
}

@media (max-width: 767px) {
    .pss-lightbox { padding: 20px; }
    .pss-lightbox-nav { width: 40px; height: 40px; }
    .pss-lightbox-prev { left: 10px; }
    .pss-lightbox-next { right: 10px; }
    .pss-lightbox-close { top: 14px; right: 14px; }
    .pss-zoom-lens { width: 180px; height: 180px; }
}

/* ---- from front-page.php (originally lines 1163-1280) ---- */
     h5 {
         font-weight: 600;
         line-height: 30px;
     }

     /* ================= BASE CARD ================= */
     .feature-card {
         position: relative;
         border-radius: 20px;
         padding: 30px;
         color: #fff;
         overflow: hidden;
         padding-right: 0;
     }

     /* ================= HEIGHT CONTROL ================= */
     .feature-card-lg {
         min-height: 480px;
     }

     .feature-card-md,
     .feature-card-sm {
         min-height: 325px;
     }

     /* ================= LEFT BIG CARD ================= */
     .feature-left {
         display: grid;
         grid-template-rows: auto 1fr;
         background: linear-gradient(180deg,
                 #a12a00 0%,
                 var(--boxbk) 15%);
         position: relative;
         top: 0px;
         min-height: 606px;
     }

     .feature-title {
         font-size: 34px;
         font-weight: 700;
         margin-bottom: 20px;
     }

     .feature-left-image {
         justify-self: end;
         align-self: stretch;
         width: 80%;
         object-fit: contain;
     }

     /* ================= RIGHT CARDS ================= */
     .feature-top,
     .feature-bottom-left,
     .feature-bottom-right {
         display: flex;
         flex-direction: column;
         justify-content: flex-end;
     }

     /* ================= BACKGROUNDS ================= */
     .feature-top {
         background: url("../../img/A19_optimized.webp") center / cover no-repeat;
     }

     .feature-bottom-left {
         background:
             url("../../img/A1.svg") top center no-repeat,
             var(--boxbk);
         background-size: contain;
     }

     .feature-bottom-right {
         background: url("../../img/A2.svg") center / cover no-repeat;
         background-color: var(--boxbk);
     }

     /* ================= TITLE ================= */
     .infra-title {
         font-size: 56px;
         font-weight: 500;
             margin-bottom: 40px;

     }
.hero-bg-lines.herohome {

 background-image: url("../../img/A20.svg");}


     /* ================= REAL TIME MONITORING BOX ================= */
     .infra-box {
         background: var(--boxbk);
         border-radius: 28px;
         padding: 40px;
         height: 240px;
         position: relative;
         overflow: hidden;
         background-image: url("../../img/A3.svg");
         background-repeat: no-repeat;
         background-position: bottom right;
         background-size: 100% auto;
         box-shadow: 0 0 30px rgba(255, 90, 0, 0.08) inset;
         margin-top: 26px;
     }

     /* ================= MOBILE ================= */
     @media (max-width: 768px) {
         .infra-title {
             font-size: 32px;
         }

         .infra-box {
             height: 260px;
             padding: 28px;
             background-size: 160% auto;
         }
     }

/* ---- from front-page.php (originally lines 1319-1323) ---- */
h2.video-title {
    font-size: 72.46px;
}

/* ---- from front-page.php (originally lines 1491-1521) ---- */
                            /* Make it look disabled */
.disablestage {
    opacity: 0.5;
    filter: grayscale(100%);
}

/* Disable all interaction */
.disablestage .disabled-link {
    pointer-events: none;
    cursor: default;
}

/* Remove hover effects completely */
.disablestage .sub-card {
    transform: none !important;
    box-shadow: none !important;
    transition: none !important;
}

/* Ensure hover doesn't change anything */
.disablestage:hover .sub-card {
    transform: none !important;
    box-shadow: none !important;
}

/* Optional: soften image */
.disablestage img {
    opacity: 0.7;
}

/* ---- from front-page.php (originally lines 1664-1751) ---- */
/* Card styling */
.counter-card {
    text-align: left;
    padding: 10px 15px;
}

/* Title */
.counter-title {
    font-size: 18px;
    font-weight: 600;
    margin-top: 5px;
}

/* Description */
.counter-small-desc {

    font-size: 14px;
    opacity: 0.8;
}

/* Layout */
.counter-row {
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
}

.counter-row > div {
    flex: 0 0 33.33%;
    max-width: 33.33%;
}

/* Responsive */
@media (max-width: 991px) {
    .counter-row > div {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }

    .counter-card {
        text-align: center;
    }
}

/* Fade */
.counter-fade-wrap {
    position: relative;
    overflow: hidden;
}

.fade-left,
.fade-right {
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.fade-left {
    left: 0;
    background: linear-gradient(to right, #000, transparent);
}

.fade-right {
    right: 0;
    background: linear-gradient(to left, #000, transparent);
}

/* Scroll */
.counter-track {
    display: flex;
    animation: scroll-left 45s linear infinite;
}

@keyframes scroll-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-100vw); }
}

/* ---- from front-page.php (originally lines 1758-1792) ---- */
    .damsspecial {
    position: relative;
    overflow: hidden;
}

.damsspecial img {
    width: 100%;
    display: block;
}

/* 🔥 Yellow/Orange cinematic overlay ONLY for dams */
.damsspecial::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(255, 200, 100, 0.75) 0%,   /* soft yellow glow */
        rgba(255, 140, 0, 0.65) 40%,    /* warm orange */
        rgba(0, 0, 0, 0.5) 100%         /* depth at bottom */
    );

    mix-blend-mode: multiply; /* gives that rich sunset feel */
    z-index: 1;
    pointer-events: none;
}

/* ensure text stays above overlay */
.damsspecial .overlay {
    position: absolute;
    z-index: 2;
}

/* ---- from front-page.php (originally lines 1971-2072) ---- */
/* ================= AWARDS SECTION ================= */

.awards-section .container {
    background: url("/wp-content/uploads/2026/03/award-background.svg");
    border-radius: 24px;
    padding: 60px;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Top awards image */

.award-top-image img{
    max-width: 250px;
    height: auto;
    display: block;
}

/* Award badge using PNG laurel */

.award-badge {
    width: 277px;
    aspect-ratio: 1 / 1;
    background-image: url("/wp-content/uploads/2026/03/awardleaf.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    position: relative;
}

/* Soft gold glow */

.award-badge::after {
    content: "";
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 185, 90, 0.25) 0%,
        rgba(255, 185, 90, 0.08) 45%,
        rgba(0, 0, 0, 0) 70%
    );
    z-index: 0;
}

/* Award text */

.award-text {
    position: relative;
    z-index: 1;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    color: #ffcc80;
    max-width: 180px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {

    .awards-section .container {
        padding: 40px;
    }

    .award-badge {
        width: 230px;
    }

    .award-top-image{
        text-align:center;
    }

    .award-top-image img{
        margin:0 auto;
        max-width:200px;
    }

}

@media (max-width: 575px) {

    .award-badge {
        width: 210px;
    }

    .award-text {
        font-size: 14px;
    }

}

/* ---- from front-page.php (originally lines 2287-2336) ---- */

/* Stack container */
.preview-stack {
    position: relative;
    width: 100%;
    max-width: 680px;
    height: 460px;
    margin-left: auto;
}

/* Common image style */
.preview-img {
    position: absolute;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s ease, z-index 0.3s ease;
    cursor: pointer;
}

/* Back image */
.img-back {
    top: 0;
    left: 0;
    z-index: 1;
}

/* Bottom-left overlap */
.img-bottom {
    width: 80%;
    bottom: -10px;
    left: -10px;
    z-index: 2;
}

/* Top-right overlap */
.img-top {
    width: 66%;
    top: 40px;
    right: -10px;
    z-index: 3;
}


.preview-img:hover {
    z-index: 10;
    transform: scale(1.03);
}

/* ---- from front-page.php (originally lines 2344-2488) ---- */
/* ---------- General ---------- */
@media (max-width: 991px) {
    .container { padding-left: 20px; padding-right: 20px; }
}
img { max-width: 100%; height: auto; }

/* ---------- Logo scroller ---------- */
@media (max-width: 768px) {
    .logo-scroller-wrapper { padding: 0 10px; }
    .fade-left, .fade-right { width: 40px; }
}

/* ---------- Feature section ---------- */
@media (max-width: 991px) {
    .infra-title { font-size: 38px; }

    /* stack the two columns and let each card size to content */
    .feature-section .col-sm-7,
    .feature-section .col-sm-5 { width: 100%; max-width: 100%; flex: 0 0 100%; }

    .feature-left { min-height: 420px; }
    .feature-card-lg { min-height: 360px; padding: 24px; }
    .feature-title { font-size: 26px; }
    .feature-left-image { width: 65%; }

    .feature-card-md, .feature-card-sm { min-height: 220px; padding: 24px; }
}

@media (max-width: 575px) {
    .infra-title { font-size: 30px; margin-bottom: 24px; }
    .feature-left { min-height: 340px; }
    .feature-card-lg { min-height: 300px; }
    .feature-title { font-size: 22px; }
    .feature-left-image { width: 55%; }
    .feature-card-md, .feature-card-sm { min-height: 180px; padding: 18px; }
    h5 { font-size: 16px; line-height: 22px; }
    .infra-box { height: 220px; padding: 20px; background-size: 220% auto; }
}

/* ---------- Platform story slider ---------- */
@media (max-width: 991px) {
    .pss-nav-container { flex-wrap: wrap; gap: 10px 18px; padding: 20px 16px; }
    .pss-nav-icon { width: 44px; height: 44px; }
    .pss-nav-label { font-size: 11px; }

    /* Cards become fluid instead of a fixed 900px, and the two
       internal columns stack top/bottom instead of side by side. */
    .pss-slider-track { padding: 0 16px; gap: 16px; }
    .pss-card {
        width: 86vw;
        max-width: 480px;
        height: auto;
        flex-direction: column;
    }
    .pss-card-left, .pss-card-right {
        width: 100%;
        border-radius: 0;
    }
    .pss-card-left {
        padding: 24px;
        border: none;
        order: 2;
    }
    .pss-card-right {
        height: 220px;
        order: 1;
        border-radius: 24px 24px 0 0;
    }
    .pss-card-left { border-radius: 0 0 24px 24px; }
    .pss-card-image { position: static; width: 100%; height: 100%; }
    .pss-card-title { font-size: 24px; margin-bottom: 12px; }
    .pss-card-footer-text { font-size: 14px; margin-top: 12px; }
}

/* ---------- Video section ---------- */
@media (max-width: 991px) {
    h2.video-title { font-size: 42px; }
    #smartVideo { height: 42vh !important; border-radius: 12px !important; }
}
@media (max-width: 575px) {
    h2.video-title { font-size: 30px; }
    #smartVideo { height: 32vh !important; }
}

/* ---------- Subproducts ---------- */
@media (max-width: 991px) {
    .sub-left-box { padding: 30px 20px; text-align: center; }
    .sub-left-title { font-size: 26px; }
}

/* ---------- Counter section ---------- */
@media (max-width: 575px) {
    .counter-big .count { font-size: 44px; }
    .counter-desc { font-size: 14px; text-align: center; }
    .counter-section .col-md-3 { text-align: center; margin-bottom: 20px; }
}

/* ---------- Industry / application cards ---------- */
@media (max-width: 991px) {
    .industry-title { font-size: 32px; }
    .industry-card img { height: 260px; object-fit: cover; }
}
@media (max-width: 575px) {
    .industry-title { font-size: 26px; }
    .industry-subtitle { font-size: 14px; }
}

/* ---------- Awards ---------- */
@media (max-width: 575px) {
    .awards-section .container { padding: 28px 20px; }
    .award-badge { width: 170px; }
    .award-text { font-size: 12px; }
}

/* ---------- Testimonials marquee ---------- */
@media (max-width: 575px) {
    .testimonials-marquee .industry-title { font-size: 26px; }
}

/* ---------- Product preview stack ---------- */
@media (max-width: 767px) {
    .preview-stack {
        height: auto;
        max-width: 420px;
        margin: 0 auto;
        padding-bottom: 60px; /* room for the offset images below */
    }
    .product-preview-section .col-md-5 { text-align: center; margin-bottom: 30px; }
}
@media (max-width: 575px) {
    .preview-stack { padding-bottom: 50px; }
    .img-bottom { width: 78%; }
    .img-top { width: 62%; top: 30px; }
}

/* ---------- FAQ ---------- */
@media (max-width: 575px) {
    .faq-heading-main { font-size: 24px; }
    .faq-accordion .accordion-button { font-size: 14px; padding: 14px; }
    .faq-accordion .accordion-body { font-size: 14px; }
}

/* ---- from front-page.php (originally lines 2496-2514) ---- */
.a20-vortex-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}
.a20-vortex-layer svg {
    position: absolute;
    display: block;
    overflow: visible;
}
.a20-vortex-layer .a20-stroke {
    transform-box: view-box;
    transform-origin: 676px 180px;
    will-change: transform;
}
