/* ==========================================================
   CASE STUDIES PAGE STYLES
   ========================================================== */

/* Tech Tags Badges (Golden style) */
.cs-tech-tags {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cs-tech-tags .tag-item {
    font-family: var(--font-outfit);
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
    background: rgba(255, 188, 0, 0.1);
    border: 1px solid rgba(255, 188, 0, 0.25);
    padding: 6px 18px;
    border-radius: 30px;
    transition: var(--transition);
}

.cs-tech-tags .tag-item:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 188, 0, 0.15);
}

.cs-tech-tags .tag-dot {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
}

/* --- Counter Section --- */
.cs-counter-sec {
    background: var(--light-grey);
    padding: 50px 0;
    border-top: var(--border);
    border-bottom: var(--border);
    position: relative;
    z-index: 10;
}

.cs-counter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.cs-counter-item {
    flex: 1;
    min-width: 220px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Heading-Rule compliance: Styled by class, not h2/h3 tags */
.cs-stat-number {
    font-family: var(--font-outfit);
    font-size: clamp(36px, 3.8vw, 54px);
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

/* User request compliance: Keeps symbols in the same black color as numbers */
.cs-stat-symbol {
    color: inherit;
}

.cs-stat-label {
    font-size: 15px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================
   FEATURED WORK BENTO GRID (ALL DETAILS IN IMAGE CONTAINER)
   ========================================================== */

.cs-showcase-sec {
    padding-block: 100px 100px;
    background-color: var(--white);
}

.cs-showcase-head {
    margin-bottom: 50px;
    text-align: left;
}

/* Heading-Rule compliance: Styled by class, not h2 tag */
.showcase-title {
    font-family: var(--font-outfit);
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--black);
    margin-top: 10px;
}

/* Bento Grid Layout */
.cs-project-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 290px;
    gap: 30px;
}

/* Bento Spanning Rules */
.bento-tall {
    grid-column: span 4;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 8;
    grid-row: span 1;
}

.bento-square {
    grid-column: span 4;
    grid-row: span 1;
}

.bento-full {
    grid-column: span 12;
    grid-row: span 1;
}

/* Card Container */
.cs-proj-card {
    height: 100%;
    cursor: pointer;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.35, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.35, 1);
}

/* Bento Grid Layout Box Shadows (Directional based on position) */
/* 1. Left position: Tall card */
.cs-project-grid> :nth-child(1) {
    box-shadow: rgba(0, 0, 0, 0.4) -2px 2px 4px, rgba(0, 0, 0, 0.3) -7px 7px 13px -3px, rgba(0, 0, 0, 0.2) 3px -3px 0px inset;
}

.cs-project-grid> :nth-child(1):hover {
    transform: translateY(-6px);
    box-shadow: rgba(0, 0, 0, 0.3) -4px 6px 10px, rgba(0, 0, 0, 0.2) -14px 18px 25px -4px, rgba(0, 0, 0, 0.15) 3px -3px 0px inset;
}

/* 2. Right position: Wide card */
.cs-project-grid> :nth-child(2) {
    box-shadow: rgba(0, 0, 0, 0.4) 2px 2px 4px, rgba(0, 0, 0, 0.3) 7px 7px 13px -3px, rgba(0, 0, 0, 0.2) -3px -3px 0px inset;
}

.cs-project-grid> :nth-child(2):hover {
    transform: translateY(-6px);
    box-shadow: rgba(0, 0, 0, 0.3) 4px 6px 10px, rgba(0, 0, 0, 0.2) 14px 18px 25px -4px, rgba(0, 0, 0, 0.15) -3px -3px 0px inset;
}

/* 3. Center position: First square card */
.cs-project-grid> :nth-child(3) {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.cs-project-grid> :nth-child(3):hover {
    transform: translateY(-6px);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 6px 10px, rgba(0, 0, 0, 0.2) 0px 18px 25px -4px, rgba(0, 0, 0, 0.15) 0px -3px 0px inset;
}

/* 4. Right position: Second square card */
.cs-project-grid> :nth-child(4) {
    box-shadow: rgba(0, 0, 0, 0.4) 2px 2px 4px, rgba(0, 0, 0, 0.3) 7px 7px 13px -3px, rgba(0, 0, 0, 0.2) -3px -3px 0px inset;
}

.cs-project-grid> :nth-child(4):hover {
    transform: translateY(-6px);
    box-shadow: rgba(0, 0, 0, 0.3) 4px 6px 10px, rgba(0, 0, 0, 0.2) 14px 18px 25px -4px, rgba(0, 0, 0, 0.15) -3px -3px 0px inset;
}

/* 5. Full width (centered) position: Full-width card */
.cs-project-grid> :nth-child(5) {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.cs-project-grid> :nth-child(5):hover {
    transform: translateY(-6px);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 6px 10px, rgba(0, 0, 0, 0.2) 0px 18px 25px -4px, rgba(0, 0, 0, 0.15) 0px -3px 0px inset;
}

/* Image Wrapper */
.proj-img-container {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #f4f6fa;
}

.proj-img-wrap {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.35, 1);
}

/* Curated fallbacks/gradients for projects */
.cs-proj-card:nth-child(1) .proj-img-wrap {
    background-image: linear-gradient(135deg, #E6F7FF 0%, #BAE7FF 100%);
}

.cs-proj-card:nth-child(2) .proj-img-wrap {
    background-image: linear-gradient(135deg, #FBE9F1 0%, #C4547C 100%);
}

.cs-proj-card:nth-child(3) .proj-img-wrap {
    background-image: linear-gradient(135deg, #F6FFED 0%, #D9F7BE 100%);
}

.cs-proj-card:nth-child(4) .proj-img-wrap {
    background-image: linear-gradient(135deg, #FFF0F6 0%, #FFD8E6 100%);
}

.cs-proj-card:nth-child(5) .proj-img-wrap {
    background-image: linear-gradient(135deg, #F9F0FF 0%, #E8D2FF 100%);
}

.cs-proj-card:hover .proj-img-wrap {
    transform: scale(1.08);
}

/* Overlay covering the image */
.proj-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    z-index: 3;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.7) 100%);
    transition: background 0.4s ease;
}

.cs-proj-card:hover .proj-card-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.85) 100%);
}

/* Top details (Category + Name) */
.proj-info-top {
    text-align: left;
}

.proj-industry {
    font-family: var(--font-poppins);
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
}

/* Heading-Rule compliance: Styled by class, not h3 tag */
.proj-name {
    font-family: var(--font-outfit);
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0;
    line-height: 1.2;
}

/* Bottom details (Normal Metric vs Hover Metrics & CTA) */
.proj-info-bottom {
    position: relative;
    width: 100%;
    min-height: 40px;
}

.proj-normal-metrics {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 1, 0.35, 1);
}

.proj-normal-industry {
    font-family: var(--font-poppins);
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.proj-normal-platform {
    font-family: var(--font-poppins);
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: 2px;
}

.proj-normal-metrics .m-value {
    font-family: var(--font-outfit);
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    background: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(255, 188, 0, 0.2);
    display: inline-block;
}

.proj-normal-cta {
    font-family: var(--font-poppins);
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    transition: color 0.3s ease;
}

.proj-normal-cta .arrow-symbol {
    transition: transform 0.3s ease;
}

.cs-proj-card:hover .proj-normal-cta {
    color: var(--primary-color);
}

.cs-proj-card:hover .proj-normal-cta .arrow-symbol {
    transform: translateX(4px);
}

/* Hover contents */
.proj-hover-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 1, 0.35, 1);
    pointer-events: none;
}

.cs-proj-card:hover .proj-normal-metrics {
    opacity: 0;
    transform: translateY(-20px);
}

.cs-proj-card:hover .proj-hover-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.proj-metrics-overlay {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.metric-badge {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 14px;
    border-radius: 10px;
}

.metric-badge .metric-val {
    font-family: var(--font-outfit);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
}

.metric-badge .metric-lbl {
    font-family: var(--font-poppins);
    font-size: 10px;
    font-weight: 500;
    color: var(--white);
    opacity: 0.8;
    margin-top: 2px;
}

.proj-cta-overlay {
    text-align: left;
}

.proj-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-outfit);
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

.proj-cta-btn:hover {
    color: var(--primary-color);
}

.proj-cta-btn .arrow-symbol {
    transition: transform 0.3s ease;
}

.proj-cta-btn:hover .arrow-symbol {
    transform: translateX(4px);
}


/* ==========================================================
   RESPONSIVE STYLES
   ========================================================== */

/* Tablet screens */
@media (max-width: 991px) {
    .cs-tech-tags {
        justify-content: center;
    }

    .cs-counter-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .cs-showcase-sec {
        padding-block: 80px 80px;
    }

    .cs-showcase-head {
        text-align: center;
        margin-bottom: 40px;
    }

    /* Bento Responsive Grid */
    .cs-project-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 350px;
        gap: 25px;
    }

    .bento-tall {
        grid-column: span 1;
        grid-row: span 2;
    }

    .bento-wide {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bento-square {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-full {
        grid-column: span 2;
        grid-row: span 1;
    }

    /* Adjust shadow directions for 2-column layout on tablet */
    .cs-project-grid> :nth-child(1) {
        box-shadow: rgba(0, 0, 0, 0.4) -2px 2px 4px, rgba(0, 0, 0, 0.3) -7px 7px 13px -3px, rgba(0, 0, 0, 0.2) 3px -3px 0px inset;
    }

    .cs-project-grid> :nth-child(1):hover {
        box-shadow: rgba(0, 0, 0, 0.3) -4px 6px 10px, rgba(0, 0, 0, 0.2) -14px 18px 25px -4px, rgba(0, 0, 0, 0.15) 3px -3px 0px inset;
    }

    .cs-project-grid> :nth-child(2) {
        box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    }

    .cs-project-grid> :nth-child(2):hover {
        box-shadow: rgba(0, 0, 0, 0.3) 0px 6px 10px, rgba(0, 0, 0, 0.2) 0px 18px 25px -4px, rgba(0, 0, 0, 0.15) 0px -3px 0px inset;
    }

    .cs-project-grid> :nth-child(3) {
        box-shadow: rgba(0, 0, 0, 0.4) -2px 2px 4px, rgba(0, 0, 0, 0.3) -7px 7px 13px -3px, rgba(0, 0, 0, 0.2) 3px -3px 0px inset;
    }

    .cs-project-grid> :nth-child(3):hover {
        box-shadow: rgba(0, 0, 0, 0.3) -4px 6px 10px, rgba(0, 0, 0, 0.2) -14px 18px 25px -4px, rgba(0, 0, 0, 0.15) 3px -3px 0px inset;
    }

    .cs-project-grid> :nth-child(4) {
        box-shadow: rgba(0, 0, 0, 0.4) 2px 2px 4px, rgba(0, 0, 0, 0.3) 7px 7px 13px -3px, rgba(0, 0, 0, 0.2) -3px -3px 0px inset;
    }

    .cs-project-grid> :nth-child(4):hover {
        box-shadow: rgba(0, 0, 0, 0.3) 4px 6px 10px, rgba(0, 0, 0, 0.2) 14px 18px 25px -4px, rgba(0, 0, 0, 0.15) -3px -3px 0px inset;
    }

    .cs-project-grid> :nth-child(5) {
        box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    }

    .cs-project-grid> :nth-child(5):hover {
        box-shadow: rgba(0, 0, 0, 0.3) 0px 6px 10px, rgba(0, 0, 0, 0.2) 0px 18px 25px -4px, rgba(0, 0, 0, 0.15) 0px -3px 0px inset;
    }
}

/* Mobile screens */
@media (max-width: 575px) {
    .cs-counter-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cs-stat-number {
        font-size: 40px;
    }

    .cs-showcase-sec {
        padding-block: 60px 60px;
    }

    /* Full collapse to single column */
    .cs-project-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 25px;
    }

    .bento-tall,
    .bento-wide,
    .bento-square,
    .bento-full {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    .cs-proj-card {
        height: 350px !important;
    }

    /* Reset shadows to straight down for single column stack on mobile */
    .cs-project-grid> :nth-child(1),
    .cs-project-grid> :nth-child(2),
    .cs-project-grid> :nth-child(3),
    .cs-project-grid> :nth-child(4),
    .cs-project-grid> :nth-child(5) {
        box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    }

    .cs-project-grid> :nth-child(1):hover,
    .cs-project-grid> :nth-child(2):hover,
    .cs-project-grid> :nth-child(3):hover,
    .cs-project-grid> :nth-child(4):hover,
    .cs-project-grid> :nth-child(5):hover {
        box-shadow: rgba(0, 0, 0, 0.3) 0px 6px 10px, rgba(0, 0, 0, 0.2) 0px 18px 25px -4px, rgba(0, 0, 0, 0.15) 0px -3px 0px inset;
    }
}

/* ==========================================================
   INDIVIDUAL CASE STUDY PAGE STYLES (EQ FLUX & FUTURE TEMPLATE)
   ========================================================== */

/* Common Heading Utility */
.md-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
}

/* Grid Pattern Overlay (Light) */
.cs-hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.8;
    pointer-events: none;
    z-index: 1;
}

/* Subtle Yellow Glow behind Visuals */
.cs-hero-glow {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 188, 0, 0.12) 0%, rgba(255, 188, 0, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

/* Left Content Area */
.cs-hero-left {
    position: relative;
    z-index: 2;
    text-align: left;
}

/* Meta Information Grid */
.cs-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 500px;
}

.cs-meta-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.cs-meta-card:hover {
    background: #ffffff;
    border-color: rgba(255, 188, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 188, 0, 0.08);
}

.cs-hero-left .md-title {
    margin-top: 0;
    margin-bottom: 15px;
}

.cs-hero-left .hero-desc p {
    margin-bottom: 0;
}

.cs-meta-label {
    display: block;
    font-family: var(--font-poppins);
    font-size: 11px;
    font-weight: 600;
    color: rgba(17, 24, 39, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.cs-meta-value {
    display: block;
    font-family: var(--font-outfit);
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

/* Right Content Area: Visual Mockup Image */
.cs-hero-right-img {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.cs-hero-main-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}


/* Responsive adjustments */
@media (max-width: 991px) {
    .cs-hero-left {
        text-align: center;
        margin-bottom: 0px;
    }

    .cs-meta-grid {
        margin-inline: auto;
    }

    .cs-hero-right-img {
        margin-top: 0px;
    }
}

@media (max-width: 480px) {
    .cs-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* ==========================================================
   DESIGN SHOWCASE SECTION
   ========================================================== */
.design-showcase-sec {
    position: relative;
    overflow: hidden;
}

.cs-showcase-list {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.cs-showcase-item {
    display: flex;
    align-items: center;
    gap: 60px;
}

.cs-showcase-item.reverse {
    flex-direction: row-reverse;
}

.cs-showcase-mockups {
    flex: 1.2;
    /* Increased flex to give mockup more width */
    position: relative;
    width: 100%;
}

.cs-showcase-content {
    flex: 0.8;
    /* Decreased content width to balance mockups */
    text-align: left;
}

.showcase-item-label {
    font-family: var(--font-poppins);
    font-size: 11px;
    font-weight: 700;
    color: #bbb;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.cs-showcase-content .showcase-item-title {
    font-family: var(--font-outfit);
    font-size: clamp(22px, 2.5vw, 36px);
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
    line-height: 1.25;
}


/* Apple-style mockups stacking */
.cs-browser-mockup {
    width: 96%;
    /* Increased mockup size by 10-15% */
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08), 0 10px 20px rgba(0, 0, 0, 0.04);
    /* Deeper subtle shadow */
    overflow: hidden;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-browser-mockup .cs-browser-screen {
    height: 480px;
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    transition: background-position 10s ease-in-out;
}

.cs-browser-mockup:hover .cs-browser-screen {
    background-position: bottom center;
}

/* Hover lift transitions */
.cs-showcase-mockups:hover .cs-browser-mockup {
    transform: translateY(-8px);
    /* Hover lift browser */
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12), 0 15px 30px rgba(0, 0, 0, 0.06);
}

/* Overlay phone mockup */
.cs-phone-mockup {
    position: absolute;
    width: 240px;
    /* Increased size by 10-15% */
    height: 480px;
    bottom: -30px;
    right: -10px;
    background: #111827;
    border: 7px solid #111827;
    border-radius: 36px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2), 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Deeper shadow */
    overflow: hidden;
    z-index: 5;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-phone-mockup .cs-phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #FAF9F6;
    transition: background-position 8s ease-in-out;
}

.cs-phone-mockup:hover .cs-phone-screen {
    background-position: bottom center;
}

/* Parallax hover lift phone overlay */
.cs-showcase-mockups:hover .cs-phone-mockup {
    transform: translateY(-16px) scale(1.02);
    /* Parallax lift phone */
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.28), 0 20px 45px rgba(0, 0, 0, 0.14);
}

/* ==========================================================
   THE CHALLENGE SECTION
   ========================================================== */
.cs-challenge-sec {
    position: relative;
    padding-block: 100px;
    background-color: #ffffff;
}

.cs-challenge-left-sticky {
    position: relative;
}

@media (min-width: 992px) {
    .cs-challenge-left-sticky {
        position: sticky;
        top: 120px;
        align-self: start;
    }
}

.challenge-eyebrow {
    font-family: var(--font-poppins);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
}




/* Challenge Cards Stack */
.challenge-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cs-challenge-card {
    background: #ffffff;


    border-radius: 12px;
    padding: 28px 30px;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.35, 1);
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}


.cs-challenge-card .challenge-num {
    font-family: var(--font-outfit);
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: block;
    line-height: 1;
}

.cs-challenge-card .challenge-card-title {
    font-family: var(--font-outfit);
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

.cs-challenge-card p {
    font-size: 14.5px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0;
}



/* ==========================================================
   OUR APPROACH / SOLUTION SECTION (STICKY STACKING CARDS)
   ========================================================== */
.cs-solution-sec {
    position: relative;
    padding-block: 100px;
    background-color: #FAF9F6;
}

.cs-solution-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    /* Space between cards when fully laid out */
    margin-top: 60px;
    position: relative;
}

.cs-solution-block {
    position: sticky;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.015);
    padding: 35px 45px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transform-origin: top center;
    transition: box-shadow 0.3s ease;
}

/* Individual card top offsets and z-indices for stacking */
.cs-sol-card-1 {
    top: 100px;
    z-index: 1;
}

.cs-sol-card-2 {
    top: 160px;
    z-index: 2;
}

.cs-sol-card-3 {
    top: 220px;
    z-index: 3;
}

.cs-sol-card-4 {
    top: 280px;
    z-index: 4;
}

.cs-sol-card-5 {
    top: 340px;
    z-index: 5;
}

/* Header inside sticky card */
.cs-solution-header {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 15px;
}

.solution-num {
    font-family: var(--font-outfit);
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    display: inline-block;
}

.solution-block-title {
    font-family: var(--font-outfit);
    font-size: 18px;
    /* Small font size as requested */
    font-weight: 700;
    color: #111827;
    margin-bottom: 0;
    line-height: 1.2;
}

/* Card Body Content */
.cs-solution-body {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.cs-solution-body.reverse {
    flex-direction: row-reverse;
}

.cs-solution-visual {
    flex: 1.2;
    position: relative;
    width: 100%;
}

.cs-solution-visual .cs-browser-mockup {
    width: 100%;
    max-height: 480px;
    height: auto;
    overflow: hidden;
}

.cs-solution-visual .cs-browser-screen {
    height: auto;
    max-height: 480px;
    position: relative;
    overflow: hidden;
}

.cs-solution-visual .cs-browser-screen img,
.cs-mockup-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.cs-solution-visual .cs-phone-mockup {
    width: 160px;
    height: 320px;
    bottom: -15px;
    right: -10px;
    border-radius: 24px;
    border-width: 5px;
}

.cs-solution-visual .cs-phone-mockup .cs-phone-screen {
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
}

.cs-solution-visual .cs-phone-mockup .cs-phone-screen img,
.cs-phone-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.cs-solution-info {
    flex: 0.8;
    text-align: left;
}

.solution-points-wrap ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.solution-points-wrap ul li {
    font-family: var(--font-poppins);
    font-size: 16px;
    color: #4b5563;
    position: relative;
    padding-left: 32px;
    line-height: 1.6;
}

.solution-points-wrap ul li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: 700;
    font-size: 26px;
    position: absolute;
    left: 8px;
    top: -2px;
    line-height: 1;
}

/* Hover lift transition for solution mockups */
.cs-solution-visual:hover .cs-browser-mockup {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12), 0 15px 30px rgba(0, 0, 0, 0.06);
}

.cs-solution-visual:hover .cs-phone-mockup {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.28), 0 20px 45px rgba(0, 0, 0, 0.14);
}

/* ==========================================================
   DEVELOPMENT HIGHLIGHTS SECTION
   ========================================================== */
.cs-dev-highlights-sec {
    position: relative;
    padding-block: 100px;
    background-color: #ffffff;
}

.dev-eyebrow {
    font-family: var(--font-poppins);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.dev-title {
    font-family: var(--font-outfit);
    font-size: clamp(26px, 2.8vw, 42px);
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
    margin-bottom: 50px;
    text-align: center;
}

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

.cs-dev-card {
    background: #FAF9F6;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 35px 30px;
    text-align: left;
    transition: all 0.3s ease;
}

.cs-dev-card:hover {
    background: #ffffff;
    border-color: rgba(255, 188, 0, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 188, 0, 0.06);
}

.cs-dev-card .dev-icon {
    font-size: 32px;
    margin-bottom: 20px;
    display: inline-block;
}

.cs-dev-card .dev-card-title {
    font-family: var(--font-outfit);
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.cs-dev-card p {
    font-size: 14.5px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==========================================================
   KEY RESULTS SECTION (LIGHT GREY SECTION)
   ========================================================== */
.cs-key-results-sec {
    position: relative;
    padding-block: 100px;
    background-color: #f3f4f6;
    color: #111827;
    overflow: hidden;
}

.cs-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
    padding-inline: 15px;
}

.cs-result-card {
    background: #ffffff;
    /* White cards on light-grey */
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-result-card:hover {
    background: #ffffff;
    border-color: var(--primary-color, #FFBC00);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.cs-result-card .result-number {
    font-family: var(--font-outfit);
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 800;
    color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    line-height: 1.1;
}


.cs-result-card .result-label {
    font-family: var(--font-poppins);
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(17, 24, 39, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.cs-results-summary {
    max-width: 800px;
    margin: 0 auto;
    padding-inline: 15px;
}

.cs-results-summary p {
    font-family: var(--font-outfit);
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 500;
    color: #374151;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ==========================================================
   RESULTS & IMPACT SECTION (BUSINESS IMPACT)
   ========================================================== */
.cs-impact-sec {
    position: relative;
    color: #111827;
    overflow: hidden;
}

.cs-impact-glow {
    position: absolute;
    top: 15%;
    left: 10%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(255, 188, 0, 0.22) 0%, rgba(255, 188, 0, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

/* Top Split Grid */
.cs-impact-top-grid {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

/* Browser Mockup & Lighthouse Dashboard */
.cs-lh-browser {
    width: 100%;
    margin: 0;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.cs-browser-header {
    background: #f3f4f6;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dots .dot.red {
    background: #ff5f56;
}

.browser-dots .dot.yellow {
    background: #ffbd2e;
}

.browser-dots .dot.green {
    background: #27c93f;
}

.browser-address-bar {
    font-family: var(--font-poppins);
    font-size: 11px;
    color: #9ca3af;
    background: #ffffff;
    padding: 4px 15px;
    border-radius: 6px;
    flex: 1;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.cs-lh-dashboard {
    padding: 30px 25px;
    background: #ffffff;
}

.lh-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f3f4f6;
    text-align: center;
}

.lh-title {
    font-family: var(--font-outfit);
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.lh-scores-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    text-align: center;
}

.lh-score-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lh-gauge {
    position: relative;
    width: 85px;
    height: 85px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lh-chart {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 3.5;
}

.circle-val {
    fill: none;
    stroke: #0cce6b;
    stroke-width: 3.5;
    stroke-linecap: round;
}

.lh-val {
    position: absolute;
    font-family: var(--font-outfit);
    font-size: 24px;
    font-weight: 800;
    color: #111827;
}

.lh-label {
    font-family: var(--font-poppins);
    font-size: 12.5px;
    font-weight: 600;
    color: #4b5563;
}

/* Right Column Features Box */
.cs-impact-features-box {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.features-title {
    font-family: var(--font-outfit);
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    align-self: flex-start;
}


.cs-impact-list-col{
    height: 100%;
}

.check-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 188, 0, 0.15);
    color: #b48600;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}

.check-text {
    font-family: var(--font-outfit);
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
}

/* Middle Stat Strip */
.cs-impact-stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.impact-stat-item {
    background: #ffffff;
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.impact-stat-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(255, 188, 0, 0.1);
}

.stat-num {
    font-family: var(--font-outfit);
    font-size: clamp(32px, 3vw, 44px);
    font-weight: 800;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-bottom: 6px;
}



.stat-lbl {
    font-family: var(--font-poppins);
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

/* Bottom Cards Grid */
.cs-impact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.cs-impact-card {
    background: #ffffff;
    padding: 32px 26px;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.cs-impact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 188, 0, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.impact-card-icon {
    width: 50px;
    height: 50px;
    padding: 6px;
    border-radius: 12px;
    background: rgba(255, 188, 0, 0.12);
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.cs-impact-card:hover .impact-card-icon {
    background: var(--primary-color);
    transform: scale(1.05);
}

.impact-card-title {
    font-family: var(--font-outfit);
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
    line-height: 1.3;
}

.cs-impact-card p {
    font-family: var(--font-poppins);
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Testimonial Card */
.cs-testimonial-wrapper {
    max-width: 850px;
    margin: 0 auto;
}

.cs-testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(255, 188, 0, 0.15);
    border-radius: 20px;
    padding: 50px 60px;
    position: relative;
    box-shadow: 0 20px 50px rgba(255, 188, 0, 0.03);
    text-align: center;
}

.cs-testimonial-card::before {
    content: "“";
    position: absolute;
    top: 15px;
    left: 40px;
    font-family: Georgia, serif;
    font-size: 120px;
    color: rgba(255, 188, 0, 0.15);
    line-height: 1;
}

.cs-testimonial-card p {
    font-family: var(--font-outfit);
    font-size: clamp(16px, 1.8vw, 22px);
    font-weight: 500;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.cs-testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.cs-testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
}

.cs-testimonial-meta {
    text-align: left;
}

.cs-testimonial-meta .author-name {
    font-family: var(--font-outfit);
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
}

.cs-testimonial-meta span.author-title {
    font-family: var(--font-poppins);
    font-size: 12px;
    color: #6b7280;
}

/* ==========================================================
   TECH STACK SECTION
   ========================================================== */
.cs-tech-stack-sec {
    position: relative;
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.cs-tech-stack-sec .tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 800px;
    margin: 30px auto 0;
}

.tech-badge {
    background: #FAF9F6;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 30px;
    padding: 10px 24px;
    font-family: var(--font-poppins);
    font-size: 13.5px;
    font-weight: 600;
    color: #374151;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 188, 0, 0.08);
}

/* ==========================================================
   NEXT PROJECT NAVIGATION
   ========================================================== */
.cs-next-project-sec {
    position: relative;
    padding-block: 100px;
    background-color: #FAF9F6;
    overflow: hidden;
}

.cs-next-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 60px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cs-next-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(255, 188, 0, 0.08);
}

.next-card-left {
    text-align: left;
}

.next-card-left span.next-lbl {
    font-family: var(--font-poppins);
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.next-card-left .next-title {
    font-family: var(--font-outfit);
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
}

.next-card-left span.next-desc {
    font-size: 16px;
    color: #6b7280;
}

.next-card-right .next-arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #FAF9F6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #111827;
    transition: all 0.4s ease;
}

.cs-next-card:hover .next-card-right .next-arrow {
    background-color: var(--primary-color);
    transform: translateX(10px);
    color: #ffffff;
}

/* ==========================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================== */
@media (max-width: 1199px) {
    .cs-impact-top-grid {
        
        margin-bottom: 35px;
    }

    .cs-lh-dashboard {
        padding: 20px 15px;
    }

    .cs-impact-features-box {
        padding: 24px 20px;
    }

    .cs-impact-stat-strip {
        gap: 15px;
        margin-bottom: 35px;
    }

    .impact-stat-item {
        padding: 18px 12px;
    }

    .cs-impact-cards-grid {
        gap: 16px;
    }

    .cs-impact-card {
        padding: 22px 18px;
    }

    .cs-solution-visual .cs-browser-screen img,
    .cs-mockup-img {
        max-height: 360px;
    }

    .cs-showcase-list {
        gap: 60px;
    }

    .cs-showcase-mockups .cs-browser-mockup .cs-browser-screen {
        height: 360px;
    }

    .cs-showcase-mockups .cs-phone-mockup {
        width: 180px;
        height: 360px;
        bottom: -20px;
        right: -10px;
        border-radius: 28px;
        border-width: 5px;
    }

    .cs-showcase-mockups .cs-phone-mockup .cs-phone-screen {
        border-radius: 22px;
    }

    .cs-showcase-item:has(.cs-phone-mockup) .cs-showcase-mockups {
        margin-bottom: 30px;
    }
}

@media (max-width: 991px) {

    .cs-showcase-item,
    .cs-showcase-item.reverse {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .cs-showcase-content {
        text-align: center;
    }

    .cs-browser-mockup {
        width: 100%;
    }

    .cs-phone-mockup {
        width: 180px;
        height: 360px;
        bottom: -20px;
        right: 0;
    }

    .cs-challenge-left-sticky {
        margin-bottom: 0px;
    }

    .cs-solution-list {
        gap: 20px;
    }

    .cs-solution-block {
        position: relative;
        top: auto !important;
        padding: 20px 25px;
        gap: 0px;
    }

    .cs-solution-block:not(.active) .cs-solution-body {
        display: none;
    }

    .cs-solution-header {
        cursor: pointer;
        padding-right: 40px;
        position: relative;
        width: 100%;
        border-bottom: none;
        padding-bottom: 0;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .cs-solution-block.active .cs-solution-header {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        padding-bottom: 15px;
    }

    .solution-num {
        font-size: 28px;
    }

    .solution-block-title {
        font-size: 16px;
    }

    .cs-solution-header::after {
        content: "+";
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        font-family: var(--font-poppins);
        font-size: 24px;
        font-weight: 300;
        color: var(--primary-color);
        transition: transform 0.3s ease;
    }

    .cs-solution-block.active .cs-solution-header::after {
        content: "\2212";
        transform: translateY(-50%) rotate(180deg);
    }

    .cs-solution-body,
    .cs-solution-body.reverse {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        margin-top: 20px;
    }

    .cs-solution-visual {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .cs-solution-info {
        text-align: center;
        width: 100%;
    }

    .solution-points-wrap ul li {
        text-align: left;
        max-width: 480px;
        font-size: 15px;
    }

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

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

    .cs-testimonial-card {
        padding: 40px 30px;
    }

    .cs-next-card {
        padding: 40px;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .next-card-left {
        text-align: center;
    }

    .md-title {
        font-size: 20px;
    }

    .cs-impact-stat-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .cs-impact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .cs-showcase-item:has(.cs-phone-mockup) .cs-showcase-mockups {
        margin-bottom: 0;
    }

    .cs-solution-block {
        gap: 0;
    }

    .cs-showcase-content .showcase-item-title {
        margin-bottom: 10px;
    }

    .cs-showcase-list {
        gap: 40px;
    }

    .cs-showcase-mockups .cs-browser-mockup .cs-browser-screen {
        height: 300px;
    }

    .cs-phone-mockup {
        display: none;
        /* Hide overlay phone on mobile screens to save space */
    }

    .cs-solution-list {
        gap: 15px;
    }

    .cs-solution-block {
        padding: 15px 20px;
    }

    .cs-solution-visual {
        display: none !important;
    }

    .cs-solution-body {
        gap: 0;
        margin-top: 15px;
    }

    .solution-num {
        font-size: 24px;
    }

    .solution-block-title {
        font-size: 14.5px;
    }

    .solution-points-wrap ul li {
        font-size: 14.5px;
        padding-left: 28px;
    }

    .solution-points-wrap ul li::before {
        font-size: 22px;
        left: 6px;
    }

    .cs-dev-grid {
        grid-template-columns: 1fr;
    }

    .cs-results-grid {
        grid-template-columns: 1fr;
    }

    .cs-testimonial-card::before {
        left: 20px;
        font-size: 80px;
    }

    .cs-testimonial-card p {
        font-size: 15px;
    }

    .cs-meta-card {
        padding: 12px 8px;
    }

    .cs-meta-value {
        font-size: 12px;
    }

    .lh-scores-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .cs-impact-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   TECHNOLOGIES WE USED SECTION STYLES
   ========================================================== */
.cs-tech-sec {
    position: relative;
    background-color: var(--white);
    background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    overflow: hidden;
    padding-block: 100px;
}

.cs-tech-glow {
    position: absolute;
    right: 5%;
    top: 30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 188, 0, 0.15) 0%, rgba(255, 188, 0, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.cs-tech-left-content {
    display: flex;
    flex-direction: column;
    gap: 35px;
    position: relative;
    z-index: 2;
}

.tech-group-block {
    position: relative;
}

.tech-cat-title {
    font-family: var(--font-outfit);
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-cat-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.tech-cards-grid {
    display: grid;
    gap: 16px;
}

.tech-cards-grid.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.tech-cards-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Glass Card */
.tech-card.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 16px 18px;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.35, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.tech-card.glass-card:hover {
    transform: translateY(-5px);
}

.tech-card.glass-card:hover::before {
    opacity: 1;
}

.tech-card-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.tech-card.glass-card .tech-icon-wrap {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease, background-color 0.35s ease;
    padding: 8px;
    margin-bottom: 0;
}
.tech-card .tech-info{
    text-align: start;
}
.tech-card.glass-card:hover .tech-icon-wrap {
    transform: scale(1.08);
}

.tech-info {
    position: relative;
    overflow: hidden;
    flex-grow: 1;
    
    padding-top: 2px;
}

.tech-card-name {
    font-family: var(--font-outfit);
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 2px;
    line-height: 1.2;
}

.tech-info p {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
    line-height: 1.25;
    transition: all 0.3s ease;
    display: block;
}

.tech-hover-desc {
    font-size: 12px;
    font-weight: 600;
    color: var(--black);
    position: absolute;
    left: 0;
    right: 0;
    top: 20px;
    width: 100%;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
    white-space: normal;
    line-height: 1.25;
    pointer-events: none;
}

.tech-card.glass-card:hover .tech-info p {
    opacity: 0;
    transform: translateY(-8px);
}

.tech-card.glass-card:hover .tech-hover-desc {
    opacity: 1;
    transform: translateY(0);
}

/* Architecture Illustration Card (Right Column) */
.tech-architecture-wrapper {
    position: relative;
    z-index: 2;
    padding-left: 20px;
}

.arch-illustration-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 35px 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    text-align: center;
    position: relative;
}

.arch-header {
    margin-bottom: 30px;
}

.arch-badge {
    font-family: var(--font-outfit);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--black);
    background: rgba(255, 188, 0, 0.15);
    border: 1px solid rgba(255, 188, 0, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
}

.arch-flow-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.arch-node {
    background: var(--white);
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    min-width: 200px;
}

.arch-node:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 188, 0, 0.15);
}

.arch-node-root {
    background: #fdfbf7;
    border-color: rgba(255, 188, 0, 0.4);
}

.arch-node-highlight {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 188, 0, 0.3);
}

.arch-node-highlight .arch-node-title {
    color: var(--black);
    font-weight: 700;
}

.arch-node-title {
    font-family: var(--font-outfit);
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
}

/* Connectors */
.arch-connector.vertical-line {
    width: 2px;
    height: 32px;
    background: rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.pulse-dot {
    position: absolute;
    top: -6px;
    left: -3px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-color);
    animation: pulseVertical 2.5s infinite linear;
}

@keyframes pulseVertical {
    0% {
        top: -6px;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        top: 32px;
        opacity: 0;
    }
}

/* Horizontal Row Node */
.arch-node-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.arch-sub-node {
    font-family: var(--font-outfit);
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 14px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.arch-h-line {
    height: 2px;
    width: 24px;
    background: rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.pulse-dot-h {
    position: absolute;
    left: -6px;
    top: -3px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-color);
    animation: pulseHorizontal 2s infinite linear;
}

@keyframes pulseHorizontal {
    0% {
        left: -6px;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        left: 24px;
        opacity: 0;
    }
}

/* Responsive adjustments for Tech Stack */
@media (max-width: 991px) {
    .cs-tech-sec {
        padding-block: 70px;
    }

    .cs-tech-left-content {
        margin-bottom: 0px;
    }

    .tech-architecture-wrapper {
        padding-left: 0;
    }
}

@media (max-width: 767px) {

    .tech-cards-grid.grid-2,
    .tech-cards-grid.grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {

    .tech-cards-grid.grid-2,
    .tech-cards-grid.grid-3 {
        grid-template-columns: 1fr;
    }

    .arch-node-row {
        flex-direction: column;
        gap: 6px;
    }

    .arch-h-line {
        width: 2px;
        height: 16px;
    }
}

/* ==========================================================
   CLIENT TESTIMONIAL / PROJECT OUTCOME SECTION STYLES
   ========================================================== */
.cs-testimonial-sec {
    position: relative;
    background-color: var(--white);
    overflow: hidden;
}

.cs-testimonial-glow {
    position: absolute;
    left: 10%;
    top: 20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 188, 0, 0.12) 0%, rgba(255, 188, 0, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.testimonial-card-left.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 45px 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 2;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-card-left.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.quote-stars {
    color: var(--primary-color, #FFBC00);
    font-size: 24px;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(255, 188, 0, 0.3);
}

.testimonial-quote p {
    font-family: var(--font-outfit);
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 500;
    line-height: 1.5;
    color: var(--black);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author-box {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 24px;
}

.testimonial-client-name {
    font-family: var(--font-outfit);
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 2px;
}

.testimonial-location p {
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.55);
    margin: 0;
}

/* Right Side Card */
.testimonial-card-right.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 2;
}

.project-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.client-brand-logo .brand-text {
    font-family: var(--font-outfit);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--black);
    background: linear-gradient(135deg, #111, #444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-site-url {
    font-family: var(--font-outfit);
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    background: rgba(255, 188, 0, 0.15);
    border: 1px solid rgba(255, 188, 0, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.project-site-url:hover {
    background: var(--primary-color, #FFBC00);
    color: var(--black);
    transform: translateY(-2px);
}

.project-thumbnail-box {
    border-radius: 12px;
    overflow: hidden;
}

.project-thumbnail-box .cs-browser-mockup.mini-mockup {
    height: 220px;
    border-radius: 12px;
}

@media (max-width: 991px) {

    .testimonial-card-left.glass-card {

        padding: 30px 25px;
    }
}


/*==================================================
Case Study
==================================================*/

:root{

    --case-bg:#F7F8FC;
    --case-white:#ffffff;
    --case-dark:#111827;
    --case-text:#6B7280;
    --case-border:#E5E7EB;

    --case-radius:28px;

    --case-shadow:
    0 25px 70px rgba(0,0,0,.06);

}


/*==================================================
Hero
==================================================*/

.case-hero-sec{

    position:relative;
    overflow:hidden;

    padding:180px 0 120px;

    background:
    radial-gradient(circle at top right,
    rgba(255,188,0,.18),
    transparent 30%),

    linear-gradient(
    180deg,
    #ffffff,
    #fafafa);

}


.case-hero-sec::before{

    content:"";

    position:absolute;

    width:700px;
    height:700px;

    top:-320px;
    right:-220px;

    border-radius:50%;

    background:rgba(255,188,0,.08);

    filter:blur(100px);

}


.case-hero-content{

    position:relative;
    z-index:2;

}


.case-hero-content .hero-title{

    max-width:620px;

    margin:20px 0;

}


.case-hero-content .hero-desc{

    max-width:620px;

    font-size:18px;

    line-height:1.9;

    color:var(--case-text);

    margin-bottom:45px;

}


.case-hero-image{

    position:relative;

    text-align:center;

}


.case-hero-image img{

    width:100%;

    max-width:700px;

    border-radius:28px;

    box-shadow:var(--case-shadow);

}



/*==================================================
Meta Cards
==================================================*/

.case-meta{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}


.meta-card{

    background:#fff;

    border-radius:20px;

    padding:28px;

    border:1px solid var(--case-border);

    transition:.4s;

}


.meta-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--case-shadow);

}


.meta-card span{

    display:block;

    color:#999;

    font-size:13px;

    letter-spacing:1px;

    text-transform:uppercase;

    margin-bottom:10px;

}


.meta-card h6{

    margin:0;

    font-size:20px;

    font-weight:600;

    color:var(--case-dark);

}



/*==================================================
Project Overview
==================================================*/

.project-overview{

    background:#fff;

}


.overview-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

    margin-top:70px;

}


.overview-card{

    background:#fff;

    padding:45px;

    border-radius:30px;

    border:1px solid var(--case-border);

    transition:.45s;

    position:relative;

    overflow:hidden;

}


.overview-card::before{

    content:"";

    position:absolute;

    left:0;
    top:0;

    width:5px;
    height:0;

    background:var(--service-accent);

    transition:.45s;

}


.overview-card:hover::before{

    height:100%;

}


.overview-card:hover{

    transform:translateY(-12px);

    box-shadow:var(--case-shadow);

}


.overview-card h3{

    margin-bottom:20px;

    font-size:28px;

}


.overview-card p{

    margin:0;

    line-height:1.9;

    color:var(--case-text);

}



/*==================================================
Common Showcase Styles
==================================================*/

.design-showcase{

    background:var(--case-bg);

}


.showcase-item{

    margin-top:120px;

}


.showcase-image{

    position:relative;

}


.showcase-image img{

    width:100%;

    border-radius:30px;

    box-shadow:var(--case-shadow);

}


.showcase-content{

    padding-left:60px;

}


.reverse .showcase-content{

    padding-left:0;

    padding-right:60px;

}


.showcase-content span{

    width:65px;
    height:65px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#fff;

    font-weight:700;

    margin-bottom:30px;

    color:var(--service-accent);

    box-shadow:var(--case-shadow);

}


.showcase-content h3{

    margin-bottom:25px;

    font-size:42px;

}


.showcase-content p{

    line-height:2;

    color:var(--case-text);

}
