.engineering-hero-section {
    position: relative;
    overflow: hidden;
    padding: 88px 0 96px;
    background: linear-gradient( 180deg, #ffffff 0%, #ffffff 25%, #f7fbff 60%, #eef6ff 100% );
}

.engineering-hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.56;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
}

.engineering-hero-section .container {
    position: relative;
    z-index: 1;
}

.engineering-hero-wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.88fr);
    gap: 56px;
    align-items: center;
}

.engineering-hero-content {
    max-width: 680px;
}

.engineering-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #0e59f2;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.engineering-hero-kicker::before {
    content: "";
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor);
}

.engineering-hero-content h1 {
    margin: 0 0 22px;
    color: #0f172a;
    font-size: clamp(2.35rem, 5vw, 4.8rem);
    font-weight: 900;
    line-height: 1.02;
}

.engineering-hero-content h1 span {
    color: #0e59f2;
}

.engineering-hero-content p {
    max-width: 620px;
    margin: 0 0 14px;
    color: #526174;
    font-size: 1.03rem;
    line-height: 1.78;
}

.engineering-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.engineering-hero-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 18px;
    border: 1px solid rgba(14, 89, 242, 0.16);
    border-radius: 8px;
    color: #0e59f2;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease, color 0.24s ease, background 0.24s ease;
}

.engineering-hero-btn:hover {
    color: #ffffff;
    background: #0e59f2;
    box-shadow: 0 20px 38px rgba(14, 89, 242, 0.24);
    transform: translateY(-2px);
}

.engineering-hero-btn.is-primary {
    color: #ffffff;
    border-color: #0e59f2;
    background: #0e59f2;
}

.engineering-hero-btn.is-primary:hover {
    background: #0b48c6;
}

.engineering-hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.engineering-hero-metrics div {
    min-height: 92px;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

.engineering-hero-metrics strong,
.engineering-hero-metrics span {
    display: block;
}

.engineering-hero-metrics strong {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 850;
}

.engineering-hero-metrics span {
    margin-top: 7px;
    color: #64748b;
    font-size: 0.88rem;
}

.engineering-hero-visual {
    position: relative;
}

.engineering-building-frame {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.engineering-building-frame::before,
.engineering-building-frame::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 8px;
}

.engineering-building-frame::before {
    inset: 58px 36px 42px 42px;
    border: 1px solid rgba(14, 89, 242, 0.16);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.78)),
        linear-gradient(90deg, rgba(14, 89, 242, 0.1), transparent);
    box-shadow: 0 34px 70px rgba(15, 23, 42, 0.12);
    transform: rotate(-2deg);
}

.engineering-building-frame::after {
    width: 78%;
    height: 28px;
    right: 10%;
    bottom: 36px;
    background: radial-gradient(ellipse, rgba(15, 23, 42, 0.22), transparent 68%);
    filter: blur(4px);
}

.engineering-building-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 89, 242, 0.24), transparent 68%);
    filter: blur(10px);
    animation: engineeringHeroGlow 5.5s ease-in-out infinite;
}

.engineering-building-frame img {
    position: relative;
    z-index: 1;
    width: min(100%, 570px);
    height: auto;
    filter: drop-shadow(0 28px 34px rgba(15, 23, 42, 0.22));
    animation: engineeringHeroFloat 5.8s ease-in-out infinite;
}

.engineering-hero-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: min(260px, 72vw);
    padding: 12px 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 850;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.13);
    backdrop-filter: blur(12px);
}

.engineering-hero-chip i {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 8px;
    color: #ffffff;
    background: #0e59f2;
}

.engineering-hero-chip.is-top {
    top: 74px;
    right: 4px;
    animation: engineeringChipIn 0.72s ease both 0.12s;
}

.engineering-hero-chip.is-bottom {
    left: 0;
    bottom: 84px;
    animation: engineeringChipIn 0.72s ease both 0.22s;
}

@keyframes engineeringHeroFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes engineeringHeroGlow {
    0%, 100% {
        transform: scale(0.96);
        opacity: 0.72;
    }

    50% {
        transform: scale(1.06);
        opacity: 1;
    }
}

@keyframes engineeringChipIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.engineering-expertise-section {
    position: relative;
    overflow: hidden;
    padding: 86px 0 72px !important;
    background:
        radial-gradient(circle at 12% 8%, rgba(14, 89, 242, 0.13), transparent 27%),
        radial-gradient(circle at 88% 12%, rgba(20, 184, 166, 0.1), transparent 28%),
        linear-gradient(180deg, #eef6ff 0%, #ffffff 42%, #f6fbff 100%);
}

.engineering-expertise-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.72;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

.engineering-expertise-section .elementor-container {
    position: relative;
    z-index: 1;
}

.engineering-expertise-section .tronix-section-title {
    margin-bottom: 12px;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.08;
}

.engineering-expertise-section .tronix-section-description {
    max-width: 680px;
    margin: 0 auto;
    color: #526174;
    font-size: 1rem;
    line-height: 1.72;
}

.engineering-expertise-section .elementor-container[style*="margin-top"] {
    margin-top: 38px !important;
}

.engineering-item-box {
    display: flex;
    height: 100%;
    margin-bottom: 20px;
    padding: 20px;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.84)),
        linear-gradient(135deg, rgba(14, 89, 242, 0.06), rgba(20, 184, 166, 0.05));
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.engineering-item-box::before {
    content: "";
    position: absolute;
    inset: -1px;
    opacity: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(14, 89, 242, 0.13), transparent 45%, rgba(20, 184, 166, 0.12));
    transition: opacity 0.3s ease;
}

.engineering-item-box:hover {
    border-color: rgba(14, 89, 242, 0.22);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.13);
    transform: translateY(-6px);
}

.engineering-item-box:hover::before {
    opacity: 1;
}

.engineering-img-container {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 220px;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(14, 89, 242, 0.08);
    background:
        linear-gradient(145deg, #ffffff, #f3f8ff);
}

.engineering-img-container img {
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: contain;
}

.engineering-item-title {
    position: relative;
    z-index: 1;
    min-height: 3em;
    margin-top: 10px;
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 700;
}

.engineering-item-des {
    position: relative;
    z-index: 1;
    flex-grow: 1;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.65;
}

.image-switcher-custom {
    min-height: 160px !important;
    padding: 0 !important;
}

.engineering-work-section {
    position: relative;
    overflow: hidden;
    padding: 94px 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 12% 16%, rgba(14, 89, 242, 0.28), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(20, 184, 166, 0.22), transparent 28%),
        linear-gradient(135deg, #07111f 0%, #0f172a 48%, #111827 100%);
}

.engineering-work-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

.engineering-work-section .container {
    position: relative;
    z-index: 1;
}

.engineering-work-header {
    max-width: 850px;
    margin-bottom: 40px;
}

.engineering-work-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #67e8f9;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.engineering-work-kicker::before {
    content: "";
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor);
}

.engineering-work-header h2 {
    max-width: 760px;
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.55rem);
    font-weight: 900;
    line-height: 1.08;
}

.engineering-work-header p {
    max-width: 760px;
    margin: 0;
    color: #cbd5e1;
    font-size: 1.02rem;
    line-height: 1.78;
}

.engineering-work-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.engineering-work-card {
    position: relative;
    grid-column: span 2;
    min-height: 330px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
        rgba(15, 23, 42, 0.74);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
    animation: engineeringWorkIn 0.62s ease both;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.engineering-work-card:nth-child(2) {
    animation-delay: 0.08s;
}

.engineering-work-card:nth-child(3) {
    animation-delay: 0.16s;
}

.engineering-work-card:nth-child(4) {
    animation-delay: 0.24s;
}

.engineering-work-card:nth-child(5) {
    animation-delay: 0.32s;
}

.engineering-work-card.is-featured {
    grid-column: span 4;
}

.engineering-work-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    opacity: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(14, 89, 242, 0.3), transparent 42%, rgba(20, 184, 166, 0.25));
    transition: opacity 0.3s ease;
}

.engineering-work-card::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: -78px;
    bottom: -94px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(103, 232, 249, 0.16), transparent 68%);
    transition: transform 0.34s ease;
}

.engineering-work-card:hover {
    border-color: rgba(103, 232, 249, 0.34);
    box-shadow: 0 34px 72px rgba(0, 0, 0, 0.32);
    transform: translateY(-8px);
}

.engineering-work-card:hover::before {
    opacity: 1;
}

.engineering-work-card:hover::after {
    transform: scale(1.2);
}

.engineering-work-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1.42rem;
    background: linear-gradient(135deg, #0e59f2, #14b8a6);
    box-shadow: 0 18px 34px rgba(14, 89, 242, 0.24);
}

.engineering-work-card span {
    position: absolute;
    top: 20px;
    right: 22px;
    color: rgba(255, 255, 255, 0.08);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
}

.engineering-work-card h3,
.engineering-work-card p {
    position: relative;
    z-index: 1;
}

.engineering-work-card h3 {
    margin: 0 0 13px;
    color: #ffffff;
    font-size: 1.38rem;
    font-weight: 850;
}

.engineering-work-card p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.96rem;
    line-height: 1.72;
}

@keyframes engineeringWorkIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.engineering-facilities-section {
    position: relative;
    overflow: hidden;
    padding: 92px 0;
    background:
        radial-gradient(circle at 8% 18%, rgba(14, 89, 242, 0.12), transparent 28%),
        radial-gradient(circle at 92% 8%, rgba(20, 184, 166, 0.1), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 54%, #eef6ff 100%);
}

.engineering-facilities-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.68;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

.engineering-facilities-section .container {
    position: relative;
    z-index: 1;
}

.engineering-facilities-header {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.78fr);
    gap: 34px;
    align-items: end;
    margin-bottom: 38px;
}

.engineering-facilities-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #0e59f2;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.engineering-facilities-kicker::before {
    content: "";
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor);
}

.engineering-facilities-header h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 900;
    line-height: 1.08;
}

.engineering-facilities-header p {
    margin: 0;
    padding-left: 24px;
    border-left: 3px solid #0e59f2;
    color: #526174;
    font-size: 1rem;
    line-height: 1.75;
}

.engineering-facilities-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.engineering-facility-card {
    position: relative;
    grid-column: span 2;
    min-height: 310px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
        linear-gradient(135deg, rgba(14, 89, 242, 0.08), rgba(20, 184, 166, 0.08));
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.09);
    animation: engineeringFacilityIn 0.62s ease both;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.engineering-facility-card:nth-child(2) {
    animation-delay: 0.08s;
}

.engineering-facility-card:nth-child(3) {
    animation-delay: 0.16s;
}

.engineering-facility-card:nth-child(4) {
    animation-delay: 0.24s;
}

.engineering-facility-card:nth-child(5) {
    animation-delay: 0.32s;
}

.engineering-facility-card.is-wide {
    grid-column: span 4;
}

.engineering-facility-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    opacity: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(14, 89, 242, 0.18), transparent 45%, rgba(20, 184, 166, 0.16));
    transition: opacity 0.28s ease;
}

.engineering-facility-card::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -72px;
    bottom: -82px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 89, 242, 0.14), transparent 68%);
    transition: transform 0.32s ease;
}

.engineering-facility-card:hover {
    border-color: rgba(14, 89, 242, 0.22);
    box-shadow: 0 30px 64px rgba(15, 23, 42, 0.13);
    transform: translateY(-8px);
}

.engineering-facility-card:hover::before {
    opacity: 1;
}

.engineering-facility-card:hover::after {
    transform: scale(1.18);
}

.engineering-facility-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1.35rem;
    background: linear-gradient(135deg, #0e59f2, #14b8a6);
    box-shadow: 0 14px 28px rgba(14, 89, 242, 0.22);
}

.engineering-facility-step {
    position: absolute;
    top: 20px;
    right: 22px;
    color: rgba(14, 89, 242, 0.12);
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1;
}

.engineering-facility-card h3,
.engineering-facility-card p {
    position: relative;
    z-index: 1;
}

.engineering-facility-card h3 {
    margin: 0 0 13px;
    color: #0f172a;
    font-size: 1.36rem;
    font-weight: 850;
}

.engineering-facility-card p {
    margin: 0;
    color: #526174;
    font-size: 0.96rem;
    line-height: 1.72;
}

@keyframes engineeringFacilityIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.engineering-gallery-section {
    position: relative;
    overflow: hidden;
    padding: 92px 0;
    background:
        radial-gradient(circle at 10% 14%, rgba(14, 89, 242, 0.12), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(245, 158, 11, 0.12), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 56%, #eef6ff 100%);
}

.engineering-gallery-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.7;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 84%, transparent);
}

.engineering-gallery-section .container {
    position: relative;
    z-index: 1;
}

.engineering-gallery-header {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
    gap: 34px;
    align-items: end;
    margin-bottom: 38px;
}

.engineering-gallery-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #0e59f2;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.engineering-gallery-kicker::before {
    content: "";
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor);
}

.engineering-gallery-header h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 850;
    line-height: 1.08;
}

.engineering-gallery-header p {
    margin: 0;
    padding-left: 24px;
    border-left: 3px solid #0e59f2;
    color: #526174;
    font-size: 1rem;
    line-height: 1.75;
}

.engineering-gallery-shell {
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.09);
}

.engineering-gallery-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.engineering-gallery-card {
    position: relative;
    display: none;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.engineering-gallery-card.is-visible {
    display: block;
    animation: engineeringGalleryIn 0.42s ease both;
}

.engineering-gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 58%, rgba(15, 23, 42, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.engineering-gallery-card:hover::after {
    opacity: 1;
}

.engineering-gallery-open {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.engineering-gallery-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.42s ease;
}

.engineering-gallery-card:hover img {
    transform: scale(1.06);
}

.engineering-gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 26px;
}

.engineering-gallery-btn {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(14, 89, 242, 0.18);
    border-radius: 8px;
    color: #0e59f2;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.engineering-gallery-btn:hover {
    color: #ffffff;
    background: #0e59f2;
    box-shadow: 0 18px 34px rgba(14, 89, 242, 0.22);
    transform: translateY(-2px);
}

.engineering-gallery-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    color: #0f172a;
    font-weight: 850;
    background: rgba(255, 255, 255, 0.9);
}

.engineering-gallery-status small {
    color: #94a3b8;
}

.engineering-gallery-no-scroll {
    overflow: hidden;
}

.engineering-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.engineering-gallery-lightbox.is-open {
    display: flex;
}

.engineering-gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(4, 11, 24, 0.78);
    backdrop-filter: blur(8px);
}

.engineering-gallery-lightbox-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: min(1100px, 94vw);
    height: min(760px, 86vh);
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.88);
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.36);
}

.engineering-gallery-lightbox-dialog img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    background: #ffffff;
}

.engineering-gallery-lightbox-close,
.engineering-gallery-lightbox-nav {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.78);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
    transition: transform 0.25s ease, background 0.25s ease;
}

.engineering-gallery-lightbox-close:hover,
.engineering-gallery-lightbox-nav:hover {
    background: #0e59f2;
    transform: translateY(-2px);
}

.engineering-gallery-lightbox-close {
    top: 16px;
    right: 16px;
}

.engineering-gallery-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
}

.engineering-gallery-lightbox-nav:hover {
    transform: translateY(calc(-50% - 2px));
}

.engineering-gallery-lightbox-nav.is-prev {
    left: 16px;
}

.engineering-gallery-lightbox-nav.is-next {
    right: 16px;
}

@keyframes engineeringGalleryIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 991.98px) {
    .engineering-hero-section {
        padding: 72px 0 80px;
    }

    .engineering-hero-wrap {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .engineering-hero-content {
        max-width: none;
    }

    .engineering-building-frame {
        min-height: 430px;
    }

    .engineering-hero-chip.is-top {
        right: 20px;
    }

    .engineering-hero-chip.is-bottom {
        left: 20px;
        bottom: 54px;
    }

    .engineering-work-section {
        padding: 74px 0;
    }

    .engineering-work-card,
    .engineering-work-card.is-featured {
        grid-column: span 3;
    }

    .engineering-facilities-section {
        padding: 74px 0;
    }

    .engineering-expertise-section {
        padding: 74px 0 58px !important;
    }

    .engineering-facilities-header {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .engineering-facilities-header p {
        padding-left: 18px;
    }

    .engineering-facility-card,
    .engineering-facility-card.is-wide {
        grid-column: span 3;
    }

    .engineering-gallery-section {
        padding: 74px 0;
    }

    .engineering-gallery-header {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .engineering-gallery-header p {
        padding-left: 18px;
    }

    .engineering-gallery-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .engineering-hero-section {
        padding: 58px 0 64px;
    }

    .engineering-hero-content h1 {
        font-size: 2.42rem;
    }

    .engineering-hero-actions {
        display: grid;
    }

    .engineering-hero-btn {
        width: 100%;
    }

    .engineering-hero-metrics {
        grid-template-columns: 1fr;
    }

    .engineering-building-frame {
        min-height: 340px;
    }

    .engineering-building-frame::before {
        inset: 42px 10px 32px;
    }

    .engineering-building-frame img {
        width: 94%;
    }

    .engineering-hero-chip {
        position: relative;
        inset: auto;
        width: 100%;
        max-width: none;
        margin-top: 10px;
    }

    .engineering-building-frame {
        align-content: center;
    }

    .engineering-work-section {
        padding: 58px 0;
    }

    .engineering-work-grid {
        grid-template-columns: 1fr;
    }

    .engineering-work-card,
    .engineering-work-card.is-featured {
        grid-column: auto;
        min-height: auto;
        padding: 22px;
    }

    .engineering-work-card span {
        font-size: 2.8rem;
    }

    .engineering-facilities-section {
        padding: 58px 0;
    }

    .engineering-expertise-section {
        padding: 58px 0 42px !important;
    }

    .engineering-expertise-section .tronix-section-title {
        font-size: 2rem;
    }

    .engineering-facilities-grid {
        grid-template-columns: 1fr;
    }

    .engineering-facility-card,
    .engineering-facility-card.is-wide {
        grid-column: auto;
        min-height: auto;
        padding: 22px;
    }

    .engineering-facility-step {
        font-size: 2.8rem;
    }

    .engineering-gallery-section {
        padding: 58px 0;
    }

    .engineering-gallery-shell {
        padding: 12px;
    }

    .engineering-gallery-track {
        grid-template-columns: 1fr;
    }

    .engineering-gallery-lightbox {
        padding: 14px;
    }

    .engineering-gallery-lightbox-dialog {
        width: 94vw;
        height: 78vh;
        padding: 12px;
    }

    .engineering-gallery-lightbox-close,
    .engineering-gallery-lightbox-nav {
        width: 40px;
        height: 40px;
    }
}
