/* ══════════════════════════════════════════════════════════════════════════
   TDS CONSTRUCTION – WEB & ERP PLATFORM CASE STUDY
   Theme: Industrial Precision Meets Modern Digital Engineering
   Scoped: .tds-construction-case-study, .tds-
   ══════════════════════════════════════════════════════════════════════════ */

:root {
    --tds-navy: #101d32;
    --tds-navy-deep: #0a1322;
    --tds-charcoal: #172338;
    --tds-charcoal-light: #1f2f49;
    --tds-red: #d71932;
    --tds-red-dark: #b81429;
    --tds-red-glow: rgba(215, 25, 50, 0.22);
    --tds-blue: #3678f6;
    --tds-offwhite: #f7f8fa;
    --tds-slate: #e8edf3;
    --tds-slate-dark: #cbd5e1;
    --tds-steel: #65758b;
    --tds-dark-text: #101d32;
    --tds-body-muted: #53647a;
    --tds-light-text: #f8fafc;
    --tds-light-muted: #94a3b8;
    --tds-radius-sm: 8px;
    --tds-radius-md: 14px;
    --tds-radius-lg: 20px;
    --tds-radius-xl: 28px;
    --tds-container: 1280px;
    --tds-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Scope */
.tds-construction-case-study {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--tds-dark-text);
    background-color: var(--tds-offwhite);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.tds-container {
    max-width: var(--tds-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 28px;
    padding-right: 28px;
}

/* Architectural Grid Texture */
.tds-grid-bg-dark {
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
}

.tds-grid-bg-light {
    background-image: 
        linear-gradient(to right, rgba(16, 29, 50, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(16, 29, 50, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
}

/* Eyebrows & Markers */
.tds-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--tds-red);
    margin-bottom: 16px;
}

.tds-eyebrow--light {
    color: #ff4b60;
}

.tds-eyebrow__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--tds-red);
    box-shadow: 0 0 10px var(--tds-red-glow);
}

.tds-section-marker {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tds-steel);
    margin-bottom: 12px;
}

.tds-section-marker--light {
    color: #94a3b8;
}

/* Breadcrumbs & Back Link */
.tds-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--tds-light-muted);
    margin-bottom: 24px;
}

.tds-breadcrumb a {
    color: var(--tds-light-muted);
    text-decoration: none;
    transition: var(--tds-transition);
}

.tds-breadcrumb a:hover {
    color: #ffffff;
}

.tds-breadcrumb__sep {
    color: rgba(255, 255, 255, 0.3);
}

.tds-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    padding: 8px 18px;
    text-decoration: none;
    margin-bottom: 32px;
    transition: var(--tds-transition);
}

.tds-back-link:hover {
    background: rgba(215, 25, 50, 0.15);
    border-color: var(--tds-red);
    color: #ffffff;
    transform: translateX(-4px);
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTION 01: CINEMATIC HERO
   ══════════════════════════════════════════════════════════════════════════ */
.tds-hero {
    position: relative;
    background-color: var(--tds-navy);
    color: #ffffff;
    padding-top: 100px;
    padding-bottom: 120px;
    overflow: hidden;
}

.tds-hero__ambient {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(100px);
}

.tds-hero__ambient--top {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(215, 25, 50, 0.12) 0%, transparent 70%);
    top: -200px;
    right: 10%;
}

.tds-hero__ambient--blue {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(54, 120, 246, 0.08) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
}

.tds-hero__layout {
    display: grid;
    grid-template-columns: 1.05fr 1.15fr;
    gap: 56px;
    align-items: center;
}

.tds-hero__title {
    font-size: clamp(2rem, 3.8vw, 2.9rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 24px;
}

.tds-hero__desc {
    font-size: clamp(1rem, 1.15vw, 1.0625rem);
    line-height: 1.65;
    color: #cbd5e1;
    margin-bottom: 32px;
    max-width: 560px;
}

.tds-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.tds-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #e2e8f0;
}

.tds-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.tds-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--tds-radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--tds-transition);
    cursor: pointer;
}

.tds-btn--primary {
    background-color: var(--tds-red);
    color: #ffffff;
    border: 1px solid var(--tds-red);
    box-shadow: 0 10px 24px var(--tds-red-glow);
}

.tds-btn--primary:hover {
    background-color: var(--tds-red-dark);
    border-color: var(--tds-red-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(215, 25, 50, 0.35);
}

.tds-btn--secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.tds-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Laptop Mockup Presentation Frame */
.tds-laptop-frame {
    position: relative;
    border-radius: var(--tds-radius-lg);
    background: #0d1524;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.tds-laptop-frame__notch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 14px;
    background: #080d16;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tds-laptop-frame__dots {
    display: flex;
    gap: 6px;
}

.tds-laptop-frame__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.tds-laptop-frame__title {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--tds-light-muted);
    text-transform: uppercase;
}

.tds-laptop-frame__img-wrap {
    overflow: hidden;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: #000;
}

.tds-laptop-frame__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1.5;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tds-hero__floating-badge {
    position: absolute;
    bottom: -18px;
    left: 28px;
    background: rgba(16, 29, 50, 0.94);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(215, 25, 50, 0.4);
    border-radius: var(--tds-radius-md);
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.tds-hero__floating-badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--tds-red);
    box-shadow: 0 0 12px var(--tds-red);
}

.tds-hero__floating-badge-text {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════════════════════
   STICKY IN-PAGE NAVIGATION
   ══════════════════════════════════════════════════════════════════════════ */
.tds-nav-sticky {
    position: sticky;
    top: 72px;
    z-index: 40;
    background: rgba(16, 29, 50, 0.96);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.tds-nav-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tds-nav-bar::-webkit-scrollbar {
    display: none;
}

.tds-nav-link {
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--tds-transition);
}

.tds-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.tds-nav-link.active {
    background: var(--tds-red);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--tds-red-glow);
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTION 02: PROJECT INTRODUCTION
   ══════════════════════════════════════════════════════════════════════════ */
.tds-intro,
.tds-showcase,
.tds-erp,
.tds-gallery,
.tds-value,
.tds-cta-section {
    scroll-margin-top: 140px;
    padding-top: 76px;
    padding-bottom: 76px;
}

.tds-intro {
    background-color: var(--tds-offwhite);
    position: relative;
}

.tds-intro__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: flex-start;
}

.tds-section-title {
    font-size: clamp(1.65rem, 2.4vw, 2.15rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: var(--tds-dark-text);
    margin-bottom: 20px;
}

.tds-section-title--light {
    color: #ffffff;
}

.tds-intro__body {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--tds-body-muted);
}

/* Scroll-reveal enhancements */
.tds-reveal {
    opacity: 1;
    transform: none;
}
.tds-motion-ready .tds-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.tds-motion-ready .tds-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .tds-motion-ready .tds-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

.tds-intro__body p:not(:last-child) {
    margin-bottom: 20px;
}

/* Technical Specification Card */
.tds-spec-card {
    background: #ffffff;
    border: 1px solid var(--tds-slate);
    border-radius: var(--tds-radius-lg);
    padding: 36px 32px;
    box-shadow: 0 16px 36px rgba(16, 29, 50, 0.05);
    position: relative;
}

.tds-spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 32px;
    right: 32px;
    height: 3px;
    background: linear-gradient(to right, var(--tds-red), var(--tds-blue));
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.tds-spec-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--tds-dark-text);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tds-spec-card__title-icon {
    color: var(--tds-red);
}

.tds-spec-item {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--tds-slate);
    font-size: 0.9375rem;
}

.tds-spec-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tds-spec-item__label {
    font-weight: 600;
    color: var(--tds-steel);
}

.tds-spec-item__value {
    font-weight: 700;
    color: var(--tds-dark-text);
    text-align: right;
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTION 03: DIGITAL PLATFORM SHOWCASE
   ══════════════════════════════════════════════════════════════════════════ */
.tds-showcase {
    padding-top: 120px;
    padding-bottom: 120px;
    background-color: #ffffff;
    position: relative;
    border-top: 1px solid var(--tds-slate);
}

.tds-showcase__header {
    max-width: 780px;
    margin-bottom: 64px;
}

.tds-showcase__lead {
    font-size: 1.1875rem;
    line-height: 1.7;
    color: var(--tds-body-muted);
}

/* Staggered Showcase Layout */
.tds-showcase__block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 96px;
}

.tds-showcase__block-cinematic {
    background: var(--tds-offwhite);
    border: 1px solid var(--tds-slate);
    border-radius: var(--tds-radius-xl);
    padding: 44px;
    box-shadow: 0 20px 48px rgba(16, 29, 50, 0.04);
}

.tds-showcase__block-cinematic-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.tds-showcase__block-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--tds-dark-text);
    margin-bottom: 8px;
}

.tds-showcase__block-desc {
    font-size: 1.0625rem;
    color: var(--tds-body-muted);
    max-width: 620px;
}

.tds-showcase__split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.tds-showcase__features-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tds-showcase__feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1rem;
    color: var(--tds-dark-text);
    line-height: 1.6;
}

.tds-showcase__feature-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(215, 25, 50, 0.1);
    color: var(--tds-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTION 04: ERP SYSTEM EXPERIENCE
   ══════════════════════════════════════════════════════════════════════════ */
.tds-erp {
    background-color: var(--tds-charcoal);
    color: #ffffff;
    padding-top: 130px;
    padding-bottom: 130px;
    position: relative;
    overflow: hidden;
}

.tds-erp__header {
    text-align: center;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 64px;
}

.tds-erp__lead {
    font-size: 1.1875rem;
    line-height: 1.7;
    color: #cbd5e1;
}

.tds-erp__mockup-wrap {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
}

/* Module Badges Grid */
.tds-erp__modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.tds-erp__module-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--tds-radius-md);
    padding: 22px 24px;
    transition: var(--tds-transition);
}

.tds-erp__module-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(215, 25, 50, 0.4);
    transform: translateY(-3px);
}

.tds-erp__module-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tds-erp__module-title::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--tds-red);
}

.tds-erp__module-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTION 05: FEATURE EXPLORATION (ALTERNATING EDITORIAL)
   ══════════════════════════════════════════════════════════════════════════ */
.tds-features {
    padding-top: 120px;
    padding-bottom: 120px;
    background-color: var(--tds-offwhite);
}

.tds-features__header {
    text-align: center;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 80px;
}

.tds-feature-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 96px;
    background: #ffffff;
    border: 1px solid var(--tds-slate);
    border-radius: var(--tds-radius-xl);
    padding: 48px;
    box-shadow: 0 16px 40px rgba(16, 29, 50, 0.04);
}

.tds-feature-row--reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.tds-feature-row--reverse .tds-feature-row__content {
    order: 1;
}

.tds-feature-row--reverse .tds-feature-row__media {
    order: 2;
}

.tds-feature-row__badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--tds-red);
    background: rgba(215, 25, 50, 0.08);
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 18px;
}

.tds-feature-row__title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--tds-dark-text);
    margin-bottom: 18px;
}

.tds-feature-row__desc {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--tds-body-muted);
    margin-bottom: 24px;
}

.tds-feature-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tds-feature-point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--tds-dark-text);
}

.tds-feature-point-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--tds-red);
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTION 06: WORKFLOW VISUALIZATION
   ══════════════════════════════════════════════════════════════════════════ */
.tds-workflow {
    padding-top: 120px;
    padding-bottom: 120px;
    background-color: #ffffff;
    border-top: 1px solid var(--tds-slate);
}

.tds-workflow__header {
    text-align: center;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 72px;
}

.tds-workflow__track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    position: relative;
}

.tds-workflow__track::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--tds-red), var(--tds-blue));
    z-index: 1;
}

.tds-workflow__card {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border: 1px solid var(--tds-slate);
    border-radius: var(--tds-radius-lg);
    padding: 28px 22px;
    box-shadow: 0 10px 24px rgba(16, 29, 50, 0.04);
    transition: var(--tds-transition);
}

.tds-workflow__card:hover {
    border-color: var(--tds-red);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(16, 29, 50, 0.08);
}

.tds-workflow__step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tds-navy);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 1px var(--tds-slate);
}

.tds-workflow__step-num--active {
    background: var(--tds-red);
    box-shadow: 0 0 0 2px var(--tds-red-glow);
}

.tds-workflow__card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--tds-dark-text);
    margin-bottom: 10px;
    line-height: 1.35;
}

.tds-workflow__card-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--tds-body-muted);
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTION 07: TECHNOLOGY STACK
   ══════════════════════════════════════════════════════════════════════════ */
.tds-tech {
    padding-top: 110px;
    padding-bottom: 110px;
    background-color: var(--tds-offwhite);
    border-top: 1px solid var(--tds-slate);
}

.tds-tech__header {
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 64px;
}

.tds-tech__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.tds-tech__card {
    background: #ffffff;
    border: 1px solid var(--tds-slate);
    border-radius: var(--tds-radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(16, 29, 50, 0.04);
    transition: var(--tds-transition);
}

.tds-tech__card:hover {
    border-color: var(--tds-red);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(215, 25, 50, 0.08);
}

.tds-tech__icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: var(--tds-radius-md);
    background: var(--tds-offwhite);
    border: 1px solid var(--tds-slate);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
    padding: 16px;
}

.tds-tech__icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tds-tech__role {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--tds-steel);
    margin-bottom: 8px;
}

.tds-tech__name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--tds-dark-text);
    margin-bottom: 14px;
}

.tds-tech__desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--tds-body-muted);
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTION 08: PROJECT EXPERIENCE GALLERY & LIGHTBOX
   ══════════════════════════════════════════════════════════════════════════ */
.tds-gallery {
    padding-top: 120px;
    padding-bottom: 130px;
    background-color: var(--tds-navy);
    color: #ffffff;
    position: relative;
}

.tds-gallery__header {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
}

/* Filter Controls */
.tds-gallery__filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
}

.tds-gallery__filter-btn {
    padding: 9px 20px;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: var(--tds-transition);
}

.tds-gallery__filter-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.tds-gallery__filter-btn.active {
    background: var(--tds-red);
    border-color: var(--tds-red);
    color: #ffffff;
    box-shadow: 0 4px 16px var(--tds-red-glow);
}

/* Gallery Grid (3x2 or Asymmetric) */
.tds-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.tds-gallery__item {
    background: #0d1726;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--tds-radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--tds-transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.tds-gallery__item:hover {
    border-color: var(--tds-red);
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
}

.tds-gallery__item-thumb {
    position: relative;
    overflow: hidden;
    background: #000000;
    aspect-ratio: 1.5;
}

.tds-gallery__item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tds-gallery__item:hover .tds-gallery__item-img {
    transform: scale(1.05);
}

.tds-gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 29, 50, 0.6);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tds-transition);
}

.tds-gallery__item:hover .tds-gallery__item-overlay {
    opacity: 1;
}

.tds-gallery__item-zoom-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--tds-red);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: var(--tds-transition);
}

.tds-gallery__item:hover .tds-gallery__item-zoom-icon {
    transform: scale(1);
}

.tds-gallery__item-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tds-gallery__item-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tds-red);
    margin-bottom: 8px;
}

.tds-gallery__item-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.tds-gallery__item-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0;
}

/* Lightbox Modal */
.tds-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(10, 19, 34, 0.94);
    backdrop-filter: blur(16px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.tds-lightbox.active {
    display: flex;
}

.tds-lightbox__content {
    max-width: 1100px;
    width: 100%;
    background: #0d1726;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--tds-radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
}

.tds-lightbox__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--tds-transition);
}

.tds-lightbox__close:hover {
    background: var(--tds-red);
    border-color: var(--tds-red);
}

.tds-lightbox__img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #000000;
    display: block;
}

.tds-lightbox__caption {
    padding: 22px 28px;
    background: #080f1a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tds-lightbox__caption-title {
    font-size: 1.1875rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.tds-lightbox__caption-text {
    font-size: 0.9375rem;
    color: #94a3b8;
    margin: 0;
}

.tds-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(16, 29, 50, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--tds-transition);
}

.tds-lightbox__nav:hover {
    background: var(--tds-red);
    border-color: var(--tds-red);
}

.tds-lightbox__nav--prev {
    left: 16px;
}

.tds-lightbox__nav--next {
    right: 16px;
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTION 09: PROJECT VALUE
   ══════════════════════════════════════════════════════════════════════════ */
.tds-value {
    padding-top: 120px;
    padding-bottom: 120px;
    background-color: #ffffff;
}

.tds-value__header {
    text-align: center;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 64px;
}

.tds-value__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.tds-value__card {
    background: var(--tds-offwhite);
    border: 1px solid var(--tds-slate);
    border-radius: var(--tds-radius-lg);
    padding: 40px 32px;
    position: relative;
    box-shadow: 0 12px 28px rgba(16, 29, 50, 0.03);
    transition: var(--tds-transition);
}

.tds-value__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 32px;
    width: 44px;
    height: 3px;
    background: var(--tds-red);
    border-radius: 3px;
}

.tds-value__card:hover {
    border-color: var(--tds-red);
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(16, 29, 50, 0.06);
}

.tds-value__card-num {
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--tds-steel);
    margin-bottom: 18px;
    text-transform: uppercase;
}

.tds-value__card-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--tds-dark-text);
    margin-bottom: 16px;
    line-height: 1.3;
}

.tds-value__card-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--tds-body-muted);
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTION 10: PREMIUM FINAL CTA
   ══════════════════════════════════════════════════════════════════════════ */
.tds-cta {
    background-color: var(--tds-navy-deep);
    color: #ffffff;
    padding-top: 130px;
    padding-bottom: 130px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.tds-cta__ambient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(215, 25, 50, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.tds-cta__content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.tds-cta__title {
    font-size: clamp(2.25rem, 4.2vw, 3.5rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin-bottom: 24px;
}

.tds-cta__text {
    font-size: 1.1875rem;
    line-height: 1.75;
    color: #cbd5e1;
    margin-bottom: 40px;
}

.tds-cta__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN BREAKPOINTS
   ══════════════════════════════════════════════════════════════════════════ */

/* Laptop & Tablet Landscape (1024px to 1279px) */
@media (max-width: 1279px) {
    .tds-hero__layout {
        gap: 40px;
    }
    
    .tds-workflow__track {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tds-workflow__track::before {
        display: none;
    }
}

/* Tablet Portrait (768px to 1023px) */
@media (max-width: 1023px) {
    .tds-hero {
        padding-top: 80px;
        padding-bottom: 90px;
    }

    .tds-hero__layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .tds-intro__grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .tds-showcase__split {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .tds-erp__modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tds-feature-row,
    .tds-feature-row--reverse {
        grid-template-columns: 1fr;
        padding: 32px;
        gap: 36px;
    }

    .tds-feature-row--reverse .tds-feature-row__content {
        order: 2;
    }

    .tds-feature-row--reverse .tds-feature-row__media {
        order: 1;
    }

    .tds-workflow__track {
        grid-template-columns: repeat(2, 1fr);
    }

    .tds-tech__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tds-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tds-value__grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile (Below 768px) */
@media (max-width: 767px) {
    .tds-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .tds-hero {
        padding-top: 60px;
        padding-bottom: 70px;
    }

    .tds-hero__title {
        font-size: 2.1rem;
    }

    .tds-hero__desc {
        font-size: 1rem;
    }

    .tds-hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .tds-hero__actions .tds-btn {
        width: 100%;
    }

    .tds-nav-sticky {
        top: 64px;
    }

    .tds-showcase__block-cinematic {
        padding: 24px;
    }

    .tds-erp__modules-grid {
        grid-template-columns: 1fr;
    }

    .tds-feature-row {
        padding: 24px 20px;
        margin-bottom: 48px;
    }

    .tds-feature-row__title {
        font-size: 1.5rem;
    }

    .tds-workflow__track {
        grid-template-columns: 1fr;
    }

    .tds-tech__grid {
        grid-template-columns: 1fr;
    }

    .tds-gallery__grid {
        grid-template-columns: 1fr;
    }

    .tds-cta__actions {
        flex-direction: column;
        width: 100%;
    }

    .tds-cta__actions .tds-btn {
        width: 100%;
    }

    .tds-lightbox {
        padding: 12px;
    }
}

/* Small Mobile (Below 380px) */
@media (max-width: 379px) {
    .tds-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .tds-hero__title {
        font-size: 1.85rem;
    }

    .tds-section-title {
        font-size: 1.75rem;
    }

    .tds-spec-card {
        padding: 24px 18px;
    }

    .tds-spec-item {
        flex-direction: column;
        gap: 4px;
    }

    .tds-spec-item__value {
        text-align: left;
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
