:root {
    --brand-blue: #0475BB;
    --brand-red: #FF5A1E;
    --navy: #102344;
    --body-text: #647087;
    --line: #e4eaf2;
    --soft-blue: #f4f8ff;
    --white: #fff;
    --shadow: 0 14px 40px rgba(16, 35, 68, .09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: var(--navy);
    background: #fff;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Manrope", sans-serif;
    letter-spacing: -.04em;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.section-pad {
    padding: 40px 0;
}

.eyebrow {
    color: #78859a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(30px, 4vw, 45px);
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

.text-blue {
    color: var(--brand-blue);
}

.text-red {
    color: var(--brand-red);
}

.section-description {
    color: var(--bs-black);
    font-size: 15px;
    max-width: 430px;
}

.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 21px;
    border-radius: 40px;
    color: #fff;
    background: var(--brand-red);
    border: 1px solid var(--brand-red);
    font-size: 12px;
    font-weight: 700;
    transition: .25s ease;
}

.btn-brand:hover {
    color: #fff;
    background: #c90f28;
    border-color: #c90f28;
    transform: translateY(-2px);
    box-shadow: 0 9px 22px #ff5a1e2b;
}

.btn-outline-brand {
    color: var(--brand-blue);
    border: 1px solid #cbd7eb;
    background: #fff;
}

.btn-outline-brand:hover {
    color: #fff;
    background: var(--brand-blue);
    border-color: var(--brand-blue);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(228, 234, 242, .85);
}

.navbar {
    min-height: 78px;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-symbol {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(145deg, var(--brand-red) 0 48%, var(--brand-blue) 49%);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    padding-top: 9px;
}

.brand-title {
    color: var(--brand-red);
    font: 800 17px/1 "Manrope", sans-serif;
    letter-spacing: -.5px;
}

.brand-title small {
    display: block;
    color: var(--brand-blue);
    font-size: 10px;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

.brand-tagline {
    display: block;
    color: var(--brand-blue);
    font: italic 10px Georgia, serif;
    margin-top: 4px;
}

.navbar .nav-link {
    color: #3b4658;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 12px !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--brand-red);
}

.navbar-toggler {
    border: 1px solid var(--line);
    box-shadow: none !important;
}

/* Hero slider */
.hero {
    position: relative;
    overflow: hidden;
    padding: 30px 0 20px;
    background: radial-gradient(ellipse at 78% 42%, #e8f1ff 0, transparent 38%), linear-gradient(180deg, #fff, #f8fbff);
}

.hero-copy {
    padding: 16px 0;
}

.hero h1 {
    max-width: 620px;
    font-size: clamp(42px, 5.5vw, 68px);
    font-weight: 800;
    line-height: .99;
    margin: 0 0 22px;
}

.hero-copy p {
    max-width: 430px;
    color: var(--bs-black);
    font-size: 16px;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
}

.watch-link {
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.watch-link i {
    color: var(--brand-blue);
    font-size: 27px;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    align-self: stretch;
    overflow: hidden;
    border-radius: 18px;
    background: #f4f8ff;
}

.hero-visual {
    min-height: 430px;
    height: 100%;
    position: relative;
    overflow: visible;
}

.hero-generated-image {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% center;
    border-radius: 18px;
}

/* Generated artwork includes its own geometric shapes, cityscape and digital-service panels. */
.hero-building,
.hero-triangle,
.hero-globe {
    display: none !important;
}

.hero-triangle {
    position: absolute;
    width: 220px;
    height: 300px;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.hero-triangle.red {
    left: 19%;
    top: 22px;
    background: linear-gradient(155deg, #ff5265, var(--brand-red));
    opacity: .94;
    mix-blend-mode: multiply;
}

.hero-triangle.blue {
    right: 13%;
    top: 0;
    background: linear-gradient(145deg, #4993ff, var(--brand-blue));
    opacity: .94;
}

.hero-globe {
    position: absolute;
    left: 40%;
    top: 49%;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--brand-red);
    color: #fff;
    display: grid;
    place-items: center;
    border: 4px solid #fff;
    font-size: 34px;
    box-shadow: var(--shadow);
}

.hero-note {
    position: absolute;
    right: 0;
    top: 52px;
    font-size: 9px;
    line-height: 1.8;
    letter-spacing: 1.7px;
    color: #66748a;
}

.hero-note:after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    background: var(--brand-red);
    margin-top: 8px;
}

.hero-scroll {
    position: absolute;
    right: 0;
    bottom: 8px;
    font-size: 10px;
    color: #7d8798;
    text-align: center;
}

.hero-scroll i {
    display: block;
    font-size: 24px;
    margin-bottom: 4px;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 35px;
}

.metric strong {
    display: block;
    font: 800 30px/1.1 "Manrope", sans-serif;
    letter-spacing: -1px;
}

.metric span {
    display: block;
    color: var(--brand-blue);
    font-size: 14px;
    margin-top: 4px;
    font-weight: 500;
}

/* Service cards */
.services-section {
    background: #fff;
}

.service-card {
    height: 100%;
    min-height: 220px;
    padding: 24px 20px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    transition: .28s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: #c8d6ec;
    box-shadow: var(--shadow);
}

.service-card .service-icon {
    color: var(--brand-red);
    font-size: 27px;
    margin-bottom: 16px;
}

.service-card:nth-child(even) .service-icon {
    color: var(--brand-blue);
}

.service-card h3 {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
    color: var(--brand-blue);
}

.service-card p {
    color: var(--bs-black);
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 0;
}

.circle-arrow {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid #cbd5e3;
    color: var(--brand-blue);
    border-radius: 50%;
    margin-top: 15px;
    transition: .25s;
}

.service-card:hover .circle-arrow {
    color: #fff;
    background: var(--brand-blue);
    border-color: var(--brand-blue);
}

/* Portfolio slider */
.portfolio-section {
    background: var(--soft-blue);
}

.portfolio-swiper {
    padding: 4px 2px 34px;
}

.portfolio-card {
    position: relative;
    height: 310px;
    overflow: hidden;
    border-radius: 15px;
    background: #dce6f3;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

.portfolio-card:hover img {
    transform: scale(1.07);
}

.portfolio-card:after {
    content: "";
    position: absolute;
    inset: 25% 0 0;
    background: linear-gradient(transparent, rgba(5, 16, 34, .92));
}

.portfolio-content {
    position: absolute;
    z-index: 1;
    left: 20px;
    right: 20px;
    bottom: 20px;
    color: #fff;
}

.portfolio-content small {
    font-size: 9px;
    letter-spacing: 1.6px;
    font-weight: 800;
}

.portfolio-content h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    margin: 8px 35px 0 0;
    letter-spacing: -.03em;
}

.portfolio-content .round-link {
    position: absolute;
    right: 0;
    bottom: 0;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    color: #fff;
    border: 1px solid #ffffffa8;
    border-radius: 50%;
}

.swiper-button-next,
.swiper-button-prev {
    width: 38px;
    height: 38px;
    border: 1px solid #d5dfed;
    border-radius: 50%;
    background: #fff;
    color: var(--brand-blue);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 13px;
    font-weight: 900;
}

.swiper-pagination-bullet-active {
    background: var(--brand-red);
}

/* Industries */
.industry-card {
    min-height: 122px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 15px 8px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    transition: .25s;
    background: #fff;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.industry-card i {
    color: var(--brand-blue);
    font-size: 25px;
}

.industry-card:nth-child(odd) i {
    color: var(--brand-red);
}

.industry-card span {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}

/* About */
.about-section {
    padding: 70px 0 35px;
}

.about-photo {
    min-height: 380px;
    height: 100%;
    position: relative;
    border-radius: 16px;
    background: url("../images/aspira-team.png") center/cover;
}

.about-card {
    position: absolute;
    right: -18px;
    bottom: 24px;
    width: min(290px, 85%);
    padding: 25px;
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--shadow);
}

.about-card h3 {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
}

.about-card p {
    font-size: 11px;
    color: var(--body-text);
    margin: 12px 0 16px;
}

.value-item {
    display: flex;
    gap: 13px;
}

.value-item i {
    color: var(--brand-red);
    font-size: 23px;
    min-width: 25px;
}

.value-item h4 {
    font-size: 13px;
    font-weight: 800;
    margin: 0 0 6px;
    letter-spacing: -.02em;
}

.value-item p {
    color: var(--body-text);
    font-size: 11px;
    line-height: 1.7;
    margin: 0;
}

.stats-band {
    background: var(--brand-blue);
    color: #fff;
    border-radius: 14px;
    padding: 25px 28px;
    overflow: hidden;
    position: relative;
}

.stats-band:after {
    content: "\f0ac";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 24px;
    top: -25px;
    font-size: 135px;
    color: #ffffff0d;
}

.stats-band .metric {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.stats-band .metric i {
    font-size: 23px;
    color: #d9e6ff;
}

.stats-band .metric strong {
    font-size: 24px;
}

.stats-band .metric span {
    color: #dce8ff;
}

/* Testimonials */
.testimonial-section {
    background: #fff;
    padding-top: 0;
}

.testimonial-intro h2 {
    font-size: clamp(30px, 3.5vw, 42px);
    line-height: 1.1;
    font-weight: 800;
}

.testimonial-intro p {
    color: var(--bs-black);
    font-size: 14px;
    max-width: 260px;
}

.testimonial-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
}

.quote-card {
    padding: 26px;
    border: 1px solid #edf0f5;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}

.quote-card p {
    color: var(--bs-black);
    font-size: 15px;
}

.quote-card strong {
    display: block;
    font-size: 16px;
    color: var(--brand-blue);
}

.quote-card small {
    color: var(--bs-black);
    font-size: 14px;
}

.stars {
    color: #f3b51b;
    letter-spacing: 2px;
    margin-top: 7px;
    font-size: 18px;
}

/* Insights */
.insight-card {
    height: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    transition: .25s;
    background: #fff;
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.insight-card img {
    width: 100%;
    height: 175px;
    object-fit: cover;
    display: block;
}

.insight-content {
    padding: 17px;
}

.insight-content small {
    color: #7d8798;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .7px;
}

.insight-content h3 {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
    margin: 8px 0 13px;
}

.insight-content a {
    font-size: 11px;
    font-weight: 800;
    color: var(--brand-blue);
}

/* CTA and footer */
.cta-section {
    padding: 12px 0 20px;
}

.cta-panel {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    color: #fff;
    padding: 38px 42px;
    background: linear-gradient(110deg, #173f82, var(--brand-blue));
}

.cta-panel:after {
    content: "";
    position: absolute;
    right: -60px;
    top: -115px;
    width: 250px;
    height: 410px;
    transform: rotate(35deg);
    border-left: 20px solid #ffffff15;
    border-right: 20px solid var(--brand-red);
    pointer-events: none;
}

.cta-panel h2 {
    font-size: clamp(29px, 3.5vw, 43px);
    line-height: 1.1;
    font-weight: 800;
}

.cta-panel h2 span {
    color: #c8dcff;
}

.cta-panel p {
    max-width: 370px;
    font-size: 15px;
    color: #e1eaff;
}

.cta-panel .eyebrow {
    color: #dce8ff;
}

.cta-panel .btn-brand {
    position: relative;
    z-index: 1;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 15px 0 15px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 23px;
    font-size: 15px;
    font-weight: 500;
}

.footer-links a,
.footer-legal a {
    color: var(--bs-black);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--brand-red);
}

.social-links {
    display: flex;
    gap: 14px;
    color: var(--brand-blue);
}

.social-links a {
    transition: .2s;
}

.social-links a:hover {
    color: var(--brand-red);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #eef1f5;
    margin-top: 22px;
    padding-top: 15px;
    color: var(--bs-black);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 18px;
}



.site-header .nav-item.dropdown {
    position: relative;
}

.site-header .dropdown-menu {
    z-index: 1100;
}

@media (min-width: 992px) {
    .site-header .services-dropdown .services-mega-menu {
        margin-top: 0;
    }

    /* Invisible bridge prevents a pointer gap between the Services link and the mega menu. */
    .site-header .services-dropdown .services-mega-menu::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -12px;
        height: 12px;
    }

    .site-header .nav-item.dropdown>.simple-dropdown {
        margin-top: 0;
    }

    .site-header .nav-item.dropdown>.simple-dropdown::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -8px;
        height: 8px;
    }
}


/* Remove the unwanted rectangular focus box around navbar links/dropdown triggers */
.site-header .navbar-nav .nav-link,
.site-header .navbar-nav .nav-link:focus,
.site-header .navbar-nav .nav-link:focus-visible,
.site-header .navbar-nav .dropdown-toggle,
.site-header .navbar-nav .dropdown-toggle:focus,
.site-header .navbar-nav .dropdown-toggle:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.site-header .navbar-nav .nav-link:focus::before,
.site-header .navbar-nav .nav-link:focus::after {
    box-shadow: none !important;
}


/* Hero column alignment: right artwork spans the full height of the left copy + metrics */
.hero-row {
    align-items: stretch;
}

.hero-row>[class*="col-"] {
    display: flex;
    flex-direction: column;
}

.hero-copy {
    width: 100%;
}

.hero-image-column {
    min-height: 100%;
}

.hero-image-column .hero-visual {
    flex: 1 1 auto;
    min-height: 100%;
}

.hero-image-column .hero-generated-image {
    object-fit: cover;
    object-position: 68% center;
}

@media (min-width: 992px) {
    .hero-image-column .hero-visual {
        min-height: 100%;
    }
}

@media (max-width: 991.98px) {
    .hero-row {
        align-items: center;
    }

    .hero-image-column {
        min-height: 360px;
    }

    .hero-image-column .hero-visual {
        min-height: 360px;
    }
}

@media (max-width: 767.98px) {
    .hero-image-column {
        min-height: 300px;
    }

    .hero-image-column .hero-visual {
        min-height: 300px;
    }
}


/* Dropdowns should overlay the page without changing document flow or scrolling the viewport */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
}

.site-header .nav-item.dropdown {
    position: relative;
}

.site-header .dropdown-menu {
    position: absolute;
    top: 100%;
    margin-top: 0;
    scroll-margin: 0;
}

.site-header .services-dropdown .services-mega-menu {
    position: absolute;
    top: 100%;
}

.site-header .navbar-nav .nav-link {
    scroll-margin-block: 0;
}


@media (min-width: 992px) {

    .site-header .navbar,
    .site-header .header-nav-wrap,
    .site-header .header-nav {
        overflow: visible;
    }

    .site-header .nav-item.dropdown {
        position: relative;
    }

    .site-header .nav-item.dropdown>.dropdown-menu {
        position: absolute;
        top: 100%;
        margin-top: 0;
    }

    .site-header .services-dropdown>.services-mega-menu {
        top: 100%;
        margin-top: 0;
    }
}


/* Mobile navigation: keep the page fixed; scroll long dropdown content inside its own panel */
@media (max-width: 991.98px) {
    .site-header .navbar-collapse {
        max-height: calc(100dvh - 78px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 18px;
    }

    .site-header .navbar-nav {
        overflow: visible;
    }

    .site-header .nav-item.dropdown {
        position: static;
    }

    .site-header .nav-item.dropdown>.dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 6px 0 12px;
        transform: none !important;
        box-shadow: none;
    }

    .site-header .services-mega-menu,
    .site-header .services-mega-menu.show {
        display: none;
        max-height: min(58dvh, 460px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .site-header .services-dropdown>.services-mega-menu.show {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .site-header .nav-item.dropdown>.simple-dropdown.show {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .site-header .simple-dropdown {
        max-height: min(45dvh, 320px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .site-header .mega-menu-heading {
        padding: 18px;
    }

    .site-header .mega-menu-two {
        grid-template-columns: 1fr;
    }

    .site-header .mega-category p {
        min-height: 0;
    }
}

@media (max-width: 575.98px) {
    .site-header .navbar-collapse {
        max-height: calc(100dvh - 68px);
    }

    .site-header .services-mega-menu,
    .site-header .services-mega-menu.show {
        max-height: 56dvh;
    }
}

/* Header layout: logo left, navigation centered, CTA right */
.header-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
}

.header-brand {
    justify-self: start;
}

.header-nav-wrap {
    grid-column: 1 / -1;
    width: 100%;
}

.header-nav {
    gap: 4px;
}

.header-cta {
    white-space: nowrap;
    justify-self: end;
}

.header-toggle {
    justify-self: end;
    grid-column: 2;
    grid-row: 1;
}

.header-nav .nav-link {
    padding: 12px 10px !important;
}

.header-nav .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: 2px;
}

.simple-dropdown {
    min-width: 205px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 9px;
    box-shadow: var(--shadow);
}

.simple-dropdown .dropdown-item {
    border-radius: 7px;
    padding: 10px 12px;
    font-size: 14px;
    color: #455168;
    font-weight: 500;
}

.simple-dropdown .dropdown-item:hover,
.simple-dropdown .dropdown-item:focus {
    background: var(--soft-blue);
    color: var(--brand-red);
}

.services-mega-menu {
    width: min(760px, calc(100vw - 36px));
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 55px rgba(16, 35, 68, .16);
}

.services-mega-menu.show {
    display: grid;
    grid-template-columns: .82fr 1.8fr;
}

.mega-menu-heading {
    padding: 28px 25px;
    background: linear-gradient(145deg, #f1f6ff, #fff);
    white-space: normal;
}

.mega-menu-heading .eyebrow {
    margin-bottom: 10px;
}

.mega-menu-heading h3 {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 12px;
}

.mega-menu-heading p {
    color: var(--body-text);
    font-size: 14px;
    line-height: 1.7;
    text-align: justify;
}

.mega-view-all {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--brand-red);
    font-size: 11px;
    font-weight: 800;
    margin-top: 9px;
}

.mega-menu-links {
    padding: 13px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    align-content: center;
}

.mega-service {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 13px 10px;
    border-radius: 10px;
    color: var(--navy);
    transition: .2s ease;
}

.mega-service:hover {
    background: var(--soft-blue);
    color: var(--brand-blue);
}

.mega-icon {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    height: 34px;
    border-radius: 9px;
    color: var(--brand-blue);
    background: #e8f0ff;
}

.mega-service:nth-child(even) .mega-icon {
    color: var(--brand-red);
    background: #fff0f2;
}

.mega-service strong {
    display: block;
    font-size: 11px;
    line-height: 1.4;
    margin: 1px 0 5px;
}

.mega-service small {
    display: block;
    color: var(--body-text);
    font-size: 10px;
    line-height: 1.5;
}

.mega-arrow {
    color: #9aa6b8;
    font-size: 10px;
    margin: 4px 0 0 auto;
}

/* Services mega menu: two service groups, hover on desktop */
.mega-menu-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 15px;
    gap: 12px;
}

.mega-category {
    min-width: 0;
    padding: 18px 15px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    transition: .25s ease;
}

.mega-category:hover {
    border-color: #cbd8ed;
    box-shadow: 0 10px 28px rgba(16, 35, 68, .07);
    transform: translateY(-2px);
}

.mega-category-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}

.mega-category-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #eaf1ff;
    color: var(--brand-blue);
    font-size: 19px;
}

.marketing-category .mega-category-icon {
    color: var(--brand-red);
    background: #fff0f2;
}

.mega-category-label {
    color: #8591a5;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.mega-category h3 {
    font-size: 17px;
    line-height: 1.25;
    font-weight: 800;
    margin: 0 0 8px;
}

.mega-category p {
    color: var(--body-text);
    font-size: 14px;
    line-height: 1.6;
    min-height: 48px;
    margin: 0 0 12px;
}

.mega-category ul {
    list-style: none;
    padding: 0;
    margin: 0 0 13px;
}

.mega-category li {
    margin: 0;
}

.mega-category li a {
    display: flex;
    gap: 7px;
    align-items: center;
    padding: 6px 0;
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.mega-category li a i {
    color: var(--brand-red);
    font-size: 9px;
}

.mega-category li a:hover {
    color: var(--brand-blue);
}

.mega-category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-blue);
    font-size: 10px;
    font-weight: 800;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    width: 100%;
}

.mega-category-link i {
    color: var(--brand-red);
    transition: transform .2s;
}

.mega-category-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 991.98px) {
    .services-mega-menu.show {
        display: grid;
    }

    .mega-menu-two {
        grid-template-columns: 1fr;
    }

    .mega-category p {
        min-height: 0;
    }
}

@media (min-width: 992px) {
    .header-layout {
        display: flex;
        gap: 20px;
    }

    .header-brand {
        flex: 0 0 220px;
    }

    .header-nav-wrap {
        display: flex !important;
        flex: 1 1 auto;
        align-items: center;
        width: auto;
    }

    .header-nav {
        flex: 1;
        justify-content: center;
    }

    .header-cta {
        flex: 0 0 auto;
    }

    .header-toggle {
        display: none;
    }

    .services-dropdown {
        position: static;
    }

    .services-dropdown .services-mega-menu {
        left: 50%;
        transform: translateX(-50%);
        top: calc(100% - 1px);
        margin-top: 0;
    }
}

@media (max-width: 991.98px) {
    .header-layout {
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .header-nav-wrap {
        grid-column: 1 / -1;
        padding: 8px 0 18px;
    }

    .header-nav {
        align-items: stretch !important;
    }

    .header-nav .nav-link {
        padding: 11px 4px !important;
    }

    .header-cta {
        margin-top: 8px;
        display: inline-flex;
        width: max-content;
    }

    .services-mega-menu,
    .services-mega-menu.show {
        width: 100%;
        grid-template-columns: 1fr;
        position: static !important;
        transform: none !important;
    }

    .mega-menu-heading {
        padding: 20px;
    }

    .mega-menu-heading h3 {
        font-size: 20px;
    }

    .mega-menu-links {
        grid-template-columns: 1fr 1fr;
        padding: 8px;
    }
}

@media (max-width: 575.98px) {
    .mega-menu-links {
        grid-template-columns: 1fr;
    }

    .mega-service {
        padding: 10px;
    }

    .header-brand {
        gap: 7px;
    }

    .brand-symbol {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .brand-title {
        font-size: 14px;
    }
}

@media (max-width: 991.98px) {
    .section-pad {
        padding: 70px 0;
    }

    .hero-visual {
        min-height: 360px;
        height: 100%;
    }

    .hero-generated-image {
        object-position: 68% center;
    }

    .hero-triangle {
        width: 190px;
        height: 260px;
    }

    .service-card {
        padding: 20px 16px;
    }

    .portfolio-card {
        height: 285px;
    }

    .about-photo {
        min-height: 330px;
    }

    .about-card {
        right: -8px;
    }
}

@media (max-width: 767.98px) {
    .section-pad {
        padding: 58px 0;
    }

    .navbar {
        min-height: 68px;
    }

    .brand-title {
        font-size: 15px;
    }

    .hero {
        padding: 34px 0 30px;
    }

    .hero-copy {
        padding: 0;
    }

    .hero h1 {
        font-size: clamp(39px, 10vw, 53px);
    }

    .hero-visual {
        min-height: 300px;
        height: 100%;
        order: 0;
    }

    .hero-generated-image {
        object-position: 68% center;
    }

    .hero-building {
        inset: 40px 20px 12px;
    }

    .hero-triangle {
        width: 155px;
        height: 220px;
    }

    .hero-triangle.red {
        left: 17%;
        top: 20px;
    }

    .hero-triangle.blue {
        right: 13%;
    }

    .hero-globe {
        width: 55px;
        height: 55px;
        font-size: 27px;
        left: 40%;
    }

    .hero-note {
        right: 1%;
        top: 22px;
        font-size: 8px;
    }

    .hero-scroll {
        display: none;
    }

    .metrics {
        gap: 14px 10px;
        margin-top: 27px;
    }

    .metric strong {
        font-size: 21px;
    }

    .metric span {
        font-size: 9px;
    }

    .section-heading-row {
        align-items: flex-start !important;
    }

    .section-heading-row .section-description {
        margin-top: 16px;
    }

    .portfolio-card {
        height: 300px;
    }

    .about-photo {
        min-height: 310px;
        margin-right: 5px;
        margin-bottom: 18px;
    }

    .about-card {
        right: -5px;
        bottom: 15px;
        padding: 19px;
        width: min(260px, 85%);
    }

    .about-card h3 {
        font-size: 21px;
    }

    .stats-band {
        padding: 22px 18px;
    }

    .stats-band .metric {
        gap: 8px;
    }

    .stats-band .metric i {
        font-size: 19px;
    }

    .stats-band .metric strong {
        font-size: 21px;
    }

    .testimonial-photo {
        height: 280px;
    }

    .quote-card {
        padding: 22px;
    }

    .insight-card {
        display: grid;
        grid-template-columns: 115px minmax(0, 1fr);
    }

    .insight-card img {
        height: 100%;
        min-height: 155px;
    }

    .insight-content {
        padding: 13px;
    }

    .insight-content h3 {
        font-size: 13px;
    }

    .cta-panel {
        padding: 29px 23px;
    }

    .cta-panel:after {
        right: -135px;
        opacity: .75;
    }

    .footer-links {
        gap: 13px 18px;
    }

    .footer-bottom .container {
        gap: 10px;
    }

    .footer-legal {
        gap: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* Safety fallback: content remains visible if AOS fails to initialize. */
[data-aos] {
    opacity: 1;
}

[data-aos].aos-animate {
    opacity: 1;
}


/* Keep content visible if AOS fails to initialize */
[data-aos] {
    opacity: 1 !important;
    visibility: visible !important;
}

[data-aos]:not(.aos-animate) {
    transform: none !important;
}

/* Swiper slider layout */
.swiper {
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    flex-shrink: 0;
}

/* UBM Technologies header logo */
.site-header .brand-lockup {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
    margin-right: 1.25rem
}

.site-header .site-logo-img {
    display: block;
    width: clamp(165px, 20vw, 255px);
    max-width: 100%;
    height: auto;
    object-fit: contain
}

@media(max-width:991.98px) {
    .site-header .site-logo-img {
        width: clamp(135px, 40vw, 205px)
    }
}

/* Refine the existing About + company values + statistics section to match the supplied reference. */
.about-section {
    padding: 18px 0 32px !important;
    background: #fff
}

.about-section>.container {
    max-width: 1320px
}

.about-section .row.align-items-center.g-5.mb-5 {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 20px;
    margin-bottom: 12px !important;
    align-items: stretch !important
}

.about-section .row.align-items-center.g-5.mb-5>.col-lg-6:first-child {
    flex: 0 0 60%;
    max-width: 60%
}

.about-section .row.align-items-center.g-5.mb-5>.col-lg-6:nth-child(2) {
    flex: 0 0 40%;
    max-width: 40%
}

.about-section .about-photo {
    position: relative;
    min-height: 380px;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    background-position: center;
    background-size: cover
}

.about-section .about-card {
    width: min(48%, 320px);
    margin: 20px 32px 20px auto;
    padding: 24px 22px;
    border: 1px solid rgba(20, 55, 100, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 35px rgba(16, 45, 85, .12)
}

.about-section .about-card h3 {
    margin: 0 0 12px;
    font-size: clamp(20px, 2vw, 27px);
    line-height: 1.15;
    letter-spacing: -.04em;
    color: #12264a
}

.about-section .about-card p {
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 16px;
    color: var(--bs-black);
}

.about-section .value-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    height: 100%;
    padding: 20px 0;
    border-bottom: 1px solid #edf0f5
}

.about-section .row.g-4>.col-sm-6:nth-last-child(-n+2) .value-item {
    border-bottom: 0
}

.about-section .value-item>i {
    flex: 0 0 28px;
    color: #ff5a1e;
    font-size: 21px;
    line-height: 1.2
}

.about-section .value-item h4 {
    margin: 2px 0 8px;
    color: var(--brand-blue);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35
}

.about-section .value-item p {
    margin: 0;
    color: var(--bs-black);
    font-size: 14px;
    line-height: 1.55
}

.about-section .stats-band {
    margin: 0 24px;
    padding: 20px 36px;
    min-height: 100px;
    border-radius: 10px;
    background: #0750a5 url("../images/stats-world-map-bg.png") right center / cover no-repeat;
    color: #fff;
    box-shadow: 0 8px 22px rgba(7, 80, 165, .12)
}

.about-section .stats-band .row {
    --bs-gutter-y: 0;
    align-items: center
}

.about-section .metric {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 52px
}

.about-section .metric>i {
    flex: 0 0 auto;
    color: #d8e8ff;
    font-size: 22px
}

.about-section .metric strong {
    display: block;
    color: #fff;
    font-size: 30px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -.03em
}

.about-section .metric span {
    display: block;
    margin-top: 4px;
    color: #e0ebff;
    font-size: 14px;
    line-height: 1.3
}

@media(max-width:991.98px) {

    .about-section .row.align-items-center.g-5.mb-5>.col-lg-6:first-child,
    .about-section .row.align-items-center.g-5.mb-5>.col-lg-6:nth-child(2) {
        flex: 0 0 100%;
        max-width: 100%
    }

    .about-section .about-photo {
        min-height: 300px
    }

    .about-section .stats-band {
        margin: 0 10px;
        padding: 18px 22px
    }

    .about-section .metric {
        gap: 10px
    }

    .about-section .metric strong {
        font-size: 21px
    }
}

@media(max-width:575.98px) {
    .about-section {
        padding: 14px 0 24px !important
    }

    .about-section .about-photo {
        min-height: 320px
    }

    .about-section .about-card {
        width: min(82%, 290px);
        margin: 20px 12px 20px auto;
        padding: 20px 18px
    }

    .about-section .about-card h3 {
        font-size: 23px
    }

    .about-section .value-item {
        padding: 15px 0;
        border-bottom: 1px solid #edf0f5 !important
    }

    .about-section .row.g-4>.col-sm-6:last-child .value-item {
        border-bottom: 0 !important
    }

    .about-section .stats-band {
        margin: 0;
        padding: 20px 16px
    }

    .about-section .metric {
        gap: 9px
    }

    .about-section .metric>i {
        font-size: 19px
    }

    .about-section .metric strong {
        font-size: 20px
    }

    .about-section .metric span {
        font-size: 10px
    }
}

/* Tighten the empty space after ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œCountries servedÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â in the existing stats bar. */
@media (min-width: 992px) {
    .about-section .stats-band .row {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1.08fr;
        width: 100%;
        margin: 0;
    }

    .about-section .stats-band .row>div {
        width: auto;
        padding-left: 10px;
        padding-right: 10px;
    }

    .about-section .stats-band .row>div:last-child .metric {
        /* justify-content: flex-end; */
        /* padding-right: 8px; */
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .about-section .stats-band {
        padding-left: 24px;
        padding-right: 24px;
    }

    .about-section .stats-band .row>div:last-child .metric {
        justify-content: flex-start;
        padding-right: 0;
    }
}

@media (max-width: 991.98px) {
    .about-section .stats-band .row {
        display: flex;
        width: auto;
        margin-left: calc(var(--bs-gutter-x, 1.5rem) * -.5);
        margin-right: calc(var(--bs-gutter-x, 1.5rem) * -.5);
    }

    .about-section .stats-band .row>div:last-child .metric {
        justify-content: flex-start;
        padding-right: 0;
    }
}

/* Match the existing Insights section to the supplied side-by-side reference. */
#insights.insights-reference-section {
    padding: 12px 0 34px
}

#insights .insights-reference-layout {
    display: grid;
    grid-template-columns: minmax(235px, .95fr) minmax(0, 2.05fr);
    gap: 26px;
    align-items: start
}

#insights .insights-reference-intro {
    padding-top: 10px
}

#insights .insights-reference-intro .eyebrow {
    margin-bottom: 16px;
    font-size: 10px;
    letter-spacing: 2px
}

#insights .insights-reference-intro .section-title {
    font-size: clamp(29px, 3vw, 38px);
    line-height: 1.08;
    letter-spacing: -.045em;
    font-weight: 750
}

#insights .insights-reference-content {
    min-width: 0
}

#insights .insights-reference-topline {
    height: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    margin-top: -10px;
    margin-bottom: 5px
}

#insights .insights-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0475bb;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap
}

#insights .insights-view-all i {
    color: #ff5a1e
}

#insights .insights-reference-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch
}

#insights .insight-card {
    height: 100%;
    min-width: 0;
    border: 1px solid #e5eaf1;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: transform .25s, box-shadow .25s
}

#insights .insight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(14, 42, 83, .10)
}

#insights .insight-card img {
    display: block;
    width: 100%;
    height: 94px;
    object-fit: cover
}

#insights .insight-content {
    padding: 10px 11px 12px
}

#insights .insight-content small {
    display: block;
    color: #788397;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .25px
}

#insights .insight-content h3 {
    margin: 6px 0 10px;
    color: var(--brand-blue);
    font-size: 14px;
    line-height: 1.32;
    font-weight: 750;
    letter-spacing: -.015em
}

#insights .insight-content a {
    color: #14264a;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none
}

#insights .insight-content a i {
    color: #0475bb
}

@media(min-width:1200px) {
    #insights .container {
        max-width: 1320px
    }

    #insights .insights-reference-layout {
        grid-template-columns: minmax(250px, .95fr) minmax(0, 2.05fr);
        gap: 28px
    }

    #insights .insight-card img {
        height: 180px;
    }
}

@media(max-width:991.98px) {
    #insights .insights-reference-layout {
        grid-template-columns: 1fr;
        gap: 20px
    }

    #insights .insights-reference-intro {
        padding-top: 0
    }

    #insights .insights-reference-intro .section-title br {
        display: none
    }

    #insights .insights-reference-topline {
        margin-top: 0
    }

    #insights .insight-card img {
        height: 130px
    }
}

@media(max-width:575.98px) {
    #insights.insights-reference-section {
        padding: 8px 0 28px
    }

    #insights .insights-reference-layout {
        gap: 16px
    }

    #insights .insights-reference-intro .section-title {
        font-size: 30px
    }

    #insights .insights-reference-cards {
        grid-template-columns: 1fr;
        gap: 14px
    }

    #insights .insight-card {
        display: grid;
        grid-template-columns: 118px minmax(0, 1fr);
        min-height: 142px
    }

    #insights .insight-card img {
        width: 118px;
        height: 100%;
        min-height: 142px;
        object-fit: cover
    }

    #insights .insight-content {
        padding: 12px
    }

    #insights .insight-content h3 {
        font-size: 12px;
        margin: 7px 0 10px
    }
}

/* Existing project CTA: skyline on right, readable copy on left. */
.cta-section .cta-panel {
    background-color: #0750a5;
    background-image: linear-gradient(90deg, rgba(4, 49, 116, .93) 0%, rgba(5, 67, 145, .78) 49%, rgba(5, 80, 160, .08) 78%), url("../images/cta-skyscraper-bg.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat
}

.cta-section .cta-panel:after {
    display: none
}

.cta-section .cta-panel>.eyebrow,
.cta-section .cta-panel>.row {
    position: relative;
    z-index: 1
}

@media(max-width:767.98px) {
    .cta-section .cta-panel {
        background-position: 66% center;
        background-image: linear-gradient(90deg, rgba(4, 49, 116, .96), rgba(5, 67, 145, .82)), url("../images/cta-skyscraper-bg.png")
    }
}

/* Existing project CTA: building on right, readable copy on left. */
.cta-section .cta-panel {
    background-color: #0750a5;
    background-image: linear-gradient(90deg, rgba(2, 42, 107, .88) 0%, rgba(3, 65, 148, .77) 46%, rgba(3, 73, 157, .12) 100%), url("../images/cta-skyscraper-bg.png");
    background-position: center center, right center;
    background-size: cover, cover;
    background-repeat: no-repeat;
}

.cta-section .cta-panel::after {
    display: none;
}

.cta-section .cta-panel h2 span {
    color: #fff;
}

@media(max-width:767.98px) {
    .cta-section .cta-panel {
        background-position: center center, 68% center;
        background-image: linear-gradient(90deg, rgba(2, 42, 107, .95), rgba(3, 65, 148, .78)), url("../images/cta-skyscraper-bg.png");
    }
}

/* Update the existing footer logo to match the supplied reference without duplicating footer content. */
.site-footer .footer-brand-logo,
footer .footer-brand-logo {
    display: block;
    width: clamp(135px, 17vw, 175px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

footer .footer-logo-wrap {
    flex: 0 0 auto;
    margin: 0 0 12px;
}

footer .footer-top {
    align-items: center;
}

@media(max-width:767.98px) {
    footer .footer-brand-logo {
        width: 155px;
    }
}