/* =========================================================
   RITS WEB SOLUTIONS LLP
   MAIN STYLESHEET
========================================================= */

:root {

    --blue: #004cd0;
    --blue-dark: #071a3a;
    --blue-light: #edf4ff;

    --red: #e3000f;

    --text: #101d34;
    --text-light: #5e6b82;

    --border: #dfe6f1;

    --background-light: #f5f8fd;

    --white: #ffffff;

    --radius-small: 12px;
    --radius-medium: 20px;
    --radius-large: 28px;

    --shadow:
        0 18px 55px rgba(14, 40, 85, 0.10);

}


/* =========================================================
   RESET
========================================================= */

* {

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    margin: 0;

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 16px;

    line-height: 1.6;

    color: var(--text);

    background: var(--white);

}

img {

    max-width: 100%;

}

a {

    color: inherit;

}

button,
input,
textarea {

    font: inherit;

}


/* =========================================================
   GLOBAL
========================================================= */

.container {

    width: min(
        1160px,
        calc(100% - 40px)
    );

    margin: auto;

}

.section {

    padding: 90px 0;

}

.section-label {

    font-size: 14px;

    letter-spacing: 0.12em;

    font-weight: 800;

    color: var(--blue);

}

.section-label.light {

    color: #9fc0ff;

}

.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 60px;

    margin-bottom: 42px;

}

.section-heading h2 {

    margin:

        10px
        0
        0;

    font-size: clamp(
        34px,
        4vw,
        52px
    );

    line-height: 1.08;

    letter-spacing: -0.035em;

}

.section-heading > p {

    max-width: 540px;

    margin: 0;

    color: var(--text-light);

    font-size: 17px;

}


/* =========================================================
   BUTTONS
========================================================= */

.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 48px;

    padding:

        12px
        22px;

    border-radius: 50px;

    border:
        1px
        solid transparent;

    text-decoration: none;

    font-weight: 700;

    cursor: pointer;

    transition:

        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;

}

.button:hover {

    transform: translateY(-2px);

}

.button-primary {

    background: var(--blue);

    color: white;

}

.button-primary:hover {

    box-shadow:
        0 10px 25px
        rgba(0, 76, 208, .25);

}

.button-outline {

    background: white;

    color: var(--blue);

    border-color: #b8caea;

}

.button-secondary {

    background: #eef2f8;

    color: var(--text);

}

.button-outline-dark {

    background: white;

    border-color: #cfd8e7;

    color: var(--text);

}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar {

    background: var(--blue-dark);

    color: #dce7fb;

    font-size: 14px;

}

.top-bar-inner {

    display: flex;

    justify-content: space-between;

    padding:

        8px
        0;

}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: sticky;

    top: 0;

    z-index: 100;

    background:

        rgba(
            255,
            255,
            255,
            .97
        );

    border-bottom:
        1px solid
        var(--border);

    backdrop-filter: blur(10px);

}

.nav-container {

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}

.logo img {

    width: 290px;

    display: block;

}

.main-nav {

    display: flex;

    align-items: center;

    gap: 28px;

}

.main-nav a {

    text-decoration: none;

    font-weight: 650;

    font-size: 15px;

}

.main-nav a:not(.nav-button):hover {

    color: var(--blue);

}

.nav-button {

    background: var(--blue);

    color: white;

    padding:

        11px
        19px;

    border-radius: 40px;

}

.mobile-menu-button {

    display: none;

    background: none;

    border: 0;

    font-size: 28px;

    cursor: pointer;

}

.mobile-nav {

    display: none;

}


/* =========================================================
   HERO
========================================================= */

.hero {

    padding:

        92px
        0
        70px;

    background:

        radial-gradient(
            circle at 88% 8%,
            rgba(0,76,208,.13),
            transparent 32%
        ),

        linear-gradient(
            180deg,
            #ffffff,
            #f7faff
        );

}

.hero-grid {

    display: grid;

    grid-template-columns:
        1.05fr
        .95fr;

    gap: 65px;

    align-items: center;

}

.hero-content h1 {

    font-size: clamp(
        46px,
        5.4vw,
        72px
    );

    line-height: 1.02;

    letter-spacing: -0.045em;

    margin:

        14px
        0
        24px;

}

.hero-content h1 span {

    color: var(--blue);

    display: block;

}

.hero-description {

    max-width: 690px;

    font-size: 20px;

    color: #43526e;

}

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;

}

.hero-note {

    margin-top: 20px;

    display: flex;

    gap: 26px;

    flex-wrap: wrap;

    color: #596985;

    font-size: 14px;

    font-weight: 600;

}


/* =========================================================
   CONNECTED PANEL
========================================================= */

.connected-panel {

    background:
        linear-gradient(
            145deg,
            #061734,
            #0a2c68
        );

    color: white;

    border-radius:
        var(--radius-large);

    padding: 30px;

    box-shadow:
        0 25px 60px
        rgba(6, 24, 55, .22);

}

.panel-top {

    display: flex;

    justify-content: space-between;

    color: #9ab7ee;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: .08em;

}

.connected-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 12px;

    margin-top: 22px;

}

.connected-item {

    border:
        1px solid
        rgba(255,255,255,.12);

    background:
        rgba(255,255,255,.04);

    border-radius: 17px;

    padding: 20px;

}

.connected-number {

    color: #86affc;

    font-size: 12px;

    font-weight: 800;

}

.connected-item h3 {

    margin:

        9px
        0
        2px;

    font-size: 18px;

}

.connected-item p {

    margin: 0;

    color: #c3d1eb;

    font-size: 14px;

}

.connected-footer {

    margin-top: 24px;

    padding-top: 20px;

    border-top:
        1px solid
        rgba(255,255,255,.12);

}

.connected-footer strong {

    display: block;

    font-size: 20px;

}

.connected-footer span {

    color: #b5c8e8;

    font-size: 14px;

}


/* =========================================================
   TRUST
========================================================= */

.trust-section {

    padding:

        34px
        0;

}

.trust-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr
        1.4fr;

    gap: 18px;

}

.trust-card {

    min-height: 175px;

    border-radius: 22px;

    padding: 28px;

}

.trust-blue {

    background: var(--blue);

    color: white;

}

.trust-red {

    background: var(--red);

    color: white;

}

.trust-white {

    border:
        1px solid
        var(--border);

    background: white;

}

.trust-number {

    font-size: 52px;

    line-height: 1;

    font-weight: 900;

    letter-spacing: -.04em;

}

.trust-title {

    margin-top: 14px;

    font-size: 18px;

    font-weight: 700;

}

.trust-white h3 {

    margin:

        10px
        0
        6px;

    font-size: 22px;

    line-height: 1.35;

}

.trust-white p {

    margin: 0;

    color: var(--text-light);

}


/* =========================================================
   GOALS
========================================================= */

.goal-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

}

.goal-card {

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-medium);

    padding: 28px;

    background: white;

    transition:
        transform .2s ease,
        box-shadow .2s ease;

}

.goal-card:hover {

    transform: translateY(-3px);

    box-shadow: var(--shadow);

}

.goal-number {

    color: var(--red);

    font-weight: 900;

    font-size: 14px;

}

.goal-card h3 {

    font-size: 24px;

    line-height: 1.25;

    margin:

        16px
        0
        10px;

}

.goal-card p {

    margin: 0;

    color: var(--text-light);

}


/* =========================================================
   SERVICES
========================================================= */

.services-section {

    background:
        var(--background-light);

}

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

}

.service-card {

    min-height: 260px;

    display: flex;

    flex-direction: column;

    background: white;

    border:
        1px solid
        var(--border);

    border-radius: 22px;

    padding: 28px;

}

.service-label {

    color: var(--blue);

    font-size: 13px;

    font-weight: 900;

    letter-spacing: .09em;

}

.service-card h3 {

    margin:

        13px
        0
        10px;

    font-size: 24px;

    line-height: 1.25;

}

.service-card p {

    margin:

        0
        0
        20px;

    color: var(--text-light);

}

.service-card a {

    margin-top: auto;

    text-decoration: none;

    color: var(--blue);

    font-weight: 700;

}


/* =========================================================
   APPROACH
========================================================= */

.approach-grid {

    display: grid;

    grid-template-columns:
        .85fr
        1.15fr;

    gap: 70px;

}

.approach-grid h2 {

    margin:

        12px
        0
        18px;

    font-size: 48px;

    line-height: 1.1;

}

.approach-description {

    font-size: 18px;

    color: var(--text-light);

}

.approach-steps {

    display: grid;

    gap: 14px;

}

.approach-step {

    display: grid;

    grid-template-columns:
        55px
        1fr;

    gap: 18px;

    border:
        1px solid
        var(--border);

    border-radius: 20px;

    padding: 22px;

}

.approach-number {

    width: 48px;

    height: 48px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: var(--blue-light);

    color: var(--blue);

    font-weight: 900;

}

.approach-step h3 {

    margin:
        0
        0
        4px;

    font-size: 21px;

}

.approach-step p {

    margin: 0;

    color: var(--text-light);

}


/* =========================================================
   SOLUTION FINDER
========================================================= */

.solution-finder {

    padding:

        90px
        0;

    background:

        linear-gradient(
            145deg,
            #06162f,
            #09265a
        );

    color: white;

}

.solution-intro {

    margin-bottom: 44px;

}

.solution-intro h2 {

    max-width: 760px;

    font-size: clamp(
        38px,
        5vw,
        60px
    );

    line-height: 1.04;

    margin:

        12px
        0
        14px;

    letter-spacing: -.035em;

}

.solution-intro p {

    color: #bdcce8;

    font-size: 18px;

}

.finder-layout {

    display: grid;

    grid-template-columns:
        .42fr
        .58fr;

    gap: 36px;

    align-items: start;

}


/* LEFT */

.finder-left {

    padding:

        10px
        15px
        10px
        0;

}

.finder-left h3 {

    font-size: 30px;

    line-height: 1.2;

    margin:

        0
        0
        12px;

}

.finder-left > p {

    color: #b8c8e5;

    margin-bottom: 34px;

}

.progress-list {

    display: grid;

    gap: 10px;

}

.progress-item {

    display: flex;

    gap: 16px;

    align-items: center;

    border-radius: 16px;

    padding: 15px;

    opacity: .55;

    transition: .25s ease;

}

.progress-item.active {

    background:
        rgba(
            255,
            255,
            255,
            .08
        );

    opacity: 1;

}

.progress-item.complete {

    opacity: .85;

}

.progress-number {

    flex:
        0 0
        40px;

    width: 40px;

    height: 40px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    border:
        1px solid
        rgba(255,255,255,.25);

    font-weight: 800;

}

.progress-item.active
.progress-number {

    background: white;

    color: var(--blue);

}

.progress-item strong {

    display: block;

}

.progress-item small {

    color: #adc0e0;

}

.finder-phone {

    margin-top: 35px;

    padding-top: 24px;

    border-top:
        1px solid
        rgba(255,255,255,.13);

    color: #b7c8e5;

}

.finder-phone a {

    display: block;

    margin-top: 5px;

    font-size: 19px;

    color: white;

    font-weight: 700;

    text-decoration: none;

}


/* RIGHT CARD */

.finder-card {

    background: white;

    color: var(--text);

    border-radius: 26px;

    padding: 34px;

    box-shadow:
        0 30px 70px
        rgba(0,0,0,.18);

    min-height: 560px;

}

.form-step {

    display: none;

}

.form-step.active {

    display: block;

    animation:
        stepFade
        .35s ease;

}

@keyframes stepFade {

    from {

        opacity: 0;

        transform:
            translateY(8px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}

.step-label {

    color: var(--blue);

    font-size: 13px;

    font-weight: 900;

    letter-spacing: .09em;

}

.form-step h3 {

    margin:

        10px
        0
        4px;

    font-size: 30px;

}

.step-description {

    margin:

        0
        0
        24px;

    color: var(--text-light);

}


/* OPTIONS */

.problem-options {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 13px;

}

.problem-option {

    appearance: none;

    width: 100%;

    text-align: left;

    display: flex;

    align-items: flex-start;

    gap: 14px;

    padding: 19px;

    background: white;

    border:
        1px solid
        var(--border);

    border-radius: 17px;

    cursor: pointer;

    transition: .18s ease;

}

.problem-option:hover {

    border-color: #a9bfe8;

}

.problem-option.selected {

    background: #eef5ff;

    border-color: var(--blue);

    box-shadow:
        0 0 0 2px
        rgba(0,76,208,.06);

}

.option-checkbox {

    width: 23px;

    height: 23px;

    flex:
        0 0
        23px;

    border:
        2px solid
        #bec9da;

    border-radius: 6px;

    color: transparent;

    display: grid;

    place-items: center;

    font-size: 13px;

    font-weight: 900;

}

.problem-option.selected
.option-checkbox {

    background: var(--blue);

    border-color: var(--blue);

    color: white;

}

.problem-option strong {

    display: block;

    font-size: 16px;

}

.problem-option small {

    display: block;

    color: var(--text-light);

    margin-top: 4px;

    line-height: 1.45;

}

.selection-status {

    margin-top: 17px;

    padding:

        13px
        15px;

    background: #f4f7fb;

    color: #65728a;

    font-size: 14px;

    border-radius: 12px;

}


/* FORMS */

.form-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 17px;

}

.form-group {

    display: flex;

    flex-direction: column;

    gap: 7px;

}

.form-group.full {

    grid-column:
        1 / -1;

}

.form-group label {

    font-weight: 700;

    font-size: 14px;

}

.form-group input,
.form-group textarea {

    width: 100%;

    border:
        1px solid
        #ccd6e4;

    border-radius: 11px;

    padding:

        13px
        14px;

    background: #fff;

    outline: none;

}

.form-group input:focus,
.form-group textarea:focus {

    border-color: var(--blue);

    box-shadow:
        0 0 0 3px
        rgba(0,76,208,.08);

}

.form-group textarea {

    resize: vertical;

}


/* FORM BUTTONS */

.form-buttons {

    margin-top: 25px;

    display: flex;

    justify-content: flex-end;

    gap: 10px;

}

.form-buttons-wrap {

    flex-wrap: wrap;

}


/* RECOMMENDATIONS */

.recommendation-list {

    display: grid;

    gap: 10px;

    margin-bottom: 22px;

}

.recommendation-item {

    border-left:
        4px solid
        var(--blue);

    background: #f3f7fe;

    padding:

        14px
        17px;

    border-radius:
        0
        12px
        12px
        0;

}

.recommendation-item strong {

    display: block;

}

.recommendation-item span {

    display: block;

    color: var(--text-light);

    margin-top: 2px;

    font-size: 14px;

}


/* SUMMARY */

.summary-box {

    border:
        1px solid
        var(--border);

    border-radius: 15px;

    padding: 19px;

    background: #fafbfd;

}

.summary-box h4 {

    margin:

        0
        0
        12px;

    font-size: 18px;

}

.summary-row {

    margin:
        7px
        0;

    font-size: 14px;

}

.summary-row strong {

    color: var(--text);

}

.summary-row span {

    color: var(--text-light);

}

.copy-message {

    display: none;

    margin-top: 15px;

    color: #198754;

    font-weight: 700;

    font-size: 14px;

}

.copy-message.show {

    display: block;

}


/* FINDER BOTTOM */

.finder-bottom {

    margin-top: 26px;

    display: flex;

    justify-content: space-between;

    gap: 30px;

    color: #adbfde;

    font-size: 14px;

}

.finder-bottom strong {

    color: white;

}


/* =========================================================
   CONTACT
========================================================= */

.contact-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 20px;

}

.contact-card {

    border:
        1px solid
        var(--border);

    border-radius: 22px;

    padding: 30px;

}

.contact-card h3 {

    margin-top: 0;

    font-size: 24px;

}

.contact-card p {

    color: var(--text-light);

}

.contact-card a {

    color: var(--blue);

    font-weight: 700;

    text-decoration: none;

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    background: #050f24;

    color: #c9d5e9;

    padding:

        34px
        0;

}

.footer-inner {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

}

.footer strong {

    color: white;

    font-size: 17px;

}

.footer p {

    margin:
        4px
        0
        0;

    font-size: 14px;

}


/* =========================================================
   TABLET
========================================================= */

@media
(max-width: 980px) {

    .main-nav {

        display: none;

    }

    .mobile-menu-button {

        display: block;

    }

    .mobile-nav.open {

        display: grid;

        gap: 10px;

        padding:

            16px
            25px
            22px;

        border-top:
            1px solid
            var(--border);

    }

    .mobile-nav a {

        text-decoration: none;

        font-weight: 650;

    }

    .hero-grid {

        grid-template-columns:
            1fr;

    }

    .trust-grid {

        grid-template-columns:
            1fr
            1fr;

    }

    .trust-white {

        grid-column:
            1 / -1;

    }

    .goal-grid,
    .services-grid {

        grid-template-columns:
            1fr
            1fr;

    }

    .approach-grid {

        grid-template-columns:
            1fr;

    }

    .finder-layout {

        grid-template-columns:
            1fr;

    }

    .finder-left {

        padding-right: 0;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media
(max-width: 680px) {

    body {

        font-size: 16px;

    }

    .container {

        width:
            calc(100% - 28px);

    }

    .top-bar-inner {

        flex-direction: column;

        gap: 1px;

    }

    .logo img {

        width: 235px;

    }

    .hero {

        padding:

            58px
            0
            50px;

    }

    .hero-content h1 {

        font-size: 43px;

    }

    .hero-description {

        font-size: 18px;

    }

    .hero-buttons {

        flex-direction: column;

    }

    .hero-buttons .button {

        width: 100%;

    }

    .connected-grid {

        grid-template-columns:
            1fr;

    }

    .trust-grid,
    .goal-grid,
    .services-grid {

        grid-template-columns:
            1fr;

    }

    .trust-white {

        grid-column: auto;

    }

    .section {

        padding:

            65px
            0;

    }

    .section-heading {

        display: block;

    }

    .section-heading > p {

        margin-top: 18px;

    }

    .approach-grid h2 {

        font-size: 38px;

    }

    .solution-finder {

        padding:

            65px
            0;

    }

    .finder-card {

        padding: 22px;

    }

    .problem-options {

        grid-template-columns:
            1fr;

    }

    .form-grid {

        grid-template-columns:
            1fr;

    }

    .form-group.full {

        grid-column: auto;

    }

    .form-buttons {

        flex-direction: column;

    }

    .form-buttons .button {

        width: 100%;

    }

    .finder-bottom {

        flex-direction: column;

        gap: 5px;

    }

    .contact-grid {

        grid-template-columns:
            1fr;

    }

    .footer-inner {

        flex-direction: column;

        align-items: flex-start;

    }

}