:root {
    --rup-navy: #061a2d;
    --rup-navy-deep: #020d18;
    --rup-blue: #0a4c7d;
    --rup-blue-bright: #1188c7;
    --rup-blue-soft: #eaf5fb;
    --rup-white: #ffffff;
    --rup-off-white: #f6f9fb;
    --rup-text: #152536;
    --rup-muted: #6b7c8d;
    --rup-line: rgba(255, 255, 255, 0.17);
    --rup-shadow: 0 24px 70px rgba(1, 13, 24, 0.22);
    --rup-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
    color: var(--rup-text);
    background: var(--rup-white);
}

body.rup-menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* Floating header */
.rup-floating-header {
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.45rem clamp(1rem, 4vw, 4.5rem);
    transition:
        transform 0.55s var(--rup-ease),
        padding 0.35s ease,
        background-color 0.35s ease,
        backdrop-filter 0.35s ease;
}

.rup-floating-header::after {
    content: "";
    position: absolute;
    left: clamp(1rem, 4vw, 4.5rem);
    right: clamp(1rem, 4vw, 4.5rem);
    bottom: 0;
    height: 1px;
    opacity: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.28),
        transparent
    );
    transition: opacity 0.35s ease;
}

.rup-floating-header.rup-scrolled {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    background: rgba(3, 17, 30, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.rup-floating-header.rup-scrolled::after {
    opacity: 1;
}

.rup-floating-header.rup-header-hidden {
    transform: translateY(-120%);
}

.rup-logo-wrap {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
}

.rup-logo-wrap img {
    width: clamp(115px, 13vw, 190px);
    max-height: 68px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.18));
    transition: transform 0.45s var(--rup-ease);
}

.rup-logo-wrap:hover img {
    transform: translateY(-2px) scale(1.025);
}

/* Menu button */
.rup-menu-btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
    min-height: 54px;
    padding: 0.55rem 0.65rem 0.55rem 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 999px;
    color: var(--rup-white);
    background: rgba(4, 25, 43, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    overflow: hidden;
    transition:
        transform 0.4s var(--rup-ease),
        border-color 0.35s ease,
        background-color 0.35s ease,
        box-shadow 0.35s ease;
}

.rup-menu-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 15%,
        rgba(255, 255, 255, 0.18) 48%,
        transparent 75%
    );
    transform: translateX(-130%);
    transition: transform 0.75s var(--rup-ease);
}

.rup-menu-btn:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.78);
    background: rgba(10, 76, 125, 0.52);
    box-shadow: 0 16px 40px rgba(0, 12, 25, 0.25);
}

.rup-menu-btn:hover::before {
    transform: translateX(130%);
}

.rup-menu-label {
    position: relative;
    z-index: 1;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rup-menu-icon {
    position: relative;
    z-index: 1;
    width: 39px;
    height: 39px;
    display: grid;
    place-content: center;
    gap: 4px;
    border-radius: 50%;
    color: var(--rup-navy-deep);
    background: var(--rup-white);
}

.rup-menu-icon span {
    width: 16px;
    height: 1.5px;
    display: block;
    border-radius: 999px;
    background: currentColor;
    transition: width 0.35s var(--rup-ease);
}

.rup-menu-icon span:nth-child(2) {
    width: 11px;
    margin-left: auto;
}

.rup-menu-btn:hover .rup-menu-icon span:nth-child(2) {
    width: 16px;
}

/* Sidebar overlay */
.rup-sidebar-overlay {
    position: fixed;
    z-index: 1090;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(17, 136, 199, 0.15),
            transparent 28%
        ),
        rgba(0, 8, 16, 0.7);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    transition:
        opacity 0.45s ease,
        visibility 0.45s ease;
}

.rup-sidebar-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Sidebar */
.rup-sidebar {
    position: fixed;
    z-index: 1100;
    top: 0;
    right: 0;
    width: min(520px, 100%);
    height: 100dvh;
    padding: clamp(5.5rem, 10vh, 7rem) clamp(1.4rem, 4vw, 4rem) 2rem;
    overflow-y: auto;
    color: var(--rup-white);
    background:
        linear-gradient(
            145deg,
            rgba(17, 136, 199, 0.11),
            transparent 32%
        ),
        linear-gradient(180deg, #061a2d 0%, #020c16 100%);
    box-shadow: -30px 0 90px rgba(0, 0, 0, 0.35);
    transform: translateX(105%);
    transition: transform 0.65s var(--rup-ease);
}

.rup-sidebar::before {
    content: "";
    position: absolute;
    top: -110px;
    right: -100px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 55px rgba(255, 255, 255, 0.025),
        0 0 0 110px rgba(255, 255, 255, 0.018);
    pointer-events: none;
}

.rup-sidebar.is-open {
    transform: translateX(0);
}

.rup-close-btn {
    position: absolute;
    top: 1.5rem;
    right: clamp(1.3rem, 4vw, 3.5rem);
    width: 50px;
    height: 50px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.045);
    cursor: pointer;
    transition:
        transform 0.45s var(--rup-ease),
        border-color 0.35s ease,
        background-color 0.35s ease;
}

.rup-close-btn span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 1.5px;
    border-radius: 999px;
    background: var(--rup-white);
}

.rup-close-btn span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.rup-close-btn span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.rup-close-btn:hover {
    transform: rotate(90deg);
    border-color: rgba(255, 255, 255, 0.75);
    background: rgba(17, 136, 199, 0.2);
}

/* Sidebar links */
.rup-sidebar-links {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.rup-sidebar-links a {
    --link-delay: 0ms;

    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;

    min-height: 64px;
    padding: 0.78rem 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.11);

    opacity: 0;
    transform: translateX(34px);

    transition:
        opacity 0.45s ease var(--link-delay),
        transform 0.55s var(--rup-ease) var(--link-delay),
        padding-left 0.35s var(--rup-ease),
        border-color 0.35s ease;
}

.rup-link-text {
    min-width: 0;
    font-size: clamp(1.05rem, 2vw, 1.42rem);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.rup-sidebar.is-open .rup-sidebar-links a {
    opacity: 1;
    transform: translateX(0);
}

.rup-sidebar-links a:nth-child(1) { --link-delay: 80ms; }
.rup-sidebar-links a:nth-child(2) { --link-delay: 120ms; }
.rup-sidebar-links a:nth-child(3) { --link-delay: 160ms; }
.rup-sidebar-links a:nth-child(4) { --link-delay: 200ms; }
.rup-sidebar-links a:nth-child(5) { --link-delay: 240ms; }
.rup-sidebar-links a:nth-child(6) { --link-delay: 280ms; }
.rup-sidebar-links a:nth-child(7) { --link-delay: 320ms; }
.rup-sidebar-links a:nth-child(8) { --link-delay: 360ms; }
.rup-sidebar-links a:nth-child(9) { --link-delay: 400ms; }

.rup-sidebar-links a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        var(--rup-blue-bright),
        rgba(255, 255, 255, 0.8)
    );
    transition: width 0.5s var(--rup-ease);
}

.rup-sidebar-links a::after {
    content: "";
    position: absolute;
    left: -1.3rem;
    top: 50%;
    width: 5px;
    height: 0;
    border-radius: 10px;
    background: var(--rup-blue-bright);
    transform: translateY(-50%);
    box-shadow: 0 0 22px rgba(17, 136, 199, 0.9);
    transition: height 0.35s var(--rup-ease);
}

.rup-sidebar-links a:hover {
    padding-left: 0.9rem;
    border-color: transparent;
}

.rup-sidebar-links a:hover::before {
    width: 100%;
}

.rup-sidebar-links a:hover::after {
    height: 28px;
}

.rup-sidebar-links i {
    color: rgba(255, 255, 255, 0.42);
    font-size: 1rem;
    transform: translate(-8px, 8px);
    opacity: 0;
    transition:
        opacity 0.35s ease,
        transform 0.4s var(--rup-ease),
        color 0.35s ease;
}

.rup-sidebar-links a:hover .rup-link-number,
.rup-sidebar-links a:hover i {
    color: var(--rup-blue-bright);
}

.rup-sidebar-links a:hover .rup-link-text {
    color: var(--rup-white);
    transform: translateX(3px);
}

.rup-sidebar-links a:hover i {
    opacity: 1;
    transform: translate(0, 0);
}

.rup-sidebar-line {
    width: 1px;
    height: 80px;
    margin: 2rem 0 0 20px;
    background: linear-gradient(
        180deg,
        var(--rup-blue-bright),
        transparent
    );
}

/* Footer */
.rup-footer {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0 1.5rem;
    color: rgba(255, 255, 255, 0.74);
    background:
        radial-gradient(
            circle at 8% 15%,
            rgba(17, 136, 199, 0.18),
            transparent 28%
        ),
        linear-gradient(135deg, #061a2d, #020b13);
}

.rup-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 7%;
    right: 7%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
}

.rup-footer-top {
    display: grid;
    grid-template-columns: 1.65fr 0.8fr 1fr 1.2fr;
    gap: clamp(2rem, 5vw, 5rem);
}

.rup-footer-logo {
    width: min(190px, 70%);
    max-height: 78px;
    margin-bottom: 1.4rem;
    object-fit: contain;
    object-position: left center;
}

.rup-footer-intro p {
    max-width: 430px;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.9;
}

.rup-footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.88rem;
}

.rup-footer-column h4 {
    margin: 0 0 0.55rem;
    color: var(--rup-white);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.rup-footer-column > a {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.6rem;
    width: fit-content;
    font-size: 0.86rem;
    line-height: 1.55;
    transition:
        color 0.3s ease,
        transform 0.35s var(--rup-ease);
}

.rup-footer-column > a:hover {
    color: var(--rup-white);
    transform: translateX(5px);
}

.rup-socials a:hover {
    transform: translateY(-5px);
    border-color: var(--rup-blue-bright);
    background: rgba(17, 136, 199, 0.18);
}

.rup-footer-bottom {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.rup-footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    line-height: 1.8;
}

.rup-footer-bottom a {
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.rup-footer-bottom a:hover {
    color: var(--rup-blue-bright);
}

/* Responsive */
@media (max-width: 991.98px) {
    .rup-footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .rup-floating-header {
        padding: 1rem;
    }

    .rup-floating-header::after {
        left: 1rem;
        right: 1rem;
    }

    .rup-logo-wrap img {
        width: 118px;
        max-height: 54px;
    }

    .rup-menu-btn {
        min-height: 48px;
        padding: 0.4rem;
    }

    .rup-menu-label {
        display: none;
    }

    .rup-menu-icon {
        width: 38px;
        height: 38px;
    }

    .rup-sidebar {
        padding-left: 1.4rem;
        padding-right: 1.4rem;
    }

    .rup-footer {
        padding-top: 4rem;
    }

    .rup-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   MOBILE FOOTER — TWO-COLUMN LAYOUT
========================================================= */

@media (max-width: 767.98px) {
    .rup-footer {
        padding: 3.5rem 0 1.3rem;
    }

    .rup-footer-top {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 2.4rem 1.2rem;
    }

    .rup-footer-intro,
    .rup-footer-column {
        min-width: 0;
    }

    .rup-footer-logo {
        width: 120px;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .rup-footer-intro p {
        font-size: 0.72rem;
        line-height: 1.75;
    }

    .rup-footer-column {
        gap: 0.68rem;
    }

    .rup-footer-column h4 {
        margin-bottom: 0.35rem;
        font-size: 0.62rem;
        letter-spacing: 0.13em;
    }

    .rup-footer-column > a {
        max-width: 100%;
        overflow-wrap: anywhere;
        font-size: 0.7rem;
        line-height: 1.55;
    }

    .rup-footer-column > a i {
        flex-shrink: 0;
        margin-top: 0.15rem;
    }

    .rup-socials {
        flex-wrap: wrap;
        gap: 0.45rem;
        margin-top: 0.5rem;
    }

    .rup-socials a {
        width: 33px;
        height: 33px;
        font-size: 0.78rem;
    }

    .rup-footer-bottom {
        margin-top: 2.5rem;
        padding-top: 1.2rem;
        text-align: center;
    }

    .rup-footer-bottom p {
        font-size: 0.66rem;
        line-height: 1.75;
    }
}

@media (max-width: 390px) {
    .rup-footer-top {
        gap: 2rem 0.85rem;
    }

    .rup-footer-intro p,
    .rup-footer-column > a {
        font-size: 0.65rem;
    }

    .rup-footer-column h4 {
        font-size: 0.57rem;
    }

    .rup-footer-logo {
        width: 105px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   RUP HERO
========================================================= */

.rup-hero {
    position: relative;
    min-height: 90svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: var(--rup-navy-deep);
}

.rup-hero-video {
    position: absolute;
    z-index: -5;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
}

/* Keeps the video clear while making the title readable */
.rup-hero-overlay {
    position: absolute;
    z-index: -4;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(2, 13, 24, 0.9) 0%,
            rgba(3, 23, 40, 0.72) 34%,
            rgba(3, 23, 40, 0.24) 67%,
            rgba(3, 23, 40, 0.1) 100%
        ),
        linear-gradient(
            180deg,
            rgba(2, 13, 24, 0.36) 0%,
            transparent 38%,
            rgba(2, 13, 24, 0.45) 100%
        );
}

/* Very subtle technical engineering grid */
.rup-hero-grid {
    position: absolute;
    z-index: -3;
    inset: 0;
    opacity: 0.08;
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.2) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.2) 1px,
            transparent 1px
        );
    background-size: 92px 92px;
    mask-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.8),
            transparent 74%
        );
    -webkit-mask-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.8),
            transparent 74%
        );
}

.rup-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.rup-hero-content {
    position: relative;
    width: min(900px, 78%);
    padding-top: 7rem;
}

/* Glow sits only behind the title area */
.rup-hero-glow {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: -8%;
    width: min(720px, 80vw);
    height: min(520px, 60vw);
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(17, 136, 199, 0.38) 0%,
            rgba(10, 76, 125, 0.22) 34%,
            rgba(10, 76, 125, 0.08) 56%,
            transparent 74%
        );
    filter: blur(42px);
    transform: translateY(-50%);
    animation: rupHeroGlow 6s ease-in-out infinite;
}

.rup-hero-title {
    max-width: 980px;
    margin: 0;
    color: var(--rup-white);
    font-size: clamp(2.5rem, 5.5vw, 6.5rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.055em;
    text-wrap: balance;
    text-shadow:
        0 10px 35px rgba(0, 0, 0, 0.34),
        0 2px 5px rgba(0, 0, 0, 0.18);
    animation: rupHeroTitleReveal 1.1s var(--rup-ease) both;
}

.rup-hero-title span {
    display: block;
    color: var(--rup-white);
    font-weight: 500;
}

/* Minimal vertical scroll indicator */
.rup-hero-scroll {
    position: absolute;
    z-index: 4;
    right: clamp(1rem, 4vw, 4.5rem);
    bottom: 2.2rem;
    width: 1px;
    height: 78px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
}

.rup-hero-scroll span {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 52%;
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(255, 255, 255, 0.95),
            transparent
        );
    animation: rupHeroScroll 2.2s ease-in-out infinite;
}

/* =========================================================
   HERO ANIMATIONS
========================================================= */

@keyframes rupHeroTitleReveal {
    from {
        opacity: 0;
        transform: translateY(48px);
        filter: blur(8px);
    }

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

@keyframes rupHeroGlow {
    0%,
    100% {
        opacity: 0.74;
        transform: translateY(-50%) scale(0.96);
    }

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

@keyframes rupHeroScroll {
    0% {
        top: -60%;
    }

    55%,
    100% {
        top: 120%;
    }
}

/* =========================================================
   RESPONSIVE HERO
========================================================= */

@media (max-width: 991.98px) {
    .rup-hero {
        min-height: 92svh;
    }

    .rup-hero-content {
        width: min(760px, 88%);
        padding-top: 6rem;
    }

    .rup-hero-title {
        font-size: clamp(3rem, 9vw, 6.2rem);
    }

    .rup-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(2, 13, 24, 0.9) 0%,
                rgba(2, 13, 24, 0.65) 60%,
                rgba(2, 13, 24, 0.22) 100%
            ),
            linear-gradient(
                180deg,
                rgba(2, 13, 24, 0.32),
                rgba(2, 13, 24, 0.42)
            );
    }
}

@media (max-width: 767.98px) {
    .rup-hero {
        min-height: 88svh;
        align-items: flex-end;
        padding-bottom: 6rem;
    }

    .rup-hero-video {
        object-position: 62% center;
    }

    .rup-hero-content {
        width: 100%;
        padding-top: 8rem;
    }

    .rup-hero-title {
        max-width: 620px;
        font-size: clamp(2.8rem, 13vw, 4.8rem);
        line-height: 1.02;
        letter-spacing: -0.045em;
    }

    .rup-hero-glow {
        left: -22%;
        width: 120vw;
        height: 90vw;
        filter: blur(34px);
    }

    .rup-hero-grid {
        background-size: 62px 62px;
    }

    .rup-hero-scroll {
        right: 1rem;
        bottom: 1.2rem;
        height: 56px;
    }
}

@media (max-width: 420px) {
    .rup-hero-title {
        font-size: clamp(2.65rem, 14vw, 4rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rup-hero-title,
    .rup-hero-glow,
    .rup-hero-scroll span {
        animation: none;
    }
}

/*======================================
ABOUT
======================================*/

.rup-about-section{

    position:relative;

    overflow:hidden;

    padding:140px 0;

    background:#fff;

}

.rup-about-section::before{

    content:"";

    position:absolute;

    left:0;

    right:0;

    top:90px;

    height:1px;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(8,76,126,.12),
        transparent
    );

}

.rup-section-label{

    margin-bottom:18px;

    color:var(--rup-blue);

    font-size:.78rem;

    font-weight:700;

    letter-spacing:.18em;

}

.rup-section-title{

    margin-bottom:32px;

    color:var(--rup-navy);

    font-size:clamp(2.6rem,5vw,4.2rem);

    line-height:1.08;

    font-weight:700;

}

.rup-about-text{

    max-width:620px;

    margin-bottom:42px;

    color:#5e7184;

    font-size:1.05rem;

    line-height:2;

}

.rup-read-more{

    display:inline-flex;

    align-items:center;

    gap:16px;

    padding:18px 36px;

    border:1px solid var(--rup-blue);

    color:var(--rup-blue);

    font-weight:600;

    letter-spacing:.05em;

    transition:.45s;

}

.rup-read-more:hover{

    color:#fff;

    background:var(--rup-blue);

    transform:translateX(10px);

}

.rup-read-more i{

    transition:.4s;

}

.rup-read-more:hover i{

    transform:translateX(6px);

}

/* IMAGE */

.rup-about-image-wrapper{

    position:relative;

    margin-top:-40px;

}

.rup-about-image-glow{

    position:absolute;

    inset:auto;

    width:320px;

    height:320px;

    right:-60px;

    bottom:-50px;

    background:radial-gradient(
        rgba(17,136,199,.28),
        transparent 70%
    );

    filter:blur(60px);

}

.rup-about-image{

    position:relative;

    width:100%;

    height:620px;

    object-fit:cover;

    border:1px solid rgba(255,255,255,.8);

    box-shadow:

        0 30px 70px rgba(5,20,40,.15);

    transition:.6s;

}

.rup-about-image:hover{

    transform:translateY(-12px);

}

@media(max-width:991px){

.rup-about-section{

padding:90px 0;

}

.rup-about-image-wrapper{

margin-top:0;

}

.rup-about-image{

height:500px;

}

}

/*==========================
ABOUT VIDEO
==========================*/

.rup-about-video-wrapper{

    position:relative;

    margin-top:-50px;

    overflow:hidden;

}

.rup-about-video-glow{

    position:absolute;

    width:340px;

    height:340px;

    right:-80px;

    bottom:-60px;

    background:radial-gradient(
        rgba(17,136,199,.30),
        transparent 70%
    );

    filter:blur(70px);

    z-index:0;

}

.rup-about-video{

    position:relative;

    z-index:2;

    width:100%;

    height:680px;

    object-fit:cover;

    border:1px solid rgba(255,255,255,.8);

    box-shadow:
        0 35px 80px rgba(4,20,40,.16);

    transition:
        transform .8s cubic-bezier(.22,1,.36,1);

}

.rup-about-video-wrapper:hover
.rup-about-video{

    transform:scale(1.03);

}

.rup-about-video-overlay{

    position:absolute;

    inset:0;

    z-index:3;

    pointer-events:none;

    background:
        linear-gradient(
            180deg,
            rgba(5,15,25,.05),
            transparent 18%,
            transparent 70%,
            rgba(5,15,25,.25)
        );

}

@media(max-width:991px){

.rup-about-video-wrapper{

margin-top:0;

}

.rup-about-video{

height:500px;

}

}

/* =========================================================
   SERVICES
========================================================= */

.rup-services-section {
    position: relative;
    padding: 130px 0;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #f8fbfd 0%,
            #ffffff 100%
        );
}

.rup-services-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 6%;
    right: 6%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(6, 59, 102, 0.16),
            transparent
        );
}

.rup-services-heading {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: end;
    gap: 3rem;
    margin-bottom: 4rem;
}

.rup-services-heading h2 {
    max-width: 760px;
    margin: 0;
    color: var(--rup-navy);
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.rup-services-heading p {
    max-width: 500px;
    margin: 0;
    color: var(--rup-muted);
    font-size: 0.98rem;
    line-height: 1.9;
}

/* Card */

.rup-service-card {
    position: relative;
    min-height: 350px;
    overflow: hidden;
    isolation: isolate;
    background: var(--rup-navy);
    border: 1px solid rgba(6, 59, 102, 0.12);
}

.rup-service-image {
    position: absolute;
    z-index: -3;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition:
        transform 0.9s var(--rup-ease),
        filter 0.6s ease;
}

.rup-service-overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(3, 18, 32, 0.06) 0%,
            rgba(3, 18, 32, 0.22) 34%,
            rgba(3, 18, 32, 0.88) 100%
        );
    transition: background 0.55s ease;
}

.rup-service-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    pointer-events: none;
}

.rup-service-number {
    position: absolute;
    top: 1.4rem;
    left: 1.4rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.rup-service-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem;
    color: var(--rup-white);
    transform: translateY(54px);
    transition: transform 0.55s var(--rup-ease);
}

.rup-service-content::before {
    content: "";
    display: block;
    width: 52px;
    height: 2px;
    margin-bottom: 1.3rem;
    background: var(--rup-blue-bright);
    transform-origin: left;
    transition: width 0.45s var(--rup-ease);
}

.rup-service-content h3 {
    max-width: 320px;
    margin: 0;
    color: var(--rup-white);
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.rup-service-content p {
    max-width: 370px;
    margin: 1.05rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    line-height: 1.75;
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.4s ease 0.05s,
        transform 0.45s var(--rup-ease) 0.05s;
}

/* Hover */

.rup-service-card:hover .rup-service-image {
    transform: scale(1.08);
    filter: saturate(0.9) contrast(1.03);
}

.rup-service-card:hover .rup-service-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(3, 18, 32, 0.12) 0%,
            rgba(3, 18, 32, 0.38) 38%,
            rgba(3, 18, 32, 0.96) 100%
        );
}

.rup-service-card:hover .rup-service-content {
    transform: translateY(0);
}

.rup-service-card:hover .rup-service-content::before {
    width: 92px;
}

.rup-service-card:hover .rup-service-content p {
    opacity: 1;
    transform: translateY(0);
}

/* Slight staggered architectural rhythm */

.rup-services-section .col-lg-4:nth-child(2),
.rup-services-section .col-lg-4:nth-child(5) {
    transform: translateY(34px);
}

/* Responsive */

@media (max-width: 991.98px) {
    .rup-services-section {
        padding: 95px 0;
    }

    .rup-services-heading {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .rup-services-heading p {
        max-width: 680px;
    }

    .rup-service-card {
        min-height: 470px;
    }

    .rup-services-section .col-lg-4:nth-child(2),
    .rup-services-section .col-lg-4:nth-child(5) {
        transform: none;
    }
}

@media (max-width: 767.98px) {
    .rup-services-section {
        padding: 75px 0;
    }

    .rup-services-heading h2 {
        font-size: clamp(2.4rem, 10vw, 3.7rem);
    }

    .rup-service-card {
        min-height: 440px;
    }

    .rup-service-content {
        padding: 1.5rem;
        transform: translateY(0);
    }

    .rup-service-content p {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rup-service-image,
    .rup-service-content,
    .rup-service-content p,
    .rup-service-content::before {
        transition: none;
    }
}

/* =========================================================
   FEATURED PROJECTS
========================================================= */

.rup-projects-section {
    position: relative;
    overflow: hidden;
    padding: 130px 0 110px;
    color: var(--rup-white);
    background:
        radial-gradient(
            circle at 88% 8%,
            rgba(17, 136, 199, 0.2),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            #061a2d 0%,
            #031321 58%,
            #020c16 100%
        );
}

.rup-projects-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.045;
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.28) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.28) 1px,
            transparent 1px
        );
    background-size: 96px 96px;
}

.rup-projects-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 4rem;
}

.rup-projects-heading {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.rup-projects-index {
    margin-top: 0.8rem;
    color: var(--rup-blue-bright);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.rup-projects-heading h2 {
    margin: 0;
    color: var(--rup-white);
    font-size: clamp(3.1rem, 6.3vw, 6.8rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

/* Controls */

.rup-project-controls {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.rup-project-control {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    color: var(--rup-white);
    background: rgba(255, 255, 255, 0.045);
    cursor: pointer;
    transition:
        transform 0.4s var(--rup-ease),
        border-color 0.3s ease,
        background-color 0.3s ease;
}

.rup-project-control i {
    font-size: 1.15rem;
}

.rup-project-control:hover {
    transform: translateY(-4px);
    border-color: var(--rup-blue-bright);
    background: var(--rup-blue-bright);
}

.rup-project-control:disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* Horizontal viewport */

.rup-projects-viewport {
    position: relative;
    z-index: 2;
    width: 100%;
    overflow: hidden;
}

.rup-projects-track {
    display: flex;
    gap: 2rem;
    padding:
        0
        max(
            calc((100vw - 1320px) / 2),
            1.5rem
        )
        2.5rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
}

.rup-projects-track::-webkit-scrollbar {
    display: none;
}

.rup-projects-track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
    user-select: none;
}

/* Project card */

.rup-project-card {
    position: relative;
    flex:
        0
        0
        clamp(330px, 36vw, 535px);
    height: min(72vh, 730px);
    min-height: 610px;
    overflow: hidden;
    isolation: isolate;
    scroll-snap-align: start;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: var(--rup-navy-deep);
}

.rup-project-image {
    position: absolute;
    z-index: -3;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.015);
    transition:
        transform 1s var(--rup-ease),
        filter 0.7s ease;
}

.rup-project-overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(2, 12, 22, 0.15) 0%,
            rgba(2, 12, 22, 0.18) 30%,
            rgba(2, 12, 22, 0.86) 100%
        );
    transition: background 0.6s ease;
}

.rup-project-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(
            120deg,
            rgba(17, 136, 199, 0.13),
            transparent 38%
        );
    opacity: 0;
    transition: opacity 0.55s ease;
}

.rup-project-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: clamp(1.6rem, 3vw, 2.6rem);
    color: var(--rup-white);
    transform: translateY(48px);
    transition: transform 0.55s var(--rup-ease);
}

.rup-project-location {
    display: block;
    margin-bottom: 1.2rem;
    color: #8dcdf0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.rup-project-card h3 {
    max-width: 430px;
    margin: 0;
    color: var(--rup-white);
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 500;
    line-height: 1.07;
    letter-spacing: -0.04em;
}

.rup-project-card p {
    max-width: 420px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.9rem;
    line-height: 1.75;
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.4s ease 0.08s,
        transform 0.45s var(--rup-ease) 0.08s;
}

/* Red button from the reference changed to engineering blue */

.rup-project-arrow {
    position: absolute;
    right: 1.7rem;
    bottom: 1.7rem;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--rup-white);
    background: var(--rup-blue-bright);
    opacity: 0;
    transform: scale(0.65) rotate(-25deg);
    transition:
        opacity 0.4s ease,
        transform 0.55s var(--rup-ease),
        background-color 0.3s ease;
}

.rup-project-arrow i {
    font-size: 1.25rem;
}

/* Hover */

.rup-project-card:hover .rup-project-image {
    transform: scale(1.075);
    filter: contrast(1.03) saturate(0.94);
}

.rup-project-card:hover .rup-project-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(2, 12, 22, 0.2) 0%,
            rgba(2, 12, 22, 0.32) 35%,
            rgba(2, 12, 22, 0.96) 100%
        );
}

.rup-project-card:hover::after {
    opacity: 1;
}

.rup-project-card:hover .rup-project-card-content {
    padding-right: 6rem;
    transform: translateY(0);
}

.rup-project-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

.rup-project-card:hover .rup-project-arrow {
    opacity: 1;
    transform: scale(1) rotate(0);
}

/* Progress line */

.rup-project-progress {
    position: relative;
    height: 2px;
    margin-top: 1.5rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
}

.rup-project-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 20%;
    height: 100%;
    background:
        linear-gradient(
            90deg,
            var(--rup-blue-bright),
            rgba(255, 255, 255, 0.95)
        );
    transform-origin: left;
    transition:
        width 0.35s ease,
        transform 0.35s ease;
}

/* Responsive */

@media (max-width: 991.98px) {
    .rup-projects-section {
        padding: 95px 0 85px;
    }

    .rup-projects-top {
        align-items: center;
        margin-bottom: 3rem;
    }

    .rup-project-card {
        flex-basis: min(72vw, 500px);
        min-height: 570px;
    }
}

@media (max-width: 767.98px) {
    .rup-projects-section {
        padding: 78px 0 70px;
    }

    .rup-projects-top {
        align-items: flex-end;
    }

    .rup-projects-heading {
        gap: 0.8rem;
    }

    .rup-projects-index {
        display: none;
    }

    .rup-projects-heading h2 {
        font-size: clamp(2.7rem, 13vw, 4rem);
    }

    .rup-project-control {
        width: 48px;
        height: 48px;
    }

    .rup-projects-track {
        gap: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .rup-project-card {
        flex-basis: 86vw;
        height: 610px;
        min-height: 0;
    }

    .rup-project-card-content {
        padding: 1.5rem;
        padding-right: 1.5rem;
        transform: none;
    }

    .rup-project-card p {
        opacity: 1;
        transform: none;
    }

    .rup-project-arrow {
        display: none;
    }

    .rup-project-card:hover .rup-project-card-content {
        padding-right: 1.5rem;
    }
}

/* =========================================================
   WHY CHOOSE US
========================================================= */

.rup-why-section {
    position: relative;
    padding: 90px 0;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f5f9fc 100%
        );
}

.rup-why-section::before {
    content: "";
    position: absolute;
    top: 70px;
    right: -140px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(6, 59, 102, 0.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 60px rgba(6, 59, 102, 0.025),
        0 0 0 120px rgba(6, 59, 102, 0.018);
    pointer-events: none;
}

/* IMAGE */

.rup-why-visual {
    position: relative;
    min-height: 450px;
    height: 100%;
    overflow: hidden;
    background: var(--rup-navy);
}

.rup-why-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 1s var(--rup-ease),
        filter 0.6s ease;
}

.rup-why-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(3, 18, 32, 0.08),
            rgba(3, 18, 32, 0.18) 52%,
            rgba(3, 18, 32, 0.7) 100%
        );
}

.rup-why-visual::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, 0.33);
    pointer-events: none;
}

.rup-why-visual:hover .rup-why-image {
    transform: scale(1.045);
    filter: contrast(1.03);
}

/* STAT */

.rup-why-stat {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    z-index: 2;
    max-width: 230px;
    color: var(--rup-white);
}

.rup-why-stat strong {
    display: block;
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.06em;
}

.rup-why-stat span {
    display: block;
    max-width: 180px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.74rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* CONTENT */

.rup-why-content {
    position: relative;
    min-height: 450px;
    height: 100%;
    padding:
        clamp(2rem, 4vw, 3.2rem)
        clamp(2rem, 4vw, 4rem);
    border-top: 1px solid rgba(6, 59, 102, 0.11);
    border-right: 1px solid rgba(6, 59, 102, 0.11);
    border-bottom: 1px solid rgba(6, 59, 102, 0.11);
    background: var(--rup-white);
}

.rup-why-heading {
    max-width: 620px;
    margin-bottom: 2rem;
}

.rup-why-small-title {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: var(--rup-blue);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.rup-why-heading h2 {
    margin: 0;
    color: var(--rup-navy);
    font-size: clamp(2.3rem, 4vw, 3.8rem);
    font-weight: 600;
    line-height: 1.03;
    letter-spacing: -0.05em;
}

/* REASONS */

.rup-why-list {
    display: flex;
    flex-direction: column;
}

.rup-why-item {
    display: block;
    padding: 0.9rem 0;
    border-top: 1px solid rgba(6, 59, 102, 0.12);

    transition:
        padding-left 0.4s var(--rup-ease),
        border-color 0.3s ease;
}

.rup-why-item:last-child {
    border-bottom: 1px solid rgba(6, 59, 102, 0.12);
}

.rup-why-item:hover {
    padding-left: 0.65rem;
    border-color: rgba(17, 136, 199, 0.45);
}

.rup-why-item > div {
    width: 100%;
}

.rup-why-item h3 {
    margin: 0 0 0.35rem;
    color: var(--rup-navy);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.rup-why-item p {
    width: 100%;
    max-width: 540px;
    margin: 0;
    color: var(--rup-muted);
    font-size: 0.82rem;
    line-height: 1.65;
}

/* RESPONSIVE */

@media (max-width: 991.98px) {
    .rup-why-section {
        padding: 75px 0;
    }

    .rup-why-visual,
    .rup-why-content {
        min-height: 420px;
    }

    .rup-why-content {
        border-left: 1px solid rgba(6, 59, 102, 0.11);
    }
}

@media (max-width: 767.98px) {
    .rup-why-section {
        padding: 60px 0;
    }

    .rup-why-visual {
        min-height: 420px;
    }

    .rup-why-content {
        min-height: auto;
        padding: 2.4rem 1.4rem;
    }

    .rup-why-stat {
        left: 1.4rem;
        bottom: 1.4rem;
    }

    .rup-why-heading {
        margin-bottom: 1.6rem;
    }

    .rup-why-item {
        gap: 0.7rem;
        padding: 0.75rem 0;
    }

    .rup-why-item p {
        font-size: 0.8rem;
    }
}

@media (max-width: 767.98px) {
    .rup-why-item {
        display: block;
        padding: 0.8rem 0;
    }

    .rup-why-item p {
        max-width: none;
    }
}

/* ===================================================
PROCESS
=================================================== */

.rup-process-section{

    padding:110px 0;

    background:#fff;

}

.rup-process-heading{

    max-width:760px;

    margin:0 auto 70px;

    text-align:center;

}

.rup-process-heading span{

    color:var(--rup-blue);

    font-size:.72rem;

    font-weight:700;

    letter-spacing:.18em;

}

.rup-process-heading h2{

    margin:18px 0;

    color:var(--rup-navy);

    font-size:clamp(2.5rem,5vw,4rem);

    line-height:1.05;

}

.rup-process-heading p{

    color:var(--rup-muted);

    line-height:1.9;

}

.rup-process-wrapper{

    position:relative;

}

.rup-process-line{

    position:absolute;

    left:4%;

    right:4%;

    top:54px;

    height:2px;

    background:
        linear-gradient(
            90deg,
            rgba(17,136,199,.25),
            rgba(17,136,199,.7),
            rgba(17,136,199,.25)
        );

}

.rup-process-card{

    position:relative;

    text-align:center;

}

.rup-process-icon{

    width:92px;

    height:92px;

    margin:0 auto 24px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#fff;

    color:var(--rup-blue);

    font-size:2rem;

    border:2px solid rgba(17,136,199,.18);

    box-shadow:
        0 20px 40px rgba(6,59,102,.08);

    transition:.5s;

}

.rup-process-card:hover .rup-process-icon{

    background:var(--rup-blue);

    color:#fff;

    transform:translateY(-8px);

}

.rup-process-number{

    display:block;

    margin-bottom:12px;

    color:var(--rup-blue);

    font-size:.72rem;

    font-weight:700;

    letter-spacing:.15em;

}

.rup-process-card h3{

    margin-bottom:12px;

    color:var(--rup-navy);

    font-size:1.1rem;

}

.rup-process-card p{

    color:var(--rup-muted);

    font-size:.84rem;

    line-height:1.7;

}

@media(max-width:991px){

.rup-process-line{

display:none;

}

.rup-process-section{

padding:90px 0;

}

.rup-process-heading{

margin-bottom:50px;

}

.rup-process-card{

margin-bottom:30px;

}

}

/* =========================================================
   SUSTAINABILITY
========================================================= */

.rup-sustainability-section {
    position: relative;
    padding: 30px 0;
    overflow: hidden;
    background: #ffffff;
}

.rup-sustainability-section::before {
    content: "";
    position: absolute;
    top: 60px;
    right: -160px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(6,59,102,.06);
    box-shadow:
        0 0 0 70px rgba(6,59,102,.02),
        0 0 0 140px rgba(6,59,102,.015);
}

/* IMAGE */

.rup-sustainability-image-wrapper {
    position: relative;
    overflow: hidden;
}

.rup-sustainability-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    left: -70px;
    bottom: -70px;
    background:
        radial-gradient(
            rgba(17,136,199,.28),
            transparent 70%
        );
    filter: blur(70px);
    z-index: 0;
}

.rup-sustainability-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 820px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,.9);
    transition:
        transform .8s var(--rup-ease);
}

.rup-sustainability-image:hover {
    transform: scale(1.04);
}

.rup-sustainability-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255,255,255,.35);
    z-index: 3;
    pointer-events: none;
}

/* CONTENT */

.rup-sustainability-content {

    position: relative;

    height: 100%;

    padding:
        clamp(2.5rem,5vw,5rem);

}

.rup-sustainability-content::before {

    content:"";

    position:absolute;

    left:0;

    top:40px;

    bottom:40px;

    width:4px;

    background:var(--rup-blue-bright);

}

.rup-sustainability-label {

    display:inline-block;

    margin-bottom:18px;

    padding-left:24px;

    color:var(--rup-blue);

    font-size:.72rem;

    font-weight:700;

    letter-spacing:.18em;

    text-transform:uppercase;

}

.rup-sustainability-content h2 {

    margin-bottom:28px;

    padding-left:24px;

    color:var(--rup-navy);

    font-size:clamp(2.5rem,5vw,4.5rem);

    line-height:1.05;

    letter-spacing:-.05em;

}

.rup-sustainability-content p {

    max-width:620px;

    margin-bottom:36px;

    padding-left:24px;

    color:var(--rup-muted);

    line-height:1.9;

}

/* LIST */

.rup-sustainability-list {

    margin-bottom:40px;

    padding-left:24px;

}

.rup-sustainability-item {

    display:flex;

    align-items:center;

    gap:16px;

    padding:18px 0;

    border-top:1px solid rgba(6,59,102,.10);

}

.rup-sustainability-item:last-child{

    border-bottom:1px solid rgba(6,59,102,.10);

}

.rup-sustainability-item i{

    color:var(--rup-blue-bright);

    font-size:1.2rem;

}

.rup-sustainability-item span{

    color:var(--rup-navy);

    font-weight:500;

}

/* BUTTON */

.rup-sustainability-btn{

    display:inline-flex;

    align-items:center;

    gap:14px;

    margin-left:24px;

    color:var(--rup-blue);

    font-weight:600;

    text-decoration:none;

    transition:.35s;

}

.rup-sustainability-btn i{

    transition:.35s;

}

.rup-sustainability-btn:hover{

    color:var(--rup-blue-bright);

}

.rup-sustainability-btn:hover i{

    transform:translateX(8px);

}

/* RESPONSIVE */

@media(max-width:991px){

.rup-sustainability-section{

padding:90px 0;

}

.rup-sustainability-image{

height:480px;

}

.rup-sustainability-content{

padding:60px 20px 0;

}

.rup-sustainability-content::before{

display:none;

}

.rup-sustainability-label,
.rup-sustainability-content h2,
.rup-sustainability-content p,
.rup-sustainability-list,
.rup-sustainability-btn{

padding-left:0;
margin-left:0;

}

}

@media(max-width:767px){

.rup-sustainability-section{

padding:70px 0;

}

.rup-sustainability-image{

height:380px;

}

.rup-sustainability-content h2{

font-size:clamp(2rem,9vw,3rem);

}

.rup-sustainability-item{

padding:14px 0;

}

}

/*======================================================
Equipment & Technology
======================================================*/

.rup-equipment-section{
    padding:90px 0;
    background:#fff;
}

.rup-equipment-section h2{
    margin:14px 0 20px;
    color:var(--rup-navy);
    font-size:clamp(2.3rem,4vw,3.8rem);
    line-height:1.05;
}

.rup-equipment-section p{
    max-width:520px;
    color:var(--rup-muted);
    line-height:1.8;
    margin-bottom:35px;
}

.rup-equipment-list{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.rup-equipment-list div{
    display:flex;
    align-items:center;
    gap:14px;
    color:var(--rup-navy);
    font-weight:500;
}

.rup-equipment-list i{
    color:var(--rup-blue);
    font-size:1.1rem;
}

.rup-equipment-image{
    overflow:hidden;
    border:1px solid rgba(6,59,102,.12);
}

.rup-equipment-image img{
    width:100%;
    height:600px;
    object-fit:cover;
    transition:.7s;
}

.rup-equipment-image:hover img{
    transform:scale(1.04);
}

@media(max-width:991px){

.rup-equipment-section{
padding:70px 0;
}

.rup-equipment-image img{
height:360px;
margin-top:15px;
}

}

@media(max-width:767px){

.rup-equipment-image img{
height:260px;
}

}

/* =========================================================
   HEALTH, SAFETY & QUALITY
========================================================= */

.rup-safety-section {
    position: relative;
    padding: 95px 0;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #f7fafc 0%,
            #ffffff 100%
        );
}

.rup-safety-section::before {
    content: "";
    position: absolute;
    left: 7%;
    right: 7%;
    top: 0;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(6, 59, 102, 0.14),
            transparent
        );
}

.rup-safety-heading {
    max-width: 760px;
    margin-bottom: 3.5rem;
}

.rup-safety-heading h2 {
    margin: 0.9rem 0 1.1rem;
    color: var(--rup-navy);
    font-size: clamp(2.5rem, 4.5vw, 4.2rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.rup-safety-heading p {
    max-width: 670px;
    margin: 0;
    color: var(--rup-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* CARD */

.rup-safety-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(6, 59, 102, 0.11);
    background: var(--rup-white);
    transition:
        transform 0.45s var(--rup-ease),
        box-shadow 0.4s ease,
        border-color 0.3s ease;
}

.rup-safety-card:hover {
    transform: translateY(-8px);
    border-color: rgba(17, 136, 199, 0.3);
    box-shadow: 0 24px 60px rgba(5, 34, 56, 0.11);
}

/* IMAGE */

.rup-safety-image {
    position: relative;
    height: 290px;
    overflow: hidden;
    background: var(--rup-navy);
}

.rup-safety-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.75s var(--rup-ease),
        filter 0.5s ease;
}

.rup-safety-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(2, 13, 24, 0.02),
            rgba(2, 13, 24, 0.24)
        );
}

.rup-safety-card:hover .rup-safety-image img {
    transform: scale(1.05);
    filter: contrast(1.03);
}

/* ICON */

.rup-safety-icon {
    position: absolute;
    z-index: 3;
    left: 1.6rem;
    bottom: 1rem;

    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    border: 4px solid var(--rup-white);
    border-radius: 50%;

    color: var(--rup-white);
    background: var(--rup-blue);

    box-shadow: 0 12px 30px rgba(6, 59, 102, 0.22);

    transition:
        transform 0.4s var(--rup-ease),
        background-color 0.3s ease;
}

.rup-safety-icon i {
    font-size: 1.25rem;
}

.rup-safety-card:hover .rup-safety-icon {
    transform: rotate(-7deg) scale(1.06);
    background: var(--rup-blue-bright);
}


/* CONTENT */

.rup-safety-content {
    padding: 1.8rem 1.7rem 1.9rem;
}

.rup-safety-content h3 {
    margin: 0 0 0.7rem;
    color: var(--rup-navy);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.rup-safety-content p {
    margin: 0;
    color: var(--rup-muted);
    font-size: 0.86rem;
    line-height: 1.75;
}

/* CONTENT */

.rup-safety-content {
    padding: 2.8rem 1.7rem 1.8rem;
}

.rup-safety-content h3 {
    margin: 0 0 0.7rem;
    color: var(--rup-navy);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.rup-safety-content p {
    margin: 0;
    color: var(--rup-muted);
    font-size: 0.86rem;
    line-height: 1.75;
}

/* RESPONSIVE */

@media (max-width: 991.98px) {
    .rup-safety-section {
        padding: 80px 0;
    }

    .rup-safety-heading {
        margin-bottom: 2.8rem;
    }

    .rup-safety-image {
        height: 270px;
    }
}

@media (max-width: 767.98px) {
    .rup-safety-section {
        padding: 65px 0;
    }

    .rup-safety-heading h2 {
        font-size: clamp(2.2rem, 10vw, 3.4rem);
    }

    .rup-safety-image {
        height: 245px;
    }

    .rup-safety-content {
        padding: 2.7rem 1.35rem 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .rup-safety-image {
        height: 245px;
    }

    .rup-safety-icon {
        left: 1.2rem;
        bottom: 0.85rem;

        width: 52px;
        height: 52px;

        border-width: 4px;
    }

    .rup-safety-icon i {
        font-size: 1.1rem;
    }

    .rup-safety-content {
        padding: 1.6rem 1.35rem 1.6rem;
    }

    .rup-safety-content h3 {
        font-size: 1.08rem;
    }
}
/* =========================================================
   PROJECT GALLERY
========================================================= */

.rup-gallery-section {
    position: relative;
    padding: 110px 0 95px;
    overflow: hidden;
    color: var(--rup-white);
    background:
        radial-gradient(
            circle at 88% 4%,
            rgba(17, 136, 199, 0.2),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #061a2d 0%,
            #031421 55%,
            #020b14 100%
        );
}

.rup-gallery-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.04;
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.22) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.22) 1px,
            transparent 1px
        );
    background-size: 96px 96px;
}

/* HEADER */

.rup-gallery-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.rup-gallery-heading {
    max-width: 760px;
}

.rup-gallery-label {
    display: inline-block;
    margin-bottom: 1rem;
    color: #8bd1f4;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.rup-gallery-heading h2 {
    margin: 0 0 1.2rem;
    color: var(--rup-white);
    font-size: clamp(2.9rem, 5vw, 5.4rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.055em;
}

.rup-gallery-heading p {
    max-width: 610px;
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
    line-height: 1.8;
}

/* CONTROLS */

.rup-gallery-controls {
    display: flex;
    gap: 0.7rem;
}

.rup-gallery-control {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    color: var(--rup-white);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition:
        transform 0.4s var(--rup-ease),
        border-color 0.3s ease,
        background-color 0.3s ease;
}

.rup-gallery-control:hover {
    transform: translateY(-4px);
    border-color: var(--rup-blue-bright);
    background: var(--rup-blue-bright);
}

.rup-gallery-control:disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* SLIDER */

.rup-gallery-viewport {
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.rup-gallery-track {
    display: flex;
    gap: 1.4rem;
    padding:
        0
        max(
            calc((100vw - 1320px) / 2),
            1.5rem
        )
        2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    cursor: grab;
}

.rup-gallery-track::-webkit-scrollbar {
    display: none;
}

.rup-gallery-track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
    user-select: none;
}

/* GALLERY IMAGE */

.rup-gallery-item {
    position: relative;
    flex: 0 0 clamp(290px, 31vw, 465px);
    height: 520px;
    padding: 0;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0;
    background: var(--rup-navy-deep);
    cursor: zoom-in;
}

.rup-gallery-item::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(2, 12, 22, 0.02),
            rgba(2, 12, 22, 0.12) 55%,
            rgba(2, 12, 22, 0.65) 100%
        );
    transition: background 0.45s ease;
}

.rup-gallery-item::after {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    pointer-events: none;
    transition: border-color 0.35s ease;
}

.rup-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.85s var(--rup-ease),
        filter 0.5s ease;
}

.rup-gallery-item:hover img {
    transform: scale(1.065);
    filter: contrast(1.04);
}

.rup-gallery-item:hover::before {
    background:
        linear-gradient(
            180deg,
            rgba(2, 12, 22, 0.08),
            rgba(2, 12, 22, 0.2) 50%,
            rgba(2, 12, 22, 0.78) 100%
        );
}

.rup-gallery-item:hover::after {
    border-color: rgba(139, 209, 244, 0.55);
}

.rup-gallery-item-number {
    position: absolute;
    z-index: 4;
    left: 1.5rem;
    bottom: 1.35rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.rup-gallery-open-icon {
    position: absolute;
    z-index: 4;
    right: 1.4rem;
    bottom: 1.2rem;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: var(--rup-white);
    background: rgba(3, 20, 34, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transform: scale(0.7);
    transition:
        opacity 0.35s ease,
        transform 0.45s var(--rup-ease),
        background-color 0.3s ease;
}

.rup-gallery-item:hover .rup-gallery-open-icon {
    opacity: 1;
    transform: scale(1);
}

/* PROGRESS */

.rup-gallery-progress {
    position: relative;
    z-index: 2;
    height: 2px;
    margin-top: 2.2rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
}

.rup-gallery-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 20%;
    height: 100%;
    background:
        linear-gradient(
            90deg,
            var(--rup-blue-bright),
            rgba(255, 255, 255, 0.95)
        );
    transform-origin: left;
    transition:
        width 0.35s ease,
        transform 0.35s ease;
}

/* =========================================================
   LIGHTBOX
========================================================= */

.rup-gallery-lightbox {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 2rem 7rem;
    opacity: 0;
    visibility: hidden;
    background:
        radial-gradient(
            circle at center,
            rgba(17, 136, 199, 0.12),
            transparent 42%
        ),
        rgba(1, 8, 15, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

.rup-gallery-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.rup-lightbox-content {
    position: relative;
    width: min(1180px, 88vw);
    max-height: 88vh;
    opacity: 0;
    transform: translateY(25px) scale(0.97);
    transition:
        opacity 0.45s ease 0.1s,
        transform 0.55s var(--rup-ease) 0.1s;
}

.rup-gallery-lightbox.is-open .rup-lightbox-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.rup-lightbox-content img {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #020a11;
}

.rup-lightbox-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 1rem;
}

.rup-lightbox-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
}

.rup-lightbox-bottom span {
    color: #8bd1f4;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

/* CLOSE */

.rup-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    color: var(--rup-white);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition:
        transform 0.4s var(--rup-ease),
        background-color 0.3s ease;
}

.rup-lightbox-close:hover {
    transform: rotate(90deg);
    background: var(--rup-blue-bright);
}

/* =========================================================
   GALLERY LIGHTBOX
========================================================= */

body.rup-lightbox-open {
    overflow: hidden;
}

.rup-gallery-lightbox {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 5rem 7rem 3rem;
    background: rgba(1, 9, 17, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

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

.rup-lightbox-content {
    position: relative;
    z-index: 2;
    width: min(1180px, 86vw);
    max-height: 88vh;
}

.rup-lightbox-content img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 76vh;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #020b13;
}

.rup-lightbox-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 1rem;
}

.rup-lightbox-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.85rem;
}

.rup-lightbox-bottom span {
    color: #8bd1f4;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.rup-lightbox-close {
    position: absolute;
    z-index: 5;
    top: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.rup-lightbox-close:hover {
    background: var(--rup-blue-bright);
}

.rup-lightbox-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transform: translateY(-50%);
}

.rup-lightbox-arrow:hover {
    border-color: var(--rup-blue-bright);
    background: var(--rup-blue-bright);
}

.rup-lightbox-prev {
    left: 1.5rem;
}

.rup-lightbox-next {
    right: 1.5rem;
}

@media (max-width: 767.98px) {
    .rup-gallery-lightbox {
        padding: 5rem 1rem 6.5rem;
    }

    .rup-lightbox-content {
        width: 100%;
    }

    .rup-lightbox-content img {
        max-height: 68vh;
    }

    .rup-lightbox-arrow {
        top: auto;
        bottom: 1.3rem;
        transform: none;
    }

    .rup-lightbox-prev {
        left: calc(50% - 68px);
    }

    .rup-lightbox-next {
        right: calc(50% - 68px);
    }
}

/* RESPONSIVE */

@media (max-width: 991.98px) {
    .rup-gallery-section {
        padding: 90px 0 80px;
    }

    .rup-gallery-item {
        flex-basis: min(60vw, 430px);
        height: 480px;
    }
}

@media (max-width: 767.98px) {
    .rup-gallery-section {
        padding: 70px 0 65px;
    }

    .rup-gallery-header {
        align-items: flex-end;
        gap: 1.5rem;
    }

    .rup-gallery-heading h2 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .rup-gallery-heading p {
        display: none;
    }

    .rup-gallery-control {
        width: 48px;
        height: 48px;
    }

    .rup-gallery-track {
        gap: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .rup-gallery-item {
        flex-basis: 84vw;
        height: 440px;
    }

    .rup-gallery-open-icon {
        opacity: 1;
        transform: scale(1);
    }
}

/* =========================================================
   ABOUT PAGE
========================================================= */

.rup-about-section-label {
    display: inline-block;
    color: var(--rup-blue);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}


/* =========================================================
   ABOUT HERO
========================================================= */

.rup-about-page-hero {
    position: relative;
    min-height: 60svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
    background: var(--rup-navy-deep);
}

.rup-about-page-hero-image {
    position: absolute;
    z-index: -3;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.rup-about-page-hero-overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(2, 13, 24, 0.9) 0%,
            rgba(2, 13, 24, 0.58) 48%,
            rgba(2, 13, 24, 0.2) 100%
        ),
        linear-gradient(
            180deg,
            rgba(2, 13, 24, 0.25),
            rgba(2, 13, 24, 0.58)
        );
}

.rup-about-page-hero-container {
    width: 100%;
    padding-bottom: clamp(4rem, 9vw, 7.5rem);
}

.rup-about-page-hero-content {
    max-width: 1000px;
    padding-top: 9rem;
}

.rup-about-page-hero-content h1 {
    margin: 0;
    color: var(--rup-white);
    font-size: clamp(2.5rem, 6.5vw, 6.5rem);
    font-weight: 600;
    line-height: 0.96;
    letter-spacing: -0.065em;
    text-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.rup-about-page-hero-line {
    position: absolute;
    right: clamp(1rem, 4vw, 4.5rem);
    bottom: 0;
    width: 1px;
    height: 120px;
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(255, 255, 255, 0.75)
        );
}


/* =========================================================
   HISTORY
========================================================= */

.rup-history-section {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
    background: var(--rup-white);
}

.rup-history-content h2 {
    max-width: 700px;
    margin: 1rem 0 1.8rem;
    color: var(--rup-navy);
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.rup-history-content > p {
    max-width: 650px;
    margin: 0 0 1rem;
    color: var(--rup-muted);
    font-size: 0.92rem;
    line-height: 1.85;
}

.rup-history-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 2.7rem;
    border-top: 1px solid rgba(6, 59, 102, 0.13);
    border-bottom: 1px solid rgba(6, 59, 102, 0.13);
}

.rup-history-details article {
    min-height: 115px;
    padding: 1.4rem 1rem;
    border-right: 1px solid rgba(6, 59, 102, 0.13);
}

.rup-history-details article:last-child {
    border-right: 0;
}

.rup-history-details strong {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--rup-navy);
    font-size: 1.4rem;
    font-weight: 600;
}

.rup-history-details span {
    color: var(--rup-muted);
    font-size: 0.72rem;
    line-height: 1.5;
}

.rup-history-visual {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: var(--rup-navy);
}

.rup-history-visual img {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--rup-ease);
}

.rup-history-visual:hover img {
    transform: scale(1.045);
}

.rup-history-photo-overlay {
    position: absolute;
    z-index: 2;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(2, 13, 24, 0.05),
            rgba(2, 13, 24, 0.68)
        );
}

.rup-history-visual::after {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 16px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.rup-history-blueprint {
    position: absolute;
    z-index: 4;
    top: -50px;
    right: -50px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    box-shadow:
        0 0 0 35px rgba(255, 255, 255, 0.04),
        0 0 0 70px rgba(255, 255, 255, 0.025);
}

.rup-history-photo-label {
    position: absolute;
    z-index: 5;
    left: 2.3rem;
    bottom: 2.3rem;
    color: var(--rup-white);
}

.rup-history-photo-label span {
    display: block;
    margin-bottom: 0.45rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rup-history-photo-label strong {
    font-size: clamp(2.1rem, 4vw, 3.8rem);
    font-weight: 500;
    letter-spacing: -0.05em;
}


/* =========================================================
   TEAM
========================================================= */

.rup-team-section {
    position: relative;
    padding: 105px 0;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #f5f9fc 0%,
            #ffffff 100%
        );
}

.rup-team-heading {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.rup-team-heading h2 {
    max-width: 700px;
    margin: 1rem 0 0;
    color: var(--rup-navy);
    font-size: clamp(2.7rem, 5vw, 4.9rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.rup-team-heading > p {
    max-width: 530px;
    margin: 0;
    color: var(--rup-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.rup-team-card {
    position: relative;
    height: 100%;
    min-height: 350px;
    padding: 1.7rem;
    overflow: hidden;
    border: 1px solid rgba(6, 59, 102, 0.12);
    background: var(--rup-white);
    transition:
        transform 0.45s var(--rup-ease),
        box-shadow 0.4s ease,
        border-color 0.3s ease;
}

.rup-team-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--rup-blue-bright);
    transition: width 0.45s var(--rup-ease);
}

.rup-team-card:hover {
    transform: translateY(-7px);
    border-color: rgba(17, 136, 199, 0.32);
    box-shadow: 0 22px 55px rgba(5, 34, 56, 0.09);
}

.rup-team-card:hover::before {
    width: 100%;
}

.rup-team-card-number {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    color: rgba(6, 59, 102, 0.35);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.rup-team-initials {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin-bottom: 1.7rem;
    border: 1px solid rgba(6, 59, 102, 0.15);
    border-radius: 50%;
    color: var(--rup-blue);
    background: var(--rup-blue-soft);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition:
        color 0.35s ease,
        background-color 0.35s ease,
        transform 0.4s var(--rup-ease);
}

.rup-team-card:hover .rup-team-initials {
    color: var(--rup-white);
    background: var(--rup-blue);
    transform: rotate(-6deg);
}

.rup-team-card h3 {
    margin: 0 0 0.45rem;
    color: var(--rup-navy);
    font-size: 1.12rem;
    font-weight: 600;
}

.rup-team-role {
    display: block;
    min-height: 40px;
    margin-bottom: 1rem;
    color: var(--rup-blue);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rup-team-card > p {
    min-height: 72px;
    margin: 0;
    color: var(--rup-muted);
    font-size: 0.78rem;
    line-height: 1.65;
}

.rup-team-experience {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.4rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(6, 59, 102, 0.1);
}

.rup-team-experience strong {
    color: var(--rup-navy);
    font-size: 1.45rem;
    font-weight: 600;
}

.rup-team-experience span {
    color: var(--rup-muted);
    font-size: 0.68rem;
    line-height: 1.4;
}


/* =========================================================
   ASSURANCE & ENVIRONMENT
========================================================= */

.rup-assurance-section {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
    background: var(--rup-white);
}

.rup-assurance-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 570px;
    border: 1px solid rgba(6, 59, 102, 0.12);
}

.rup-assurance-visual {
    position: relative;
    min-height: 570px;
    overflow: hidden;
    background: var(--rup-navy);
}

.rup-assurance-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--rup-ease);
}

.rup-assurance-visual:hover img {
    transform: scale(1.045);
}

.rup-assurance-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(2, 13, 24, 0.05),
            rgba(2, 13, 24, 0.62)
        );
}

.rup-assurance-visual::after {
    content: "";
    position: absolute;
    inset: 15px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    pointer-events: none;
}

.rup-assurance-image-note {
    position: absolute;
    z-index: 2;
    left: 2rem;
    bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--rup-white);
}

.rup-assurance-image-note i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(2, 13, 24, 0.35);
    backdrop-filter: blur(8px);
}

.rup-assurance-image-note span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rup-assurance-content {
    padding:
        clamp(2.7rem, 5vw, 5rem)
        clamp(2rem, 5vw, 4.8rem);
}

.rup-assurance-content h2 {
    max-width: 680px;
    margin: 1rem 0 1.4rem;
    color: var(--rup-navy);
    font-size: clamp(2.5rem, 4.5vw, 4.3rem);
    font-weight: 600;
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.rup-assurance-content > p {
    max-width: 630px;
    margin: 0 0 2rem;
    color: var(--rup-muted);
    font-size: 0.88rem;
    line-height: 1.8;
}

.rup-assurance-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.rup-assurance-list article {
    display: block;
    padding: 1.05rem 0;
    border-top: 1px solid rgba(6, 59, 102, 0.12);
}

.rup-assurance-list article:last-child {
    border-bottom: 1px solid rgba(6, 59, 102, 0.12);
}

.rup-assurance-list article > div {
    width: 100%;
}

.rup-assurance-list h3 {
    margin: 0 0 0.35rem;
    color: var(--rup-navy);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.rup-assurance-list p {
    width: 100%;
    max-width: 530px;
    margin: 0;
    color: var(--rup-muted);
    font-size: 0.76rem;
    line-height: 1.65;
}

.rup-assurance-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--rup-blue);
    font-size: 0.82rem;
    font-weight: 600;
    transition:
        color 0.3s ease,
        gap 0.35s var(--rup-ease);
}

.rup-assurance-link:hover {
    gap: 1.2rem;
    color: var(--rup-blue-bright);
}


/* =========================================================
   RESPONSIVE ABOUT PAGE
========================================================= */

@media (max-width: 991.98px) {
    .rup-about-page-hero {
        min-height: 58svh;
    }

    .rup-history-section,
    .rup-team-section,
    .rup-assurance-section {
        padding: 85px 0;
    }

    .rup-history-visual {
        min-height: 520px;
    }

    .rup-team-heading {
        grid-template-columns: 1fr;
        gap: 1.3rem;
    }

    .rup-assurance-layout {
        grid-template-columns: 1fr;
    }

    .rup-assurance-visual {
        min-height: 500px;
    }
}

@media (max-width: 767.98px) {
    .rup-about-page-hero {
        min-height: 52svh;
    }

    .rup-about-page-hero-container {
        padding-bottom: 3.5rem;
    }

    .rup-about-page-hero-content h1 {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .rup-history-section,
    .rup-team-section,
    .rup-assurance-section {
        padding: 65px 0;
    }

    .rup-history-content h2,
    .rup-team-heading h2,
    .rup-assurance-content h2 {
        font-size: clamp(2.25rem, 10vw, 3.4rem);
    }

    .rup-history-details {
        grid-template-columns: 1fr;
    }

    .rup-history-details article {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(6, 59, 102, 0.13);
    }

    .rup-history-details article:last-child {
        border-bottom: 0;
    }

    .rup-history-visual {
        min-height: 430px;
    }

    .rup-team-card {
        min-height: auto;
    }

    .rup-team-card > p,
    .rup-team-role {
        min-height: auto;
    }

    .rup-assurance-visual {
        min-height: 420px;
    }

    .rup-assurance-content {
        padding: 2.5rem 1.4rem;
    }
}

/* =========================================================
   TEAM GRID ALIGNMENT
========================================================= */

.rup-team-grid {
    justify-content: center;
}

@media (max-width: 767.98px) {
    .rup-team-grid {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }

    .rup-team-card {
        min-height: 100%;
        padding: 1.15rem;
    }

    .rup-team-card-number {
        top: 0.9rem;
        right: 0.9rem;
        font-size: 0.55rem;
    }

    .rup-team-initials {
        width: 48px;
        height: 48px;
        margin-bottom: 1.1rem;
        font-size: 0.78rem;
    }

    .rup-team-card h3 {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .rup-team-role {
        margin-bottom: 0.7rem;
        font-size: 0.58rem;
        line-height: 1.45;
        letter-spacing: 0.06em;
    }

    .rup-team-card > p {
        font-size: 0.68rem;
        line-height: 1.55;
    }

    .rup-team-experience {
        align-items: flex-start;
        gap: 0.55rem;
        margin-top: 1rem;
        padding-top: 0.75rem;
    }

    .rup-team-experience strong {
        font-size: 1.1rem;
    }

    .rup-team-experience span {
        font-size: 0.58rem;
    }
}

@media (max-width: 390px) {
    .rup-team-card {
        padding: 1rem 0.85rem;
    }

    .rup-team-card h3 {
        font-size: 0.82rem;
    }

    .rup-team-card > p {
        font-size: 0.64rem;
    }
}

/* =========================================================
   TEAM GROUPS
========================================================= */

.rup-team-group + .rup-team-group {
    margin-top: 5.5rem;
}

.rup-team-group-header {
    max-width: 720px;
    margin: 0 auto 2.75rem;
    text-align: center;
}

.rup-team-group-header h3 {
    margin: 0.8rem 0 1rem;
    color: var(--rup-navy);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 600;
    letter-spacing: -0.04em;
}

.rup-team-group-header p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--rup-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

@media (max-width: 767.98px) {
    .rup-team-group + .rup-team-group {
        margin-top: 4rem;
    }

    .rup-team-group-header {
        margin-bottom: 2rem;
    }

    .rup-team-group-header h3 {
        font-size: 1.8rem;
    }

    .rup-team-group-header p {
        font-size: 0.82rem;
    }
}

/* =========================================================
   COMPANY JOURNEY
========================================================= */

.rup-journey-section {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f5f9fc 100%
        );
}

.rup-journey-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 6%;
    right: 6%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(6, 59, 102, 0.16),
            transparent
        );
}

/* HEADING */

.rup-journey-heading {
    max-width: 900px;
    margin-bottom: 4rem;
}

.rup-journey-heading h2 {
    max-width: 820px;
    margin: 1rem 0 1.3rem;
    color: var(--rup-navy);
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.rup-journey-heading p {
    max-width: 690px;
    margin: 0;
    color: var(--rup-muted);
    font-size: 0.92rem;
    line-height: 1.85;
}

/* LAYOUT */

.rup-journey-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.95fr)
        150px
        minmax(0, 1.2fr);
    gap: 2rem;
    align-items: stretch;
}

/* STORY */

.rup-journey-story {
    padding: 2.7rem 2.4rem;
    border: 1px solid rgba(6, 59, 102, 0.12);
    background: var(--rup-white);
}

.rup-journey-period {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--rup-blue-bright);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.rup-journey-story h3 {
    max-width: 520px;
    margin: 0 0 1.3rem;
    color: var(--rup-navy);
    font-size: clamp(2rem, 3vw, 3.3rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.rup-journey-story > p {
    max-width: 570px;
    margin: 0;
    color: var(--rup-muted);
    font-size: 0.88rem;
    line-height: 1.85;
}

.rup-journey-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2.7rem;
    border-top: 1px solid rgba(6, 59, 102, 0.12);
    border-bottom: 1px solid rgba(6, 59, 102, 0.12);
}

.rup-journey-meta div {
    padding: 1.2rem 1rem;
    border-right: 1px solid rgba(6, 59, 102, 0.12);
}

.rup-journey-meta div:last-child {
    border-right: 0;
}

.rup-journey-meta span {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--rup-muted);
    font-size: 0.61rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rup-journey-meta strong {
    color: var(--rup-navy);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
}

/* YEARS */

.rup-journey-years {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.45rem;
    padding: 1rem 0;
}

.rup-journey-years::before {
    content: "";
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 8px;
    width: 1px;
    background: rgba(6, 59, 102, 0.18);
}

.rup-journey-year {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    padding: 0.78rem 0;
    border: 0;
    color: var(--rup-muted);
    background: transparent;
    font-size: 0.73rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition:
        color 0.3s ease,
        transform 0.35s var(--rup-ease);
}

.rup-journey-year span {
    position: relative;
    z-index: 2;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    border: 4px solid #f7fafc;
    border-radius: 50%;
    background: #aab5c0;
    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.35s var(--rup-ease);
}

.rup-journey-year:hover {
    color: var(--rup-blue);
    transform: translateX(4px);
}

.rup-journey-year.is-active {
    color: var(--rup-navy);
    font-weight: 700;
}

.rup-journey-year.is-active span {
    background: var(--rup-blue-bright);
    box-shadow: 0 0 0 5px rgba(17, 136, 199, 0.14);
    transform: scale(1.05);
}

/* IMAGE */

.rup-journey-visual {
    position: relative;
    min-height: 570px;
    overflow: hidden;
    background: var(--rup-navy);
}

.rup-journey-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transform: scale(1.01);
    transition:
        opacity 0.3s ease,
        transform 0.8s var(--rup-ease);
}

.rup-journey-visual img.is-changing {
    opacity: 0;
    transform: scale(1.04);
}

.rup-journey-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(2, 13, 24, 0.08) 0%,
            rgba(2, 13, 24, 0.18) 45%,
            rgba(2, 13, 24, 0.88) 100%
        );
}

.rup-journey-visual::after {
    content: "";
    position: absolute;
    inset: 15px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    pointer-events: none;
}

.rup-journey-project-info {
    position: absolute;
    z-index: 2;
    left: 2.2rem;
    right: 2.2rem;
    bottom: 2.2rem;
    color: var(--rup-white);
}

.rup-journey-project-info > span {
    display: block;
    margin-bottom: 0.9rem;
    color: #8bd1f4;
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rup-journey-project-info h3 {
    max-width: 620px;
    margin: 0 0 0.8rem;
    color: var(--rup-white);
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.rup-journey-project-info p {
    max-width: 590px;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    line-height: 1.7;
}

/* RESPONSIVE */

@media (max-width: 991.98px) {
    .rup-journey-section {
        padding: 85px 0;
    }

    .rup-journey-layout {
        grid-template-columns: 1fr;
    }

    .rup-journey-years {
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.65rem;
        padding: 0 0 0.5rem;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .rup-journey-years::-webkit-scrollbar {
        display: none;
    }

    .rup-journey-years::before {
        display: none;
    }

    .rup-journey-year {
        width: auto;
        flex: 0 0 auto;
        padding: 0.75rem 1rem;
        border: 1px solid rgba(6, 59, 102, 0.14);
    }

    .rup-journey-year span {
        display: none;
    }

    .rup-journey-year.is-active {
        color: var(--rup-white);
        border-color: var(--rup-blue);
        background: var(--rup-blue);
    }

    .rup-journey-visual {
        min-height: 500px;
    }
}

@media (max-width: 767.98px) {
    .rup-journey-section {
        padding: 65px 0;
    }

    .rup-journey-heading {
        margin-bottom: 2.7rem;
    }

    .rup-journey-heading h2 {
        font-size: clamp(2.35rem, 11vw, 3.6rem);
    }

    .rup-journey-story {
        padding: 2rem 1.4rem;
    }

    .rup-journey-meta {
        grid-template-columns: 1fr;
    }

    .rup-journey-meta div {
        border-right: 0;
        border-bottom: 1px solid rgba(6, 59, 102, 0.12);
    }

    .rup-journey-meta div:last-child {
        border-bottom: 0;
    }

    .rup-journey-visual {
        min-height: 430px;
    }

    .rup-journey-project-info {
        left: 1.4rem;
        right: 1.4rem;
        bottom: 1.4rem;
    }
}

.rup-journey-visual img {
    transition:
        opacity 0.35s ease,
        transform 0.45s ease;
}

.rup-journey-visual img.is-changing {
    opacity: 0;
    transform: scale(1.03);
}

/* =========================================================
   WHAT WE DO
========================================================= */

.rup-what-we-do-section {
    position: relative;
    padding: 105px 0;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f5f9fc 100%
        );
}

.rup-what-we-do-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 7%;
    right: 7%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(6, 59, 102, 0.15),
            transparent
        );
}

/* HEADING */

.rup-what-we-do-heading {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.rup-what-we-do-heading h2 {
    max-width: 800px;
    margin: 1rem 0 0;
    color: var(--rup-navy);
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    font-weight: 600;
    line-height: 1.03;
    letter-spacing: -0.055em;
}

.rup-what-we-do-heading > p {
    max-width: 520px;
    margin: 0;
    color: var(--rup-muted);
    font-size: 0.92rem;
    line-height: 1.85;
}

/* GRID */

.rup-what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

/* CARD */

.rup-what-we-do-card {
    position: relative;
    min-height: 410px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(6, 59, 102, 0.12);
    background: var(--rup-navy);
}

.rup-what-we-do-card-wide {
    grid-column: 1 / -1;
    min-height: 460px;
}

.rup-what-we-do-card img {
    position: absolute;
    z-index: -3;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition:
        transform 0.9s var(--rup-ease),
        filter 0.6s ease;
}

.rup-what-we-do-overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(2, 13, 24, 0.05) 0%,
            rgba(2, 13, 24, 0.2) 42%,
            rgba(2, 13, 24, 0.92) 100%
        );
    transition: background 0.5s ease;
}

.rup-what-we-do-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 13px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
    transition: border-color 0.35s ease;
}

.rup-what-we-do-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem;
    color: var(--rup-white);
    transform: translateY(44px);
    transition: transform 0.5s var(--rup-ease);
}

.rup-what-we-do-content::before {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    margin-bottom: 1.1rem;
    background: var(--rup-blue-bright);
    transition: width 0.4s var(--rup-ease);
}

.rup-what-we-do-content h3 {
    max-width: 520px;
    margin: 0;
    color: var(--rup-white);
    font-size: clamp(1.55rem, 2.5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.rup-what-we-do-content p {
    max-width: 580px;
    margin: 0.85rem 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.84rem;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.4s ease 0.05s,
        transform 0.45s var(--rup-ease) 0.05s;
}

/* HOVER */

.rup-what-we-do-card:hover img {
    transform: scale(1.07);
    filter: contrast(1.04);
}

.rup-what-we-do-card:hover .rup-what-we-do-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(2, 13, 24, 0.12) 0%,
            rgba(2, 13, 24, 0.35) 40%,
            rgba(2, 13, 24, 0.97) 100%
        );
}

.rup-what-we-do-card:hover::after {
    border-color: rgba(139, 209, 244, 0.55);
}

.rup-what-we-do-card:hover .rup-what-we-do-content {
    transform: translateY(0);
}

.rup-what-we-do-card:hover .rup-what-we-do-content::before {
    width: 85px;
}

.rup-what-we-do-card:hover .rup-what-we-do-content p {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 991.98px) {
    .rup-what-we-do-section {
        padding: 85px 0;
    }

    .rup-what-we-do-heading {
        grid-template-columns: 1fr;
        gap: 1.4rem;
        margin-bottom: 2.8rem;
    }

    .rup-what-we-do-heading > p {
        max-width: 680px;
    }

    .rup-what-we-do-card,
    .rup-what-we-do-card-wide {
        min-height: 390px;
    }
}

@media (max-width: 767.98px) {
    .rup-what-we-do-section {
        padding: 65px 0;
    }

    .rup-what-we-do-heading h2 {
        font-size: clamp(2.3rem, 10vw, 3.5rem);
    }

    .rup-what-we-do-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .rup-what-we-do-card-wide {
        grid-column: auto;
    }

    .rup-what-we-do-card,
    .rup-what-we-do-card-wide {
        min-height: 370px;
    }

    .rup-what-we-do-content {
        padding: 1.5rem;
        transform: none;
    }

    .rup-what-we-do-content p {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   MOBILE SLIDER
========================================================= */

@media (max-width: 767.98px) {

    .rup-what-we-do-section {
        padding: 65px 0;
    }

    .rup-what-we-do-heading {
        margin-bottom: 2rem;
    }

    .rup-what-we-do-heading h2 {
        font-size: clamp(2.3rem, 10vw, 3.5rem);
    }

    /* Slider */

    .rup-what-we-do-grid {

        display: flex;

        gap: 1rem;

        overflow-x: auto;

        overflow-y: hidden;

        scroll-snap-type: x mandatory;

        -webkit-overflow-scrolling: touch;

        padding-bottom: .75rem;

        scrollbar-width: none;

    }

    .rup-what-we-do-grid::-webkit-scrollbar {
        display: none;
    }

    /* Cards */

    .rup-what-we-do-card,
    .rup-what-we-do-card-wide {

        flex: 0 0 88%;

        width: 88%;

        min-height: 390px;

        grid-column: auto;

        scroll-snap-align: start;

    }

    .rup-what-we-do-content {

        transform: none;

        padding: 1.6rem;

    }

    .rup-what-we-do-content p {

        opacity: 1;

        transform: none;

    }

}

.rup-mobile-slider-controls{
    display:none;
}

@media (max-width:767.98px){

    .rup-mobile-slider-controls{

        display:flex;

        justify-content:flex-end;

        gap:.7rem;

        margin-bottom:1.2rem;

    }

    .rup-mobile-slider-controls button{

        width:42px;
        height:42px;

        border:none;

        border-radius:50%;

        background:var(--rup-blue);

        color:#fff;

        transition:.3s;

    }

    .rup-mobile-slider-controls button:hover{

        background:var(--rup-blue-bright);

    }

}

/* =========================================================
   SERVICES MOBILE SLIDER
========================================================= */

.rup-services-mobile-controls {
    display: none;
}

@media (max-width: 767.98px) {

    .rup-services-mobile-controls {
        display: flex;
        justify-content: flex-end;
        gap: 0.65rem;
        margin: -0.5rem 0 1.25rem;
    }

    .rup-services-mobile-controls button {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        padding: 0;
        border: 1px solid rgba(6, 59, 102, 0.16);
        border-radius: 50%;
        color: var(--rup-white);
        background: var(--rup-blue);
        cursor: pointer;
        transition:
            transform 0.35s var(--rup-ease),
            background-color 0.3s ease,
            opacity 0.3s ease;
    }

    .rup-services-mobile-controls button:hover {
        transform: translateY(-3px);
        background: var(--rup-blue-bright);
    }

    .rup-services-mobile-controls button:disabled {
        opacity: 0.35;
        pointer-events: none;
    }

    .rup-services-mobile-track {
        display: flex;
        flex-wrap: nowrap;
        gap: 1rem;

        margin-right: calc(-0.5 * var(--bs-gutter-x));
        margin-left: calc(-0.5 * var(--bs-gutter-x));

        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;

        padding-bottom: 0.6rem;

        scrollbar-width: none;
    }

    .rup-services-mobile-track::-webkit-scrollbar {
        display: none;
    }

    .rup-services-mobile-track > [class*="col-"] {
        flex: 0 0 86%;
        width: 86%;
        max-width: 86%;

        padding-right: 0;
        padding-left: 0;

        scroll-snap-align: start;
    }

    .rup-services-mobile-track .rup-service-card {
        min-height: 440px;
    }

    .rup-services-mobile-track .rup-service-content {
        transform: none;
    }

    .rup-services-mobile-track .rup-service-content p {
        opacity: 1;
        transform: none;
    }
}