/**************************************************/
/***        Aries Innovation - UI System        ***/
/***  Extends the base theme (css/custom.css)   ***/
/**************************************************/

:root {
    /* Brand accent scale built around the theme accent #0097c9 */
    --aries-accent: #0097c9;
    --aries-accent-dark: #00719a;
    --aries-accent-deep: #054a63;
    --aries-accent-tint: #e8f5fa;
    --aries-accent-tint-2: #d4ecf6;
    --aries-ink: #161616;
    --aries-ink-soft: #3d4750;
    --aries-line: rgba(22, 22, 22, 0.09);
    --aries-line-dark: rgba(255, 255, 255, 0.12);

    --aries-radius: 18px;
    --aries-radius-sm: 12px;
    --aries-shadow: 0 20px 45px rgba(9, 45, 60, 0.10);
    --aries-shadow-hover: 0 28px 60px rgba(9, 45, 60, 0.16);
    --aries-transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/**************************************************/
/***            1. Section backgrounds          ***/
/**************************************************/

/* Soft tinted band - sits between white and dark sections */
.aries-bg-soft {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, var(--aries-accent-tint) 100%);
}

.aries-bg-soft:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(520px circle at 12% 18%, rgba(0, 151, 201, 0.10), transparent 60%),
        radial-gradient(520px circle at 88% 82%, rgba(0, 151, 201, 0.08), transparent 60%);
    pointer-events: none;
}

.aries-bg-soft>.container {
    position: relative;
    z-index: 1;
}

/* Clean white band */
.aries-bg-white {
    background-color: #ffffff;
}

/* Accent band - high impact strip */
.aries-bg-accent {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--aries-accent-deep) 0%, var(--aries-accent-dark) 45%, var(--aries-accent) 100%);
}

.aries-bg-accent:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px circle at 85% 20%, rgba(255, 255, 255, 0.14), transparent 60%),
        radial-gradient(500px circle at 10% 90%, rgba(255, 255, 255, 0.10), transparent 60%);
    pointer-events: none;
}

.aries-bg-accent>.container {
    position: relative;
    z-index: 1;
}

.aries-bg-accent .section-title .section-sub-title,
.aries-bg-accent .section-title h2,
.aries-bg-accent .section-title h3,
.aries-bg-accent .section-title p,
.aries-bg-accent p,
.aries-bg-accent h2,
.aries-bg-accent h3 {
    color: #ffffff;
}

.aries-bg-accent .section-title .section-sub-title:before {
    filter: brightness(0) invert(1);
}

/* Dark band with an accent glow */
.dark-section.aries-dark-plus {
    position: relative;
}

.dark-section.aries-dark-plus:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(760px circle at 78% 8%, rgba(0, 151, 201, 0.18), transparent 62%);
    pointer-events: none;
    border-radius: inherit;
}

.dark-section.aries-dark-plus>.container,
.dark-section.aries-dark-plus>.container-fluid {
    position: relative;
    z-index: 1;
}

/* Padding helpers */
.aries-section {
    padding: 110px 0;
}

.aries-section-sm {
    padding: 80px 0;
}

@media only screen and (max-width: 991px) {
    .aries-section {
        padding: 80px 0;
    }

    .aries-section-sm {
        padding: 60px 0;
    }
}

/**************************************************/
/***              2. Icon treatment             ***/
/**************************************************/

/* Font Awesome marks inside the theme icon boxes */
.icon-box i {
    font-size: 24px;
    line-height: 1;
    color: var(--aries-accent);
    transition: var(--aries-transition);
}

.service-item .icon-box i,
.feature-item .icon-box i {
    font-size: 28px;
}

/* Square accent tile used by cards */
.aries-icon-tile {
    position: relative;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 16px;
    color: var(--aries-accent);
    background: linear-gradient(140deg, var(--aries-accent-tint) 0%, var(--aries-accent-tint-2) 100%);
    border: 1px solid rgba(0, 151, 201, 0.16);
    transition: var(--aries-transition);
}

.aries-icon-tile:after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(140deg, var(--aries-accent) 0%, var(--aries-accent-dark) 100%);
    opacity: 0;
    transition: var(--aries-transition);
}

.aries-icon-tile i {
    position: relative;
    z-index: 1;
    font-size: 25px;
    line-height: 1;
    transition: var(--aries-transition);
}

.dark-section .aries-icon-tile {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--aries-line-dark);
    color: #ffffff;
}

/**************************************************/
/***                 3. Cards                   ***/
/**************************************************/

.aries-card {
    position: relative;
    height: 100%;
    padding: 38px 32px;
    border-radius: var(--aries-radius);
    background-color: #ffffff;
    border: 1px solid var(--aries-line);
    overflow: hidden;
    transition: var(--aries-transition);
}

.aries-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--aries-accent) 0%, var(--aries-accent-deep) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.aries-card h3 {
    font-size: 22px;
    line-height: 1.3em;
    margin-bottom: 12px;
}

.aries-card h3 a {
    color: inherit;
    transition: var(--aries-transition);
}

.aries-card p {
    color: var(--aries-ink-soft);
    margin-bottom: 0;
}

.aries-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 151, 201, 0.35);
    box-shadow: var(--aries-shadow-hover);
}

.aries-card:hover:before {
    transform: scaleX(1);
}

.aries-card:hover h3 a {
    color: var(--aries-accent);
}

.aries-card:hover .aries-icon-tile:after {
    opacity: 1;
}

.aries-card:hover .aries-icon-tile {
    color: #ffffff;
    border-color: transparent;
    transform: rotate(-6deg);
}

/* Dark variant */
.dark-section .aries-card {
    background-color: rgba(255, 255, 255, 0.045);
    border-color: var(--aries-line-dark);
}

.dark-section .aries-card h3 {
    color: #ffffff;
}

.dark-section .aries-card p {
    color: rgba(255, 255, 255, 0.72);
}

.dark-section .aries-card:hover {
    background-color: rgba(255, 255, 255, 0.075);
    border-color: rgba(0, 151, 201, 0.5);
    box-shadow: none;
}

/* Accent-band variant */
.aries-bg-accent .aries-card {
    background-color: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.22);
}

.aries-bg-accent .aries-card p {
    color: rgba(255, 255, 255, 0.85);
}

.aries-bg-accent .aries-icon-tile {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

/* Compact card for long grids */
.aries-card.aries-card-compact {
    padding: 30px 26px;
}

.aries-card.aries-card-compact h3 {
    font-size: 19px;
}

.aries-card.aries-card-compact p {
    font-size: 15px;
    line-height: 1.6em;
}

/**************************************************/
/***              5. Industry tiles             ***/
/**************************************************/

.aries-industry-item {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border-radius: var(--aries-radius-sm);
    background-color: #ffffff;
    border: 1px solid var(--aries-line);
    transition: var(--aries-transition);
}

.aries-industry-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 18px;
    color: var(--aries-accent);
    background: var(--aries-accent-tint);
    transition: var(--aries-transition);
}

.aries-industry-item h3 {
    font-size: 17px;
    line-height: 1.35em;
    margin: 0;
    transition: var(--aries-transition);
}

.aries-industry-item:hover {
    transform: translateY(-6px);
    background: linear-gradient(135deg, var(--aries-accent) 0%, var(--aries-accent-dark) 100%);
    border-color: transparent;
    box-shadow: 0 18px 38px rgba(0, 151, 201, 0.25);
}

.aries-industry-item:hover .aries-industry-icon {
    color: var(--aries-accent);
    background: #ffffff;
    transform: rotate(-8deg);
}

.aries-industry-item:hover h3 {
    color: #ffffff;
}

.dark-section .aries-industry-item {
    background-color: rgba(255, 255, 255, 0.045);
    border-color: var(--aries-line-dark);
}

.dark-section .aries-industry-item h3 {
    color: #ffffff;
}

.dark-section .aries-industry-item .aries-industry-icon {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/**************************************************/
/***           6. Technology components         ***/
/**************************************************/

/* Grouped badge card */
.aries-tech-group {
    height: 100%;
    padding: 34px 30px;
    border-radius: var(--aries-radius);
    background-color: #ffffff;
    border: 1px solid var(--aries-line);
    transition: var(--aries-transition);
}

.aries-tech-group:hover {
    transform: translateY(-8px);
    box-shadow: var(--aries-shadow);
    border-color: rgba(0, 151, 201, 0.3);
}

.aries-tech-group h3 {
    position: relative;
    font-size: 19px;
    padding-bottom: 16px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--aries-line);
}

.aries-tech-group h3:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 46px;
    height: 2px;
    background: var(--aries-accent);
}

.aries-tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.aries-tech-badges li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 30px;
    font-size: 14.5px;
    color: var(--aries-ink);
    background-color: #f4f7f9;
    border: 1px solid var(--aries-line);
    transition: var(--aries-transition);
}

.aries-tech-badges li i {
    font-size: 15px;
    color: var(--tech-color, var(--aries-accent));
    transition: var(--aries-transition);
}

.aries-tech-badges li:hover {
    color: #ffffff;
    background-color: var(--aries-accent);
    border-color: var(--aries-accent);
    transform: translateY(-3px);
}

.aries-tech-badges li:hover i {
    color: #ffffff;
}

.dark-section .aries-tech-group {
    background-color: rgba(255, 255, 255, 0.045);
    border-color: var(--aries-line-dark);
}

.dark-section .aries-tech-group h3 {
    color: #ffffff;
    border-bottom-color: var(--aries-line-dark);
}

.dark-section .aries-tech-badges li {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.07);
    border-color: var(--aries-line-dark);
}

/* Brand logo tile */
.aries-tech-tile {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 20px;
    border-radius: var(--aries-radius-sm);
    background-color: #ffffff;
    border: 1px solid var(--aries-line);
    transition: var(--aries-transition);
}

.aries-tech-logo {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 24px;
    color: var(--tech-color, var(--aries-accent));
    background: rgba(0, 151, 201, 0.08);
    border: 1px solid rgba(0, 151, 201, 0.16);
    transition: var(--aries-transition);
}

.aries-tech-tile h3 {
    font-size: 17px;
    margin: 0 0 3px;
}

.aries-tech-tile p {
    font-size: 13.5px;
    color: var(--aries-ink-soft);
    margin: 0;
}

.aries-tech-tile:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 151, 201, 0.3);
    box-shadow: var(--aries-shadow);
}

.aries-tech-tile:hover .aries-tech-logo,
.aries-tech-detail:hover .aries-tech-logo {
    color: #ffffff;
    background: var(--tech-color, var(--aries-accent));
    border-color: var(--tech-color, var(--aries-accent));
    transform: rotate(-6deg);
}

.dark-section .aries-tech-tile {
    background-color: rgba(255, 255, 255, 0.045);
    border-color: var(--aries-line-dark);
}

.dark-section .aries-tech-tile h3 {
    color: #ffffff;
}

.dark-section .aries-tech-tile p {
    color: rgba(255, 255, 255, 0.65);
}

.dark-section .aries-tech-logo {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--aries-line-dark);
}

/* Large technology detail card (technologies page) */
.aries-tech-detail {
    position: relative;
    height: 100%;
    padding: 36px 32px;
    border-radius: var(--aries-radius);
    background-color: #ffffff;
    border: 1px solid var(--aries-line);
    overflow: hidden;
    transition: var(--aries-transition);
}

.aries-tech-detail:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--tech-color, var(--aries-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.aries-tech-detail:hover:before {
    transform: scaleX(1);
}

.aries-tech-detail .aries-tech-logo {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    margin-bottom: 22px;
    border-radius: 16px;
    font-size: 28px;
}

.aries-tech-detail h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.aries-tech-detail p {
    color: var(--aries-ink-soft);
    margin-bottom: 0;
}

.aries-tech-detail:hover {
    transform: translateY(-10px);
    box-shadow: var(--aries-shadow-hover);
    border-color: rgba(0, 151, 201, 0.3);
}

.dark-section .aries-tech-detail {
    background-color: rgba(255, 255, 255, 0.045);
    border-color: var(--aries-line-dark);
}

.dark-section .aries-tech-detail h3 {
    color: #ffffff;
}

.dark-section .aries-tech-detail p {
    color: rgba(255, 255, 255, 0.72);
}

/**************************************************/
/***               7. Check lists               ***/
/**************************************************/

.aries-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
}

.aries-check-list li {
    position: relative;
    width: calc(50% - 12px);
    padding: 14px 18px 14px 50px;
    border-radius: var(--aries-radius-sm);
    background-color: #ffffff;
    border: 1px solid var(--aries-line);
    font-size: 15.5px;
    line-height: 1.55em;
    color: var(--aries-ink);
    transition: var(--aries-transition);
}

.aries-check-list li:before {
    content: "\f00c";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    font-size: 10px;
    position: absolute;
    top: 15px;
    left: 18px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(140deg, var(--aries-accent) 0%, var(--aries-accent-deep) 100%);
    transition: var(--aries-transition);
}

.aries-check-list li:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 151, 201, 0.35);
    box-shadow: 0 12px 26px rgba(9, 45, 60, 0.08);
}

.aries-check-list li:hover:before {
    transform: rotate(360deg);
}

.aries-check-list.aries-check-list-full li {
    width: 100%;
}

.aries-check-list.aries-check-list-plain li {
    padding: 0 0 0 32px;
    background: none;
    border: none;
    border-radius: 0;
}

.aries-check-list.aries-check-list-plain li:before {
    top: 1px;
    left: 0;
}

.aries-check-list.aries-check-list-plain li:hover {
    transform: none;
    box-shadow: none;
}

.dark-section .aries-check-list li {
    color: rgba(255, 255, 255, 0.85);
    background-color: rgba(255, 255, 255, 0.045);
    border-color: var(--aries-line-dark);
}

.dark-section .aries-check-list li:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 151, 201, 0.5);
    box-shadow: none;
}

.aries-bg-accent .aries-check-list li {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
}

.aries-bg-accent .aries-check-list li:before {
    background: #ffffff;
    color: var(--aries-accent);
}

@media only screen and (max-width: 767px) {
    .aries-check-list li {
        width: 100%;
    }
}

/**************************************************/
/***           8. Engagement models             ***/
/**************************************************/

.aries-engagement-item {
    position: relative;
    height: 100%;
    padding: 42px 34px;
    border-radius: var(--aries-radius);
    background-color: #ffffff;
    border: 1px solid var(--aries-line);
    overflow: hidden;
    transition: var(--aries-transition);
}

.aries-engagement-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--aries-accent) 0%, var(--aries-accent-deep) 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.aries-engagement-item:after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background-color: var(--aries-accent);
    opacity: 0.06;
    transition: var(--aries-transition);
}

.aries-engagement-item:hover:before {
    transform: scaleY(1);
}

.aries-engagement-item:hover:after {
    transform: scale(1.6);
}

.aries-engagement-item span {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 16px;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--aries-accent);
}

.aries-engagement-item h3 {
    position: relative;
    z-index: 1;
    font-size: 24px;
    margin-bottom: 12px;
}

.aries-engagement-item p {
    position: relative;
    z-index: 1;
    color: var(--aries-ink-soft);
    margin-bottom: 0;
}

.aries-engagement-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--aries-shadow-hover);
    border-color: rgba(0, 151, 201, 0.3);
}

.dark-section .aries-engagement-item {
    background-color: rgba(255, 255, 255, 0.045);
    border-color: var(--aries-line-dark);
}

.dark-section .aries-engagement-item h3 {
    color: #ffffff;
}

.dark-section .aries-engagement-item p {
    color: rgba(255, 255, 255, 0.72);
}

/**************************************************/
/***          10. Positioning marquee           ***/
/**************************************************/

.aries-marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: 20px 0;
}

.aries-marquee-track {
    display: inline-flex;
    gap: 46px;
    align-items: center;
    animation: ariesMarquee 34s linear infinite;
}

.aries-marquee:hover .aries-marquee-track {
    animation-play-state: paused;
}

.aries-marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 20px;
    color: var(--aries-ink);
    opacity: 0.75;
    transition: var(--aries-transition);
}

.aries-marquee-track span:after {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--aries-accent);
}

.aries-marquee-track span:hover {
    opacity: 1;
    color: var(--aries-accent);
}

@keyframes ariesMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.dark-section .aries-marquee-track span,
.aries-bg-accent .aries-marquee-track span {
    color: #ffffff;
    opacity: 0.85;
}

.aries-bg-accent .aries-marquee-track span:after {
    background-color: #ffffff;
}

/**************************************************/
/***              11. Buttons & nav             ***/
/**************************************************/

/* Ghost button for dark / accent backgrounds */
.btn-default.btn-outline-light {
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-default.btn-outline-light::after {
    background: #ffffff;
}

.btn-default.btn-outline-light:hover {
    color: var(--aries-ink);
    border-color: #ffffff;
}

.btn-default.btn-outline-light:hover::before {
    filter: brightness(0) invert(0);
}

/* Active navigation link */
.main-header .navbar-nav .nav-link.active-link {
    color: var(--aries-accent);
}

/* "Coming Soon" pill on menu items (dropdown and mobile menu both sit on the brand blue) */
.aries-nav-soon {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
    color: var(--accent-color);
    background: #ffffff;
}

/* Mobile menu sits on the brand blue, so the current page is marked with a darker band instead */
.slicknav_nav a.active-link {
    color: #ffffff;
    background: rgba(4, 22, 30, 0.28);
    border-radius: 8px;
}

/**************************************************/
/***           12. Page header banner           ***/
/**************************************************/

.page-header .page-header-box .page-header-tagline {
    width: 100%;
    max-width: 760px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6em;
}

/**************************************************/
/***           13. Content typography           ***/
/**************************************************/

.aries-content-block h2 {
    font-size: 38px;
    line-height: 1.2em;
    margin-bottom: 20px;
}

.aries-content-block h3 {
    font-size: 25px;
    margin-bottom: 14px;
}

.aries-content-block p:last-child {
    margin-bottom: 0;
}

.aries-content-block+.aries-content-block {
    margin-top: 56px;
}

.aries-lead {
    font-size: 18px;
    line-height: 1.75em;
    color: var(--aries-ink);
}

.dark-section .aries-lead {
    color: #ffffff;
}

/* Accent rule under a heading */
.aries-heading-accent {
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 22px;
}

.aries-heading-accent:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--aries-accent) 0%, var(--aries-accent-deep) 100%);
}

.section-title-center .aries-heading-accent:after {
    left: 50%;
    transform: translateX(-50%);
}

@media only screen and (max-width: 767px) {
    .aries-content-block h2 {
        font-size: 28px;
    }
}

/**************************************************/
/***          14. Service page specifics        ***/
/**************************************************/

@media only screen and (min-width: 992px) {
    .aries-sticky-sidebar {
        position: sticky;
        top: 120px;
    }
}

.page-category-list ul li a.active {
    color: var(--aries-accent);
}

.service-hero-btn {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 44px;
}

.service-entry>h2,
.service-entry .aries-content-block>h2 {
    font-size: 34px;
    margin-bottom: 20px;
}

.service-entry .aries-card h3 {
    font-size: 20px;
}

@media only screen and (max-width: 767px) {

    .service-entry>h2,
    .service-entry .aries-content-block>h2 {
        font-size: 26px;
    }

    .service-hero-btn .btn-default {
        width: 100%;
        text-align: center;
    }
}

/**************************************************/
/***              15. Hero buttons              ***/
/**************************************************/

.hero-contant .hero-btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

@media only screen and (max-width: 575px) {
    .hero-contant .hero-btn .btn-default {
        width: 100%;
        text-align: center;
    }
}

.error-page-content-body .btn-default+.btn-default {
    margin-left: 12px;
}

/**************************************************/
/***         16. Motion & micro-details         ***/
/**************************************************/

@keyframes ariesFloat {

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

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

.aries-float {
    animation: ariesFloat 5s ease-in-out infinite;
}

@keyframes ariesPulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 151, 201, 0.35);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(0, 151, 201, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 151, 201, 0);
    }
}

.aries-pulse {
    animation: ariesPulseRing 2.5s infinite;
}

@media (prefers-reduced-motion: reduce) {

    .aries-marquee-track,
    .aries-float,
    .aries-pulse {
        animation: none;
    }
}

/**************************************************/
/***            17. Legal / policy              ***/
/**************************************************/

.aries-legal-content h2 {
    position: relative;
    font-size: 28px;
    padding-left: 18px;
    margin: 44px 0 16px;
}

.aries-legal-content h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--aries-accent) 0%, var(--aries-accent-deep) 100%);
}

.aries-legal-content h2:first-child {
    margin-top: 0;
}

.aries-legal-content ul {
    padding-left: 20px;
    margin-bottom: 24px;
}

.aries-legal-content ul li {
    line-height: 1.75em;
    margin-bottom: 10px;
    list-style: disc;
}

/**************************************************/
/***    18. Font Awesome inside theme icon boxes ***/
/**************************************************/

/* Accent-filled circles used by the base theme */
.service-item-header .icon-box i,
.about-us-body-item .icon-box i,
.contact-info-item .icon-box i,
.contact-box-header-item .icon-box i,
.sidebar-cta-box .icon-box i,
.feature-item .icon-box i {
    position: relative;
    z-index: 1;
    font-size: 20px;
    line-height: 1;
    color: #ffffff;
}

.service-item:hover .service-item-header .icon-box i {
    color: var(--aries-ink);
}

/* Industry tiles on the accent band */
.aries-bg-accent .aries-industry-item {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
}

.aries-bg-accent .aries-industry-item h3 {
    color: #ffffff;
}

.aries-bg-accent .aries-industry-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.aries-bg-accent .aries-industry-item:hover {
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 18px 38px rgba(4, 40, 55, 0.25);
}

.aries-bg-accent .aries-industry-item:hover h3 {
    color: var(--aries-ink);
}

.aries-bg-accent .aries-industry-item:hover .aries-industry-icon {
    background: var(--aries-accent-tint);
    color: var(--aries-accent);
}

/* Buttons on the accent band */
.aries-bg-accent .btn-default {
    background: #ffffff;
    color: var(--aries-ink);
}

.aries-bg-accent .btn-default::before {
    filter: brightness(0) invert(0);
}

.aries-bg-accent .btn-default::after {
    background: var(--aries-ink);
}

.aries-bg-accent .btn-default:hover {
    color: #ffffff;
}

.aries-bg-accent .btn-default:hover::before {
    filter: brightness(0) invert(1);
}

/**************************************************/
/***      20. Custom section head system        ***/
/**************************************************/

/* Eyebrow becomes a pill chip instead of the theme dash + text */
.section-title .section-sub-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 13.5px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--aries-accent);
    background: var(--aries-accent-tint);
    border: 1px solid rgba(0, 151, 201, 0.18);
    margin-bottom: 22px;
}

.section-title .section-sub-title::before {
    position: static;
    transform: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--aries-accent);
    background-image: none;
    filter: none;
}

.dark-section .section-title .section-sub-title {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--aries-line-dark);
}

.dark-section .section-title .section-sub-title::before {
    background: var(--aries-accent);
}

.aries-bg-accent .section-title .section-sub-title {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
}

.aries-bg-accent .section-title .section-sub-title::before {
    background: #ffffff;
}

/* Fluid type scale so headings never clip on any viewport */
.section-title h1 {
    font-size: clamp(36px, 5vw, 72px);
    line-height: 1.08em;
}

.section-title h2 {
    font-size: clamp(28px, 3.3vw, 46px);
    line-height: 1.18em;
}

.section-title p {
    font-size: 16.5px;
    line-height: 1.7em;
}

.section-row .section-title.section-title-center p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/**************************************************/
/***               21. Hero polish              ***/
/**************************************************/

.hero {
    padding: 220px 0 120px;
}

.hero-contant {
    max-width: 1020px;
}

.hero-contant .section-title h1 {
    font-size: clamp(34px, 4.6vw, 66px);
}

.hero-contant .section-title p {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.hero-contant .typed-title,
.hero-contant .typed-cursor {
    color: var(--aries-accent);
}

/* Quick service chips under the hero buttons */
.aries-hero-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 42px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.aries-hero-chips span {
    font-size: 13px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-right: 6px;
    align-self: center;
}

.aries-hero-chips a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: var(--aries-transition);
}

.aries-hero-chips a i {
    font-size: 13px;
    color: var(--aries-accent);
    transition: var(--aries-transition);
}

.aries-hero-chips a:hover {
    color: #ffffff;
    background: var(--aries-accent);
    border-color: var(--aries-accent);
    transform: translateY(-3px);
}

.aries-hero-chips a:hover i {
    color: #ffffff;
}

/**************************************************/
/***            22. Marquee refinement          ***/
/**************************************************/

.aries-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

/**************************************************/
/***           23. Media frames & images        ***/
/**************************************************/

.about-us-image figure,
.about-us-image-box figure,
.page-single-image figure {
    border-radius: 20px;
    overflow: hidden;
}

.about-us-image-box {
    position: relative;
}

.about-us-image-box:after {
    content: "";
    position: absolute;
    right: -16px;
    bottom: -16px;
    width: 160px;
    height: 160px;
    border-radius: 20px;
    border: 2px solid rgba(0, 151, 201, 0.35);
    pointer-events: none;
}

.dark-section .about-us-image-box:after {
    border-color: rgba(255, 255, 255, 0.2);
}

@media only screen and (max-width: 991px) {
    .about-us-image-box:after {
        display: none;
    }
}

/**************************************************/
/***          24. Forms (light and dark)        ***/
/**************************************************/

.contact-form .form-control {
    border-radius: 12px;
    padding: 16px 18px;
    transition: var(--aries-transition);
}

.contact-form .form-control:focus {
    border-color: var(--aries-accent);
    box-shadow: 0 0 0 4px rgba(0, 151, 201, 0.15);
}

.contact-form label {
    font-size: 14.5px;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
}

.contact-form select.form-control option {
    color: var(--aries-ink);
    background: #ffffff;
}

/**************************************************/
/***        25. Service sidebar and CTA card    ***/
/**************************************************/

.page-category-list {
    border-radius: var(--aries-radius);
    border: 1px solid var(--aries-line);
}

.page-category-list ul li a {
    transition: var(--aries-transition);
}

.page-category-list ul li a:hover {
    color: var(--aries-accent);
    padding-left: 4px;
}

.sidebar-cta-box {
    border-radius: var(--aries-radius);
    overflow: hidden;
}

/**************************************************/
/***            26. Page header banner          ***/
/**************************************************/

.page-header {
    position: relative;
}

.page-header:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 74, 99, 0.35) 0%, rgba(22, 22, 22, 0.55) 100%);
    pointer-events: none;
    z-index: 0;
}

.page-header>.container {
    position: relative;
    z-index: 1;
}

.page-header .page-header-box h1 {
    font-size: clamp(34px, 4.4vw, 62px);
    line-height: 1.12em;
}

.page-header .breadcrumb {
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
}

/**************************************************/
/***            28. Card action link            ***/
/**************************************************/

.aries-card-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    font-size: 14.5px;
    letter-spacing: 0.3px;
    color: var(--aries-accent);
    transition: var(--aries-transition);
}

.aries-card-link i {
    font-size: 12px;
    transition: var(--aries-transition);
}

.aries-card:hover .aries-card-link {
    gap: 14px;
}

.aries-card-link:hover {
    color: var(--aries-accent-dark);
}

.dark-section .aries-card-link {
    color: #ffffff;
}

.dark-section .aries-card-link i {
    color: var(--aries-accent);
}

/**************************************************/
/***      29. Balanced media / split layouts    ***/
/**************************************************/

.about-us .about-us-image img,
.our-approach .about-us-image img,
.our-technology .about-us-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 20px;
}

@media only screen and (max-width: 1199px) {

    .about-us .about-us-image img,
    .our-approach .about-us-image img,
    .our-technology .about-us-image img {
        height: 420px;
    }
}

@media only screen and (max-width: 767px) {

    .about-us .about-us-image img,
    .our-approach .about-us-image img,
    .our-technology .about-us-image img {
        height: 300px;
    }
}

/**************************************************/
/***   31. Breadcrumb fix (theme ships a broken ***/
/***       Bootstrap divider string)            ***/
/**************************************************/

.breadcrumb {
    --bs-breadcrumb-divider: "\f105";
}

.page-header-box ol .breadcrumb-item+.breadcrumb-item::before {
    float: none;
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    font-size: 12px;
    line-height: 1;
    content: "\f105";
    color: rgba(255, 255, 255, 0.55);
    padding-right: 10px;
}

.page-header-box ol.breadcrumb {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Flex items so the chevron sits on the text's centre line (Bootstrap floats it to the top) */
.page-header-box ol li.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    font-size: 14.5px;
}

.page-header-box ol li.breadcrumb-item a:hover {
    color: var(--aries-accent);
}

/**************************************************/
/***      32. Services grid card (page-services)***/
/**************************************************/

.page-services .service-item {
    min-height: 0;
    padding: 36px 32px;
    border-radius: var(--aries-radius);
    border: 1px solid var(--aries-line);
    box-shadow: 0 6px 18px rgba(9, 45, 60, 0.04);
    transition: var(--aries-transition);
}

.page-services .service-item:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 151, 201, 0.35);
    box-shadow: var(--aries-shadow-hover);
}

.page-services .service-item .service-item-content h2 {
    font-size: 22px;
    line-height: 1.3em;
}

.page-services .service-item .service-item-content h2 a {
    transition: var(--aries-transition);
}

.page-services .service-item:hover .service-item-content h2 a {
    color: var(--aries-accent);
}

.page-services .service-item .service-item-btn {
    padding-top: 24px;
}

.page-services .service-item .service-item-btn .readmore-btn {
    transition: var(--aries-transition);
}

.page-services .service-item:hover .service-item-btn .readmore-btn {
    color: var(--aries-accent);
}

/**************************************************/
/***        33. Service sidebar refinement      ***/
/**************************************************/

.page-category-list .page-category-list-title {
    font-size: 19px;
    padding: 20px 30px;
    background: linear-gradient(120deg, var(--aries-accent-deep) 0%, var(--aries-accent) 100%);
}

.page-category-list ul {
    padding: 26px 30px;
}

.page-category-list ul li {
    padding-bottom: 18px;
    margin-bottom: 18px;
}

.page-category-list ul li a {
    font-size: 15.5px;
}

.sidebar-cta-box .sidebar-cta-box-content h2 {
    font-size: 24px;
}

.sidebar-cta-box .sidebar-cta-box-content p {
    font-size: 15.5px;
    line-height: 1.65em;
}

/* Offset accent frame sits behind the photo corner */
.about-us-image {
    position: relative;
    z-index: 1;
}

.about-us-image-box:after {
    right: -22px;
    bottom: -22px;
    z-index: 0;
}

/**************************************************/
/***          34. Contact panel notes           ***/
/**************************************************/

.aries-contact-notes {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.aries-contact-notes li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5em;
    color: rgba(255, 255, 255, 0.78);
}

.aries-contact-notes li i {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    color: var(--aries-accent);
    background: rgba(255, 255, 255, 0.08);
}

/**************************************************/
/***     35. Balanced media rows & alignment    ***/
/**************************************************/

/* Desktop: the photo fills the full height of the copy column, so the two
   columns always end together (no empty block under the image) */
@media only screen and (min-width: 1200px) {
    .aries-media-row .about-us-image-box {
        height: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .aries-media-row .about-us-image {
        position: relative;
        flex: 1 1 auto;
        min-height: 460px;
    }

    .aries-media-row .about-us-image figure {
        position: absolute;
        inset: 0;
    }

    .aries-media-row .about-us-image img {
        height: 100%;
    }
}

/* Stacked columns: one consistent gap, whichever column (image or copy) comes first */
@media only screen and (max-width: 1199px) {
    .aries-media-row {
        row-gap: 40px;
    }

    .aries-media-row .about-us-image-box,
    .aries-media-row .aries-restro-logo {
        height: auto;
        margin-bottom: 0;
    }

    .aries-media-row .about-us-image img {
        height: 440px;
    }
}

@media only screen and (max-width: 991px) {
    .aries-media-row .about-us-image img {
        height: 380px;
    }
}

@media only screen and (max-width: 767px) {
    .aries-media-row .about-us-image img {
        height: 280px;
    }
}

/* Centred section buttons (theme aligns them right by default) */
.text-center .section-btn,
.aries-btn-center .section-btn {
    text-align: center;
}

/**************************************************/
/***        36. Error page & secondary btn      ***/
/**************************************************/

.error-page {
    padding: 230px 0 120px;
}

.error-page-image {
    max-width: 640px;
    margin: 0 auto 10px;
}

.error-page-content-body {
    margin-top: 10px;
}

.error-page-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 26px;
}

.error-page-content-body p {
    max-width: 620px;
    margin: 0 auto;
}

.error-page-content-body .btn-default+.btn-default {
    margin-left: 0;
}

/* Secondary button for light backgrounds */
.btn-default.btn-outline-dark {
    color: var(--aries-ink);
    background: transparent;
    border: 1px solid rgba(22, 22, 22, 0.18);
}

.btn-default.btn-outline-dark::before {
    filter: brightness(0) invert(0);
}

.btn-default.btn-outline-dark::after {
    background: var(--aries-accent);
}

.btn-default.btn-outline-dark:hover {
    color: #ffffff;
    border-color: var(--aries-accent);
}

.btn-default.btn-outline-dark:hover::before {
    filter: brightness(0) invert(1);
}

@media only screen and (max-width: 767px) {
    .error-page {
        padding: 170px 0 80px;
    }
}

/**************************************************/
/***       37. Legal list marker cleanup        ***/
/**************************************************/

.aries-legal-content ul li {
    list-style: none;
}

/**************************************************/
/***     38. Typography pairing (body text)     ***/
/**************************************************/

/* Cal Sans is a display face: keep it for headings, nav, buttons and
   eyebrows, and set running text in Inter for comfortable reading. */
:root {
    --aries-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --aries-body-color: #56606b;
}

p,
.form-control,
.aries-check-list li,
.about-us-info-list ul li,
.aries-legal-content ul li,
.aries-contact-notes li,
.sidebar-cta-box-content ul li {
    font-family: var(--aries-font-body);
}

p {
    line-height: 1.7em;
    color: var(--aries-body-color);
}

.form-control::placeholder {
    font-family: var(--aries-font-body);
}

.aries-check-list li,
.about-us-info-list ul li {
    font-weight: 500;
}

/* Softer body copy on dark bands (was pure white at display weight) */
.dark-section p,
.dark-section .section-title p {
    color: rgba(255, 255, 255, 0.76);
}

.hero-contant .section-title p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

.aries-bg-accent p {
    color: rgba(255, 255, 255, 0.88);
}

/**************************************************/
/***        39. Card rhythm & alignment         ***/
/**************************************************/

/* Card links sit on a shared baseline regardless of copy length */
.aries-card {
    display: flex;
    flex-direction: column;
}

.aries-card .aries-card-link {
    margin-top: auto;
    padding-top: 20px;
    align-self: flex-start;
}

/* About intro: the checklist gets the full column instead of half */
.about-info-content-box {
    width: 100%;
}

/* Decorative offset frame read as a stray line under the photo */
.about-us-image-box:after {
    display: none;
}

/**************************************************/
/***     40. Slim strips & shorter page banner  ***/
/**************************************************/

.aries-strip {
    padding: 26px 0;
}

.aries-strip .aries-marquee {
    padding: 8px 0;
}

@media only screen and (min-width: 992px) {
    .page-header {
        padding: 240px 0 110px;
    }
}

/**************************************************/
/***         42. Core values (editorial list)   ***/
/**************************************************/

.aries-value-item {
    position: relative;
    height: calc(100% - 8px);
    margin-bottom: 8px;
    padding: 32px 0 36px;
    border-top: 1px solid var(--aries-line);
}

.aries-value-item:before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--aries-accent);
    transition: width 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.aries-value-item:hover:before {
    width: 100%;
}

.aries-value-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.aries-value-no {
    font-size: 40px;
    line-height: 1;
    color: var(--aries-accent);
}

.aries-value-head i {
    font-size: 20px;
    color: var(--aries-ink-soft);
    opacity: 0.55;
    transition: var(--aries-transition);
}

.aries-value-item:hover .aries-value-head i {
    color: var(--aries-accent);
    opacity: 1;
}

.aries-value-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.aries-value-item p {
    margin: 0;
    max-width: 360px;
}

/**************************************************/
/***     45. Mobile density (phones <= 767px)   ***/
/**************************************************/

@media only screen and (max-width: 767px) {

    /* Generic cards breathe less on a narrow screen */
    .aries-card,
    .aries-tech-detail,
    .aries-engagement-item {
        padding: 28px 22px;
    }

    /* Service cards: icon beside the copy instead of above it */
    .aries-card.aries-card-compact,
    .service-entry .aries-card {
        display: grid;
        grid-template-columns: 50px 1fr;
        column-gap: 16px;
        align-content: start;
        padding: 22px 20px;
    }

    .aries-card-compact .aries-icon-tile,
    .service-entry .aries-card .aries-icon-tile {
        grid-row: 1 / span 3;
        width: 50px;
        height: 50px;
        margin: 0;
        border-radius: 14px;
    }

    .aries-card-compact .aries-icon-tile i,
    .service-entry .aries-card .aries-icon-tile i {
        font-size: 20px;
    }

    .aries-card-compact> :not(.aries-icon-tile),
    .service-entry .aries-card> :not(.aries-icon-tile) {
        grid-column: 2;
    }

    .aries-card.aries-card-compact h3,
    .service-entry .aries-card h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .aries-card-compact .aries-card-link {
        padding-top: 12px;
        margin-top: 0;
    }

    /* Two-up tiles: stack icon over label */
    .col-6>.aries-industry-item,
    .col-6>.aries-tech-tile {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }

    .col-6>.aries-industry-item h3,
    .col-6>.aries-tech-tile h3 {
        font-size: 15px;
    }

    .col-6>.aries-tech-tile .aries-tech-logo {
        flex: none;
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .aries-value-item {
        padding: 26px 0 28px;
    }

    .aries-value-no {
        font-size: 32px;
    }

    .hero-contant .section-title p {
        font-size: 16px;
    }
}

/* Enquiry form spam trap: off-screen for people, still present for bots */
.aries-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/**************************************************/
/***        46. About "at a glance" stats       ***/
/**************************************************/

.aries-about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: var(--aries-radius);
    background: linear-gradient(120deg, var(--aries-accent-deep) 0%, var(--aries-accent-dark) 55%, var(--aries-accent) 100%);
    overflow: hidden;
}

.aries-about-stats div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 20px;
}

.aries-about-stats div+div {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.aries-about-stats strong {
    font-weight: 400;
    font-size: 30px;
    line-height: 1;
    color: #ffffff;
}

.aries-about-stats span {
    font-family: var(--aries-font-body);
    font-size: 13.5px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

@media only screen and (max-width: 1199px) {
    .aries-about-stats {
        margin-top: 20px;
    }
}

@media only screen and (max-width: 575px) {
    .aries-about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .aries-about-stats div:nth-child(3) {
        border-left: none;
    }

    .aries-about-stats div:nth-child(n+3) {
        border-top: 1px solid rgba(255, 255, 255, 0.16);
    }

    .aries-about-stats strong {
        font-size: 26px;
    }
}

/**************************************************/
/***      47. Technology stack (grouped rows)   ***/
/**************************************************/

.aries-stack {
    margin-bottom: 10px;
    border-radius: var(--aries-radius);
    background-color: #ffffff;
    border: 1px solid var(--aries-line);
    box-shadow: 0 10px 30px rgba(9, 45, 60, 0.05);
}

.aries-stack-row {
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: center;
    gap: 30px;
    padding: 24px 32px;
    transition: var(--aries-transition);
}

.aries-stack-row+.aries-stack-row {
    border-top: 1px solid var(--aries-line);
}

.aries-stack-row:hover {
    background-color: #f7fbfd;
}

.aries-stack-label {
    display: flex;
    align-items: center;
    gap: 16px;
}

.aries-stack-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 19px;
    color: var(--aries-accent);
    background: var(--aries-accent-tint);
    transition: var(--aries-transition);
}

.aries-stack-row:hover .aries-stack-icon {
    color: #ffffff;
    background: var(--aries-accent);
}

.aries-stack-label h3 {
    font-size: 19px;
    margin: 0 0 4px;
}

.aries-stack-label p {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.aries-stack-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.aries-stack-items li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px 10px 12px;
    border-radius: 40px;
    font-size: 15.5px;
    color: var(--aries-ink);
    background-color: #ffffff;
    border: 1px solid var(--aries-line);
    transition: var(--aries-transition);
}

.aries-stack-items li i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 15px;
    color: var(--tech-color, var(--aries-accent));
    background: #f1f5f8;
    transition: var(--aries-transition);
}

.aries-stack-items li:hover {
    border-color: var(--tech-color, var(--aries-accent));
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(9, 45, 60, 0.08);
}

.aries-stack-items li:hover i {
    color: #ffffff;
    background: var(--tech-color, var(--aries-accent));
}

@media only screen and (max-width: 991px) {
    .aries-stack-row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 22px 22px;
    }
}

@media only screen and (max-width: 575px) {
    .aries-stack-items li {
        padding: 7px 14px 7px 8px;
        font-size: 14px;
        gap: 8px;
    }

    .aries-stack-items li i {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }
}

/**************************************************/
/***          48. Hero service shortcuts        ***/
/**************************************************/

.aries-hero-chips {
    gap: 12px;
    border-top-color: rgba(255, 255, 255, 0.16);
}

.aries-hero-chips span {
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 1.2px;
}

.aries-hero-chips a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.aries-hero-chips a i {
    color: #5cc8ec;
}

@media only screen and (max-width: 575px) {
    .aries-hero-chips span {
        width: 100%;
        text-align: center;
        margin: 0 0 4px;
    }
}

/**************************************************/
/***     49. Final CTA (split card, light band) ***/
/**************************************************/

/* Light band with a soft dotted texture, so it separates from the dark footer */
.aries-cta {
    position: relative;
    padding: 120px 0;
    background:
        radial-gradient(circle at 1px 1px, rgba(0, 151, 201, 0.14) 1px, transparent 0) 0 0 / 22px 22px,
        linear-gradient(180deg, #f4f9fc 0%, #e6f3f9 100%);
}

.aries-cta-card {
    display: grid;
    grid-template-columns: 5fr 7fr;
    border-radius: 28px;
    background-color: #ffffff;
    box-shadow: 0 40px 90px rgba(5, 74, 99, 0.18);
    overflow: hidden;
}

/* Brand panel */
.aries-cta-panel {
    position: relative;
    padding: 56px 48px;
    color: #ffffff;
    background: linear-gradient(150deg, var(--aries-accent-deep) 0%, var(--aries-accent-dark) 45%, var(--aries-accent) 100%);
    overflow: hidden;
}

.aries-cta-panel:before,
.aries-cta-panel:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

.aries-cta-panel:before {
    width: 420px;
    height: 420px;
    right: -210px;
    top: -170px;
    box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.03);
}

.aries-cta-panel:after {
    width: 260px;
    height: 260px;
    left: -130px;
    bottom: -130px;
    background: rgba(255, 255, 255, 0.04);
}

.aries-cta-panel>* {
    position: relative;
    z-index: 1;
}

.aries-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    margin-bottom: 22px;
    border-radius: 30px;
    font-size: 13px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.aries-cta-eyebrow:before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
}

.aries-cta-panel h2 {
    font-size: clamp(28px, 2.6vw, 40px);
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 18px;
}

.aries-cta-panel .aries-cta-lead {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

.aries-cta-contacts {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.aries-cta-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-family: var(--aries-font-body);
    font-size: 16px;
    line-height: 1.55;
    color: #ffffff;
}

.aries-cta-contact-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 16px;
    color: var(--aries-accent-deep);
    background: #ffffff;
}

.aries-cta-contacts small {
    display: block;
    font-size: 12.5px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2px;
}

.aries-cta-contacts a,
.aries-footer-contact a {
    color: #ffffff;
    transition: var(--aries-transition);
}

.aries-cta-contacts a:hover {
    color: #d4f1ff;
}

.aries-footer-contact a:hover {
    color: var(--aries-accent);
}

.aries-cta-promises {
    list-style: none;
    padding: 24px 0 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.aries-cta-promises li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--aries-font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* Form side */
.aries-cta-form {
    padding: 56px 52px 44px;
}

.aries-cta-form-head {
    margin-bottom: 30px;
}

.aries-cta-form-head h2 {
    font-size: 30px;
    color: var(--aries-ink);
    margin-bottom: 8px;
}

.aries-cta-form-head p {
    font-size: 15px;
    margin: 0;
}

.aries-cta-form label {
    color: var(--aries-ink);
}

.aries-cta-form .form-control {
    color: var(--aries-ink);
    background-color: #f5f8fa;
    border: 1px solid rgba(22, 22, 22, 0.1);
}

.aries-cta-form .form-control::placeholder {
    color: #8a949e;
}

.aries-cta-form .form-control:focus {
    background-color: #ffffff;
    border-color: var(--aries-accent);
}

.aries-cta-submit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
}

.aries-cta-submit span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--aries-font-body);
    font-size: 13.5px;
    color: #6b7580;
}

.aries-cta-submit span i {
    color: var(--aries-accent);
}

.aries-cta-form #msgSubmit {
    margin: 16px 0 0;
    font-size: 16px;
}

@media only screen and (max-width: 1199px) {
    .aries-cta-panel {
        padding: 48px 36px;
    }

    .aries-cta-form {
        padding: 48px 40px 36px;
    }
}

@media only screen and (max-width: 991px) {
    .aries-cta {
        padding: 70px 0;
    }

    .aries-cta-card {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 767px) {
    .aries-cta {
        padding: 50px 0;
    }

    .aries-cta-card {
        border-radius: 20px;
    }

    .aries-cta-panel {
        padding: 36px 24px;
    }

    .aries-cta-form {
        padding: 32px 22px 26px;
    }

    .aries-cta-form-head h2 {
        font-size: 24px;
    }

    .aries-cta-submit .btn-default {
        width: 100%;
        text-align: center;
    }
}

/**************************************************/
/***                 50. Footer                 ***/
/**************************************************/

.aries-footer {
    position: relative;
    margin-top: 0;
    margin-bottom: 15px;
    overflow: hidden;
}

.aries-footer:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(700px circle at 90% 0%, rgba(0, 151, 201, 0.16), transparent 60%);
    pointer-events: none;
}

.aries-footer>.container {
    position: relative;
    z-index: 1;
}

/* Contact strip */
.aries-footer-contact {
    display: grid;
    grid-template-columns: 0.95fr 1.1fr 1fr 1.35fr;
    border-bottom: 1px solid var(--aries-line-dark);
}

.aries-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 44px 24px 40px;
}

.aries-footer-contact-item:first-child {
    padding-left: 0;
}

.aries-footer-contact-item+.aries-footer-contact-item {
    border-left: 1px solid var(--aries-line-dark);
}

.aries-footer-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 17px;
    color: #ffffff;
    background: linear-gradient(140deg, var(--aries-accent) 0%, var(--aries-accent-deep) 100%);
}

.aries-footer-contact h3 {
    font-size: 14px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin: 4px 0 8px;
}

.dark-section .aries-footer-contact p {
    font-size: 15.5px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
}

/* Brand + link columns */
.aries-footer-main {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1.2fr;
    gap: 60px;
    padding: 60px 0 56px;
}

.aries-footer-logo img {
    width: 210px;
    margin-bottom: 24px;
}

.aries-footer-brand p {
    max-width: 380px;
    margin-bottom: 26px;
}

.aries-footer-social {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    gap: 10px;
}

.aries-footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--aries-transition);
}

.aries-footer-social a:hover {
    background: var(--aries-accent);
    border-color: var(--aries-accent);
    transform: translateY(-3px);
}

.aries-footer-links h2 {
    font-size: 19px;
    color: #ffffff;
    margin-bottom: 24px;
}

.aries-footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.aries-footer-links-wide ul {
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
}

.aries-footer-areas {
    grid-column: 1 / -1;
}

.aries-footer-areas ul {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    column-gap: 30px;
}

.aries-footer-links a {
    position: relative;
    display: inline-block;
    line-height: 1.45;
    font-family: var(--aries-font-body);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.72);
    transition: var(--aries-transition);
}

.aries-footer-links a:hover {
    color: #ffffff;
    padding-left: 14px;
}

.aries-footer-links a:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--aries-accent);
    transform: translateY(-50%) scale(0);
    transition: var(--aries-transition);
}

.aries-footer-links a:hover:before {
    transform: translateY(-50%) scale(1);
}

/* Bottom bar */
.aries-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 30px;
    padding: 26px 0;
    border-top: 1px solid var(--aries-line-dark);
}

.dark-section .aries-footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.aries-footer-bottom ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0 auto;
    display: flex;
    gap: 26px;
}

.aries-footer-bottom ul a {
    font-family: var(--aries-font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    transition: var(--aries-transition);
}

.aries-footer-bottom ul a:hover {
    color: #ffffff;
}

.aries-back-top {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--aries-line-dark);
    transition: var(--aries-transition);
}

.aries-back-top:hover {
    color: #ffffff;
    background: var(--aries-accent);
    border-color: var(--aries-accent);
    transform: translateY(-3px);
}

@media only screen and (max-width: 1199px) {
    .aries-footer-contact {
        grid-template-columns: repeat(2, 1fr);
    }

    .aries-footer-contact-item {
        padding: 28px 24px;
    }

    .aries-footer-contact-item:nth-child(3) {
        padding-left: 0;
        border-left: none;
    }

    .aries-footer-contact-item:nth-child(n+3) {
        border-top: 1px solid var(--aries-line-dark);
    }

    .aries-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 44px 40px;
    }

    .aries-footer-brand {
        grid-column: 1 / -1;
    }
}

@media only screen and (max-width: 991px) {
    .aries-footer {
        margin: 0;
        border-radius: 0;
    }
}

@media only screen and (max-width: 767px) {
    .aries-footer-contact {
        grid-template-columns: 1fr;
    }

    .aries-footer-contact-item,
    .aries-footer-contact-item:nth-child(3),
    .aries-footer-contact-item+.aries-footer-contact-item {
        padding: 22px 0;
        border-left: none;
    }

    .aries-footer-contact-item+.aries-footer-contact-item {
        border-top: 1px solid var(--aries-line-dark);
    }

    .aries-footer-main {
        grid-template-columns: 1fr;
        padding: 44px 0 40px;
    }

    .aries-footer-links-wide ul {
        grid-template-columns: 1fr;
    }

    .aries-footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .aries-footer-bottom ul {
        margin: 0;
    }

    .aries-back-top {
        display: none;
    }
}

/**************************************************/
/***              51. Map directions            ***/
/**************************************************/

.google-map-iframe {
    position: relative;
}

.aries-map-link {
    position: absolute;
    left: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 40px;
    font-size: 15px;
    color: #ffffff;
    background: var(--aries-accent);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
    transition: var(--aries-transition);
}

.aries-map-link:hover {
    color: #ffffff;
    background: var(--aries-accent-dark);
    transform: translateY(-3px);
}

/* Pages without a dark hero (e.g. 404): dark menu text until the sticky header turns dark */
.aries-page-plain .main-header .header-sticky:not(.active) .navbar-nav>li>.nav-link {
    color: var(--aries-ink);
}

.aries-page-plain .main-header .header-sticky:not(.active) .navbar-nav>li>.nav-link:hover {
    color: var(--aries-accent);
}

/**************************************************/
/***       52. Client reviews & client logos    ***/
/**************************************************/

/* Google source badge */
.aries-google-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 380px;
    margin-left: auto;
    padding: 18px 22px;
    border-radius: var(--aries-radius);
    background-color: #ffffff;
    border: 1px solid var(--aries-line);
    box-shadow: 0 10px 30px rgba(9, 45, 60, 0.06);
}

.aries-google-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    color: #ffffff;
    background: conic-gradient(from -45deg, #ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0);
}

.aries-google-badge strong {
    display: block;
    font-weight: 400;
    font-size: 18px;
    color: var(--aries-ink);
    margin-bottom: 4px;
}

.aries-google-badge a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--aries-font-body);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--aries-accent);
    transition: var(--aries-transition);
}

.aries-google-badge a i {
    font-size: 11px;
    transition: var(--aries-transition);
}

.aries-google-badge a:hover {
    color: var(--aries-accent-dark);
}

.aries-google-badge a:hover i {
    transform: translateX(4px);
}

/* Review cards: equal height inside the slider. The theme forces the slider to
   height:100%, which clips the pagination dots, so let it size to its content. */
.aries-review-slider,
.aries-review-slider .swiper,
.aries-review-slider .swiper .swiper-wrapper {
    height: auto;
}

.aries-review-slider .swiper-slide {
    height: auto;
}

.aries-review {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 34px 32px 30px;
    border-radius: var(--aries-radius);
    background-color: #ffffff;
    border: 1px solid var(--aries-line);
    transition: var(--aries-transition);
}

.aries-review:hover {
    border-color: rgba(0, 151, 201, 0.35);
    box-shadow: var(--aries-shadow);
}

.aries-review-quote {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 50%;
    font-size: 16px;
    color: var(--aries-accent);
    background: var(--aries-accent-tint);
}

.aries-review blockquote {
    flex: 1 1 auto;
    margin: 0 0 26px;
    padding: 0;
    border: none;
    font-family: var(--aries-font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--aries-ink-soft);
}

.aries-review figcaption {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid var(--aries-line);
}

.aries-review-avatar {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: linear-gradient(140deg, var(--aries-accent) 0%, var(--aries-accent-deep) 100%);
}

.aries-review figcaption strong {
    display: block;
    font-weight: 400;
    font-size: 17px;
    color: var(--aries-ink);
    margin-bottom: 3px;
}

.aries-review figcaption small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--aries-font-body);
    font-size: 13px;
    color: #6b7580;
}

.aries-review figcaption small i {
    color: #4285f4;
}

.aries-review-slider .aries-review-pagination {
    position: static;
    margin-top: 34px;
    text-align: center;
}

.aries-review-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    opacity: 1;
    background: var(--aries-accent-tint-2);
    transition: var(--aries-transition);
}

.aries-review-pagination .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 10px;
    background: var(--aries-accent);
}

/* Client logo strip: dark so white and gold marks read clearly */
.aries-clients {
    display: flex;
    align-items: center;
    gap: 30px 40px;
    margin-top: 60px;
    padding: 30px 40px;
    border-radius: var(--aries-radius);
    background: linear-gradient(120deg, #0b1216 0%, #0f2530 60%, #0a3a4d 100%);
}

.aries-clients p {
    flex: 0 0 auto;
    max-width: 170px;
    margin: 0;
    font-family: var(--default-font);
    font-size: 18px;
    line-height: 1.3;
    color: #ffffff;
}

.aries-clients ul {
    list-style: none;
    margin: 0;
    padding: 0 0 0 40px;
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    border-left: 1px solid var(--aries-line-dark);
}

.aries-clients li {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: var(--aries-radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--aries-transition);
}

.aries-clients li:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 151, 201, 0.5);
}

.aries-clients img {
    max-width: 100%;
    max-height: 78px;
    object-fit: contain;
}

@media only screen and (max-width: 991px) {
    .aries-google-badge {
        margin: 24px 0 0;
    }

    .aries-clients {
        flex-direction: column;
        align-items: stretch;
        padding: 26px 22px;
        margin-top: 44px;
    }

    .aries-clients p {
        max-width: none;
        text-align: center;
    }

    .aries-clients ul {
        padding: 0;
        border-left: none;
    }
}

@media only screen and (max-width: 575px) {
    .aries-review {
        padding: 28px 24px 24px;
    }

    .aries-clients ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .aries-clients li {
        height: 84px;
        padding: 12px 14px;
    }

    .aries-clients img {
        max-height: 54px;
    }
}

/**************************************************/
/***     53. SVG brand icons (missing glyphs)   ***/
/**************************************************/

/* Brand marks the bundled Font Awesome webfont does not render; drawn with a
   mask so they take the current text colour like the font icons do */
.aries-svg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.aries-svg-icon::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: var(--aries-svg) center / contain no-repeat;
    mask: var(--aries-svg) center / contain no-repeat;
}

.aries-svg-flutter {
    --aries-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14.314 0L2.3 12 6 15.7 21.684.013h-7.357zm.014 11.072L7.857 17.53l6.47 6.47H21.7l-6.46-6.468 6.46-6.46h-7.37z'/%3E%3C/svg%3E");
}

/**************************************************/
/***     54. Vertical rhythm (all breakpoints)  ***/
/**************************************************/

/* One spacing scale for every band: 120px desktop, 60px tablet and phone.
   Normalises theme sections that used half values next to a new colour. */
.page-services,
.page-contact-us,
.google-map {
    padding: 120px 0;
}

@media only screen and (max-width: 991px) {
    .hero {
        padding: 170px 0 80px;
    }

    .page-header {
        padding: 180px 0 80px;
    }

    .aries-cta,
    .page-services,
    .page-contact-us,
    .google-map {
        padding: 60px 0;
    }
}

@media only screen and (max-width: 767px) {
    .hero {
        padding: 150px 0 60px;
    }

    .page-header {
        padding: 150px 0 60px;
    }

    .aries-cta {
        padding: 60px 0;
    }
}

/**************************************************/
/***      55. Colour contrast (WCAG AA text)    ***/
/**************************************************/

/* The brand blue #0097c9 is 3.3:1 against white - fine for icons and accents,
   too low for normal-size text. Text uses the darker brand tones below. */
:root {
    --aries-accent-text: var(--aries-accent-dark); /* 5.5:1 on white, 4.9:1 on the soft tint */
    --aries-accent-button: #007eaa;                /* 4.6:1 with white button text */
}

.btn-default {
    background: var(--aries-accent-button);
}

.section-title .section-sub-title,
.aries-card-link,
.aries-google-badge a,
.page-category-list ul li a.active,
.page-category-list ul li a:hover {
    color: var(--aries-accent-text);
}

/* Dark and accent bands keep their light label/link colours */
.dark-section .section-title .section-sub-title,
.aries-bg-accent .section-title .section-sub-title,
.dark-section .aries-card-link {
    color: #ffffff;
}

/**************************************************/
/***           56. Enquiry modal (popup)        ***/
/**************************************************/

.modal-backdrop.show {
    opacity: 1;
    background: rgba(4, 22, 30, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.aries-modal .modal-dialog {
    max-width: 1020px;
}

.aries-modal .modal-content {
    display: grid;
    grid-template-columns: 340px 1fr;
    border: none;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.4);
}

/* Entrance: rise + scale, then fields cascade in */
.aries-modal.fade .modal-dialog {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
}

.aries-modal.show .modal-dialog {
    opacity: 1;
    transform: none;
}

.aries-modal.show .aries-enquiry-form .form-group,
.aries-modal.show .aries-cta-submit,
.aries-modal.show .aries-modal-points li {
    animation: ariesFieldIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.aries-modal.show .form-group:nth-child(1),
.aries-modal.show .aries-modal-points li:nth-child(1) { animation-delay: 0.12s; }
.aries-modal.show .form-group:nth-child(2),
.aries-modal.show .aries-modal-points li:nth-child(2) { animation-delay: 0.18s; }
.aries-modal.show .form-group:nth-child(3),
.aries-modal.show .aries-modal-points li:nth-child(3) { animation-delay: 0.24s; }
.aries-modal.show .form-group:nth-child(4) { animation-delay: 0.30s; }
.aries-modal.show .form-group:nth-child(5) { animation-delay: 0.36s; }
.aries-modal.show .aries-cta-submit { animation-delay: 0.42s; }

@keyframes ariesFieldIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* Side panel */
.aries-modal-side {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 44px 34px;
    color: #ffffff;
    background: linear-gradient(160deg, var(--aries-accent-deep) 0%, var(--aries-accent-dark) 50%, var(--aries-accent) 100%);
    overflow: hidden;
}

.aries-modal-side:before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -160px;
    top: -120px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.03);
    animation: ariesSpin 30s linear infinite;
}

@keyframes ariesSpin {
    to {
        transform: rotate(360deg);
    }
}

.aries-modal-side>* {
    position: relative;
    z-index: 1;
}

.aries-modal-side .aries-cta-eyebrow {
    align-self: flex-start;
}

.aries-modal-side h3 {
    font-size: 28px;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 24px;
}

.aries-modal-points {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aries-modal-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--aries-font-body);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.92);
}

.aries-modal-contact {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-family: var(--aries-font-body);
    font-size: 16px;
    line-height: 1.6;
}

.aries-modal-contact small {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.aries-modal-contact small:first-child {
    margin-top: 0;
}

.aries-modal-contact a {
    color: #ffffff;
}

.aries-modal-contact a:hover {
    color: #d4f1ff;
}

/* Form side */
.aries-modal-body {
    position: relative;
    padding: 44px 44px 34px;
    background-color: #ffffff;
}

.aries-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    font-size: 17px;
    color: var(--aries-ink);
    background: #f1f5f8;
    transition: var(--aries-transition);
}

.aries-modal-close:hover {
    color: #ffffff;
    background: var(--aries-accent-button);
    transform: rotate(90deg);
}

.aries-modal-body h2 {
    font-size: 30px;
    padding-right: 50px;
    margin-bottom: 8px;
}

.aries-modal-intro {
    font-size: 15px;
    margin-bottom: 24px;
}

.aries-modal .form-control {
    color: var(--aries-ink);
    background-color: #f5f8fa;
    border: 1px solid rgba(22, 22, 22, 0.1);
}

.aries-modal .form-control::placeholder {
    color: #8a949e;
    opacity: 1;
}

.aries-modal .form-control:focus {
    background-color: #ffffff;
    border-color: var(--aries-accent);
}

.aries-modal select.form-control {
    appearance: auto;
}

.aries-modal label {
    color: var(--aries-ink);
}

/* Shared submit feedback for every enquiry form */
.aries-form-msg {
    font-family: var(--aries-font-body);
    font-size: 15px;
    line-height: 1.5;
}

.aries-form-msg.is-success,
.aries-form-msg.is-error {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--aries-radius-sm);
}

.aries-form-msg.is-success {
    color: #0d6b3c;
    background: #e6f6ee;
    border: 1px solid #b8e6cd;
}

.aries-form-msg.is-error {
    color: #a3261c;
    background: #fdecea;
    border: 1px solid #f5c2bd;
}

@media only screen and (max-width: 991px) {
    .aries-modal .modal-content {
        grid-template-columns: 1fr;
    }

    .aries-modal-side {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .aries-modal .modal-content {
        border-radius: 0;
    }

    .aries-modal-body {
        padding: 30px 20px 26px;
    }

    .aries-modal-body h2 {
        font-size: 24px;
    }

    .aries-modal-close {
        top: 14px;
        right: 14px;
    }
}

/**************************************************/
/***     57. Animated dark-section backdrop     ***/
/**************************************************/

/* Slow drifting light and a faint dot grid behind every dark band.
   Transform-only animation, so it runs on the GPU without repainting. */
.dark-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.dark-section::after {
    content: "";
    position: absolute;
    inset: -25%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(closest-side at 22% 28%, rgba(0, 151, 201, 0.30), transparent),
        radial-gradient(closest-side at 78% 72%, rgba(92, 200, 236, 0.16), transparent),
        radial-gradient(closest-side at 62% 18%, rgba(5, 74, 99, 0.45), transparent),
        radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.6px) 0 0 / 30px 30px;
    animation: ariesAurora 24s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes ariesAurora {
    0% {
        transform: translate3d(-5%, -4%, 0) rotate(0deg) scale(1);
    }

    50% {
        transform: translate3d(4%, 3%, 0) rotate(6deg) scale(1.08);
    }

    100% {
        transform: translate3d(-2%, 5%, 0) rotate(-5deg) scale(1.03);
    }
}

.dark-section>.container,
.dark-section>.container-fluid {
    position: relative;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {

    .dark-section::after,
    .aries-modal-side:before {
        animation: none;
    }

    .aries-modal.fade .modal-dialog,
    .aries-modal.show .aries-enquiry-form .form-group,
    .aries-modal.show .aries-cta-submit,
    .aries-modal.show .aries-modal-points li {
        transition: none;
        animation: none;
    }
}

/**************************************************/
/***     58. Animated vectors (dark sections)   ***/
/**************************************************/

/* Line-art layer added by js/function.js; sits above the drifting glow and
   below the content, low opacity so text and cards stay the focus */
.aries-vectors {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.aries-vector {
    position: absolute;
    display: block;
    color: #5cc8ec;
    opacity: 0.38;
}

.aries-vector svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.aries-vector svg * {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.aries-vector svg .v-fill {
    fill: currentColor;
    stroke: none;
}

.v-code {
    color: #ffffff;
    opacity: 0.22;
}

.v-code svg * {
    stroke-width: 2.4;
}

.v-cube,
.v-spark {
    color: #ffffff;
    opacity: 0.26;
}

.aries-vector .v-dash {
    stroke-dasharray: 6 6;
}

.aries-vector .v-dots {
    stroke-dasharray: 1 9;
    stroke-width: 2.4;
}

/* Motion */
.v-float {
    animation: ariesVecFloat 7s ease-in-out infinite alternate;
}

.v-float-slow {
    animation: ariesVecFloat 10s ease-in-out infinite alternate-reverse;
}

.v-turn {
    animation: ariesVecTurn 40s linear infinite;
}

.v-turn-slow {
    animation: ariesVecTurn 60s linear infinite reverse;
}

.v-twinkle {
    animation: ariesVecTwinkle 3.2s ease-in-out infinite;
}

.v-twinkle.v-late {
    animation-delay: 1.1s;
}

.v-twinkle.v-later {
    animation-delay: 2.2s;
}

.aries-vector .v-spin {
    transform-origin: 100px 100px;
    animation: ariesVecTurn 14s linear infinite;
}

.aries-vector .v-spin.v-reverse {
    animation-duration: 20s;
    animation-direction: reverse;
}

.aries-vector .v-pulse {
    transform-box: fill-box;
    transform-origin: center;
    animation: ariesVecPulse 2.4s ease-in-out infinite;
}

.aries-vector .v-draw {
    stroke-dasharray: 240;
    stroke-dashoffset: 240;
    animation: ariesVecDraw 6s ease-in-out infinite;
}

.aries-vector .v-draw.v-delay {
    animation-delay: 1.5s;
}

@keyframes ariesVecFloat {
    from {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    to {
        transform: translate3d(0, -22px, 0) rotate(4deg);
    }
}

@keyframes ariesVecTurn {
    to {
        transform: rotate(360deg);
    }
}

@keyframes ariesVecTwinkle {

    0%,
    100% {
        opacity: 0.12;
        transform: scale(0.7) rotate(0deg);
    }

    50% {
        opacity: 0.55;
        transform: scale(1.1) rotate(45deg);
    }
}

@keyframes ariesVecPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.6);
        opacity: 0.4;
    }
}

@keyframes ariesVecDraw {
    0% {
        stroke-dashoffset: 240;
    }

    45%,
    60% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -240;
    }
}

/* Laptops: side margins are narrow, so keep the shapes smaller */
@media only screen and (min-width: 768px) and (max-width: 1499px) {
    .aries-vector {
        transform-origin: top left;
        scale: 0.8;
    }
}

@media only screen and (max-width: 767px) {
    .aries-vector.v-hide-sm {
        display: none;
    }

    .aries-vector {
        opacity: 0.25;
        transform-origin: top left;
        scale: 0.7;
    }
}

@media (prefers-reduced-motion: reduce) {

    .aries-vector,
    .aries-vector svg * {
        animation: none !important;
    }

    .aries-vector .v-draw {
        stroke-dashoffset: 0;
    }
}

/**************************************************/
/***      59. Process timeline (all pages)      ***/
/**************************************************/

/* Numbered nodes joined by a glowing line, one card per step.
   Desktop: rows of 3/4/5 (set by aries_timeline()), tablet: 2 per row,
   phone: vertical line down the left. */
.aries-timeline {
    --tl-gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--tl-gap);
    row-gap: 44px;
}

.aries-tl-step {
    display: flex;
    flex-direction: column;
}

.aries-tl-head {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
}

.aries-tl-node {
    position: relative;
    z-index: 1;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    color: #ffffff;
    background: #0b1a22;
    border: 2px solid var(--aries-accent);
    box-shadow: 0 0 0 6px rgba(0, 151, 201, 0.12), 0 10px 26px rgba(0, 151, 201, 0.25);
    transition: var(--aries-transition);
}

/* Connector runs from the node to the next step (across the column gap) */
.aries-tl-line {
    position: relative;
    flex: 1 1 auto;
    height: 2px;
    margin: 0 calc(var(--tl-gap) * -1) 0 12px;
    background: linear-gradient(90deg, rgba(0, 151, 201, 0.75) 0%, rgba(255, 255, 255, 0.12) 100%);
    overflow: hidden;
}

.aries-tl-line i {
    position: absolute;
    top: -1px;
    left: -60px;
    width: 60px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, transparent, #9be3ff, transparent);
    animation: ariesTlFlow 3.2s linear infinite;
}

.aries-tl-step:nth-child(3n+2) .aries-tl-line i {
    animation-delay: 1s;
}

.aries-tl-step:nth-child(3n) .aries-tl-line i {
    animation-delay: 2s;
}

@keyframes ariesTlFlow {
    to {
        left: 100%;
    }
}

.aries-tl-step:last-child .aries-tl-line {
    visibility: hidden;
}

/* Step card */
.aries-tl-card {
    flex: 1 1 auto;
    padding: 26px 24px 24px;
    border-radius: var(--aries-radius);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--aries-line-dark);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: var(--aries-transition);
}

.aries-tl-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12.5px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #5cc8ec;
}

.aries-tl-card h3 {
    font-size: 20px;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 10px;
}

.aries-tl-card p {
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

.aries-tl-step:hover .aries-tl-card {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(0, 151, 201, 0.55);
}

.aries-tl-step:hover .aries-tl-node {
    background: linear-gradient(140deg, var(--aries-accent) 0%, var(--aries-accent-deep) 100%);
    box-shadow: 0 0 0 8px rgba(0, 151, 201, 0.2), 0 14px 32px rgba(0, 151, 201, 0.4);
    transform: scale(1.06);
}

/* Desktop: 3 / 4 / 5 per row; the last step of each row has no connector */
@media only screen and (min-width: 1200px) {
    .aries-timeline--3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .aries-timeline--4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .aries-timeline--5 {
        grid-template-columns: repeat(5, 1fr);
        --tl-gap: 20px;
    }

    .aries-timeline--3 .aries-tl-step:nth-child(3n) .aries-tl-line,
    .aries-timeline--4 .aries-tl-step:nth-child(4n) .aries-tl-line,
    .aries-timeline--5 .aries-tl-step:nth-child(5n) .aries-tl-line {
        visibility: hidden;
    }

    .aries-timeline--5 .aries-tl-card {
        padding: 22px 20px 20px;
    }

    .aries-timeline--5 .aries-tl-card h3 {
        font-size: 18px;
    }
}

/* Tablet: 2 per row */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .aries-tl-step:nth-child(2n) .aries-tl-line {
        visibility: hidden;
    }
}

/* Phone: vertical timeline */
@media only screen and (max-width: 767px) {
    .aries-timeline {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    .aries-tl-step {
        display: grid;
        grid-template-columns: 50px 1fr;
        column-gap: 16px;
        padding-bottom: 20px;
    }

    .aries-tl-head {
        flex-direction: column;
        margin: 0;
    }

    .aries-tl-node {
        flex: 0 0 50px;
        width: 50px;
        height: 50px;
        font-size: 16px;
    }

    .aries-tl-line {
        width: 2px;
        height: auto;
        margin: 8px 0 -20px;
        background: linear-gradient(180deg, rgba(0, 151, 201, 0.75) 0%, rgba(255, 255, 255, 0.12) 100%);
    }

    .aries-tl-line i {
        top: -60px;
        left: -1px;
        width: 4px;
        height: 60px;
        background: linear-gradient(180deg, transparent, #9be3ff, transparent);
        animation-name: ariesTlFlowDown;
    }

    .aries-tl-card {
        padding: 20px 18px 18px;
    }

    .aries-tl-card h3 {
        font-size: 18px;
    }
}

@keyframes ariesTlFlowDown {
    to {
        top: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aries-tl-line i {
        animation: none;
        display: none;
    }
}

/**************************************************/
/***  61. Branded banners (no stock photography) ***/
/**************************************************/

.page-header {
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.07) 1px, transparent 0),
        radial-gradient(900px circle at 85% 10%, rgba(0, 151, 201, 0.45), transparent 60%),
        radial-gradient(700px circle at 10% 100%, rgba(5, 74, 99, 0.6), transparent 60%),
        linear-gradient(135deg, #04121a 0%, #062a3a 55%, #07405a 100%);
    background-size: 24px 24px, auto, auto, auto;
    background-color: #04121a;
    overflow: hidden;
}

.page-header:after {
    background: none;
}

.sidebar-cta-box {
    background: linear-gradient(150deg, var(--aries-accent-deep) 0%, var(--aries-accent-dark) 50%, var(--aries-accent) 100%);
}

.sidebar-cta-box:before,
.sidebar-cta-box:after {
    background: none;
}

/**************************************************/
/***         62. Grid fillers (no gaps)         ***/
/**************************************************/

/* CTA card that completes a card grid */
.aries-fill-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 34px 30px;
    border-radius: var(--aries-radius);
    border: 1.5px dashed rgba(0, 151, 201, 0.45);
    background: linear-gradient(150deg, rgba(0, 151, 201, 0.08) 0%, rgba(0, 151, 201, 0.02) 100%);
    transition: var(--aries-transition);
}

.aries-fill-card:hover {
    border-style: solid;
    border-color: var(--aries-accent);
    box-shadow: var(--aries-shadow);
}

.aries-fill-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 22px;
    color: #ffffff;
    background: linear-gradient(140deg, var(--aries-accent) 0%, var(--aries-accent-deep) 100%);
}

.aries-fill-copy h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.aries-fill-copy p {
    margin: 0;
}

.aries-fill-card .btn-default {
    margin-top: auto;
}

/* Wide filler (tablet full-width row): lay out horizontally */
@media only screen and (min-width: 768px) {

    .col-md-12>.aries-fill-card,
    .col-xl-6>.aries-fill-card,
    .col-xl-8>.aries-fill-card {
        flex-direction: row;
        align-items: center;
    }

    .col-md-12>.aries-fill-card .aries-fill-copy,
    .col-xl-6>.aries-fill-card .aries-fill-copy,
    .col-xl-8>.aries-fill-card .aries-fill-copy {
        flex: 1;
    }

    .col-md-12>.aries-fill-card .btn-default,
    .col-xl-6>.aries-fill-card .btn-default,
    .col-xl-8>.aries-fill-card .btn-default {
        margin-top: 0;
    }
}

@media only screen and (min-width: 1200px) {
    .col-xl-4>.aries-fill-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .col-xl-4>.aries-fill-card .btn-default {
        margin-top: auto;
    }
}

.dark-section .aries-fill-card {
    border-color: rgba(92, 200, 236, 0.45);
    background: rgba(255, 255, 255, 0.04);
}

.dark-section .aries-fill-copy h3 {
    color: #ffffff;
}

.dark-section .aries-fill-card:hover {
    box-shadow: none;
    background: rgba(255, 255, 255, 0.07);
}

/* Services page uses the theme's service-item cards (no bottom margin on columns) */
.page-services .aries-fill-card {
    height: calc(100% - 30px);
}

/* "Don't see your industry?" tile */
.aries-industry-cta {
    border-style: dashed;
    border-color: rgba(0, 151, 201, 0.45);
    background: rgba(0, 151, 201, 0.06);
}

.aries-industry-cta h3 span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--aries-accent-text);
    white-space: nowrap;
}

.aries-industry-cta h3 span i {
    font-size: 12px;
}

.aries-industry-cta:hover h3 span {
    color: #ffffff;
}

.dark-section .aries-industry-cta,
.aries-bg-accent .aries-industry-cta {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
}

.dark-section .aries-industry-cta h3 span,
.aries-bg-accent .aries-industry-cta h3 span {
    color: #9be3ff;
}

.aries-bg-accent .aries-industry-cta:hover h3 span {
    color: var(--aries-accent-text);
}

/* Timeline: CTA closes a partial last row, aligned with the step cards */
.aries-tl-cta .aries-tl-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1.5px dashed rgba(92, 200, 236, 0.45);
    background: linear-gradient(150deg, rgba(0, 151, 201, 0.16) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.aries-tl-cta .aries-tl-card p {
    margin-bottom: 20px;
}

.aries-tl-cta .btn-default {
    margin-top: auto;
}

@media only screen and (min-width: 1200px) {
    .aries-tl-cta {
        grid-column: span var(--span-xl);
        padding-top: 80px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .aries-tl-cta {
        grid-column: span var(--span-md);
        padding-top: 80px;
    }
}

@media only screen and (max-width: 767px) {
    .aries-tl-cta {
        padding-left: 66px;
    }
}

/* Two-column check lists: an odd last item spans the full width */
.aries-check-list li:last-child:nth-child(odd) {
    width: 100%;
}

/* Last step of a timeline that is followed by a CTA keeps no connector */
.aries-tl-step:nth-last-child(2):has(+ .aries-tl-cta) .aries-tl-line {
    visibility: hidden;
}

/* Vectors on the blue accent band and page banners */
.aries-bg-accent .aries-vector {
    color: #ffffff;
    opacity: 0.3;
}

.page-header .aries-vector {
    opacity: 0.32;
}

/* Tablet (2 per row): an odd final step spans the row instead of leaving a gap */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .aries-tl-step:last-child:nth-child(odd) {
        grid-column: span 2;
    }
}

/**************************************************/
/***         63. Product page: Aries Restro     ***/
/**************************************************/

/* Product accent from the Aries Restro logo; the darker tone is used for text (5.2:1 on white) */
:root {
    --restro: #ff4a1c;
    --restro-text: #c2410c;
    --restro-tint: #fff1ec;
}

/* "Soon" badge in the menu and footer */
.aries-nav-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    vertical-align: 2px;
    color: #ffffff;
    background: var(--restro-text);
}

/* Logo card (the logo ships on a #f7f7f7 background, so the card matches it) */
.aries-restro-logo {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 60px 40px 44px;
    border-radius: 24px;
    background: #f7f7f7;
    border: 1px solid var(--aries-line);
    overflow: hidden;
}

.aries-restro-logo img {
    position: relative;
    width: 100%;
    max-width: 520px;
    animation: ariesFloat 6s ease-in-out infinite;
}

.aries-restro-soon {
    position: absolute;
    top: 22px;
    left: 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--restro-text);
    box-shadow: 0 10px 24px rgba(194, 65, 12, 0.3);
}

.aries-restro-tags {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.aries-restro-tags li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 30px;
    font-family: var(--aries-font-body);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--aries-ink);
    background: #ffffff;
    border: 1px solid var(--aries-line);
}

.aries-restro-tags i {
    color: var(--restro);
}

.aries-restro .aries-check-list {
    margin: 6px 0 34px;
}

.aries-restro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

#how-it-works {
    scroll-margin-top: 90px;
}

/* Benefit cards pick up the product accent on hover */
.aries-restro-card:before {
    background: linear-gradient(90deg, var(--restro) 0%, var(--restro-text) 100%);
}

.aries-restro-card:hover {
    border-color: rgba(255, 74, 28, 0.35);
}

.aries-restro-card .aries-icon-tile {
    color: var(--restro-text);
    background: var(--restro-tint);
    border-color: rgba(255, 74, 28, 0.2);
}

.aries-restro-card .aries-icon-tile:after {
    background: linear-gradient(140deg, var(--restro) 0%, var(--restro-text) 100%);
}

@media only screen and (max-width: 575px) {
    .aries-restro-logo {
        padding: 64px 20px 28px;
    }

    .aries-restro-actions .btn-default {
        width: 100%;
        text-align: center;
    }
}

/* Top menu labels never wrap onto two lines */
.main-menu .nav-menu-wrapper>ul>li>a.nav-link {
    white-space: nowrap;
}

/**************************************************/
/***   64. Viewport fit: one section per screen ***/
/**************************************************/

/* Desktop only. Image/text sections, reviews, the consultation block and the
   contact form are tuned to fit a laptop screen (about 900px tall). Card grids,
   timelines and long service content are allowed to scroll. */
@media only screen and (min-width: 1200px) {

    .about-us,
    .our-services,
    .our-technology,
    .our-feature,
    .our-approach,
    .our-testimonials,
    .page-services,
    .page-contact-us,
    .google-map,
    .page-service-single,
    .aries-cta {
        padding: 100px 0;
    }

    .section-row {
        margin-bottom: 56px;
    }

    .section-title {
        margin-bottom: 28px;
    }

    /* Image + text rows: photo height follows the screen, copy is tighter */
    .aries-media-row {
        align-items: center;
    }

    /* Copy gets 7/12 of the width, the photo 5/12, so long paragraphs wrap less */
    .aries-media-row>[class*="col-"]:has(.about-us-image-box, .aries-restro-logo) {
        flex: 0 0 41.6667%;
        max-width: 41.6667%;
    }

    .aries-media-row>[class*="col-"]:not(:has(.about-us-image-box, .aries-restro-logo)) {
        flex: 0 0 58.3333%;
        max-width: 58.3333%;
    }

    .aries-media-row .about-us-image-box {
        height: auto;
    }

    .aries-media-row .about-us-image {
        flex: none;
        height: clamp(380px, calc(100vh - 340px), 560px);
        min-height: 0;
    }

    /* Photo + stats bar together should not outgrow the copy */
    .aries-media-row .about-us-image-box:has(.aries-about-stats) .about-us-image {
        height: clamp(300px, calc(100vh - 480px), 440px);
    }

    .about-us:has(> .container > .aries-media-row),
    .our-approach:has(> .container > .aries-media-row),
    .our-technology:has(> .container > .aries-media-row) {
        padding: 80px 0;
    }

    .aries-media-row .section-title {
        margin-bottom: 20px;
    }

    .aries-media-row .aries-check-list-plain {
        gap: 10px;
    }

    .aries-media-row p {
        font-size: 15.5px;
        line-height: 1.65em;
    }

    .aries-media-row .aries-check-list-full:not(.aries-check-list-plain) li {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .aries-media-row .aries-check-list-full:not(.aries-check-list-plain) li:before {
        top: 9px;
    }

    .aries-media-row .section-title h2 {
        font-size: clamp(28px, 2.3vw, 36px);
    }

    .aries-media-row .about-us-content p,
    .aries-media-row .aries-content-block p {
        margin-bottom: 12px;
    }

    .aries-media-row .aries-content-block+.aries-content-block {
        margin-top: 30px;
    }

    .aries-media-row .about-us-body {
        gap: 20px;
    }

    .aries-media-row .about-us-body-item {
        display: flex;
        align-items: flex-start;
        gap: 14px;
    }

    .aries-media-row .about-us-body-item .icon-box {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        margin: 0;
    }

    .aries-media-row .about-us-body-item-content h3 {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .aries-media-row .about-us-body-item-content p {
        margin: 0;
        font-size: 15px;
    }

    .aries-media-row .about-us-info-box {
        margin-top: 18px;
        padding-top: 18px;
    }

    .aries-media-row .about-us-info-list ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 26px;
    }

    .aries-media-row .about-us-info-list ul li {
        margin-bottom: 0;
    }

    .aries-media-row .about-us-info-box {
        gap: 22px;
    }

    .aries-media-row .aries-check-list {
        gap: 10px 16px;
    }

    .aries-media-row .aries-check-list li {
        padding: 10px 14px 10px 44px;
        font-size: 15px;
    }

    .aries-media-row .aries-check-list li:before {
        top: 11px;
        left: 14px;
    }

    /* Client reviews */
    .our-testimonials .section-row {
        margin-bottom: 36px;
    }

    .aries-review {
        padding: 26px 26px 22px;
    }

    .aries-review-quote {
        width: 38px;
        height: 38px;
        margin-bottom: 14px;
    }

    .aries-review blockquote {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 18px;
        display: -webkit-box;
        -webkit-line-clamp: 6;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .aries-review figcaption {
        padding-top: 16px;
    }

    .aries-review-slider .aries-review-pagination {
        margin-top: 20px;
    }

    .aries-clients {
        margin-top: 28px;
        padding: 16px 32px;
    }

    .aries-clients li {
        height: 78px;
    }

    .aries-clients img {
        max-height: 62px;
    }

    /* Consultation block */
    .aries-cta-panel {
        padding: 42px 42px;
    }

    .aries-cta-panel h2 {
        font-size: clamp(28px, 2.3vw, 36px);
    }

    .aries-cta-panel .aries-cta-lead {
        font-size: 15.5px;
        margin-bottom: 22px;
    }

    .aries-cta-contacts {
        gap: 12px;
        margin-bottom: 22px;
    }

    .aries-cta-promises {
        padding-top: 18px;
    }

    .aries-cta-form {
        padding: 40px 44px 30px;
    }

    .aries-cta-form-head {
        margin-bottom: 20px;
    }

    .aries-cta-form .form-group.mb-4 {
        margin-bottom: 16px !important;
    }

    .aries-cta-form .form-control {
        padding: 13px 16px;
    }

    /* Map */
    .google-map-iframe {
        height: clamp(340px, calc(100vh - 480px), 480px);
    }
}

/* Contact page: info panel + form fit one screen on desktop */
@media only screen and (min-width: 1200px) {
    .page-contact-us {
        padding: 70px 0;
    }

    .google-map {
        padding: 80px 0;
    }

    .contact-us-content-box {
        padding: 36px;
        gap: 18px;
    }

    .contact-box-header-item .icon-box {
        width: 48px;
        height: 48px;
        margin-bottom: 14px;
    }

    .contact-box-header-item-content p {
        padding-top: 12px;
        margin-bottom: 0;
    }

    .contact-us-content-box .aries-contact-notes {
        margin-top: 14px;
        gap: 10px;
    }

    .contact-info-item {
        gap: 14px;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    .contact-info-item:last-child {
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: none;
    }

    .contact-info-item .icon-box {
        width: 44px;
        height: 44px;
    }

    .contact-info-item-content h3 {
        font-size: 17px;
    }

    .contact-us-form {
        padding: 36px 40px;
    }

    .contact-us-form .section-title {
        padding-bottom: 18px;
        margin-bottom: 22px;
    }

    .contact-us-form .section-title h2 {
        font-size: 30px;
    }

    .contact-us-form .form-group.mb-4 {
        margin-bottom: 14px !important;
    }

    .contact-us-form .form-control {
        padding: 12px 16px;
    }

    .contact-us-form .contact-form label {
        margin-bottom: 6px;
    }
}
