@charset "utf-8";
/* CSS Document */

/* =========================================================
   ENGINEERING HERO SLIDER
   Prefix: eng-
   Designed to avoid conflicts with existing website CSS
========================================================= */


/* =========================
   MAIN SLIDER
========================= */

.eng-hero-slider {
    position: relative;
    width: 100%;
    height: 760px;
    min-height: 650px;
    overflow: hidden;
    background: #101214;
    isolation: isolate;
}


/* =========================
   SLIDER WRAPPER
========================= */

.eng-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}


/* =========================
   INDIVIDUAL SLIDE
========================= */

.eng-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    transform: scale(1.04);
    transition:
        opacity 0.9s ease,
        transform 6s ease;
}


/* Active slide */

.eng-slide.eng-slide-active {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}


/* =========================
   IMAGE
========================= */

.eng-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.eng-slide-image img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center center;

    transform: scale(1.02);

    transition:
        transform 7s cubic-bezier(.2,.7,.2,1);
}

.eng-slide-active .eng-slide-image img {
    transform: scale(1.08);
}


/* =========================
   DARK GRADIENT OVERLAY
========================= */

.eng-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(5 8 10) 0%, rgb(5 8 10 / 73%) 32%, rgb(5 8 10 / 0%) 65%, rgb(5 8 10 / 0%) 100%);
    z-index: 2;
}


/* Bottom gradient */

.eng-slide::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 260px;

    background:
        linear-gradient(
            to top,
            rgba(5, 7, 8, 0.85),
            transparent
        );

    z-index: 2;

    pointer-events: none;
}


/* =========================
   CONTENT
========================= */

.eng-slide-content {
    position: absolute;

    left: 8%;
    top: 50%;

    width: min(680px, 48%);

    transform:
        translateY(-45px);

    z-index: 5;

    opacity: 0;

    transition:
        opacity 0.8s ease,
        transform 0.9s cubic-bezier(.2,.8,.2,1);
}


.eng-slide-active .eng-slide-content {

    opacity: 1;

    transform:
        translateY(-50%);
}


/* =========================
   EYEBROW
========================= */

.eng-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 22px;

    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}


/* Small line */

.eng-eyebrow::before {
    content: "";

    display: inline-block;

    width: 42px;
    height: 2px;

    background: #ffffff;
}


/* =========================
   HEADLINE
========================= */

.eng-slide-content h1 {

    margin: 0 0 24px 0;

    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: clamp(52px, 6vw, 92px);

    font-weight: 300;

    line-height: 0.98;

    letter-spacing: -3px;
}


.eng-slide-content h1 strong {

    font-weight: 800;

    color: #ffffff;
}


/* =========================
   DESCRIPTION
========================= */

.eng-slide-content p {

    max-width: 560px;

    margin: 0 0 34px 0;

    color: rgba(255,255,255,0.82);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 17px;

    font-weight: 400;

    line-height: 1.75;
}


/* =========================
   BUTTON
========================= */

.eng-btn {

    display: inline-flex;

    align-items: center;

    gap: 20px;

    min-height: 52px;

    padding: 0 24px;

    color: #ffffff;

    border: 1px solid rgba(255,255,255,0.65);

    background: rgba(255,255,255,0.05);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    text-decoration: none;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        padding 0.3s ease;
}


.eng-btn span {

    font-size: 20px;

    line-height: 1;

    transition:
        transform 0.3s ease;
}


.eng-btn:hover {

    color: #111111;

    background: #ffffff;

    border-color: #ffffff;

    padding-left: 28px;
}


.eng-btn:hover span {

    transform: translateX(5px);
}


/* =========================
   SLIDE NUMBER
========================= */

.eng-slide-number {

    position: absolute;

    right: 8%;
    bottom: 105px;

    display: flex;

    align-items: center;

    gap: 14px;

    z-index: 5;

    color: rgba(255,255,255,0.75);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}


.eng-slide-number i {

    display: block;

    width: 50px;
    height: 1px;

    background: rgba(255,255,255,0.45);
}


/* =========================
   DOT NAVIGATION
========================= */

.eng-slider-controls {

    position: absolute;

    left: 8%;

    bottom: 104px;

    display: flex;

    align-items: center;

    gap: 9px;

    z-index: 10;
}


.eng-dot {

    width: 38px;
    height: 3px;

    padding: 0;

    border: 0;

    cursor: pointer;

    background: rgba(255,255,255,0.35);

    transition:
        width 0.35s ease,
        background 0.35s ease;
}


.eng-dot.eng-dot-active {

    width: 70px;

    background: #ffffff;
}


/* =========================
   BOTTOM BAR
========================= */

.eng-bottom-bar {

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 70px;

    padding: 0 8%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-top:
        1px solid rgba(255,255,255,0.14);

    z-index: 10;

    background:
        rgba(8,10,11,0.28);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


.eng-bottom-item {

    display: flex;

    align-items: center;

    gap: 12px;

    color: rgba(255,255,255,0.65);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}


.eng-bottom-line {

    width: 25px;
    height: 1px;

    background: rgba(255,255,255,0.6);
}


/* =========================
   LAPTOP
========================= */

@media (max-width: 1200px) {

    .eng-hero-slider {

        height: 680px;
        min-height: 600px;

    }


    .eng-slide-content {

        left: 7%;

        width: 55%;

    }


    .eng-slide-content h1 {

        font-size: clamp(48px, 6vw, 76px);

    }


    .eng-slider-controls {

        left: 7%;
    }


    .eng-bottom-bar {

        padding: 0 7%;
    }

}


/* =========================
   TABLET
========================= */

@media (max-width: 991px) {

    .eng-hero-slider {

        height: 650px;
        min-height: 600px;

    }


    .eng-overlay {

        background:
            linear-gradient(
                90deg,
                rgba(5,8,10,0.88) 0%,
                rgba(5,8,10,0.60) 60%,
                rgba(5,8,10,0.30) 100%
            );

    }


    .eng-slide-content {

        left: 6%;

        width: 65%;

    }


    .eng-slide-content h1 {

        font-size: 62px;

        letter-spacing: -2px;

    }


    .eng-slide-content p {

        font-size: 15px;

        line-height: 1.65;

    }


    .eng-slide-number {

        right: 6%;

        bottom: 100px;

    }


    .eng-slider-controls {

        left: 6%;

        bottom: 100px;

    }


    .eng-bottom-bar {

        padding: 0 6%;

    }


    .eng-bottom-item {

        font-size: 9px;

    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

    .eng-hero-slider {

        height: 720px;

        min-height: 620px;

    }


    /* Better mobile image positioning */

    .eng-slide-image img {

        object-position: 62% center;

    }


    /* Stronger mobile overlay */

    .eng-overlay {

        background:
            linear-gradient(
                180deg,
                rgba(5,8,10,0.40) 0%,
                rgba(5,8,10,0.60) 45%,
                rgba(5,8,10,0.94) 100%
            );

    }


    /* Content */

    .eng-slide-content {

        left: 24px;
        right: 24px;

        top: auto;
        bottom: 145px;

        width: auto;

        transform:
            translateY(25px);

    }


    .eng-slide-active .eng-slide-content {

        transform:
            translateY(0);

    }


    /* Eyebrow */

    .eng-eyebrow {

        margin-bottom: 18px;

        font-size: 10px;

        letter-spacing: 2px;

    }


    .eng-eyebrow::before {

        width: 25px;

    }


    /* Headline */

    .eng-slide-content h1 {

        margin-bottom: 18px;

        font-size: clamp(42px, 12vw, 60px);

        line-height: 0.98;

        letter-spacing: -1.5px;

    }


    /* Description */

    .eng-slide-content p {

        margin-bottom: 25px;

        font-size: 14px;

        line-height: 1.65;

    }


    /* Button */

    .eng-btn {

        min-height: 48px;

        padding: 0 18px;

        font-size: 10px;

        letter-spacing: 1.2px;

    }


    /* Controls */

    .eng-slider-controls {

        left: 24px;

        bottom: 90px;

        gap: 6px;

    }


    .eng-dot {

        width: 25px;

        height: 2px;

    }


    .eng-dot.eng-dot-active {

        width: 48px;

    }


    /* Number */

    .eng-slide-number {

        right: 24px;

        bottom: 87px;

        gap: 8px;

        font-size: 9px;

    }


    .eng-slide-number i {

        width: 28px;

    }


    /* Bottom bar */

    .eng-bottom-bar {

        height: 58px;

        padding: 0 24px;

    }


    .eng-bottom-item {

        font-size: 8px;

        letter-spacing: 1px;

    }


    .eng-bottom-item:nth-child(2),
    .eng-bottom-item:nth-child(3) {

        display: none;

    }


    .eng-bottom-line {

        width: 18px;

    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

    .eng-hero-slider {

        height: 680px;

    }


    .eng-slide-content {

        left: 20px;
        right: 20px;

        bottom: 135px;

    }


    .eng-slide-content h1 {

        font-size: 44px;

    }


    .eng-slide-content p {

        font-size: 13px;

        max-width: 330px;

    }


    .eng-slider-controls {

        left: 20px;

        bottom: 82px;

    }


    .eng-slide-number {

        right: 20px;

        bottom: 79px;

    }


    .eng-bottom-bar {

        padding: 0 20px;

    }

}


/* =========================
   ACCESSIBILITY
========================= */

@media (prefers-reduced-motion: reduce) {

    .eng-slide,
    .eng-slide-image img,
    .eng-slide-content,
    .eng-btn,
    .eng-dot {

        transition: none !important;

    }

}