﻿/* ==============================================================
   ENCRYPTED INFOWEB - PORTFOLIO DETAIL / CASE STUDY PAGE STYLES
   ============================================================== */

:root {
    --pd-primary: #E5252A;
    --pd-primary-hover: #c81c20;
    --pd-primary-light: rgba(225, 31, 35, 0.08);
    --pd-primary-glow: rgba(225, 31, 35, 0.35);
    --pd-dark: #111827;
    --pd-darker: #0b0f19;
    --pd-surface: #ffffff;
    --pd-surface-alt: #F5F7FB;
    --pd-border: #E5E7EB;
    --pd-border-dark: rgba(255, 255, 255, 0.1);
    --pd-text-main: #111827;
    --pd-text-muted: #5B6472;
    --pd-text-light: #94a3b8;
    --pd-radius-sm: 8px;
    --pd-radius-md: 10px;
    --pd-radius-lg: 12px;
    --pd-shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
    --pd-shadow-card: 0 12px 32px rgba(15, 23, 42, 0.08);
    --pd-shadow-hero: 0 20px 48px rgba(15, 23, 42, 0.14);
    --pd-transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-detail-wrapper {
    background-color: #f8fafc;
    color: var(--pd-text-main);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: clip;
}

/* HTML layouts entered from the portfolio editor are complete page sections.
   Keep them out of the generic article/grid rules so their own responsive
   layout can occupy the full content width. */
.portfolio-editor-content {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: #fff;
}

.portfolio-editor-content > * {
    max-width: 100%;
}

.portfolio-editor-content img,
.portfolio-editor-content svg {
    max-width: 100%;
}

.portfolio-editor-content table {
    max-width: 100%;
}

/* ==============================================================
   PAGE HEADER BANNER (Site Standard - 1:1 Match with /products)
   ============================================================== */
.image-container,
.image-container.header-text {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 5% 0px 0% 0px;
}

/* Legibility scrim: keeps the overlaid title/breadcrumb readable over any
   banner image (busy dashboard screenshots included), without touching the
   image markup itself. */
.image-container.header-text::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.78) 32%, rgba(255,255,255,.15) 60%, rgba(255,255,255,0) 100%);
    z-index: 1;
    pointer-events: none;
}
.image-container.header-text .overlay-text {
    z-index: 2;
}

.full-width-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    font-weight: bold;
    color: #E42127;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
}

.overlay-text h1.hedding-color,
.overlay-text h1,
.overlay-text .banner-title-line,
.overlay-text h2.hedding-color,
.overlay-text h2 {
    color: #E42127;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
    font-size: 2.2rem; font-weight: 700; letter-spacing: -0.02em; }


.overlay-text p {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0;
    color: #212529;
}

.overlay-text p a {
    color: #212529;
    text-decoration: none;
}

.overlay-text p a:hover {
    color: #E42127;
}

.overlay-text .hedding-color {
    color: #E42127;
}

@media (max-width: 767px) {
    .full-width-image {
        height: 220px;
        object-fit: cover;
        object-position: center;
    }

    .overlay-text {
        left: 5%;
        right: 5%;
        top: 50%;
        font-size: 14px;
        padding: 5px;
    }

    .image-container,
    .image-container.header-text {
        position: relative;
        width: 100%;
        overflow: hidden;
        margin: 29% 0px 0% 0px;
    }
}

/* ==============================================================
   1. MAIN CONTAINER & GLOBAL LAYOUT SPACING
   ============================================================== */
.pd-container {
    max-width: 1180px; margin: 0 auto; padding: 0 24px;
    box-sizing: border-box;
}

/* ==============================================================
   2. 50/50 ALTERNATING SPLIT SECTIONS (ZIG-ZAG)
   ============================================================== */
.pd-split-section {
    padding: 72px 0;
    box-sizing: border-box;
}

.pd-split-section.first-section {
    padding-top: 55px;
    padding-bottom: 55px;
    border-top: none;
}

.pd-split-section.alt-bg {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.pd-split-grid {
    display: flex;
    align-items: center;
    gap: 70px;
}

.pd-split-grid.reverse {
    flex-direction: row-reverse;
}

.pd-split-col {
    flex: 1;
    width: 50%;
    box-sizing: border-box;
}

/* ==============================================================
   SIMPLE, CLEAN FRAMELESS PRODUCT VISUAL CARD
   ============================================================== */
.pd-visual-card {
    position: relative;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.28s ease !important;
    padding: 0 !important;
}

.pd-visual-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 24px 50px -10px rgba(15, 23, 42, 0.16) !important;
    border-color: #cbd5e1 !important;
}

/* Completely remove top header bar and all pseudo elements */
.pd-visual-header,
.pd-visual-dots,
.pd-visual-dot {
    display: none !important;
}

.pd-visual-card::before,
.pd-visual-card::after,
.pd-visual-header::before,
.pd-visual-header::after {
    display: none !important;
    content: none !important;
}

.pd-visual-img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    display: block !important;
    object-fit: cover !important;
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Content Text Side */
.pd-content-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pd-step-tag { display: none !important; }

.pd-section-heading {
    font-size: 30px; font-weight: 700; letter-spacing: -0.015em;
    color: var(--pd-dark);
    line-height: 1.3;
    letter-spacing: -0.015em;
    margin: 0;
}

.pd-lead-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--pd-text-muted);
    margin: 0;
}

.pd-lead-text p {
    margin: 0 0 10px;
    line-height: 1.7;
}

.pd-lead-text p:last-child {
    margin-bottom: 0;
}

.pd-lead-text p:empty,
.pd-lead-text p:blank {
    display: none !important;
}

/* Feature Cards Grid */
.pd-feature-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 4px;
}

.pd-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: #ffffff;
    border-radius: var(--pd-radius-md);
    border: 1px solid var(--pd-border);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: var(--pd-transition);
}

.pd-split-section.alt-bg .pd-feature-card {
    background: #ffffff;
}

.pd-feature-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    transform: translateX(3px);
}

.pd-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: var(--pd-transition);
}

.pd-feature-card:hover .pd-feature-icon {
    background: #fef2f2;
    color: var(--pd-primary);
    border-color: rgba(225, 31, 35, 0.2);
}

.pd-feature-info {
    flex: 1;
}

.pd-feature-info h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--pd-dark);
    margin: 0 0 5px;
}

.pd-feature-info p {
    font-size: 14px;
    color: var(--pd-text-muted);
    line-height: 1.55;
    margin: 0;
}

/* Metrics Row */
.pd-metrics-row {
    display: flex;
    gap: 18px;
    margin-top: 10px;
}

.pd-metric-item {
    flex: 1;
    background: #ffffff;
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-md);
    padding: 18px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.pd-metric-number {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
    display: block;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.pd-metric-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--pd-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* (Key Features styles moved to dedicated Section 2.2 below) */

/* ==============================================================
   2.5. THE CHALLENGE VS. THE SOLUTION
   ============================================================== */
.pd-challenge-section {
    padding: 72px 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.pd-section-header-centered {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.pd-section-subtitle {
    font-size: 15px;
    color: var(--pd-text-muted);
    line-height: 1.65;
    margin: 0;
}

.pd-cvs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.pd-cvs-card {
    background: #ffffff;
    border-radius: var(--pd-radius-md);
    border: 1px solid var(--pd-border);
    padding: 34px 30px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    gap: 22px;
    transition: var(--pd-transition);
}

.pd-cvs-card.challenge {
    background: #fafaf9;
    border-color: #e7e5e4;
}

.pd-cvs-card.solution {
    background: #ffffff;
    border-color: #e2e8f0;
}

.pd-cvs-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transform: translateY(-2px);
}

.pd-cvs-card-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.pd-cvs-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--pd-dark);
    margin: 0;
    line-height: 1.3;
}

.pd-cvs-caption {
    font-size: 13px;
    color: var(--pd-text-muted);
    font-weight: 400;
}

.pd-cvs-points {
    display: flex;
    flex-direction: column;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pd-cvs-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* Fallback icons when TinyMCE strips the .pd-cvs-icon span */
.pd-cvs-card.challenge .pd-cvs-point::before {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
}

.pd-cvs-card.solution .pd-cvs-point::before {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='9 12 11 14 15 10'/%3E%3C/svg%3E");
}

.pd-cvs-point:has(.pd-cvs-icon)::before {
    display: none !important;
}

.pd-cvs-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-top: 2px;
}

.pd-cvs-icon svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    fill: none;
    display: block;
}

.pd-cvs-icon.challenge {
    color: #94a3b8;
}

.pd-cvs-icon.solution {
    color: #10b981;
}

.pd-cvs-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: #475569;
}

.pd-cvs-text strong {
    color: var(--pd-dark);
    display: block;
    font-weight: 600;
    font-size: 14.5px;
    margin-bottom: 2px;
}

/* ==============================================================
   3. TECH STACK SPECIFICATION & ARCHITECTURE SHOWCASE
   ============================================================== */
.pd-specs-section {
    padding: 50px 0 55px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.pd-specs-header-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 34px auto;
}

.pd-specs-header-centered .pd-section-heading {
    font-size: 28px; font-weight: 700; letter-spacing: -0.015em;
    color: var(--pd-dark);
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin: 0;
}

.pd-tech-showcase-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.pd-tech-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    background: #ffffff;
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-lg);
    box-shadow: var(--pd-shadow-subtle);
    transition: var(--pd-transition);
    cursor: default;
    width: auto;
}

.pd-tech-item:hover {
    transform: translateY(-3px);
    border-color: rgba(229, 37, 42, 0.3);
    box-shadow: var(--pd-shadow-card);
}

.pd-tech-logo-wrap {
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.pd-tech-item:hover .pd-tech-logo-wrap {
    transform: scale(1.08);
}

.pd-tech-svg {
    height: 32px;
    width: auto;
    max-width: 36px;
    display: block;
    object-fit: contain;
}

.pd-tech-generic-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.pd-tech-name {
    font-size: 14.5px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    margin: 0;
    transition: color 0.2s ease;
}

.pd-tech-item:hover .pd-tech-name {
    color: var(--pd-primary);
}

/* ==============================================================
   4. PROJECT SCREENS: COVERFLOW SHOWCASE CAROUSEL
   ============================================================== */
.pd-showcase-section {
    background: #ffffff;
    padding: 25px 0 35px;
    border-top: 1px solid #e2e8f0;
    overflow: hidden;
}

.pd-screens-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* 3D Coverflow Stage */
.pd-coverflow-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
    padding: 0;
    user-select: none;
    -webkit-user-select: none;
}

.pd-coverflow-stage {
    position: relative;
    width: 100%;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.pd-coverflow-stage.is-dragging {
    cursor: grabbing !important;
}

.pd-coverflow-stage.is-dragging .pd-coverflow-card {
    transition: none !important;
    cursor: grabbing !important;
}

/* Coverflow Individual Card */
.pd-coverflow-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(340px, 50vw, 620px);
    height: 410px;
    border-radius: 12px;
    overflow: hidden;
    background: #090d16;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.28);
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1),
                opacity 0.45s cubic-bezier(0.25, 1, 0.5, 1),
                filter 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: center center;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.pd-card-frame {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #090d16;
    display: flex;
    flex-direction: column;
}

/* Mockup Browser Window Header on Cards */
.pd-card-mockup-bar {
    height: 28px;
    background: #1e293b;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.pd-mockup-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pd-mock-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.pd-mock-dot.d1 { background: #ef4444; }
.pd-mock-dot.d2 { background: #f59e0b; }
.pd-mock-dot.d3 { background: #10b981; }

.pd-card-frame img {
    width: 100%;
    height: calc(100% - 28px);
    object-fit: contain;
    object-position: center;
    display: block;
    background: #090d16;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Active (Center) Card */
.pd-coverflow-card.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 10;
    cursor: pointer;
    filter: none;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.45);
}

/* Prev (Left) Card */
.pd-coverflow-card.prev {
    transform: translate(calc(-50% - 74%), -50%) scale(0.9);
    opacity: 0.72;
    z-index: 5;
    filter: brightness(0.8);
}

/* Next (Right) Card */
.pd-coverflow-card.next {
    transform: translate(calc(-50% + 74%), -50%) scale(0.9);
    opacity: 0.72;
    z-index: 5;
    filter: brightness(0.8);
}

/* Hidden Cards */
.pd-coverflow-card.hidden-left {
    transform: translate(calc(-50% - 135%), -50%) scale(0.75);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.pd-coverflow-card.hidden-right {
    transform: translate(calc(-50% + 135%), -50%) scale(0.75);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

/* Bottom Centered Arrow Buttons */
.pd-coverflow-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
}

.pd-flow-nav-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.pd-flow-nav-btn:hover {
    background: #E11F23;
    color: #ffffff;
    border-color: #E11F23;
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(225, 31, 35, 0.25);
}

/* ==============================================================
   4.2. LIGHTBOX MODAL FOR CAROUSEL SCREENSHOTS
   ============================================================== */
.pd-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden !important;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pd-lightbox-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.pd-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 26, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.pd-lightbox-container {
    position: relative;
    z-index: 10;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 16px 24px;
    box-sizing: border-box;
    overflow: hidden !important;
}

.pd-lightbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.pd-lightbox-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}

.pd-lightbox-title {
    color: #ffffff;
    letter-spacing: -0.01em;
}

.pd-lightbox-bullet {
    color: rgba(255, 255, 255, 0.3);
}

.pd-lightbox-counter {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pd-lightbox-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pd-lightbox-btn.close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pd-lightbox-btn.close:hover {
    background: #E11F23;
    border-color: #E11F23;
    transform: scale(1.08);
}

.pd-lightbox-stage {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 10px 0;
    overflow: hidden !important;
}

.pd-lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
}

.pd-lightbox-nav-btn:hover {
    background: #ffffff;
    color: #0f172a;
    border-color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.pd-lightbox-nav-btn.prev {
    left: 12px;
}

.pd-lightbox-nav-btn.next {
    right: 12px;
}

.pd-lightbox-img-wrapper {
    max-width: calc(100% - 130px);
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
    background: #090d16;
}

.pd-lightbox-img-wrapper img {
    max-width: 100%;
    max-height: calc(100vh - 165px);
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Bottom Thumbnails Strip */
.pd-lightbox-thumbs-bar {
    display: flex;
    align-items: center;
    justify-content: safe center;
    gap: 10px;
    padding: 10px 20px 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    overflow-x: auto;
    overflow-y: hidden !important;
    max-width: 100%;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.pd-lightbox-thumbs-bar::-webkit-scrollbar {
    height: 4px;
    width: 0px !important;
}

.pd-lightbox-thumbs-bar::-webkit-scrollbar-track {
    background: transparent;
}

.pd-lightbox-thumbs-bar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.pd-lightbox-thumbs-bar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.pd-lightbox-thumb {
    width: 64px;
    height: 42px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: #090d16;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.pd-lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pd-lightbox-thumb:hover {
    opacity: 0.85;
}

.pd-lightbox-thumb.active {
    opacity: 1;
    border-color: #E11F23;
    box-shadow: 0 0 10px rgba(225, 31, 35, 0.6);
}

/* ==============================================================
   4.5. RELATED CASE STUDIES & PROJECTS
   ============================================================== */
.pd-related-section {
    padding: 72px 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.pd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pd-related-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #eef2f6;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
    position: relative;
    text-decoration: none;
}

.pd-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(225, 31, 35, 0.18), 0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: rgba(225, 31, 35, 0.3);
    text-decoration: none;
}

.pd-related-browser-bar {
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pd-related-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pd-rel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.pd-rel-dot.red { background: #ff5f56; }
.pd-rel-dot.yellow { background: #ffbd2e; }
.pd-rel-dot.green { background: #27c93f; }

.pd-related-address {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    background: #ffffff;
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    max-width: 170px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: capitalize;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.pd-related-card:hover .pd-related-address {
    border-color: rgba(225, 31, 35, 0.25);
    color: #E11F23;
}

.pd-related-img-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.pd-related-img-wrap img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
    padding: 8px 12px 0 12px;
    box-sizing: border-box;
}

.pd-related-card:hover .pd-related-img-wrap img {
    transform: scale(1.04);
}

.pd-related-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(225, 31, 35, 0.15);
    z-index: 2;
    text-transform: capitalize;
}

.pd-related-body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pd-related-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
    line-height: 1.35;
    transition: color 0.25s ease;
}

.pd-related-card:hover .pd-related-title {
    color: #E11F23;
}

.pd-related-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pd-related-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.pd-rel-tag {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.pd-related-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.pd-related-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #E11F23;
    transition: gap 0.25s ease;
}

.pd-related-card:hover .pd-related-link {
    gap: 12px;
}

/* ==============================================================
   5. CTA FOOTER SECTION
   ============================================================== */
.pd-cta-section {
    padding: 72px 0;
    background: #0a2558;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pd-cta-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.pd-cta-title {
    font-size: 32px; font-weight: 700; letter-spacing: -0.015em;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0;
}

.pd-cta-subtitle {
    font-size: 16px;
    line-height: 1.7;
    color: #cbd5e1;
    margin: 0;
}

.pd-cta-btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.pd-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--pd-primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(229, 37, 42, 0.25);
    transition: var(--pd-transition);
}

.pd-btn-primary:hover {
    background: var(--pd-primary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(225, 31, 35, 0.5);
    text-decoration: none;
}

.pd-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--pd-transition);
}

.pd-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ==============================================================
   5. RESPONSIVE DESIGN (TABLET & MOBILE)
   ============================================================== */
@media (max-width: 992px) {
    .pd-container {
        padding: 0 28px;
    }

    .pd-split-section {
        padding: 45px 0;
    }

    .pd-split-section.first-section {
        padding: 45px 0;
    }

    .pd-split-grid,
    .pd-split-grid.reverse {
        flex-direction: column;
        gap: 35px;
    }

    .pd-split-col {
        width: 100%;
    }

    .pd-visual-img {
        height: auto;
        max-height: 380px;
        object-fit: contain;
    }

    .pd-section-heading {
        font-size: 26px;
    }

    .pd-kf-section {
        padding: 45px 0;
    }

    .pd-kf-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .pd-kf-card {
        padding: 26px 20px;
    }

    .pd-challenge-section {
        padding: 45px 0;
    }

    .pd-section-header-centered {
        margin-bottom: 28px;
    }

    .pd-specs-section {
        padding: 40px 0 45px;
    }

    .pd-specs-header-centered {
        margin-bottom: 28px;
    }

    .pd-specs-header-centered .pd-section-heading {
        font-size: 24px;
    }

    .pd-tech-showcase-row {
        gap: 28px 20px;
        max-width: 680px;
    }

    .pd-tech-item {
        width: 120px;
    }

    .pd-showcase-section {
        padding: 25px 0 35px;
    }

    .pd-coverflow-stage {
        height: 380px;
    }

    .pd-coverflow-card {
        width: clamp(280px, 70vw, 500px);
        height: 340px;
    }

    .pd-coverflow-controls {
        margin-top: 12px;
    }

    .pd-cvs-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .pd-related-section {
        padding: 45px 0;
    }

    .pd-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .pd-cta-section {
        padding: 72px 0;
    }
}

@media (max-width: 640px) {
    .pd-container {
        padding: 0 20px;
    }

    .pd-split-section {
        padding: 38px 0;
    }

    .pd-split-section.first-section {
        padding: 38px 0;
    }

    .pd-split-grid,
    .pd-split-grid.reverse {
        gap: 28px;
    }

    .pd-visual-img {
        height: auto;
        max-height: 280px;
        object-fit: contain;
    }

    .pd-section-heading {
        font-size: 22px;
        line-height: 1.35;
    }

    .pd-lead-text {
        font-size: 14.5px;
    }

    .pd-metrics-row {
        flex-direction: column;
        gap: 10px;
    }

    .pd-kf-section {
        padding: 38px 0;
    }

    .pd-kf-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pd-kf-card {
        padding: 22px 18px;
    }

    .pd-kf-title {
        font-size: 17px;
    }

    .pd-kf-desc {
        font-size: 13.5px;
    }

    .pd-challenge-section {
        padding: 38px 0;
    }

    .pd-section-header-centered {
        margin-bottom: 24px;
    }

    .pd-cvs-card {
        padding: 24px 18px;
        gap: 14px;
    }

    .pd-cvs-title {
        font-size: 18px;
    }

    .pd-specs-section {
        padding: 35px 0 40px;
    }

    .pd-specs-header-centered {
        margin-bottom: 24px;
    }

    .pd-specs-header-centered .pd-section-heading {
        font-size: 21px;
        line-height: 1.3;
    }

    .pd-tech-showcase-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 12px;
        max-width: 320px;
    }

    .pd-tech-item {
        width: auto;
        padding: 6px 4px;
    }

    .pd-tech-logo-wrap {
        height: 42px;
        margin-bottom: 8px;
    }

    .pd-tech-svg {
        height: 36px;
        max-width: 42px;
    }

    .pd-tech-name {
        font-size: 13px;
    }

    .pd-showcase-section {
        padding: 20px 0 30px;
    }

    .pd-coverflow-stage {
        height: 280px;
    }

    .pd-coverflow-card {
        width: 86vw;
        height: 250px;
    }

    .pd-coverflow-card.prev {
        transform: translate(calc(-50% - 88%), -50%) scale(0.85);
        opacity: 0.5;
    }

    .pd-coverflow-card.next {
        transform: translate(calc(-50% + 88%), -50%) scale(0.85);
        opacity: 0.5;
    }

    .pd-coverflow-controls {
        margin-top: 10px;
    }

    .pd-related-section {
        padding: 38px 0;
    }

    .pd-related-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pd-cta-section {
        padding: 45px 0;
    }

    .pd-cta-title {
        font-size: 23px;
    }

    .pd-cta-subtitle {
        font-size: 14px;
    }

    .pd-btn-primary,
    .pd-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--pd-transition);
}

    /* Lightbox Mobile Adjustments */
    .pd-lightbox-container {
        padding: 14px 14px 16px;
    }

    .pd-lightbox-title {
        max-width: 170px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 13.5px;
    }

    .pd-lightbox-counter {
        font-size: 11.5px;
        padding: 2px 7px;
    }

    .pd-lightbox-img-wrapper {
        max-width: 100%;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    }

    .pd-lightbox-img-wrapper img {
        max-height: calc(80vh - 120px);
    }

    .pd-lightbox-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 14px;
        background: rgba(15, 23, 42, 0.6);
    }

    .pd-lightbox-nav-btn.prev {
        left: 4px;
    }

    .pd-lightbox-nav-btn.next {
        right: 4px;
    }

    .pd-lightbox-thumbs-bar {
        gap: 6px;
        padding: 8px 10px;
        overflow-y: hidden !important;
    }

    .pd-lightbox-thumb {
        width: 48px;
        height: 32px;
    }
}

/* ==============================================================
   EXTRA CASE-STUDY SECTION TYPES (Snapshot / Spotlights / Outcome /
   AI-Channel / Mid-Banner / Ways cards) - reusable across portfolios
   ============================================================== */

/* ==============================================================
   7. QUICK-FACTS SNAPSHOT - MODERN ENTERPRISE BENTO GRID
   ============================================================== */
.pd-snapshot-section {
    padding: 72px 0;
    background: var(--pd-surface-alt);
    border-top: 1px solid var(--pd-border);
    border-bottom: 1px solid var(--pd-border);
}

.pd-snapshot-section .pd-section-heading {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--pd-text-main);
    margin: 0 auto 36px auto;
    position: relative;
    letter-spacing: -0.01em;
}

.pd-snapshot-section .pd-section-heading::before {
    content: "PROJECT INTELLIGENCE";
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pd-primary);
    margin-bottom: 8px;
}

.pd-snapshot-table {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    width: 100% !important;
}

.pd-snapshot-table tbody {
    display: contents !important;
}

.pd-snapshot-table tr {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid var(--pd-border) !important;
    border-radius: var(--pd-radius-md) !important;
    padding: 22px 24px !important;
    box-shadow: var(--pd-shadow-subtle) !important;
    transition: var(--pd-transition) !important;
    position: relative !important;
    box-sizing: border-box !important;
}

.pd-snapshot-table tr:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(229, 37, 42, 0.35) !important;
    box-shadow: var(--pd-shadow-card) !important;
}

.pd-snapshot-table tr:not(:last-child) td {
    border-bottom: none !important;
}

.pd-snapshot-table td {
    padding: 0 !important;
    border: none !important;
}

.pd-snapshot-table td:first-child {
    width: auto !important;
    background: transparent !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: var(--pd-primary) !important;
    margin-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.pd-snapshot-table td:last-child {
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    color: var(--pd-text-main) !important;
    font-weight: 500 !important;
}

/* Wide spanning cards for rich content rows (Key Modules & AI Layer) */
.pd-snapshot-table tr:nth-child(6),
.pd-snapshot-table tr:nth-child(7) {
    grid-column: span 2 !important;
    background: #ffffff !important;
}

.pd-snapshot-table tr:nth-child(7) {
    border-left: 3px solid var(--pd-primary) !important;
}

@media (max-width: 991px) {
    .pd-snapshot-table {
        grid-template-columns: 1fr !important;
    }
    .pd-snapshot-table tr:nth-child(6),
    .pd-snapshot-table tr:nth-child(7) {
        grid-column: span 1 !important;
    }
}

/* Deployment spotlight cards */
.pd-spotlight-section {
    padding: 20px 0 50px;
    background: var(--pd-surface);
}

.pd-spotlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.pd-spotlight-card {
    background: var(--pd-surface-alt);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-lg);
    padding: 28px;
}

.pd-spotlight-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--pd-primary);
    margin-bottom: 10px;
}

.pd-spotlight-card p {
    color: var(--pd-text-muted);
    line-height: 1.7;
    margin: 0;
}

.pd-spotlight-note {
    margin-top: 18px;
    text-align: center;
    color: var(--pd-text-light);
    font-size: 0.9rem;
}

/* Before / After outcome table */
.pd-outcome-section {
    padding: 72px 0;
    background: var(--pd-surface-alt);
}

.pd-outcome-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--pd-surface);
    border-radius: var(--pd-radius-md);
    overflow: hidden;
    box-shadow: var(--pd-shadow-card);
}

.pd-outcome-table th,
.pd-outcome-table td {
    padding: 16px 18px;
    text-align: left;
    font-size: 0.92rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--pd-border);
}

.pd-outcome-table th {
    background: var(--pd-dark);
    color: #fff;
    font-weight: 600;
}

.pd-outcome-table td:first-child {
    font-weight: 600;
    color: var(--pd-dark);
    width: 18%;
}

.pd-outcome-table td:nth-child(2) {
    color: var(--pd-text-muted);
}

.pd-outcome-table td:nth-child(3) {
    color: var(--pd-text-main);
}

.pd-outcome-table tr:last-child td {
    border-bottom: none;
}

/* AI on WhatsApp / Slack / Email section */
.pd-ai-section {
    padding: 72px 0;
    background: var(--pd-dark);
    color: #fff;
}

.pd-ai-section .pd-section-heading {
    color: #fff;
}

.pd-ai-section .pd-step-tag { display: none !important; }

.pd-ai-section .pd-section-subtitle {
    color: rgba(255, 255, 255, 0.72);
    max-width: 720px;
    margin: 0 auto;
}

.pd-ai-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    margin-top: 32px;
    align-items: start;
}

.pd-chat-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd-chat-bubble {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px 16px 16px 4px;
    padding: 12px 18px;
    max-width: 90%;
    font-size: 0.92rem;
    color: #fff;
}

.pd-steps-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pd-step-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.pd-step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--pd-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-step-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.92rem;
}

.pd-step-card strong {
    color: #fff;
}

.pd-ai-small-print {
    margin-top: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
}

/* Mid-page booking banner */
.pd-mid-banner {
    padding: 48px 0;
    background: linear-gradient(135deg, var(--pd-primary) 0%, var(--pd-primary-hover) 100%);
    color: #fff;
    text-align: center;
}

.pd-mid-banner h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.pd-mid-banner p {
    color: rgba(255, 255, 255, 0.88);
    max-width: 640px;
    margin: 0 auto 22px;
}

.pd-mid-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--pd-primary);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--pd-transition);
}

.pd-mid-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    color: var(--pd-primary-hover);
}

/* Security & technology block */
.pd-security-section {
    padding: 72px 0;
    background: var(--pd-surface);
}

.pd-security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.pd-security-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--pd-surface-alt);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-md);
    padding: 16px 18px;
}

.pd-security-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--pd-primary-light);
    color: var(--pd-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-security-icon svg {
    width: 18px;
    height: 18px;
}

.pd-security-item p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--pd-text-muted);
    line-height: 1.55;
}

.pd-security-item strong {
    display: block;
    color: var(--pd-dark);
    margin-bottom: 2px;
}

/* Three Ways to Get This ERP cards */
.pd-ways-section {
    padding: 72px 0;
    background: var(--pd-surface-alt);
}

.pd-ways-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 28px;
}

.pd-ways-card {
    background: var(--pd-surface);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-lg);
    padding: 26px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--pd-shadow-subtle);
}

.pd-ways-card.featured {
    border-color: var(--pd-primary);
    box-shadow: var(--pd-shadow-card);
}

.pd-ways-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pd-dark);
    margin-bottom: 10px;
}

.pd-ways-card p {
    color: var(--pd-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
}

.pd-ways-best {
    font-size: 0.82rem;
    color: var(--pd-primary);
    font-weight: 600;
    margin-top: 10px;
}

.pd-ways-btn {
    display: inline-block;
    margin-top: 16px;
    text-align: center;
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--pd-dark);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
}

.pd-ways-card.featured .pd-ways-btn {
    background: var(--pd-primary);
}

.pd-respages-section {
    padding: 72px 0;
    background: var(--pd-surface);
    border-top: 1px solid var(--pd-border);
}

.pd-respages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 20px;
    margin-top: 32px;
}

.pd-respages-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 26px 24px 20px;
    background: var(--pd-surface);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-lg);
    box-shadow: var(--pd-shadow-subtle);
    text-decoration: none;
    transition: var(--pd-transition);
    position: relative;
    overflow: hidden;
}

.pd-respages-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pd-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--pd-transition);
}

.pd-respages-card:hover {
    border-color: var(--pd-primary);
    box-shadow: var(--pd-shadow-card);
    transform: translateY(-4px);
}

.pd-respages-card:hover::before {
    transform: scaleX(1);
}

.pd-respages-icon-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.pd-respages-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--pd-primary-light);
    color: var(--pd-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--pd-transition);
}

.pd-respages-icon svg {
    width: 20px;
    height: 20px;
}

.pd-respages-card:hover .pd-respages-icon {
    background: var(--pd-primary);
    color: #fff;
}

.pd-respages-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pd-primary);
}

.pd-respages-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--pd-dark);
    line-height: 1.45;
    flex-grow: 1;
    margin-bottom: 18px;
}

.pd-respages-footer {
    display: flex;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--pd-border);
}

.pd-respages-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pd-text-muted);
    transition: var(--pd-transition);
}

.pd-respages-arrow svg {
    width: 14px;
    height: 14px;
    transition: var(--pd-transition);
}

.pd-respages-card:hover .pd-respages-footer {
    border-top-color: var(--pd-primary-light);
}

.pd-respages-card:hover .pd-respages-arrow {
    color: var(--pd-primary);
}

.pd-respages-card:hover .pd-respages-arrow svg {
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .pd-respages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pd-respages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .pd-spotlight-grid,
    .pd-ai-grid,
    .pd-ways-grid,
    .pd-outcome-table {
        grid-template-columns: 1fr;
    }

    .pd-outcome-table,
    .pd-outcome-table thead,
    .pd-outcome-table tbody,
    .pd-outcome-table tr,
    .pd-outcome-table td {
        display: block;
        width: 100% !important;
    }

    .pd-outcome-table tr {
        margin-bottom: 15px;
        border-bottom: 2px solid var(--pd-border);
    }

    .pd-outcome-table thead {
        display: none;
    }
}






/* ==============================================================
   ENTERPRISE SAAS SYSTEM OVERRIDES (PROFESSIONAL ERP REDESIGN)
   Strict adherence to Enterprise SaaS palette & typography:
   - Primary BG: #FFFFFF / Alt BG: #F5F7FB
   - Primary Text: #111827 / Secondary Text: #5B6472
   - Accent: #E5252A / Borders: #E5E7EB
   - Container: 1180px / Balanced spacing: 64px - 72px
   - No repetitive centered blocks, no generic AI template cards
   ============================================================== */

:root {
    --pd-primary: #E5252A;
    --pd-primary-hover: #c81c20;
    --pd-primary-light: rgba(229, 37, 42, 0.08);
    --pd-primary-glow: rgba(229, 37, 42, 0.20);
    --pd-dark: #111827;
    --pd-darker: #0c121e;
    --pd-surface: #ffffff;
    --pd-surface-alt: #F5F7FB;
    --pd-border: #E5E7EB;
    --pd-border-subtle: #edf0f5;
    --pd-text-main: #111827;
    --pd-text-muted: #5B6472;
    --pd-text-light: #8A94A6;
    --pd-radius-sm: 6px;
    --pd-radius-md: 10px;
    --pd-radius-lg: 12px;
}

/* Page wrapper font and background */
.portfolio-detail-wrapper {
    background-color: #ffffff;
    color: var(--pd-text-main);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    letter-spacing: -0.011em;
}

/* Unified container */
.pd-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 1. Header Banner: clean, no white box overlay, sharp enterprise typography */
.overlay-text {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    right: 5%;
    max-width: 85%;
    box-sizing: border-box;
}

.overlay-text h1.hedding-color,
.overlay-text h1,
.overlay-text .banner-title-line {
    color: #E5252A !important;
    font-size: clamp(1.3rem, 1.6vw + 1rem, 2.35rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
    overflow-wrap: break-word;
}

.overlay-text p,
.overlay-text p a {
    color: #4b5563 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.overlay-text p a:hover {
    color: #E5252A !important;
}

/* 2. Section Spacing & Hierarchy */
.pd-split-section {
    padding: 68px 0;
    background: #ffffff;
}

.pd-split-section.alt-bg {
    background: #F5F7FB;
    border-top: 1px solid var(--pd-border);
    border-bottom: 1px solid var(--pd-border);
}

.pd-section-heading {
    font-size: 29px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--pd-dark);
    line-height: 1.28;
    margin: 0 0 12px 0;
}

.pd-lead-text {
    font-size: 15.5px;
    color: var(--pd-text-muted);
    line-height: 1.65;
}

.pd-step-tag { display: none !important; }

/* 3. Product Visual Mockup Card - delegated to primary .pd-visual-card */

/* ==============================================================
   2.2. KEY FEATURES SHOWCASE - VIBRANT COLORFUL ENTERPRISE REDESIGN
   ============================================================== */
.pd-kf-section {
    padding: 80px 0 !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.pd-kf-section .pd-section-header-centered {
    margin-bottom: 48px !important;
}

.pd-kf-section .pd-section-heading {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 12px !important;
}

.pd-kf-section .pd-section-subtitle {
    font-size: 16px !important;
    color: #64748b !important;
    max-width: 680px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
}

/* Category Group Headers */
.pd-kf-group-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    margin: 48px 0 22px 0 !important;
    padding-bottom: 14px !important;
    border-bottom: 2px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.pd-kf-group-title:first-of-type {
    margin-top: 10px !important;
}

.pd-kf-group-note {
    font-weight: 600 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #e11d48 !important;
    background: #ffe4e6 !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    margin-left: 8px !important;
}

.pd-kf-group-title::before {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 13px !important;
    flex-shrink: 0 !important;
}

/* Group 1: Accounting (Royal Blue) */
.pd-kf-group-title:nth-of-type(1) {
    color: #2563eb !important;
    border-bottom-color: rgba(37, 99, 235, 0.25) !important;
}
.pd-kf-group-title:nth-of-type(1)::before {
    content: "\f201" !important;
    background: #dbeafe !important;
    color: #2563eb !important;
}

/* Group 2: Customers & Sales (Vibrant Emerald) */
.pd-kf-group-title:nth-of-type(2) {
    color: #059669 !important;
    border-bottom-color: rgba(5, 150, 105, 0.25) !important;
}
.pd-kf-group-title:nth-of-type(2)::before {
    content: "\f0c0" !important;
    background: #d1fae5 !important;
    color: #059669 !important;
}

/* Group 3: Team & Projects (Purple) */
.pd-kf-group-title:nth-of-type(3) {
    color: #7c3aed !important;
    border-bottom-color: rgba(124, 58, 237, 0.25) !important;
}
.pd-kf-group-title:nth-of-type(3)::before {
    content: "\f358" !important;
    background: #ede9fe !important;
    color: #7c3aed !important;
}

/* Group 4: AI & Multi-Channel (Encrypted Brand Red) */
.pd-kf-group-title:nth-of-type(4) {
    color: #e11d48 !important;
    border-bottom-color: rgba(225, 29, 72, 0.25) !important;
}
.pd-kf-group-title:nth-of-type(4)::before {
    content: "\f0e7" !important;
    background: #ffe4e6 !important;
    color: #e11d48 !important;
}

/* Group 5: Access & Security (Warm Amber) */
.pd-kf-group-title:nth-of-type(5) {
    color: #d97706 !important;
    border-bottom-color: rgba(217, 119, 6, 0.25) !important;
}
.pd-kf-group-title:nth-of-type(5)::before {
    content: "\f3ed" !important;
    background: #fef3c7 !important;
    color: #d97706 !important;
}

/* Grid Layout */
.pd-kf-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 22px !important;
    margin-bottom: 40px !important;
}

.pd-kf-grid:last-of-type {
    margin-bottom: 0 !important;
}

/* Base Card Styling */
.pd-kf-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 28px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.28s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.pd-kf-card:hover {
    transform: translateY(-5px) !important;
}

/* Auto-injected FontAwesome 44px Icon Badges */
.pd-kf-card::before {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 12px !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    margin-bottom: 18px !important;
    flex-shrink: 0 !important;
    transition: transform 0.25s ease, background-color 0.25s ease !important;
}

.pd-kf-card:hover::before {
    transform: scale(1.1) !important;
}

/* Hide ::before if card already has .pd-kf-icon-box */
.pd-kf-card:has(.pd-kf-icon-box)::before {
    display: none !important;
}

/* Dedicated Icon Box styling (if present in HTML) */
.pd-kf-icon-box {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 12px !important;
    font-size: 18px !important;
    margin-bottom: 18px !important;
    flex-shrink: 0 !important;
    transition: transform 0.25s ease !important;
}

.pd-kf-card:hover .pd-kf-icon-box {
    transform: scale(1.1) !important;
}

/* Card Title */
.pd-kf-title,
.pd-kf-card h3,
.pd-kf-card h4 {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.01em !important;
    transition: color 0.2s ease !important;
}

/* Card Description */
.pd-kf-desc,
.pd-kf-card p {
    font-size: 13.5px !important;
    line-height: 1.65 !important;
    color: #475569 !important;
    margin: 0 !important;
}

/* ==============================================================
   GROUP 1: ACCOUNTING & OPERATIONS CARDS (ROYAL BLUE)
   ============================================================== */
.pd-kf-grid:nth-of-type(1) .pd-kf-card {
    border-top: 4px solid #2563eb !important;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%) !important;
}
.pd-kf-grid:nth-of-type(1) .pd-kf-card::before,
.pd-kf-grid:nth-of-type(1) .pd-kf-icon-box {
    background: #dbeafe !important;
    color: #2563eb !important;
    border: 1px solid rgba(37, 99, 235, 0.15) !important;
}
.pd-kf-grid:nth-of-type(1) .pd-kf-card:hover {
    border-color: rgba(37, 99, 235, 0.4) !important;
    border-top-color: #2563eb !important;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.12) !important;
}
.pd-kf-grid:nth-of-type(1) .pd-kf-card:hover .pd-kf-title {
    color: #2563eb !important;
}

.pd-kf-grid:nth-of-type(1) .pd-kf-card:nth-child(1)::before { content: "\f201" !important; } /* Smart Business Dashboard */
.pd-kf-grid:nth-of-type(1) .pd-kf-card:nth-child(2)::before { content: "\f571" !important; } /* Accounting & Invoicing */
.pd-kf-grid:nth-of-type(1) .pd-kf-card:nth-child(3)::before { content: "\f468" !important; } /* Inventory Management */
.pd-kf-grid:nth-of-type(1) .pd-kf-card:nth-child(4)::before { content: "\f544" !important; } /* AMC Maintenance */

/* ==============================================================
   GROUP 2: CUSTOMERS & SALES CARDS (VIBRANT EMERALD)
   ============================================================== */
.pd-kf-grid:nth-of-type(2) .pd-kf-card {
    border-top: 4px solid #059669 !important;
    background: linear-gradient(180deg, #f6fcf8 0%, #ffffff 100%) !important;
}
.pd-kf-grid:nth-of-type(2) .pd-kf-card::before,
.pd-kf-grid:nth-of-type(2) .pd-kf-icon-box {
    background: #d1fae5 !important;
    color: #059669 !important;
    border: 1px solid rgba(5, 150, 105, 0.15) !important;
}
.pd-kf-grid:nth-of-type(2) .pd-kf-card:hover {
    border-color: rgba(5, 150, 105, 0.4) !important;
    border-top-color: #059669 !important;
    box-shadow: 0 14px 30px rgba(5, 150, 105, 0.12) !important;
}
.pd-kf-grid:nth-of-type(2) .pd-kf-card:hover .pd-kf-title {
    color: #059669 !important;
}

.pd-kf-grid:nth-of-type(2) .pd-kf-card:nth-child(1)::before { content: "\f542" !important; } /* CRM with AI */
.pd-kf-grid:nth-of-type(2) .pd-kf-card:nth-child(2)::before { content: "\f140" !important; } /* Automatic Lead Scoring */
.pd-kf-grid:nth-of-type(2) .pd-kf-card:nth-child(3)::before { content: "\f0c0" !important; } /* Customer Management */
.pd-kf-grid:nth-of-type(2) .pd-kf-card:nth-child(4)::before { content: "\f0f3" !important; } /* Customer Reminders */
.pd-kf-grid:nth-of-type(2) .pd-kf-card:nth-child(5)::before { content: "\f590" !important; } /* Support Tickets */

/* ==============================================================
   GROUP 3: TEAM & PROJECTS CARDS (MODERN PURPLE)
   ============================================================== */
.pd-kf-grid:nth-of-type(3) .pd-kf-card {
    border-top: 4px solid #7c3aed !important;
    background: linear-gradient(180deg, #f9f8ff 0%, #ffffff 100%) !important;
}
.pd-kf-grid:nth-of-type(3) .pd-kf-card::before,
.pd-kf-grid:nth-of-type(3) .pd-kf-icon-box {
    background: #ede9fe !important;
    color: #7c3aed !important;
    border: 1px solid rgba(124, 58, 237, 0.15) !important;
}
.pd-kf-grid:nth-of-type(3) .pd-kf-card:hover {
    border-color: rgba(124, 58, 237, 0.4) !important;
    border-top-color: #7c3aed !important;
    box-shadow: 0 14px 30px rgba(124, 58, 237, 0.12) !important;
}
.pd-kf-grid:nth-of-type(3) .pd-kf-card:hover .pd-kf-title {
    color: #7c3aed !important;
}

.pd-kf-grid:nth-of-type(3) .pd-kf-card:nth-child(1)::before { content: "\f358" !important; } /* Projects & Kanban */
.pd-kf-grid:nth-of-type(3) .pd-kf-card:nth-child(2)::before { content: "\f2b9" !important; } /* HRMS & Attendance */
.pd-kf-grid:nth-of-type(3) .pd-kf-card:nth-child(3)::before { content: "\f073" !important; } /* Team Tools */

/* ==============================================================
   GROUP 4: AI & MULTI-CHANNEL CARDS (ENCRYPTED BRAND RED)
   ============================================================== */
.pd-kf-grid:nth-of-type(4) .pd-kf-card {
    border-top: 4px solid #e11d48 !important;
    background: linear-gradient(180deg, #fff5f6 0%, #ffffff 100%) !important;
}
.pd-kf-grid:nth-of-type(4) .pd-kf-card::before,
.pd-kf-grid:nth-of-type(4) .pd-kf-icon-box {
    background: #ffe4e6 !important;
    color: #e11d48 !important;
    border: 1px solid rgba(225, 29, 72, 0.15) !important;
}
.pd-kf-grid:nth-of-type(4) .pd-kf-card:hover {
    border-color: rgba(225, 29, 72, 0.4) !important;
    border-top-color: #e11d48 !important;
    box-shadow: 0 14px 30px rgba(225, 29, 72, 0.15) !important;
}
.pd-kf-grid:nth-of-type(4) .pd-kf-card:hover .pd-kf-title {
    color: #e11d48 !important;
}

.pd-kf-grid:nth-of-type(4) .pd-kf-card:nth-child(1)::before { content: "\f27a" !important; } /* AI Assistant & WhatsApp */
.pd-kf-grid:nth-of-type(4) .pd-kf-card:nth-child(2)::before { content: "\f1e0" !important; } /* Multi-Channel */
.pd-kf-grid:nth-of-type(4) .pd-kf-card:nth-child(3)::before { content: "\f0e0" !important; } /* Auto-Replies */
.pd-kf-grid:nth-of-type(4) .pd-kf-card:nth-child(4)::before { content: "\f0e7" !important; } /* Auto-Summaries */

/* ==============================================================
   GROUP 5: ACCESS & SECURITY CARDS (WARM AMBER)
   ============================================================== */
.pd-kf-grid:nth-of-type(5) .pd-kf-card {
    border-top: 4px solid #d97706 !important;
    background: linear-gradient(180deg, #fffcf5 0%, #ffffff 100%) !important;
}
.pd-kf-grid:nth-of-type(5) .pd-kf-card::before,
.pd-kf-grid:nth-of-type(5) .pd-kf-icon-box {
    background: #fef3c7 !important;
    color: #d97706 !important;
    border: 1px solid rgba(217, 119, 6, 0.15) !important;
}
.pd-kf-grid:nth-of-type(5) .pd-kf-card:hover {
    border-color: rgba(217, 119, 6, 0.4) !important;
    border-top-color: #d97706 !important;
    box-shadow: 0 14px 30px rgba(217, 119, 6, 0.12) !important;
}
.pd-kf-grid:nth-of-type(5) .pd-kf-card:hover .pd-kf-title {
    color: #d97706 !important;
}

.pd-kf-grid:nth-of-type(5) .pd-kf-card:nth-child(1)::before { content: "\f505" !important; } /* Role-Based Access */
.pd-kf-grid:nth-of-type(5) .pd-kf-card:nth-child(2)::before { content: "\f3ed" !important; } /* Secure by Design */

/* Responsive Adjustments */
@media (max-width: 1100px) {
    .pd-kf-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px !important;
    }
}

@media (max-width: 640px) {
    .pd-kf-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .pd-kf-card {
        padding: 22px 18px !important;
    }
}

/* ==============================================================
   7. PROJECT SNAPSHOT - ENTERPRISE BENTO GRID
   ============================================================== */
.pd-snapshot-section {
    padding: 72px 0;
    background: var(--pd-surface-alt);
    border-top: 1px solid var(--pd-border);
    border-bottom: 1px solid var(--pd-border);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pd-snap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 36px;
}

.pd-snap-card {
    background: #ffffff;
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-lg);
    padding: 28px 26px;
    box-shadow: var(--pd-shadow-subtle);
    transition: var(--pd-transition);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.pd-snap-card:hover {
    transform: translateY(-3px);
    border-color: rgba(229, 37, 42, 0.35);
    box-shadow: var(--pd-shadow-card);
}

.pd-snap-card.full-width {
    grid-column: span 2;
}

.pd-snap-card.featured-dark {
    background: #0f172a;
    border-color: #1e293b;
    color: #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.pd-snap-card.featured-dark:hover {
    border-color: rgba(229, 37, 42, 0.6);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.pd-snap-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.pd-snap-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pd-primary);
    background: var(--pd-primary-light);
    border: 1px solid rgba(229, 37, 42, 0.15);
    padding: 4px 10px;
    border-radius: 6px;
}

.pd-snap-card.featured-dark .pd-snap-tag {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.25);
}

.pd-snap-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
}

.pd-snap-status.live {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.pd-snap-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--pd-text-main);
    margin: 0 0 10px;
    line-height: 1.35;
}

.pd-snap-card.featured-dark .pd-snap-title {
    color: #ffffff;
}

.pd-snap-desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--pd-text-muted);
    margin: 0 0 18px;
    flex: 1;
}

.pd-snap-card.featured-dark .pd-snap-desc {
    color: #94a3b8;
}

/* Metadata sub-row inside hero card */
.pd-snap-meta-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid var(--pd-border);
    margin-top: 6px;
}

.pd-snap-meta-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pd-snap-meta-label {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pd-text-muted);
}

.pd-snap-meta-val {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--pd-text-main);
    line-height: 1.45;
}

/* Module Pills Grid */
.pd-snap-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pd-snap-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: #f8fafc;
    border: 1px solid var(--pd-border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pd-text-main);
    transition: var(--pd-transition);
}

.pd-snap-pill:hover {
    background: #ffffff;
    border-color: var(--pd-primary);
    color: var(--pd-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.pd-snap-pill i {
    color: var(--pd-primary);
    font-size: 13px;
}

/* Tech Badges Row */
.pd-snap-tech-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pd-snap-tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: #ffffff;
    border: 1px solid var(--pd-border);
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--pd-text-main);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.pd-snap-tech-badge i {
    font-size: 16px;
}

/* Feature Checklist inside Cards */
.pd-snap-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.pd-snap-list li {
    position: relative;
    padding-left: 26px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--pd-text-main);
}

.pd-snap-card.featured-dark .pd-snap-list li {
    color: #cbd5e1;
}

.pd-snap-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
    .pd-snap-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .pd-snap-card.full-width {
        grid-column: span 1;
    }
    .pd-snap-meta-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ==============================================================
   ENCRYPTED INFOWEB - REFERENCE DESIGN SYSTEM (14 SECTIONS)
   Imported from service-detail reference architecture
   Matches: .hero-section, .stats-section-service, .quick-answer-section,
            .challenges-section, .who-section, .services-alternate,
            .process-section, .tech-stack-section, .why-choose-section,
            .industries-section, .services-section, .comparison-card,
            .technology-faqs, .cta-container
   ============================================================== */

/* === SECTION: TECHNOLOGY FAQS === */

    .header {
    margin-bottom: 50px;
    max-width: 800px;
}
.header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: bold;
}
.header p {
    color: #475569;
    line-height: 1.6;
}
        .technology-faqs {
            padding: 1.5rem !important;
            background: #f1f5f9 !important;
            /* background: #f7f3ef !important; */
            border: 1px solid #e4dcd6 !important;
            border-radius: 6px !important;
        }

        .technology-faqs-item {
            border-top: 1px solid #e4dcd6 !important;
            padding: 0.75rem 0 !important;
        }

        .main-image-container {
            position: relative;
            width: 100%;
            height: 400px;
            overflow: hidden;
            margin-bottom: 20px;
        }

        .main-image-container img {
            width: 100%;
            height: 100%;
            object-fit: fill;
            display: block;
            /* border-radius: 10px; */
        }

        .main-image-container .main-title {
            position: absolute;
            /* top: 50%; */
            bottom: 0%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            background: rgba(0, 0, 0, 0.6);
            padding: 10px 20px;
            font-size: 24px;
            font-weight: bold;
            text-align: center;
        }


        /* FAQ Section */
        .blog-faqs {
            /* margin-top: 3rem; */
            padding: 1.5rem;
            background: var(--bg2);
            border: 1px solid var(--rule);
            border-radius: 6px;
        }

        .blog-faqs h2 {
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            /* font-family: 'Playfair Display', serif; */
            font-size: 1.6rem;
            margin-bottom: 1rem;
            color: var(--ink);
        }

        .faq-item {
            border-top: 1px solid var(--rule);
            padding: 0.75rem 0;
        }

        .faq-item:first-of-type {
            border-top: none;
        }

        .faq-question {
            font-family: 'Fira Sans', sans-serif;
            font-weight: 600;
            color: var(--ink);
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            user-select: none;
        }

        .faq-answer {
            margin-top: 0.6rem;
            color: var(--ink2);
            line-height: 1.7;
        }

        .faq-toggle-icon {
            font-size: 1.5rem;
            font-weight: 300;
            color: #0a2558;
            flex-shrink: 0;
            margin-left: 12px;
            transition: transform 0.2s ease;
        }

        .faq-toggle {
            display: none;
        }


        .service-hero {
            min-height: clamp(260px, 30vw, 414px);
        }
        
         .breadcrumb{
            color: #000000 !important;
        }
        .breadcrumb > a {
             color: #000000 !important;
        }
        .service-hero .banner-overlay {
            background: none;
            /* background: linear-gradient(135deg, rgba(255, 230, 230, 0.25) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(0, 0, 0, 0.05) 100%); */
            background: linear-gradient(135deg, rgba(255, 230, 230, 0.25) 0%, rgba(249, 194, 248, 0.1) 50%, rgba(0, 0, 0, 0.05) 100%);
            backdrop-filter: brightness(1.05);
        }

        /*.service-hero .banner-overlay {*/
        /*    background: none;*/
        /*}*/

        .service-hero .full-width-image {
            padding: 0;
        }

        .image-container {
            margin: 100px 0 0;
        }

        @media (max-width: 767px) {
            .image-container {
                margin: 96px 0 0;
            }

            .service-hero {
                height: clamp(128px, 31vw, 220px);
                min-height: 0;
            }

            .full-width-image {
                margin: 0;
            }

            .service-hero .full-width-image {
                height: 100%;
                display: block;
                object-fit: cover;
                object-position: center;
            }
        }
    
/* === SECTIONS: CTA, SERVICES, INDUSTRIES, WHY CHOOSE, TECH STACK, ALTERNATE, PROCESS, WHO, CHALLENGES, QUICK ANSWER, STATS, HERO === */

        /* Container styling */
        .cta-container {
            background-color: #0a2558;
            /* Dark Blue color */
            /*background-image: radial-gradient(circle at center, #113377 0%, #0a2558 100%), linear-gradient(135deg, #0a2558 0%, #0f172a 100%);*/
            background-image: linear-gradient(135deg, #0a2558 0%, #0f172a 100%);
            /* Optional gradient depth */
            padding: 100px 122px;
            display: flex;
            justify-content: space-between;
            /* Content left, Button right */
            align-items: center;
            font-family: 'Arial', sans-serif;
            color: white;
            width: 99.50vw;
            max-width: 99vw;
            margin-left: calc(50% - 50vw);
            margin-right: calc(50% - 50vw);
        }
        /* Left side text wrapper */
        .cta-content {
            max-width: 600px;
        }

        /* Main Heading */
        .cta-title {
            font-size: 48px;
            font-weight: 700;
            margin: 0 0 20px 0;
            line-height: 1.1;
        }

        /* Small description text */
        .cta-subtitle {
            font-size: 18px;
            opacity: 0.9;
            line-height: 1.5;
            color: white;
        }

        /* Button styling */
        .cta-button {
            background-color: #e32b26;
            /* Red color */
            color: white;
            text-decoration: none;
            padding: 15px 35px;
            font-size: 18px;
            font-weight: bold;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            transition: transform 0.2s, background-color 0.2s;
            display: inline-block;
        }

        /* Button hover effect */
        .cta-button:hover {
            background-color: #c4221d;
            transform: translateY(-2px);
        }

        /* Main Section */
        .services-section {
            padding: 0px 0%;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #1a365d;
            /* Dark blue text */
            background-color: #ffffff;
        }

        /* Header Text */
        .header-content {
            margin-bottom: 40px;
            max-width: 800px;
        }

        .header-content h2 {
            color: #1a365d;
            font-size: 36px;
            margin-bottom: 20px;
        }

        .header-content p {
            color: #4a5568;
            line-height: 1.6;
            font-size: 18px;
        }

        /* Grid Container */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            /* 3 Columns */
            gap: 30px;
        }

        /* Individual Card */
        .service-card {
            background-color: #f7fafc;
            /* Light grey background */
            padding: 40px 30px;
            border-radius: 20px;
            transition: transform 0.3s ease;
        }

        .service-card:hover {
            transform: translateY(-5px);
            /* Hover effect */
        }

        .flag-icon {
            font-size: 40px;
            margin-bottom: 20px;
        }

        .service-card h3 {
            font-size: 20px;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .service-card p {
            font-size: 14px;
            color: #4a5568;
            line-height: 1.6;
        }

        /* Bottom Footer Text */
        .footer-text {
            text-align: center;
            margin-top: 50px;
            margin-bottom: 50px;
            font-size: 18px;
            font-weight: 500;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
        }

        .industries-section {
            padding: 80px 0%;
            font-family: sans-serif;
            color: #1a365d;
        }

        .industries-header {
            margin-bottom: 60px;
            max-width: 700px;
        }

        .industries-header h2 {
            font-size: 32px;
            margin-bottom: 15px;
            font-weight: bold;
        }

        .industries-header p {
            color: #475569;
            line-height: 1.6;
        }

        /* Flex Row Setup */
        .industry-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 100px;
        }

        /* Har dusri row ko reverse karne ke liye magic line */
        .industry-row:nth-child(even) {
            flex-direction: row-reverse;
        }

        .content-side {
            display: flex;
            align-items: flex-start;
            flex: 1;
            gap: 30px;
        }

        /* Number Box styling */
        .number-box {
            background: white;
            color: #e32b26;
            font-size: 32px;
            font-weight: bold;
            padding: 20px 25px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .text-info h3 {
            font-size: 24px;
            margin-bottom: 15px;
            color: #0B2C5F;
            font-weight: bold;
        }

        .text-info p {
            color: #4a5568;
            line-height: 1.7;
            max-width: 450px;
        }

        /* Circle Image side */
        .image-side {
            flex: 1;
            display: flex;
            justify-content: center;
        }

        .circle-placeholder {
            width: 300px;
            height: 300px;
            background-color: #e2e8f0;
            /* Light grey circle */
            border-radius: 50%;
        }
        .industries-section .image-side {
            min-width: 280px;
            position: relative;
            align-items: center;
        }
        .industries-section .industry-visual-card {
            position: relative;
            padding: 20px;
            width: 100%;
            display: flex;
            justify-content: center;
        }
        .industries-section .industry-abstract-art {
            position: relative;
            text-align: center;
        }
        .industries-section .industry-art-circle {
            width: 260px;
            height: 260px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
            position: relative;
            transition: all 0.5s ease;
            background: #fef2f2;
            border: 1px solid #fee2e2;
            overflow: hidden;
        }
        .industries-section .industry-art-circle i {
            font-size: 4.5rem;
            z-index: 2;
            position: relative;
        }
        .industries-section .industry-art-pulse {
            position: absolute;
            inset: 0;
            border-radius: 50%;
            opacity: 0.3;
            animation: industryPulseRing 3s ease-out infinite;
            background: currentColor;
        }
        @keyframes industryPulseRing {
            0% {
                transform: scale(0.9);
                opacity: 0.4;
            }
            100% {
                transform: scale(1.4);
                opacity: 0;
            }
        }
        .industries-section .industry-art-stats {
            text-align: center;
            margin-top: 20px;
        }
        .industries-section .industry-art-stats .big-number {
            font-size: 2rem;
            font-weight: 800;
            line-height: 1;
            font-family: 'Space Grotesk', monospace;
        }
        .industries-section .industry-art-stats .small-text {
            font-size: 0.75rem;
            color: #64748b;
        }
        .industries-section .industry-art-circle:hover {
            transform: scale(1.05);
            background: #fee2e2;
            box-shadow: 0 15px 30px -12px rgba(220, 38, 38, 0.15);
        }
        .industries-section .circle-placeholder {
            display: none !important;
        }

        .why-choose-section {
            padding: 0px 0%;
            font-family: 'Segoe UI', sans-serif;
            color: #0a2558;
            /* Dark Blue */
            background-color: #fff;
        }

        .header-content {
            margin-bottom: 60px;
            max-width: 850px;
        }

        .header-content h2 {
            font-size: 42px;
            line-height: 1.2;
            margin-bottom: 20px;
            font-weight: bold;
        }

        .header-content p {
            font-size: 18px;
            color: #555;
            line-height: 1.6;
        }

        /* Grid for 2 columns */
        .features-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            /* 2 barabar columns */
            column-gap: 60px;
            row-gap: 50px;
        }

        /* Individual Feature Item */
        .feature-item {
            display: flex;
            align-items: flex-start;
            gap: 20px;
        }

        /* Red Icon Box */
        .icon-box {
            background-color: #e32b26;
            /* Red color */
            color: white;
            min-width: 50px;
            height: 50px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            flex-shrink: 0;
            /* Box size fixed rahega */
        }

        .text-box h3 {
            font-size: 20px;
            margin: 0 0 10px 0;
            font-weight: 700;
        }

        .text-box p {
            font-size: 15px;
            color: #555;
            line-height: 1.6;
            margin: 0;
        }

        .tech-stack-section {
            padding: 80px 0%;
            font-family: 'Segoe UI', Tahoma, sans-serif;
            background-color: #fff;
            color: #0a2558;
        }

        .tech-stack-header {
            margin-bottom: 50px;
            max-width: 800px;
        }

        .tech-stack-header h2 {
            font-size: 36px;
            margin-bottom: 15px;
            font-weight: bold;
        }

        .tech-stack-header p {
            color: #475569;
            line-height: 1.6;
        }

        /* Container Box */
        .tech-box {
            border: 1px solid #d1d9e6;
            /* Light grey border */
            border-radius: 20px;
            padding: 40px 30px;
            margin-bottom: 40px;
            position: relative;
            /* Label position ke liye zaroori hai */
            display: flex;
            align-items: center;
        }

        /* Floating Label on Border */
        .box-label {
            position: absolute;
            top: -15px;
            /* Border ke aadha upar */
            left: 30px;
            background-color: #f1f5f9;
            /* Light blue/grey background */
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: bold;
            letter-spacing: 1px;
            color: #0a2558;
            border: 1px solid #d1d9e6;
        }

        /* Bullet point inside label */
        .box-label::before {
            content: "";
            color: #e32b26;
            /* Red dot */
            margin-right: 8px;
            font-size: 10px;
        }

        /* Logos placement */
        .logo-grid {
            display: flex;
            flex-wrap: nowrap;
            justify-content: flex-start;
            /* Logos ke beech space */
            align-items: center;
            width: 100%;
            gap: 95px;
        }
        .icon img {
            height: 50px;
            width: 50px;
        }
        .logo-item {
            font-size: 20px;
            font-weight: 600;
            color: #333;
            /* Agar image use kar rahe ho toh yaha width set karein */
            padding: 10px;
        }

        .services-alternate {
            padding: 0px 0%;
            font-family: 'Arial', sans-serif;
            color: #0a2558;
        }

        .main-header {
            margin-bottom: 80px;
        }

        .main-header h2 {
            font-size: 38px;
            margin-bottom: 20px;
            font-weight: bold;
        }

        .main-header p {
            max-width: 800px;
            color: #555;
            line-height: 1.6;
        }

        /* Flex Row setup */
        .service-row {
            display: flex;
            align-items: center;
            gap: 60px;
            margin-bottom: 100px;
        }

        /* Magic: Har dusri row ko flip karna */
        .service-row:nth-child(even) {
            flex-direction: row-reverse;
        }

        /* Image styling */
        .service-image {
            flex: 1;
        }

        .service-image img {
            width: 100%;
            height: 350px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        /* Text styling */
        .service-text {
            flex: 1;
        }

        .number-tag {
            font-size: 32px;
            font-weight: bold;
            color: #e32b26;
            background: white;
            width: fit-content;
            padding: 10px 20px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            margin-bottom: 25px;
            transform: rotate(-5deg);
            /* Thoda tilted jaisa image mein hai */
        }

        .service-text h2 {
            font-size: 28px;
            margin-bottom: 20px;
            font-weight: bold;
        }

        .service-text p {
            font-size: 16px;
            line-height: 1.7;
            color: #4a5568;
            margin-bottom: 20px;
        }

        .benefits,
        .techs {
            font-size: 15px;
            margin-top: 10px;
            line-height: 1.5;
        }

        .benefits strong,
        .techs strong {
            color: #000000;
        }

        .process-section {
            padding: 0px 0%;
            font-family: 'Segoe UI', sans-serif;
            background-color: #fff;
            text-align: center;
        }

        .process-header h2 {
            font-size: 36px;
            color: #0a2558;
            margin-bottom: 15px;
            font-weight: bold;
        }

        .process-header p {
            color: #475569;
            max-width: 700px;
            margin: 0 auto 60px;
        }

        .process-container {
            position: relative;
            padding-top: 50px;
        }

        /* Horizontal Line */
        .timeline-line {
            position: absolute;
            top: 100px;
            /* Circle ke center mein align karne ke liye */
            left: 0;
            right: 0;
            height: 3px;
            background-color: #0a2558;
            z-index: 1;
        }

        .process-steps {
            display: flex;
            justify-content: space-between;
            position: relative;
            z-index: 2;
        }

        .process-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 0 10px;
        }

        /* Icon Circle */
        .icon-circle {
            width: 113px;
            height: 113px;
            border-radius: 50%;
            background: white;
            border: 12px solid;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            margin-bottom: 5px;
            /* Card se doori */
        }

        /* Triangle Pointer */
        .icon-circle::after {
            content: '';
            position: absolute;
            bottom: -25px;
            border-left: 13px solid transparent;
            border-right: 13px solid transparent;
            border-top: 15px solid;
        }

        .red>.icon-circle>.step-number {
            background: #e32b26;
        }


        /* Step Number */
        .step-number {
            position: absolute;
            left: -21px;
            top: 19px;
            background: #0a2558;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }

        .icon {
            font-size: 30px;
        }

        /* Color Themes */
        .blue .icon-circle {
            border-color: #0a2558;
        }

        .blue .icon-circle::after {
            border-top-color: #0a2558;
        }

        .blue .process-card {
            border: 2px solid #0a2558;
        }

        .red .icon-circle {
            border-color: #e32b26;
        }

        .red .icon-circle::after {
            border-top-color: #e32b26;
        }

        .red .process-card {
            border: 2px solid #e32b26;
        }

        /* Card Styling */
        .process-card {
            background: white;
            padding: 20px 15px;
            border-radius: 10px;
            text-align: center;
            /*min-height: 200px;*/
             /*height: 219px; */
            height: 71%; 
        }

        .process-card h3 {
            font-size: 18px;
            margin-bottom: 15px;
            color: #0a2558;
            font-weight: bold;
        }

        .process-card p {
            font-size: 14px;
            color: #555;
            line-height: 1.5;
        }

        /* Section main styling */
        .who-section {
            padding: 80px 0%;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            /* Professional font */
            background-color: #fff;
            color: #0a2558;
            /* Dark Blue from image */
        }

        /* Header styling */
        .who-header {
            margin-bottom: 50px;
            max-width: 700px;
        }

        .who-header h2 {
            font-size: 38px;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .who-header p {
            font-size: 18px;
            line-height: 1.6;
            color: #555;
            /* Slightly lighter text for description */
        }

        /* Grid setup for cards */
        .who-grid {
            display: grid;
            /* 3 column layout on desktop */
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            /* Space between cards */
        }

        /* Common Card Styling */
        .who-card {
            background: white;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            /* Light premium shadow */
            border: 1px solid rgba(0, 0, 0, 0.03);
            /* Subtle border like image */
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .who-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        }

        /* Icon box (Red background) */
        .icon-box {
            background-color: #e32b26;
            /* Deep Red from image */
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            margin-bottom: 25px;
        }
        .icon-box > img {
            width: 26px;
            height: 26px;
        }
        .who-card h3 {
            font-size: 24px;
            margin-bottom: 15px;
            color: #0a2558;
            font-weight: bold;
        }

        .who-card p {
            font-size: 16px;
            line-height: 1.7;
            color: #4a5568;
            /* Greyish blue text */
        }

        /* --- Special Card Handling --- */

        /* Card 1 (Startups): Spans 2 columns */
        .feature-card {
            /* grid-column: span 2; */
            display: flex;
            align-items: center;
            background-image: linear-gradient(to right, #ffffff, #f1f5f9);
            /* Subtle depth gradient */
        }

        .feature-card .card-left {
            /*max-width: 70%;*/
            height: 100%;
        }

        /* Card 4 (SaaS): Spans 2 columns, has image */
        .tech-card {
            /* grid-column: span 2; */
            display: flex;
            align-items: center;
            gap: 30px;
        }

        .tech-card .card-left {
            flex: 1;
        }

        .card-image-circle {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            overflow: hidden;
            flex-shrink: 0;
        }

        .card-image-circle img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            /* Important for circular crop */
        }

        .challenges-section {
            padding: 0px 0%;
            font-family: sans-serif;
            background: #fff;
        }

        .header-center {
            text-align: left;
            margin-bottom: 60px;
            max-width: 800px;
        }

        .header-center h2 {
            color: #0B2C5F;
            font-size: 36px;
            margin-bottom: 20px;
            font-weight: bold;
        }

        .header-center p {
            color: #475569;
            line-height: 1.6;
        }

        .challenges-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            /* 2 Columns */
            gap: 30px;
        }

        .challenge-card {
            padding: 40px;
            border: 1px solid #edf2f7;
            border-radius: 15px;
            background: #fff;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
            transition: 0.3s;
        }

        .challenge-card:hover {
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
        }

        .num-circle {
            width: 45px;
            height: 45px;
            border: 2px solid #e32b26;
            border-radius: 50%;
            color: #e32b26;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-bottom: 25px;
        }

        .challenge-card h3 {
            color: #0a2558;
            font-size: 22px;
            margin-bottom: 15px;
            font-weight: bold;
        }

        .challenge-card p {
            color: #555;
            line-height: 1.6;
            font-size: 15px;
        }

        .quick-answer-section {
            padding: 80px 0%;
            background-color: #fff;
        }

        .info-box {
            background-color: #f0f0f0;
            /* Light grey background */
            padding: 50px;
            border-radius: 20px;
            text-align: center;
        }

        .info-box h2 {
            color: #0B2C5F;
            font-size: 32px;
            margin-bottom: 25px;
        }

        .info-box p {
            color: #333;
            line-height: 1.8;
            font-size: 18px;
            max-width: 1000px;
            margin: 0 auto;
        }

        /* Section Container */
        .stats-section-service {
            background-color: #ffffff;
            /* White background */
            padding: 0px 0%;
            /* Top/bottom padding, side spacing */
            font-family: 'Segoe UI', sans-serif;
            /* Professional font */
            text-align: center;
        }

        /* Flex Container for Cards */
        .stats-container {
            display: flex;
            justify-content: center;
            /* Center horizontally */
            gap: 25px;
            /* Space between cards */
            flex-wrap: wrap;
            /* Responsive on mobile */
            max-width: 1200px;
            margin: 0 auto;
            /* Center section on large screens */
        }

        /* Individual Card Styling */
        .stat-card {
            flex: 1;
            /* All cards take equal width */
            /* min-width: 250px;  */
            /* background-color: #f7fafc; */
            /* Very light grey/blue */
            padding: 40px 30px;
            border: 2px solid #E2E8F0;
            border-radius: 20px;
            /* Rounded corners */
            transition: 0.3s;
            /* Smooth hover effect */
        }

        /* Hover Effect */
        .stat-card:hover {
            transform: translateY(-5px);
            /* Lift card */
        }

        /* Icon Container */
        .icon-wrapper-services {
            display: flex;
            justify-content: center;
            margin-bottom: 25px;
        }

        .icon {
            font-size: 35px;
            /* Size of temporary emojis */
        }

        /* Title (10+ Years, 200+ Projects) */
        .stat-title {
            font-size: 22px;
            font-weight: 700;
            color: #0a2558;
            /* Dark Blue from image */
            margin-bottom: 12px;
            line-height: 1.2;
        }

        /* Subtitle (Experience in...) */
        .stat-subtitle {
            font-size: 14px;
            color: #4a5568;
            /* Greyish blue text */
            line-height: 1.5;
        }

        .hero-section {
            padding: 80px 0%;
            background-color: #ffffff;
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        }

        .hero-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 50px;
        }

        /* Content Area */
        .hero-content {
            flex: 1;
        }

        .trust-badge {
            display: inline-flex;
            align-items: center;
            background: #f1f5f9;
            padding: 8px 16px;
            border-radius: 50px;
            font-size: 14px;
            font-weight: 600;
            color: #0a2558;
            margin-bottom: 25px;
            border: 1px solid #e2e8f0;
            font-family: monospace;
            letter-spacing: -0.5px;
        }

        .trust-badge .dot {
            color: #e32b26;
            margin-right: 8px;
            font-size: 12px;
        }

        .hero-content h1 {
            font-size: 54px;
            color: #E31B27;
            line-height: 1.1;
            margin-bottom: 25px;
            font-weight: 800;
            font-family: Merriweather sans-serif;
        }

        .hero-content h1 span {
            color: #0a2558;
            /* You can change this to red if you want emphasis */
        }

        .hero-content p {
            font-size: 18px;
            line-height: 1.7;
            color: #4a5568;
            margin-bottom: 35px;
        }

        /* Red Button */
        .hero-btn {
            display: inline-block;
            background-color: #e32b26;
            color: white;
            padding: 18px 35px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: bold;
            font-size: 18px;
            transition: 0.3s ease;
            box-shadow: 0 4px 15px rgba(227, 43, 38, 0.2);
        }

        .hero-btn:hover {
            background-color: #c4211d;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(227, 43, 38, 0.3);
        }

        /* Image Area */
        .hero-image {
            flex: 1;
            display: flex;
            justify-content: flex-end;
        }

        .hero-image img {
            width: 100%;
            max-width: 600px;
            border-radius: 12px;
            /* box-shadow: 20px 20px 0px #f1f5f9; */
        }

        /* Responsive for Mobile */
        @media (max-width: 1024px) {
            .hero-container {
                flex-direction: column;
                text-align: center;
            }

            .hero-content h1 {
                font-size: 40px;
            }

            .hero-image {
                justify-content: center;
                margin-top: 40px;
            }

            .trust-badge {
                margin: 0 auto 25px auto;
            }
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .stats-container {
                flex-direction: column;
                /* Stack vertically on mobile */
                align-items: center;
            }

            .stat-card {
                width: 100%;
                /* Take full width on mobile */
                max-width: 400px;
            }
            .hero-section {
                padding: 35px 0%;
            }
        }

        /* Responsive */
        @media (max-width: 850px) {
            .challenges-grid {
                grid-template-columns: 1fr;
            }

            .cta-banner {
                flex-direction: column;
                text-align: center;
                gap: 40px;
            }

            .cta-content {
                max-width: 100%;
            }
        }

        /* --- Mobile Responsive (Tablets) --- */
        @media (max-width: 992px) {
            .who-grid {
                grid-template-columns: repeat(2, 1fr);
                /* 2 columns on tablets */
            }

            .feature-card,
            .tech-card {
                grid-column: span 2;
                /* Still spans two columns on tablet */
            }
        }

        /* --- Mobile Responsive (Phones) --- */
        @media (max-width: 600px) {
            .who-grid {
                grid-template-columns: 1fr;
                /* 1 column on phones */
            }

            .feature-card,
            .tech-card {
                grid-column: span 1;
                /* Spans single column */
                flex-direction: column;
                /* Stacks image and text vertically */
                text-align: center;
            }

            .feature-card .card-left,
            .tech-card .card-left {
                max-width: 100%;
            }

            .icon-box {
                margin: 0 auto 20px auto;
                /* Centers the icon */
            }

            .tech-card {
                flex-direction: column-reverse;
                /* Put text above image on mobile */
            }

            .card-image-circle {
                margin-bottom: 20px;
            }
        }

        /* Mobile View */
        @media (max-width: 1000px) {
            .process-steps {
                flex-direction: column;
                gap: 50px;
            }

            .timeline-line {
                display: none;
            }

            .process-item {
                width: 100%;
            }
        }

        /* Mobile View */
        @media (max-width: 900px) {

            .service-row,
            .service-row:nth-child(even) {
                flex-direction: column;
                gap: 30px;
            }

            .service-text {
                text-align: center;
            }

            .number-tag {
                margin: 0 auto 20px auto;
            }
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .logo-grid {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                text-align: center;
                gap: 20px;
            }

            .tech-box {
                padding: 50px 20px 30px 20px;
            }
        }

        /* Mobile Responsive */
        @media (max-width: 850px) {
            .features-grid {
                grid-template-columns: 1fr;
                /* 1 column on smaller screens */
            }

            .header-content h2 {
                font-size: 32px;
            }
        }

        /* Mobile responsive */
        @media (max-width: 768px) {

            .industry-row,
            .industry-row:nth-child(even) {
                flex-direction: column;
                text-align: center;
            }

            .content-side {
                flex-direction: column;
                align-items: center;
            }

            .circle-placeholder {
                width: 200px;
                height: 200px;
                margin-top: 30px;
            }
            .industries-section .industry-art-circle {
                width: 220px;
                height: 220px;
            }
            .industries-section .industry-art-circle i {
                font-size: 3.5rem;
            }
        }

        /* Mobile Responsive */
        @media (max-width: 992px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
                /* 2 columns for tablets */
            }
        }

        @media (max-width: 600px) {
            .services-grid {
                grid-template-columns: 1fr;
                /* 1 column for mobile */
            }
        }

        /* Responsive for mobile */
        @media (max-width: 768px) {
            .cta-container {
                flex-direction: column;
                text-align: center;
                padding: 40px 20px;
            }

            .cta-action {
                margin-top: 30px;
            }
        }
    
/* === ANIMATIONS & RESPONSIVE RULES === */

        /* first section animation */
        /* slideInLeft / slideInRight defined once below in animation block */

        .hero-content {
            animation: slideInLeft 1.2s ease-out forwards;
        }

        .hero-image {
            animation: slideInRight 1.2s ease-out forwards;
        }

        .hero-container {
            overflow-x: hidden;
        }

        /* third section animation */


/* Shuruat mein cards aur header hidden rahenge */
.header-center, .challenge-card {
    opacity: 0;
    transition: all 0.6s ease-out;
}

/* Jab JS ye class add karega, tab animation chalegi */
.animate-now {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Staggered Delay (ek ke baad ek aane ke liye) */
.challenge-card:nth-child(1) { animation-delay: 0.1s; }
.challenge-card:nth-child(2) { animation-delay: 0.3s; }
.challenge-card:nth-child(3) { animation-delay: 0.5s; }
.challenge-card:nth-child(4) { animation-delay: 0.7s; }
/* Container security for horizontal movement */
.services-alternate {
    overflow-x: hidden;
}

/* Base State: Animation se pehle hidden rahega */
.service-image, .service-text, .main-header {
    opacity: 0;
    transition: all 0.8s ease-out;
}

/* 1. Header Animation (Fade In Up) */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 2. Left Side Entrance */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

/* 3. Right Side Entrance */
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Trigger Classes (JS se add hongi) */
.animate-header { animation: fadeInUp 0.8s forwards; }
.animate-left { animation: slideInLeft 0.8s forwards; }
.animate-right { animation: slideInRight 0.8s forwards; }

/* Initial State: Sab kuch chupa hua hoga */
.process-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.timeline-line {
    width: 0; /* Line shuru mein zero rahegi */
    transition: width 2s ease-in-out;
}

/* Jab 'active' class add hogi (via JS), tab animation chalegi */
.process-section.is-visible .timeline-line {
    width: 100%;
}

.process-section.is-visible .process-item {
    opacity: 1;
    transform: translateY(0);
}

/* Sequential Delay: Har step ek ke baad ek aayega */
.process-section.is-visible .process-item:nth-child(1) { transition-delay: 0.2s; }
.process-section.is-visible .process-item:nth-child(2) { transition-delay: 0.6s; }
.process-section.is-visible .process-item:nth-child(3) { transition-delay: 1.0s; }
.process-section.is-visible .process-item:nth-child(4) { transition-delay: 1.4s; }
.process-section.is-visible .process-item:nth-child(5) { transition-delay: 1.8s; }

/* Icon animation: Thoda bounce effect ke liye */
.process-section.is-visible .icon-circle {
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: inherit;
}

@keyframes popIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}
.service-description-section{
    margin-top: 80px;
}
/* 1. Initial States */
.timeline-line {
    width: 0;
    transition: none; /* Transition ki jagah animation use karenge */
}

.process-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* 2. Line Animation Definition */
/* Ye line ko thoda-thoda karke aage badhayega */
@keyframes drawLine {
    0% { width: 0%; }
    20% { width: 10%; }   /* Step 1 ke baad ruki */
    25% { width: 30%; }   /* Step 2 tak gayi */
    45% { width: 30%; }   /* Step 2 par ruki */
    50% { width: 55%; }   /* Step 3 tak gayi */
    70% { width: 55%; }   /* Step 3 par ruki */
    75% { width: 80%; }   /* Step 4 tak gayi */
    90% { width: 80%; }   /* Step 4 par ruki */
    100% { width: 100%; } /* Step 5 tak khatam */
}

/* 3. Jab Section visible ho tab animation start ho */
.process-section.is-visible .timeline-line {
    animation: drawLine 5s linear forwards; /* Total 5 seconds ka sequence */
}

.process-section.is-visible .process-item {
    opacity: 1;
    transform: translateY(0);
}

/* 4. Sequential Delays (Line ke animation se match karte hue) */
/* Pehla card turant */
.process-section.is-visible .process-item:nth-child(1) { transition-delay: 0s; }

/* Doosra card tab aayega jab line 25% (Step 2) tak pahunch jaye */
.process-section.is-visible .process-item:nth-child(2) { transition-delay: 1.2s; }

/* Teesri step ki delay */
.process-section.is-visible .process-item:nth-child(3) { transition-delay: 2.5s; }

/* Chauthi step ki delay */
.process-section.is-visible .process-item:nth-child(4) { transition-delay: 3.8s; }

/* Panchvi step ki delay */
.process-section.is-visible .process-item:nth-child(5) { transition-delay: 4.8s; }

/* Icon Pop effect (Optional) */
.process-section.is-visible .icon-circle {
    animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: inherit; /* Card ke delay ko follow karega */
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* 1. Section ko shuru mein thoda niche aur transparent rakhen */
.tech-stack-section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

/* 2. Andar ke boxes ko bhi chupa denge taaki sequence mein dikhein */
.tech-box {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

/* 3. Jab class active ho (Scroll ke baad) */
.tech-stack-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.tech-stack-section.is-visible .tech-box {
    opacity: 1;
    transform: translateY(0);
}

/* 4. Staggered Delay: Boxes ek ke baad ek aayenge */
.tech-stack-section.is-visible .tech-box:nth-child(2) { transition-delay: 0.3s; }
.tech-stack-section.is-visible .tech-box:nth-child(3) { transition-delay: 0.5s; }
.tech-stack-section.is-visible .tech-box:nth-child(4) { transition-delay: 0.7s; }
/* Animation ki shuruat (Hidden state) */
.content-side {
    opacity: 0;
    transform: translateX(-100px); /* Left se bahar */
    transition: all 0.8s ease-out;
}

.image-side {
    opacity: 0;
    transform: translateX(100px); /* Right se bahar */
    transition: all 0.8s ease-out;
}

/* Jab element screen par dikhega (Active state) */
.industry-row.reveal .content-side,
.industry-row.reveal .image-side {
    opacity: 1;
    transform: translateX(0); /* Apni sahi jagah par */
}

/* Optional: Thoda spacing behtar karne ke liye */
.industry-row {
    display: flex;
    overflow: hidden; /* Taki scrollbar na dikhe animation ke waqt */
    margin-bottom: 50px;
    align-items: center;
}
@media (max-width: 600px) {
    .industries-section .industry-art-circle {
        width: 180px;
        height: 180px;
    }
    .industries-section .industry-art-circle i {
        font-size: 2.5rem;
    }
}
    
/* === SECTION: COMPARISON CARD === */

    .comparison-card {
        font-size: 14px;
    background-color: white;
}

.text-color{
        color: #0b2545 !important;
}

.table-header-bg {
    background-color: #fcfdfe;
}

.criteria-col {
    border-radius: 12px 0 0 0px;
    background-color: #0b2545 !important;
    color: white !important;
    width: 20%;
}

.border-start-blue {
    border-left: 4px solid #0d6efd;
    font-weight: 600;
}

/* Zebra striping manually for clean look */
tbody tr:nth-child(even) {
    background-color: #fcfdfe;
}

.table td, .table th {
    border: 1px solid #edf2f7;
}

/* CTA Footer Styling */
.cta-footer {
    background-color: #eef4ff;
    border: 1px solid #d1e3ff;
}

/* .icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
} */
/* Text ke niche small border add karne ke liye */
.underline-text {
    position: relative;
    display: inline-block;
    padding-bottom: 8px; /* Text aur border ke beech ka gap */
}

.underline-text::after {
    content: "";
    position: absolute;
    left: 25%;         /* Border ko center mein rakhne ke liye */
    bottom: 0;
    width: 50%;        /* Border ki length (chhota rakhne ke liye 50%) */
    height: 3px;       /* Border ki thickness */
    background-color: #0d6efd; /* Blue color */
    border-radius: 2px;
}

/* Custom CSS (dark text) waale header ke liye border color grey rakhne ke liye (optional) */
.text-dark .underline-text::after {
    background-color: #6c757d; 
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .criteria-col {
        width: 30%;
    }
    
    .cta-footer {
        text-align: center;
        justify-content: center !important;
    }
}
@media (max-width: 768px) {
    
    /* Table ko normal div ki tarah behave karwao */
    table, thead, tbody, th, td, tr {
        display: block;
        width: 100% !important;
    }

    /* Header (Thead) ko mobile par chhupa do kyunki hum cards bana rahe hain */
    thead {
        display: none;
    }

    /* Har Row ko ek Card bana do */
    tr {
        margin-bottom: 20px;
        border: 1px solid #dee2e6;
        border-radius: 12px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }

    /* Criteria wali cell (jo pehli TD hai) usko header style do */
    td:first-child {
        background-color: #0b2545 !important;
        color: white !important;
        text-align: center !important;
        font-weight: bold;
        font-size: 1.1rem;
        padding: 12px !important;
        border: none !important;
    }

    /* Criteria ke andar jo span hai (blue border wala), use mobile pe hide kar do */
    td:first-child span {
        border-left: none !important;
        padding-left: 0 !important;
    }

    /* Baki cells (Data cells) ki styling */
    td {
        text-align: center !important;
        padding: 15px !important;
        border-bottom: 1px solid #f0f0f0;
        position: relative;
    }

    /* Last cell ka border hatane ke liye */
    td:last-child {
        border-bottom: none;
    }

    /* Labels add karna (Optional: Agar aapko identify karwana hai ki kaunsa Bootstrap hai) */
    /* Kyunki humne HTML change nahi kiya, isliye hum nth-child use karenge */
    
    td:nth-child(2)::before { content: "Bootstrap 5: "; font-weight: bold; color: #0d6efd; display: block; margin-bottom: 5px; font-size: 0.8rem; text-transform: uppercase; }
    td:nth-child(3)::before { content: "Tailwind CSS: "; font-weight: bold; color: #0d6efd; display: block; margin-bottom: 5px; font-size: 0.8rem; text-transform: uppercase; }
    td:nth-child(4)::before { content: "Custom CSS: "; font-weight: bold; color: #6c757d; display: block; margin-bottom: 5px; font-size: 0.8rem; text-transform: uppercase; }

    /* Footer CTA ko mobile ke liye adjust karo */
    .cta-footer {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* ==============================================================
   ADDITIONAL ENHANCEMENTS & BRANDING HARMONIZATION
   ============================================================== */
.hero-btn.btn-secondary-outline {
    background-color: transparent !important;
    color: #0a2558 !important;
    border: 2px solid #0a2558 !important;
    margin-left: 12px;
}
.hero-btn.btn-secondary-outline:hover {
    background-color: #0a2558 !important;
    color: #ffffff !important;
}

/* Comparison Table Fallbacks & Polish */
.comparison-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}
.comparison-card .table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
}
.comparison-card .table th,
.comparison-card .table td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
}
.comparison-card .table thead th {
    background-color: #0a2558;
    color: #ffffff;
    font-weight: 700;
}
.comparison-card .table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}
.comparison-card .table tbody tr:hover {
    background-color: #f1f5f9;
}
.border-start-blue {
    font-weight: 600;
    color: #0a2558;
}

/* Accordion FAQs Active State */
.technology-faqs .faq-question {
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0a2558;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    user-select: none;
    transition: color 0.2s ease;
}
.technology-faqs .faq-question:hover {
    color: #e5252a;
}
.technology-faqs .faq-toggle-icon {
    font-size: 1.4rem;
    font-weight: 400;
    color: #e5252a;
    transition: transform 0.2s ease;
}
.technology-faqs .faq-answer {
    color: #475569;
    line-height: 1.7;
    padding-bottom: 12px;
}

/* ==============================================================
   GUARANTEED VISIBILITY & LAYOUT CADENCE (1:1 REFERENCE MATCH)
   ============================================================== */
.portfolio-detail-wrapper {
    background-color: #ffffff !important;
}

/* Guarantee visibility for all elements - no blank gaps */
.service-image, 
.service-text, 
.main-header,
.header-center, 
.challenge-card,
.tech-stack-section, 
.tech-box,
.process-item,
.who-card,
.service-card,
.industry-row,
.industry-row .content-side,
.industry-row .image-side {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Constrain section widths to 1200px container matching reference page */
.hero-section,
.stats-section-service,
.quick-answer-section,
.challenges-section,
.who-section,
.services-alternate,
.process-section,
.tech-stack-section,
.why-choose-section,
.industries-section,
.services-section,
.comparison-card,
.technology-faqs {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Hero Section Polish */
.hero-section {
    padding: 70px 15px !important;
}
.hero-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 40px !important;
}
.hero-content {
    flex: 1 1 50% !important;
}
.hero-image {
    flex: 1 1 50% !important;
}

/* Service Alternate (Module Showcase) Grid Polish */
.services-alternate {
    padding: 70px 15px !important;
}
.service-row {
    display: flex !important;
    align-items: center !important;
    gap: 60px !important;
    margin-bottom: 70px !important;
}
.service-row:nth-child(even) {
    flex-direction: row-reverse !important;
}
.service-image {
    flex: 1 1 50% !important;
}
.service-image img {
    width: 100% !important;
    height: auto !important;
    max-height: 420px !important;
    object-fit: cover !important;
    border-radius: 14px !important;
    box-shadow: 0 15px 35px rgba(10, 37, 88, 0.12) !important;
    border: 1px solid #e2e8f0 !important;
}
.service-text {
    flex: 1 1 50% !important;
}
.service-text .number-tag {
    display: inline-block;
    color: #e5252a;
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 10px;
    background: rgba(229, 37, 42, 0.08);
    padding: 4px 14px;
    border-radius: 20px;
}
.service-text h2 {
    font-size: 28px !important;
    color: #0a2558 !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
}
.service-text p {
    font-size: 16px !important;
    color: #475569 !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
}
.service-text .benefits {
    background: #f8fafc;
    border-left: 4px solid #e5252a;
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 18px;
    color: #334155;
    font-size: 14.5px;
    line-height: 1.6;
}
.service-text .techs {
    font-size: 14px;
    color: #64748b;
}
.service-text .techs a {
    display: inline-block;
    background: #f1f5f9;
    color: #0a2558;
    padding: 3px 10px;
    border-radius: 6px;
    margin: 3px 4px;
    font-weight: 600;
    text-decoration: none;
}

/* Who Section Polish */
.who-section {
    padding: 70px 15px !important;
}
.who-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
}
.who-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 35px 30px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.who-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(10, 37, 88, 0.08) !important;
}

/* Industries Section Polish */
.industries-section {
    padding: 70px 15px !important;
}
.industry-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 60px !important;
    gap: 40px !important;
}
.industry-row:nth-child(even) {
    flex-direction: row-reverse !important;
}
.industry-row .content-side {
    flex: 1 1 60% !important;
    display: flex !important;
    gap: 24px !important;
    align-items: flex-start !important;
}
.industry-row .image-side {
    flex: 1 1 40% !important;
    display: flex !important;
    justify-content: center !important;
}
.number-box {
    background: #ffffff !important;
    color: #e5252a !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    padding: 16px 22px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 25px rgba(229, 37, 42, 0.12) !important;
    border: 1px solid rgba(229, 37, 42, 0.15) !important;
    flex-shrink: 0 !important;
}

/* Challenge Cards with Number Circle */
.num-circle {
    width: 48px !important;
    height: 48px !important;
    border: 2px solid #e5252a !important;
    border-radius: 50% !important;
    color: #e5252a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    font-size: 1.15rem !important;
    margin-bottom: 20px !important;
    background: rgba(229, 37, 42, 0.05) !important;
}

/* Full Width CTA breakout */
.cta-container {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 80px 10vw !important;
    background: #0a2558 !important;
    color: #ffffff !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

@media (max-width: 991px) {
    .hero-container,
    .service-row,
    .service-row:nth-child(even),
    .industry-row,
    .industry-row:nth-child(even) {
        flex-direction: column !important;
        gap: 30px !important;
    }
    .who-grid,
    .challenges-grid {
        grid-template-columns: 1fr !important;
    }
    .cta-container {
        flex-direction: column !important;
        text-align: center !important;
        gap: 30px !important;
    }
}
