:root {
    --navy: #020b1e;
    --navy2: #061735;
    --navy3: #0a1f4d;
    --indigo: #1B1F3B;
    --blue: #1A56DB;
    --cyan: #00C2E0;
    --purple: #6A3DFF;
    --soft: #F2F5F9;
    --slate: #475569;
    --mist: #94A3B8;
    --white: #fff
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, Segoe UI, Arial, sans-serif;
    background: #fff;
    color: #071632;
    line-height: 1.6
}

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

.container {
    width: min(1180px, 92%);
    margin: auto
}

.dark {
    background: radial-gradient(circle at 72% 18%, rgba(26, 86, 219, .30), transparent 28%), radial-gradient(circle at 18% 82%, rgba(0, 194, 224, .10), transparent 24%), linear-gradient(135deg, #020817, #061735 58%, #071d48);
    color: white
}

.nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #020817;
    border-bottom: 1px solid rgba(255, 255, 255, .09)
}

.nav-inner {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 750;
    font-size: 1.25rem
}

.brand img {
    height: 36px;
    width: 36px;
    object-fit: cover;
    object-position: left;
    border-radius: 50%
}

.menu {
    display: flex;
    gap: 28px;
    color: #e7edf7;
    font-size: .92rem
}

.menu a {
    padding: 25px 0 20px;
    border-bottom: 2px solid transparent
}

.menu a:hover,
.menu a.active {
    color: white;
    border-color: var(--cyan)
}

.mobile-toggle {
    display: none;
    background: transparent;
    color: white;
    border: 0;
    font-size: 1.8rem
}

.hero {
    position: relative;
    overflow: hidden
}

.hero:after,
.wave:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 150px;
    /*background: radial-gradient(ellipse at 70% 100%, rgba(0, 194, 224, .25), transparent 35%);*/
    opacity: .8;
    pointer-events: none
}

.hero-grid {
    min-height: 610px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 58px;
    align-items: center;
    padding: 70px 0
}

.eyebrow {
    letter-spacing: .20em;
    text-transform: uppercase;
    color: #6A3DFF;
    font-weight: 800;
    font-size: .85rem
}

.hero h1 {
    font-size: clamp(2.7rem, 5.5vw, 5.7rem);
    line-height: .98;
    margin: 12px 0 24px;
    color: white;
    letter-spacing: -.04em
}

.hero p {
    color: #d9e6f7;
    font-size: 1.12rem;
    max-width: 530px
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 30px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 6px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: .2s
}

.btn-primary {
    background: linear-gradient(135deg, var(--slate), #94A3B8);
    color: white;
    box-shadow: 0 12px 28px rgba(26, 86, 219, .28)
}

.btn-primary_b {
    background: linear-gradient(135deg, var(--navy3), var(--navy3));
    color: white;
    box-shadow: 0 12px 28px rgba(26, 86, 219, .28)
}

.btn-outline {
    border-color: rgba(255, 255, 255, .58);
    color: white
}

.hero-mark {
    display: grid;
    place-items: center
}

.hero-mark img {
    width: min(430px, 90%);
    filter: drop-shadow(0 22px 55px rgba(0, 0, 0, .35))
}

.section {
    padding: 82px 0
}

.section-title {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 44px
}

.section-title h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.15;
    margin: 8px 0 12px;
    color: #071632;
    letter-spacing: -.025em
}

.section-title p {
    color: var(--slate);
    margin: 0
}

.dark .section-title h2 {
    color: white
}

.dark .section-title p {
    color: #c8d7ec
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px
}

.simple-card {
    text-align: center;
    padding: 20px
}

.simple-card .icon {
    margin: 0 auto 18px
}

.service-card {
    background: linear-gradient(180deg, #0a1f4d, #061735);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    padding: 34px 26px;
    text-align: center;
    box-shadow: 0 20px 48px rgba(0, 0, 0, .18);
    position: relative;
    overflow: hidden
}

.service-card:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--cyan), var(--purple))
}

.service-card h3 {
    margin: 12px 0 8px;
    color: white
}

.service-card p {
    color: #d4e0ef;
    font-size: .95rem
}

.icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    font-size: 2rem;
    color: #a169ff
}

.icon.purple {
    color: #a169ff;
}

.icon svg {
    width: 64px;
    height: 64px;
    place-items: center;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8
}

.promise {
    background: linear-gradient(135deg, var(--mist), var(--soft));
    /*background: var(--mist)#f7f9fc*/
}

.promise-card {
    background: white;
    border: 1px solid #e4eaf2;
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .06)
}


.promise-card h3 {
    color: #071632
}

.promise-card p {
    color: var(--slate)
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start
}

.feature {
    display: flex;
    gap: 24px;
    align-items: flex-start
}

.feature h3 {
    font-size: 1.7rem;
    margin: 0 0 10px;
    color: #071632
}

.feature p {
    color: #263856;
    margin: 0
}

.feature .round {
    flex: 0 0 86px;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: #edf2f7;
    display: grid;
    place-items: center;
    color: #071632;
    font-size: 2.2rem
}

.why {
    position: relative;
    overflow: hidden
}

.why:after {
    content: "";
    position: absolute;
    left: 20%;
    right: 0;
    bottom: -15px;
    height: 150px;
    background: radial-gradient(ellipse at 55% 100%, rgba(0, 194, 224, .34), transparent 36%);
    opacity: .7
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1
}

.why-item {
    text-align: center;
    padding: 18px 34px;
    border-right: 1px solid rgba(255, 255, 255, .15)
}

.why-item:last-child {
    border-right: 0
}

.why-item h3 {
    margin: 12px 0 6px;
    color: white
}

.why-item p {
    color: #c8d7ec;
    font-size: .94rem
}

.page-hero {
    padding: 86px 0;
    background: linear-gradient(135deg, #020817, #071d48);
    color: white
}

.page-hero h1 {
    font-size: clamp(2.3rem, 4.5vw, 4.4rem);
    line-height: 1.05;
    margin: 8px 0 16px
}

.page-hero p {
    max-width: 760px;
    color: #dce8f8
}

.about-panel {
    background: white;
    border-radius: 18px;
    padding: 34px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, .07);
    border: 1px solid #e3e9f2
}

.about-logo {
    padding: 30px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e3e9f2
}

.about-logo img {
    width: 100%
}

.contact-wrap {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 42px
}

.contact-card {
    background: linear-gradient(145deg, #020817, #071d48);
    color: white;
    border-radius: 14px;
    padding: 38px
}

.contact-form {
    background: white;
    border-radius: 14px;
    padding: 36px;
    border: 1px solid #e4eaf2;
    box-shadow: 0 16px 45px rgba(15, 23, 42, .08)
}

label {
    display: block;
    font-weight: 700;
    color: #071632;
    font-size: .9rem
}

input,
textarea,
select {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    margin: 7px 0 18px;
    font: inherit
}

textarea {
    min-height: 145px
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.terms-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 34px
}

.toc {
    position: sticky;
    top: 96px;
    align-self: start;
    background: #f2f5f9;
    border-radius: 14px;
    padding: 20px
}

.toc a {
    display: block;
    color: #475569;
    padding: 8px 0
}

.terms-content {
    background: white;
    border: 1px solid #e4eaf2;
    border-radius: 14px;
    padding: 34px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, .06)
}

.terms-content h2 {
    color: #071632;
    margin-top: 28px
}

.cta {
    background: linear-gradient(135deg, #061735, #1A56DB 72%, #6A3DFF);
    color: white;
    border-radius: 18px;
    padding: 46px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center
}

.cta h2 {
    font-size: 2.2rem;
    line-height: 1.1;
    margin: 0 0 10px
}

.footer {
    background: #020817;
    color: #cbd5e1;
    padding: 54px 0 28px
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px
}

.footer h4 {
    color: white
}

.footer a {
    display: block;
    margin: 8px 0;
    color: #cbd5e1
}

@media(max-width:900px) {
    .mobile-toggle {
        display: block
    }

    .menu {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: #020817;
        flex-direction: column;
        padding: 18px 5%;
        gap: 0
    }

    .menu.open {
        display: flex
    }

    .hero-grid,
    .split,
    .contact-wrap,
    .terms-layout {
        grid-template-columns: 1fr
    }

    .cards,
    .why-grid {
        grid-template-columns: 1fr 1fr
    }

    .hero-grid {
        min-height: auto
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .cta {
        display: block
    }

    .why-item:nth-child(2) {
        border-right: 0
    }
}

@media(max-width:560px) {

    .cards,
    .why-grid,
    .form-grid,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .hero-actions {
        flex-direction: column
    }

    .why-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12)
    }

    .brand span {
        font-size: 1rem
    }
}


/* Home page refinements requested */
/* 1. Remove the blue glow/gradient below the What We Do section */
main>section:first-child {
  background: #ffffff;
  position: relative;
}

main>section:first-child::before,
main>section:first-child::after {
  content: none !important;
  display: none !important;
}

/* 2-4. Centre icons and keep them consistent across cards/why section */
.promise-card .icon,
.service-card .icon,
.why-item .icon,
.simple-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1;
  font-size: 2rem;
}

.promise-card,
.service-card,
.why-item,
.simple-card {
  text-align: center;
}

.promise-card .icon svg,
.service-card .icon svg,
.why-item .icon svg,
.simple-card .icon svg {
  width: 52px;
  height: 52px;
}