/* ========== PAGE TRANSITION ========== */
@keyframes pageFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    animation: pageFadeIn 0.6s ease forwards;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

body.page-exit {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* ========== RESET ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-navy: #0b294c;
    --color-red: #d6534d;
    --color-dark-gray: #686868;
    --color-light-gray: #d3d3d3;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-engineering: #5ba4c4;
    --color-ndt: #e8773a;
    --color-software: #4a3080;
    --font-display: 'League Spartan', sans-serif;
    --font-body: 'League Spartan', sans-serif;
    --fw-light: 300;
    --fw-medium: 500;
    --fw-bold: 700;
    --ls-normal: 0.02em;
    --ls-wide: 0.08em;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html, body {
    height: 100%;
    overflow: hidden;
    font-family: var(--font-body);
    color: var(--color-navy);
    background: var(--color-light-gray);
    scrollbar-gutter: stable;
}


a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ========== TOP BAR ========== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 28px;
    width: auto;
}

.logo-holding {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--color-black);
    letter-spacing: 0.02em;
}

.menu-btn {
    position: fixed;
    top: 20px;
    right: 40px;
    z-index: 600;
    background: rgba(11, 41, 76, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(11, 41, 76, 0.1);
    border-radius: 8px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.menu-btn:hover {
    background: rgba(11, 41, 76, 0.15);
}

.menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-navy);
    transition: var(--transition);
    position: absolute;
}

.menu-btn span:nth-child(1) {
    top: 12px;
}

.menu-btn span:nth-child(2) {
    top: 21px;
}

.menu-btn span:nth-child(3) {
    top: 30px;
}

.menu-btn.active span {
    background: var(--color-white);
}

.menu-btn.active span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

/* ========== MAIN LAYOUT ========== */
.main-layout {
    display: flex;
    height: 100vh;
    width: 85%;
    position: relative;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0s 0.6s;
}

.main-layout.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0s 0s;
}

/* ========== LEFT COLUMN ========== */
.col-left {
    flex: 0 0 47%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-navy);
    padding: 60px 0 50px 0;
    transition: background-color 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.side-labels {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 40px;
    z-index: 10;
}

.side-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--color-light-gray);
    padding: 12px 14px;
    cursor: pointer;
}

.side-label:hover {
    color: var(--color-white);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    width: 80%;
    height: 82%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--color-dark-gray);
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11,41,76,0.25) 0%, rgba(91,164,196,0.15) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-overlay-logo {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 5;
    pointer-events: none;
}

.hero-logo {
    width: 140px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* ========== CENTER COLUMN ========== */
.col-center {
    flex: 0 0 53%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0 50px 0;
    position: relative;
}

.center-content {
    padding: 0 50px;
    width: 100%;
    position: relative;
}


.center-text-slider {
    position: relative;
    min-height: 200px;
}

.center-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0s 0.8s;
}

.center-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0s 0s;
}

/* Slide Label & Heading */
.slide-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-engineering);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
}

.slide-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: var(--color-engineering);
}

.slide-heading {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.3;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.slide-logo {
    height: 50px;
    width: auto;
    margin-bottom: 24px;
    display: block;
}

#engLogo,
#techLogo {
    height: 70px;
}

.tagline {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-navy);
    margin-bottom: 36px;
    letter-spacing: 0.02em;
    max-width: 100%;
    word-spacing: 0.05em;
}

.btn-explore {
    display: inline-block;
    padding: 18px 48px;
    background: var(--color-navy);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn-explore::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-explore:hover::after {
    left: 100%;
}

.btn-explore:hover {
    background: var(--color-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(214, 83, 77, 0.35);
}

.btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-explore.btn-outline {
    background: transparent;
    color: var(--color-navy);
    border: 1.5px solid var(--color-navy);
}

.btn-explore.btn-outline:hover {
    background: var(--color-navy);
    color: var(--color-white);
}

/* ========== DETAIL SECTIONS ========== */
.dept-detail {
    display: none;
    width: 100%;
    position: relative;
    z-index: 200;
    background: #ffffff;
}

.detail-section {
    display: none;
}

.detail-section.active {
    display: block;
}

#detailSoftware {
    background: #ffffff;
    position: relative;
    z-index: 200;
    padding-bottom: 60px;
}

.detail-hero {
    position: relative;
    width: 100%;
    height: 50vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11,41,76,0.8) 0%, rgba(11,41,76,0.5) 100%);
}

.detail-hero h2 {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.detail-content {
    padding: 50px 60px 70px;
    background: var(--color-white);
}

.detail-intro {
    max-width: 100%;
    margin: 0 auto 48px;
    text-align: center;
    position: relative;
    padding-bottom: 36px;
}

.detail-intro::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-engineering), var(--color-navy));
    border-radius: 2px;
}

.detail-intro p {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 300;
    color: #3a3a3a;
    line-height: 1.85;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    word-spacing: 0.08em;
}

.detail-intro p:last-child {
    margin-bottom: 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.detail-card {
    padding: 30px;
    background: #f8f8f8;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.detail-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.detail-card p {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 300;
    color: #444;
    line-height: 1.75;
    letter-spacing: 0.02em;
}

/* NDT Hero Grid */
.ndt-hero-grid {
    position: relative;
    width: 100%;
    height: 55vh;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    padding: 6px;
    overflow: hidden;
    background: var(--color-navy);
}

.ndt-grid-img {
    background-size: cover;
    background-position: center;
    background-color: var(--color-navy);
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.ndt-grid-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(11, 41, 76, 0.15) 0%, rgba(11, 41, 76, 0.45) 100%);
    border-radius: 8px;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.ndt-grid-img:hover {
    transform: scale(1.02);
    z-index: 2;
}

.ndt-grid-img:hover::after {
    opacity: 0;
}

.ndt-img-featured {
    grid-row: 1 / 3;
}

.ndt-img-wide {
    grid-column: 2 / 4;
}

.ndt-hero-overlay {
    display: none;
}

.ndt-hero-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .ndt-hero-grid {
        height: 40vh;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1.2fr 1fr 1fr;
        gap: 4px;
        padding: 4px;
    }

    .ndt-img-featured {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .ndt-img-wide {
        grid-column: 1 / 3;
    }

    .ndt-hero-title {
        font-size: 1.5rem;
    }
}

/* NDT Certificates */
.ndt-certificates {
    background: #ffffff;
    padding: 50px 40px;
    text-align: center;
}

.ndt-cert-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-navy);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 35px;
}

.ndt-cert-slider {
    overflow: hidden;
    cursor: grab;
}

.ndt-cert-slider:active {
    cursor: grabbing;
}

.ndt-cert-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    padding: 10px 0;
    animation: certScroll 25s linear infinite;
}

.ndt-cert-slider:hover .ndt-cert-track {
    animation-play-state: paused;
}

@keyframes certScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ndt-cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.ndt-cert-item:hover {
    transform: translateY(-4px);
}

.ndt-cert-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.4s ease, opacity 0.4s ease;
}

.ndt-cert-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.ndt-cert-item span {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
    letter-spacing: 0.03em;
}

@media (max-width: 768px) {
    .ndt-certificates {
        padding: 35px 20px;
    }

    .ndt-cert-logos {
        gap: 30px;
    }

    .ndt-cert-item img {
        width: 75px;
        height: 75px;
    }
}

/* NDT Stats */
.ndt-stats {
    background: var(--color-navy);
    padding: 60px 40px;
}

.ndt-stats-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.ndt-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ndt-stat-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-ndt);
    line-height: 1;
}

.ndt-stat-plus {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-ndt);
    line-height: 1;
}

.ndt-stat-label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* NDT Why Us */
.ndt-why-us {
    background: #f8f9fb;
    padding: 70px 40px;
    text-align: center;
}

.ndt-why-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 45px;
}

.ndt-why-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.ndt-why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 30px 20px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ndt-why-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(11, 41, 76, 0.08);
    background: #ffffff;
}

.ndt-why-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-navy);
    color: var(--color-ndt);
    flex-shrink: 0;
}

.ndt-why-icon svg {
    width: 24px;
    height: 24px;
}

.ndt-why-item h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-navy);
    letter-spacing: 0.02em;
}

.ndt-why-item p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

/* NDT CTA */
.ndt-cta {
    background: linear-gradient(135deg, #e8773a 0%, #d5682e 50%, #c25a22 100%);
    padding: 70px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ndt-cta::before,
.ndt-cta::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ndt-cta::before {
    top: -80px;
    left: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.ndt-cta::after {
    bottom: -100px;
    right: -40px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(11, 41, 76, 0.15) 0%, transparent 70%);
}

.ndt-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
}

.ndt-cta h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}

.ndt-cta p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 30px;
}

.ndt-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.ndt-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    letter-spacing: 0.03em;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ndt-cta-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.ndt-cta-whatsapp {
    background: #ffffff;
    color: var(--color-ndt);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ndt-cta-whatsapp:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.ndt-cta-mail {
    background: var(--color-navy);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(11, 41, 76, 0.25);
}

.ndt-cta-mail:hover {
    background: #0d3461;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 41, 76, 0.35);
}

.ndt-cta-contact {
    background: #ffffff;
    color: var(--color-ndt);
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ndt-cta-contact:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .ndt-stats {
        padding: 40px 20px;
    }

    .ndt-stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .ndt-stat-number,
    .ndt-stat-plus {
        font-size: 2rem;
    }

    .ndt-why-us {
        padding: 50px 20px;
    }

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

    .ndt-cta {
        padding: 50px 20px;
    }

    .ndt-cta h3 {
        font-size: 1.4rem;
    }
}

/* NDT Services Grid */
.ndt-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.ndt-service-box {
    padding: 22px 24px;
    background: #f9fafb;
    border-left: 3px solid var(--color-ndt);
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-navy);
    letter-spacing: 0.08em;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.ndt-service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--color-navy);
    transition: height 0.35s ease;
}

.ndt-service-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(232, 119, 58, 0.18);
    border-left-color: var(--color-navy);
    background: #fff;
}

.ndt-service-box:hover::before {
    height: 100%;
}

@media (max-width: 1024px) {
    .ndt-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ndt-services-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ndt-service-box {
        padding: 14px 18px;
        font-size: 0.88rem;
    }
}

/* NDT Detail Cards - Orange Theme */
#detailNDT .detail-card {
    padding: 22px 24px;
    border-left: 3px solid var(--color-ndt);
    border-radius: 6px;
    background: #f9fafb;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-navy);
    letter-spacing: 0.08em;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

#detailNDT .detail-card:hover {
    transform: translateY(-3px);
    border-left-color: var(--color-navy);
    box-shadow: 0 8px 24px rgba(232, 119, 58, 0.18);
    background: #fff;
}

#detailNDT .detail-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-navy);
    letter-spacing: 0.08em;
    margin-bottom: 0;
}

#detailNDT .detail-intro::after {
    background: linear-gradient(90deg, var(--color-ndt), var(--color-navy));
}

/* Engineering Lightbox */
.eng-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
}

.eng-lightbox.active {
    display: flex;
}

.eng-lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.eng-lightbox-caption {
    color: #fff;
    font-size: 1.1rem;
    margin-top: 16px;
    text-align: center;
    font-weight: 500;
}

.eng-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10001;
    transition: opacity 0.3s;
}

.eng-lightbox-close:hover {
    opacity: 0.7;
}


/* ========== NOISE TEXTURE (reusable) ========== */
@keyframes grainShift {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-2%, 2%); }
    50% { transform: translate(2%, -1%); }
    75% { transform: translate(-1%, -2%); }
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.1); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-25px, 25px) scale(1.05); }
    66% { transform: translate(20px, -10px) scale(0.9); }
}

/* Engineering Section Header */
.eng-section-header {
    background: var(--color-navy);
    padding: 50px 60px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Noise grain overlay */
.eng-section-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    pointer-events: none;
    z-index: 1;
    animation: grainShift 8s steps(4) infinite;
}

/* Floating glow orb */
.eng-section-header::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(91, 164, 196, 0.15) 0%, transparent 65%);
    pointer-events: none;
    animation: orbFloat1 12s ease-in-out infinite;
}

.eng-section-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-engineering);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.eng-section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
}

/* Engineering Services Header */
.eng-services-header {
    text-align: center;
    margin-bottom: 32px;
}

.eng-services-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: 0.02em;
    margin-top: 8px;
}

/* Engineering Project Slider */
.eng-project-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(91, 164, 196, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(91, 164, 196, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(74, 48, 128, 0.06) 0%, transparent 50%),
        var(--color-navy);
}

/* Slider floating orbs */
.eng-project-slider::before,
.eng-project-slider::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.eng-project-slider::before {
    bottom: -20%;
    left: 5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(91, 164, 196, 0.1) 0%, transparent 65%);
    animation: orbFloat2 14s ease-in-out infinite;
}

.eng-project-slider::after {
    top: -25%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 48, 128, 0.08) 0%, transparent 65%);
    animation: orbFloat1 16s ease-in-out infinite;
}

.eng-project-track {
    display: flex;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.eng-project-slide {
    flex: 0 0 33.334%;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-navy);
    margin-left: -1px;
}

.eng-project-slide:first-child {
    margin-left: 0;
}

.eng-project-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 41, 76, 0.35);
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.eng-project-slide:hover::before {
    opacity: 0;
}

.eng-project-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
    padding: 20px;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.eng-project-slide:hover img {
    transform: scale(1.05);
}

.eng-project-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 22px 16px;
    background: linear-gradient(transparent, rgba(11, 41, 76, 0.92));
}

.eng-project-caption span {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding-left: 16px;
}

.eng-project-caption span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 2px;
    background: var(--color-engineering);
}

.eng-project-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    pointer-events: none;
}

.eng-project-prev,
.eng-project-next {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(11, 41, 76, 0.6);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.eng-project-prev:hover,
.eng-project-next:hover {
    background: var(--color-engineering);
    border-color: var(--color-engineering);
    transform: scale(1.1);
}

.eng-project-prev svg,
.eng-project-next svg {
    width: 18px;
    height: 18px;
}

/* Engineering Stat Bar */
.eng-stat-bar {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1px;
    background: var(--color-engineering);
    padding: 0;
    position: relative;
}

.eng-stat-bar + .detail-content {
    padding-top: 50px;
}

.eng-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 30px 20px;
    background: var(--color-white);
    transition: all 0.3s ease;
    cursor: default;
}

.eng-stat:hover {
    background: var(--color-navy);
}

.eng-stat:hover .eng-stat-number {
    color: var(--color-white);
}

.eng-stat:hover .eng-stat-label {
    color: rgba(255, 255, 255, 0.6);
}

.eng-stat:hover .eng-stat-icon {
    color: var(--color-engineering);
}

.eng-stat-icon {
    width: 22px;
    height: 22px;
    color: var(--color-engineering);
    margin-bottom: 6px;
}

.eng-stat-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.eng-stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: 0.02em;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.eng-stat-label {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--color-dark-gray);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* Engineering Services Grid */
.eng-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.eng-service-box {
    padding: 22px 24px;
    background: #f9fafb;
    border-left: 3px solid var(--color-engineering);
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-navy);
    letter-spacing: 0.08em;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.eng-service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--color-navy);
    transition: height 0.35s ease;
}

.eng-service-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(91, 164, 196, 0.18);
    border-left-color: var(--color-navy);
    background: #fff;
}

.eng-service-box:hover::before {
    height: 100%;
}

/* ========== ENGINEERING CTA ========== */
.eng-cta {
    margin-top: 60px;
    background: linear-gradient(135deg, var(--color-navy) 0%, #1a4a7a 50%, var(--color-engineering) 100%);
    border-radius: 12px;
    padding: 50px 55px;
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    overflow: hidden;
}

.eng-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.eng-cta-content {
    flex: 1.2;
}

.eng-cta-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.eng-cta-content p {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.eng-cta-buttons {
    display: flex;
    gap: 14px;
}

.eng-cta-btn {
    padding: 12px 28px;
    border-radius: 4px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.eng-cta-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.eng-cta-whatsapp {
    background: #ffffff;
    color: var(--color-navy);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.eng-cta-whatsapp:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.eng-cta-mail {
    background: var(--color-navy);
    color: var(--color-white);
}

.eng-cta-mail:hover {
    background: #143d6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(11, 41, 76, 0.3);
}

.eng-cta-contact {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.eng-cta-contact:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.eng-cta-badges {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.eng-cta-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}

.eng-cta-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.eng-cta-badge svg {
    width: 28px;
    height: 28px;
    color: var(--color-white);
    flex-shrink: 0;
}

.eng-cta-badge span {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: 0.08em;
}

/* ========== DETAIL CONTACT SECTION ========== */
.detail-contact {
    background: var(--color-navy);
    margin-top: -1px;
    padding: 28px 60px;
    position: relative;
    z-index: 250;
}

.detail-contact-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.detail-contact-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.02em;
    text-align: left;
    margin-bottom: 20px;
}

.detail-contact-content {
    display: flex;
    gap: 50px;
    align-items: stretch;
}

.detail-contact-map {
    flex: 1.2;
    min-height: 180px;
    border-radius: 8px;
    overflow: hidden;
}

.detail-contact-info {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.detail-contact-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-display);
    font-size: 0.95rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.detail-contact-address svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-engineering);
}

.detail-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-contact-item svg {
    flex-shrink: 0;
    color: var(--color-engineering);
}

.detail-contact-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.95rem;
    transition: color 0.2s ease;
    letter-spacing: 0.02em;
}

.detail-contact-item a:hover {
    color: var(--color-engineering);
}

.detail-contact-divider {
    display: none;
}

.detail-contact-hours {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-display);
    font-size: 0.95rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.detail-contact-hours svg {
    flex-shrink: 0;
    color: var(--color-engineering);
}

.detail-contact-social {
    display: flex;
    gap: 14px;
    margin-top: 0;
}

.detail-contact-social a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.detail-contact-social a:hover {
    color: var(--color-engineering);
}

/* ========== ENGINEERING SERVICE POPUP ========== */
.eng-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.eng-popup-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s 0s;
}

.eng-popup {
    background: var(--color-white);
    width: 90%;
    max-width: 700px;
    border-radius: 6px;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.eng-popup-overlay.active .eng-popup {
    transform: translateY(0) scale(1);
}

.eng-popup-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--color-navy);
    cursor: pointer;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    z-index: 1;
}

.eng-popup-close:hover {
    opacity: 1;
}

.eng-popup-title {
    position: relative;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-engineering);
    padding: 22px 28px 0;
    letter-spacing: 0.02em;
}

.eng-popup-divider {
    width: calc(100% - 56px);
    height: 1px;
    background: var(--color-engineering);
    opacity: 0.4;
    margin: 14px 28px;
}

.eng-popup-items {
    padding: 0 28px 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.eng-popup-items ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.eng-popup-items ul li {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 300;
    color: #333;
    line-height: 2;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .eng-popup {
        width: 95%;
        max-width: none;
    }

    .eng-popup-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .eng-popup-title {
        font-size: 1rem;
        padding: 18px 20px 0;
    }

    .eng-popup-divider {
        margin: 10px 20px;
        width: calc(100% - 40px);
    }

    .eng-popup-items {
        padding: 0 20px 20px;
    }

    .eng-popup-items ul li {
        font-size: 0.875rem;
    }
}

/* ========== FULLSCREEN SLIDER ========== */
.fullscreen-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0s 0.6s;
}

.fullscreen-slider.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0s 0s;
}

.fs-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.fs-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.fs-top-nav {
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.fs-top-logo {
    height: 56px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.fs-top-links {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 40px;
    padding: 6px 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.fs-top-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 24px;
    border-radius: 30px;
    position: relative;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fs-top-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 1px;
}

.fs-top-link:hover {
    color: var(--color-white);
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.fs-top-link:hover::after {
    width: 60%;
    left: 20%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.fs-top-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.fs-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(11,41,76,0.82) 0%, rgba(11,41,76,0.35) 50%, rgba(91,164,196,0.25) 100%);
    z-index: 1;
}

.fs-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    max-width: 700px;
    width: 90%;
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.fs-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 30px;
}

.fs-heading {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.02em;
    margin-bottom: 16px;
    line-height: 1.2;
    text-transform: uppercase;
}

.fs-tagline {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    letter-spacing: 0.02em;
}

.fs-content .btn-explore {
    background: var(--color-white);
    color: var(--color-navy);
    border-radius: 4px;
}

.fs-content .btn-explore:hover {
    background: var(--color-red);
    color: var(--color-white);
    box-shadow: 0 8px 25px rgba(214, 83, 77, 0.4);
}

/* Social Icons - Fixed */
.social-fixed {
    position: fixed;
    right: calc(15% + 20px);
    bottom: 64px;
    display: flex;
    flex-direction: row;
    gap: 18px;
    z-index: 200;
}

.social-fixed a {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.social-fixed a:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.fs-dots {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 3;
}

.fs-dot {
    width: 28px;
    height: 3px;
    border: none;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
}

.fs-dot.active {
    background: var(--color-white);
    width: 44px;
}

/* ========== RIGHT COLUMN ========== */
.col-right {
    position: fixed;
    top: 0;
    right: 0;
    width: 15%;
    height: 100vh;
    background: rgba(245, 247, 250, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0 50px 0;
    z-index: 50;
    border-left: 1px solid rgba(11, 41, 76, 0.06);
}

.right-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.right-nav-item {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-dark-gray);
    padding: 8px 20px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.right-nav-item:hover {
    color: var(--color-navy);
}

.right-nav-item.active-nav {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-navy);
    padding: 10px 20px;
    letter-spacing: 0.08em;
}

.right-nav-item.active-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--color-navy);
    border-radius: 1px;
}

.nav-logo {
    height: 30px;
    width: auto;
    transition: var(--transition);
}

.active-nav .nav-logo {
    height: 50px;
}

.active-nav .nav-logo + .right-nav-item::after {
    display: none;
}

.right-nav-line {
    width: 1px;
    height: 35px;
    background: var(--color-navy);
    margin: 6px 0;
    opacity: 0.15;
    transition: height 0.5s ease, opacity 0.5s ease;
}

.right-nav-line.nav-line-main {
    height: 60px;
}

.right-nav-line.line-hidden {
    height: 0;
    margin: 0;
    opacity: 0;
}

/* ========== BOTTOM BAR ========== */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    padding: 0 40px;
    z-index: 100;
    background: rgba(11, 41, 76, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bottom-link {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}


.bottom-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-white);
    transition: width 0.3s ease;
}

.bottom-link:hover {
    color: var(--color-white);
}

.bottom-link:hover::after {
    width: 100%;
}

/* ========== FULLSCREEN MENU OVERLAY ========== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 41, 76, 0.97);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.overlay-nav a {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    padding: 8px 20px;
    letter-spacing: 0.02em;
    transition: var(--transition);
    transform: translateY(20px);
    opacity: 0;
}

.menu-overlay.active .overlay-nav a {
    transform: translateY(0);
    opacity: 1;
}

.menu-overlay.active .overlay-nav a:nth-child(1) { transition-delay: 0.05s; }
.menu-overlay.active .overlay-nav a:nth-child(2) { transition-delay: 0.1s; }
.menu-overlay.active .overlay-nav a:nth-child(3) { transition-delay: 0.15s; }
.menu-overlay.active .overlay-nav a:nth-child(4) { transition-delay: 0.2s; }
.menu-overlay.active .overlay-nav a:nth-child(5) { transition-delay: 0.25s; }
.menu-overlay.active .overlay-nav a:nth-child(6) { transition-delay: 0.3s; }
.menu-overlay.active .overlay-nav a:nth-child(7) { transition-delay: 0.35s; }
.menu-overlay.active .overlay-nav a:nth-child(8) { transition-delay: 0.4s; }
.menu-overlay.active .overlay-nav a:nth-child(9) { transition-delay: 0.45s; }

.overlay-nav a:hover {
    color: var(--color-white);
}

.overlay-divider {
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin: 8px 0;
}

.overlay-dept-link {
    font-size: 1.4rem !important;
    font-weight: 300 !important;
    letter-spacing: 2px;
}

/* ========== WHATSAPP POPUP ========== */
.wa-popup {
    position: fixed;
    bottom: 80px;
    left: 30px;
    width: 360px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    z-index: 700;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.wa-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.wa-popup-header {
    background: #25D366;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.wa-popup-header span {
    flex: 1;
}

.wa-popup-close {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.wa-popup-close:hover {
    opacity: 1;
}

.wa-popup-body {
    padding: 30px 16px;
    min-height: 180px;
    background: #e5ddd5;
}

.wa-popup-greeting {
    background: var(--color-white);
    padding: 10px 14px;
    border-radius: 0 8px 8px 8px;
    font-size: 0.95rem;
    color: #333;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    max-width: 85%;
    letter-spacing: 0.02em;
}

.wa-popup-footer {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f0f0;
}

.wa-popup-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 14px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--color-white);
}

.wa-popup-send {
    background: #25D366;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-white);
    transition: background 0.2s ease;
}

.wa-popup-send:hover {
    background: #1da851;
}

/* ========== RTL (Arabic) ========== */
[dir="rtl"] {
    font-family: 'Noto Sans Arabic', var(--font-body);
}

[dir="rtl"] .tagline,
[dir="rtl"] .fs-tagline,
[dir="rtl"] .overlay-nav a,
[dir="rtl"] .btn-explore,
[dir="rtl"] .side-label,
[dir="rtl"] .bottom-link {
    font-family: 'Noto Sans Arabic', sans-serif;
}

[dir="rtl"] .col-right {
    right: auto;
    left: 0;
}

[dir="rtl"] .fullscreen-slider {
    left: auto;
    right: 0;
}

[dir="rtl"] .main-layout {
    direction: rtl;
}

[dir="rtl"] .bottom-bar {
    direction: rtl;
    justify-content: flex-end;
    padding: 0 80px;
}

[dir="rtl"] .menu-btn {
    right: auto;
    left: 40px;
}

[dir="rtl"] .side-labels {
    left: auto;
    right: 0;
}

[dir="rtl"] .hero-overlay-logo {
    left: auto;
    right: 30px;
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========== SLIDE LOGO ANIMATION ========== */
.slide-logo {
    transition: transform 0.3s ease;
}

.slide-logo:hover {
    transform: scale(1.05);
}

/* ========== LEFT COLUMN ENHANCEMENT ========== */
.col-left {
    overflow: hidden;
}

.col-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, rgba(11, 41, 76, 0.4), transparent);
    pointer-events: none;
    z-index: 2;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .slide-heading {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .center-content {
        padding: 0 40px;
    }
}

@media (max-width: 1024px) {
    .col-left {
        flex: 0 0 45%;
    }

    .col-center {
        flex: 0 0 35%;
    }

    .col-right {
        flex: 0 0 15%;
    }

    .tagline {
        font-size: 1.15rem;
    }

    .side-labels {
        display: none;
    }

    .detail-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .eng-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .eng-project-slide {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow: auto !important;
        height: auto !important;
        scrollbar-gutter: auto;
        background: var(--color-white);
    }

    /* Fullscreen slider */
    .fullscreen-slider {
        width: 100%;
        display: none;
    }

    .fullscreen-slider.active {
        display: block;
    }

    .fs-heading {
        font-size: 2.2rem;
    }

    .fs-tagline {
        font-size: 1rem;
    }

    .fs-content {
        padding: 30px 24px;
    }

    /* Main layout */
    .main-layout {
        display: none;
        width: 100%;
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .main-layout.active {
        display: flex;
    }

    .col-left {
        flex: none;
        height: 50vh;
        padding: 70px 20px 20px;
    }

    .col-left::after {
        display: none;
    }

    .hero-image-wrapper {
        width: 90%;
        height: 100%;
    }

    .side-labels {
        display: none;
    }

    .col-center {
        flex: none;
        padding: 40px 0 60px;
    }

    .center-content {
        padding: 0 30px;
    }


    .center-text-slider {
        position: relative;
        min-height: auto;
    }

    .center-slide {
        position: relative;
        opacity: 0;
        visibility: hidden;
        height: 0;
        overflow: hidden;
        transform: none;
        transition: none;
    }

    .center-slide.active {
        opacity: 1;
        visibility: visible;
        height: auto;
        overflow: visible;
        transform: none;
        transition: none;
    }

    .slide-label {
        font-size: 0.65rem;
        margin-bottom: 12px;
    }

    .slide-heading {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .eng-section-header {
        padding: 30px 20px 16px;
    }

    .eng-section-title {
        font-size: 1.4rem;
    }

    .eng-services-title {
        font-size: 1.2rem;
    }

    /* Right column - hide on mobile */
    .col-right {
        display: none;
    }

    /* Detail sections */
    .dept-detail {
        width: 100%;
    }

    .detail-hero {
        height: 30vh;
    }

    .detail-hero h2 {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
        padding: 0 20px;
        text-align: center;
    }

    .eng-stat-bar {
        flex-wrap: wrap;
    }

    .eng-stat {
        flex: 0 0 calc(50% - 0.5px);
        padding: 22px 14px;
    }

    .eng-stat-number {
        font-size: 1.5rem;
    }

    .eng-stat-label {
        font-size: 0.6rem;
    }

    .eng-project-slide {
        flex: 0 0 100%;
    }

    .detail-content {
        padding: 40px 20px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .detail-card {
        padding: 24px;
    }

    .eng-services-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .eng-service-box {
        padding: 14px 18px;
        font-size: 0.88rem;
    }

    .eng-cta {
        flex-direction: column;
        padding: 30px 24px;
        gap: 30px;
    }

    .eng-cta-content h3 {
        font-size: 1.2rem;
    }

    .eng-cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .eng-cta-btn {
        text-align: center;
    }

    .detail-contact {
        padding: 40px 20px;
    }

    .detail-contact-content {
        flex-direction: column;
    }

    .detail-contact-map {
        min-height: 220px;
    }

    /* Bottom bar */
    .bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
        min-height: 44px;
        justify-content: center;
        gap: 16px;
        padding: 10px 15px;
        background: rgba(11, 41, 76, 0.95);
        flex-wrap: wrap;
        z-index: 400;
    }

    .bottom-link {
        font-size: 0.8rem;
        color: var(--color-white);
    }

    /* Social icons */
    .social-fixed {
        position: fixed;
        right: auto;
        left: 12px;
        bottom: 60px;
        top: auto;
        transform: none;
        flex-direction: row;
        gap: 10px;
        z-index: 200;
    }

    .social-fixed a {
        width: 32px;
        height: 32px;
    }

    .social-fixed a svg {
        width: 14px;
        height: 14px;
    }

    /* Menu button on mobile */
    .menu-btn {
        right: 15px;
        top: 15px;
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .menu-btn span {
        background: var(--color-white);
    }

    .menu-btn:hover {
        background: rgba(255, 255, 255, 0.25);
    }

    /* WhatsApp popup */
    .wa-popup {
        width: 280px;
        left: 10px;
        bottom: 70px;
    }
}

@media (max-width: 480px) {
    .fs-heading {
        font-size: 1.8rem;
    }

    .fs-tagline {
        font-size: 0.9rem;
    }

    .col-left {
        height: 40vh;
    }

    .tagline {
        font-size: 0.95rem;
    }

    .btn-explore {
        padding: 12px 30px;
        font-size: 0.875rem;
    }

    .overlay-nav a {
        font-size: 1.4rem;
    }

    .social-fixed {
        left: 10px;
        gap: 14px;
    }

    .social-fixed a svg {
        width: 14px;
        height: 14px;
    }

    .bottom-bar {
        gap: 12px;
        padding: 0 10px;
        height: auto;
        min-height: 50px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .bottom-link {
        font-size: 0.75rem;
    }

    .detail-hero {
        height: 25vh;
    }

    .detail-hero h2 {
        font-size: 1.2rem;
    }

    .detail-content {
        padding: 30px 15px;
    }

    .detail-card h3 {
        font-size: 1rem;
    }

    .detail-card p {
        font-size: 0.875rem;
    }

    .wa-popup {
        width: calc(100vw - 20px);
        left: 10px;
    }
}

/* ========== SOFTWARE SECTION ========== */
.sw-header {
    text-align: center;
    padding: 70px 40px 20px;
}

.sw-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-software);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.sw-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.sw-subtitle {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 300;
    color: #555;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
    letter-spacing: 0.02em;
}

/* Software Grid */
.sw-timeline {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 20px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 20px;
}

.sw-timeline-line {
    display: none;
    position: absolute;
}

.sw-timeline-item {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
}

.sw-timeline-item.left,
.sw-timeline-item.right {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
    justify-content: flex-start;
}

.sw-timeline-node {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-software);
    margin: 0 auto 12px;
    flex-shrink: 0;
}

.sw-timeline-node svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    fill: none;
    flex-shrink: 0;
}


.sw-timeline-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    flex: 1;
    perspective: 1000px;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%234a3080' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 1l4 4-4 4'/%3E%3Cpath d='M3 11V9a4 4 0 0 1 4-4h14'/%3E%3Cpath d='M7 23l-4-4 4-4'/%3E%3Cpath d='M21 13v2a4 4 0 0 1-4 4H3'/%3E%3C/svg%3E") 14 14, pointer;
    background: #f9fafb;
    border: 1px solid #e8eaef;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.sw-card-inner {
    position: relative;
    width: 100%;
    flex: 1;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.sw-timeline-card.flipped .sw-card-inner {
    transform: rotateY(180deg);
}

.sw-card-front,
.sw-card-back {
    width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
}

.sw-card-front {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.sw-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1e2a3e;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
}

.sw-timeline-card > h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-software);
    margin-bottom: 0;
    padding: 20px 26px 12px;
    letter-spacing: 0.02em;
}

.sw-timeline-card {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.sw-timeline-card:hover {
    box-shadow: 0 8px 32px rgba(74, 48, 128, 0.3), 0 0 0 2px rgba(74, 48, 128, 0.15);
    transform: translateY(-4px);
}

.sw-tl-card-body {
    padding: 20px 26px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sw-tl-card-body p {
    flex: 1;
}


.sw-timeline-card p {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 300;
    color: #555;
    line-height: 1.75;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.sw-timeline-card ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
    padding: 0;
}

.sw-timeline-card ul li {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-navy);
    letter-spacing: 0.02em;
    padding-left: 16px;
    position: relative;
}

.sw-timeline-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-software);
    opacity: 0.6;
}

.sw-timeline-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sw-timeline-badges span {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(74, 48, 128, 0.08);
    border-radius: 20px;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-software);
    letter-spacing: 0.04em;
}

/* Timeline Card Mock-up Screens */
.sw-tl-mock {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.sw-tl-mock .swm-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.swm-topbar {
    height: 24px;
    background: #141c2b;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 5px;
    flex-shrink: 0;
}
.swm-topbar span { width: 7px; height: 7px; border-radius: 50%; }
.swm-topbar span:nth-child(1) { background: #ff5f57; }
.swm-topbar span:nth-child(2) { background: #febc2e; }
.swm-topbar span:nth-child(3) { background: #28c840; }

/* --- 01 Loading Instrument --- */
.swm-loading .swm-body { padding: 10px 14px 0; }
.swm-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.swm-bar-key { font-size: 0.6rem; font-family: monospace; color: #7fa8c9; width: 40px; flex-shrink: 0; }
.swm-bar-track { flex: 1; height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.swm-bar-fill { height: 100%; background: #4a9edd; border-radius: 3px; }
.swm-bar-fill.ok { background: #28c840; }
.swm-bar-num { font-size: 0.6rem; font-family: monospace; color: #a0bfd4; width: 34px; text-align: right; flex-shrink: 0; }
.swm-mock-status {
    display: inline-block;
    margin: 4px 0 0;
    background: rgba(40,200,64,0.15);
    border: 1px solid rgba(40,200,64,0.3);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.56rem;
    font-family: monospace;
    color: #28c840;
    letter-spacing: 0.08em;
}

/* --- 02 Trim Optimisation --- */
.swm-trim .swm-body { padding: 10px 12px 0; }
.swm-trim-compare { display: flex; gap: 6px; align-items: center; }
.swm-tc-box { flex: 1; background: rgba(255,255,255,0.05); border-radius: 6px; padding: 7px 10px; border: 1px solid rgba(255,255,255,0.08); }
.swm-tc-box.optimal { border-color: rgba(74,200,140,0.4); background: rgba(74,200,140,0.08); }
.swm-tc-label { font-size: 0.52rem; color: #7fa8c9; font-family: monospace; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }
.swm-tc-val { font-size: 1rem; font-weight: 700; color: #e0eaf4; font-family: monospace; line-height: 1.1; }
.swm-tc-box.optimal .swm-tc-val { color: #4ac88c; }
.swm-tc-fuel { font-size: 0.56rem; color: #7fa8c9; font-family: monospace; margin-top: 3px; }
.swm-tc-arrow { font-size: 1.1rem; color: #febc2e; flex-shrink: 0; }
.swm-trim-saving { margin: 7px 0 0; font-size: 0.58rem; font-family: monospace; color: #4ac88c; text-align: center; background: rgba(74,200,140,0.1); border-radius: 4px; padding: 3px 0; }

/* --- 03 Hydrostatics --- */
.swm-hydro .swm-body { padding: 10px 12px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.swm-hyd-item { background: rgba(255,255,255,0.05); border-radius: 5px; padding: 6px 8px; }
.swm-hyd-key { font-size: 0.52rem; color: #7fa8c9; font-family: monospace; text-transform: uppercase; letter-spacing: 0.04em; }
.swm-hyd-val { font-size: 0.85rem; font-weight: 700; color: #c5ddf0; font-family: monospace; margin-top: 2px; }

/* --- 04 Grain Stability --- */
.swm-grain .swm-body { padding: 8px 14px 0; display: flex; gap: 6px; align-items: flex-end; position: relative; height: 100px; }
.swm-grain-comp { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.swm-grain-tank { width: 100%; height: 66px; border: 1px solid rgba(255,255,255,0.15); border-radius: 2px; position: relative; overflow: hidden; background: rgba(255,255,255,0.04); }
.swm-grain-fill { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, #febc2e, rgba(254,188,46,0.45)); }
.swm-grain-lbl { font-size: 0.5rem; color: #7fa8c9; font-family: monospace; }
.swm-grain .swm-mock-status { position: absolute; bottom: 2px; right: 10px; font-size: 0.52rem; margin: 0; }

/* --- 05 Performance Monitoring --- */
.swm-perf .swm-body { padding: 8px 12px 0; }
.swm-kpi-row { display: flex; gap: 5px; margin-bottom: 7px; }
.swm-kpi { flex: 1; background: rgba(255,255,255,0.05); border-radius: 5px; padding: 5px 7px; text-align: center; }
.swm-kpi-val { font-size: 0.9rem; font-weight: 700; color: #c5ddf0; font-family: monospace; display: block; line-height: 1.1; }
.swm-kpi-key { font-size: 0.5rem; color: #5a7fa0; font-family: monospace; text-transform: uppercase; display: block; margin-top: 2px; }
.swm-sparkline { display: flex; gap: 3px; align-items: flex-end; height: 28px; padding: 0 2px; }
.swm-spark-bar { flex: 1; background: rgba(74,48,128,0.55); border-radius: 2px 2px 0 0; min-height: 4px; }
.swm-spark-bar.hi { background: rgba(74,158,221,0.75); }

/* --- 06 Fleet Management --- */
.swm-fleet .swm-body { padding: 0; position: relative; height: 124px; }
.swm-map-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 22px 22px;
}
.swm-vessel { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.swm-vessel-dot { width: 7px; height: 7px; border-radius: 50%; background: #4a9edd; box-shadow: 0 0 6px rgba(74,158,221,0.8); }
.swm-vessel-name { font-size: 0.46rem; font-family: monospace; color: #7fa8c9; white-space: nowrap; }
.swm-fleet .swm-mock-status { position: absolute; bottom: 5px; left: 8px; font-size: 0.52rem; display: inline-block; margin: 0; }

/* --- 07 Compliance --- */
.swm-compliance .swm-body { padding: 8px 14px 0; }
.swm-check-item { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; }
.swm-check-icon { width: 14px; height: 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.5rem; flex-shrink: 0; }
.swm-check-icon.ok { background: rgba(40,200,64,0.2); color: #28c840; }
.swm-check-icon.warn { background: rgba(254,188,46,0.2); color: #febc2e; }
.swm-check-text { font-size: 0.58rem; font-family: monospace; color: #a0bfd4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swm-check-item.warn .swm-check-text { color: #febc2e; }

/* Laptop Mockup */
.sw-product-mockup {
    flex: 1;
    display: flex;
    justify-content: center;
}

.sw-laptop {
    width: 100%;
    max-width: 520px;
    perspective: 900px;
}

.sw-laptop-screen {
    background: #f0f0f0;
    border-radius: 10px 10px 0 0;
    border: 2px solid #d0d0d0;
    border-bottom: none;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.sw-screen-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 0;
    background: var(--color-navy);
    position: relative;
    overflow: hidden;
}

.sw-screen-placeholder .sw-mock-ui {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Mock UI - Top bar */
.sw-mock-ui::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 24px;
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mock sidebar */
.sw-mock-sidebar {
    position: absolute;
    top: 24px;
    left: 0;
    width: 22%;
    bottom: 0;
    background: rgba(255, 255, 255, 0.04);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.sw-mock-sidebar-item {
    height: 8px;
    margin: 10px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.sw-mock-sidebar-item.active {
    background: var(--color-software);
    opacity: 0.7;
}

/* Mock content area */
.sw-mock-content {
    position: absolute;
    top: 36px;
    left: 25%;
    right: 8%;
    bottom: 10%;
}

.sw-mock-chart {
    width: 100%;
    height: 50%;
    display: flex;
    align-items: flex-end;
    gap: 6%;
    padding: 0 5%;
}

.sw-mock-bar {
    flex: 1;
    background: var(--color-software);
    border-radius: 3px 3px 0 0;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.sw-mock-bar:nth-child(odd) {
    background: rgba(255, 255, 255, 0.15);
}

.sw-mock-table {
    margin-top: 8%;
    width: 100%;
}

.sw-mock-row {
    height: 7px;
    margin-bottom: 6px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 2px;
}

.sw-mock-row:nth-child(even) {
    width: 85%;
}

/* Mock Dashboard (Product 2) */
.sw-mock-cards {
    display: flex;
    gap: 6%;
    margin-bottom: 10%;
}

.sw-mock-card {
    flex: 1;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sw-mock-card.highlight {
    border-color: var(--color-software);
    background: rgba(74, 48, 128, 0.15);
}

.sw-mock-line-chart {
    width: 100%;
    height: 40%;
}

.sw-mock-line-chart svg {
    width: 100%;
    height: 100%;
}

/* Mock Report (Product 3) */
.sw-mock-table-full {
    width: 100%;
}

.sw-mock-table-header {
    height: 10px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    margin-bottom: 8px;
}

.sw-mock-table-row {
    display: flex;
    gap: 8%;
    margin-bottom: 6px;
    align-items: center;
}

.sw-mock-table-row span {
    height: 7px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 2px;
}

.sw-mock-table-row span:nth-child(1) {
    flex: 3;
}

.sw-mock-table-row span:nth-child(2) {
    flex: 2;
}

.sw-mock-table-row span:nth-child(3) {
    flex: 1;
    height: 7px;
}

.sw-mock-table-row span.pass {
    background: rgba(76, 175, 80, 0.5);
}

.sw-mock-table-row span.fail {
    background: rgba(244, 67, 54, 0.5);
}

.sw-laptop-base {
    width: 110%;
    margin-left: -5%;
    height: 14px;
    background: linear-gradient(to bottom, #d8d8d8, #bbb);
    border-radius: 0 0 8px 8px;
    position: relative;
}

.sw-laptop-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #aaa;
    border-radius: 0 0 4px 4px;
}

/* Product Info */
.sw-product-info {
    flex: 1;
}

.sw-product-badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 14px;
    background: var(--color-software);
    border-radius: 20px;
    margin-bottom: 16px;
}

.sw-product-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-software);
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.sw-product-desc {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 300;
    color: #555;
    line-height: 1.8;
    margin-bottom: 22px;
    letter-spacing: 0.02em;
}

.sw-product-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sw-product-features li {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-navy);
    letter-spacing: 0.02em;
    padding-left: 20px;
    position: relative;
}

.sw-product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-software);
    opacity: 0.7;
}

/* Software Slogan */
.sw-slogan {
    text-align: center;
    margin: 50px 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.sw-slogan::before,
.sw-slogan::after {
    content: '';
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-software), transparent);
    opacity: 0.3;
}

.sw-slogan-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 300;
    font-style: italic;
    color: var(--color-software);
    letter-spacing: 0.2em;
    white-space: nowrap;
}

/* Software CTA */
.sw-cta {
    margin-top: 0;
    background: linear-gradient(135deg, var(--color-navy) 0%, #2a1f5e 50%, var(--color-software) 100%);
    border-radius: 12px;
    padding: 50px 55px;
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    overflow: hidden;
    margin-left: 60px;
    margin-right: 60px;
    margin-bottom: 0;
}

.sw-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.sw-cta-content {
    flex: 1.2;
}

.sw-cta h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.sw-cta p {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.sw-cta-buttons {
    display: flex;
    gap: 14px;
}

.sw-cta-btn {
    padding: 12px 28px;
    border-radius: 4px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sw-cta-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sw-cta-whatsapp {
    background: #ffffff;
    color: var(--color-software);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sw-cta-whatsapp:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.sw-cta-mail {
    background: var(--color-navy);
    color: var(--color-white);
}

.sw-cta-mail:hover {
    background: #143d6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(11, 41, 76, 0.3);
}

.sw-cta-contact {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.sw-cta-contact:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.sw-cta-badges {
    flex: 0.8;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.sw-cta-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.sw-cta-badge svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    stroke: rgba(255, 255, 255, 0.7);
}

/* Software Responsive */
@media (max-width: 900px) {
    .sw-scroll-showcase {
        flex-direction: column;
        padding: 20px 25px 0;
        gap: 30px;
    }

    .sw-scroll-left {
        flex: none;
        width: 100%;
    }

    .sw-scroll-sticky {
        position: relative;
        top: 0;
    }

    .sw-scroll-item {
        opacity: 1;
        padding: 25px 0;
    }

    .sw-scroll-item ul {
        grid-template-columns: 1fr;
    }

    .sw-laptop {
        max-width: 360px;
    }

    .sw-header {
        padding: 50px 25px 10px;
    }

    .sw-title {
        font-size: 1.5rem;
    }

    .sw-cta {
        flex-direction: column;
        padding: 35px 25px;
        margin-left: 25px;
        margin-right: 25px;
        gap: 30px;
    }

    .sw-cta-buttons {
        flex-direction: column;
    }

    .sw-cta-badges {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
}
