:root {
    --so-primary: #3d5afe;
    --so-primary-dark: #0031ca;
    --so-ink: #313131;
    --so-muted: #5a6273;
    --so-alt: #f3f7ff;
    --so-line: #dae1ec;
    --so-card-shadow: 0 8px 30px rgba(20, 40, 80, 0.07);
}

.so-service-page .navbar.navbar-trans {
    background-color: #ffffff !important;
    box-shadow: 0 2px 14px rgba(20, 40, 80, 0.08);
}

.so-service-page .navbar.navbar-trans .nav-link {
    color: var(--so-ink) !important;
}

.so-service-page .navbar.navbar-trans .nav-link.active,
.so-service-page .navbar.navbar-trans .nav-link:hover {
    color: var(--so-primary) !important;
}

.so-service-page .so-section--hero {
    padding-top: 150px;
}

.onboarding-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    align-items: center;
    min-height: 104px;
    padding: 14px 48px;
    background-color: #0d0d17;
    background-image:
        linear-gradient(90deg, rgba(11, 16, 32, 0.82), rgba(13, 21, 39, 0.74)),
        url('../pictures/driver-onboarding/banner-truck.jpg');
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position: center, center;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.28);
}

.onboarding-banner.is-hidden {
    display: none;
}

.onboarding-banner__inner {
    width: 100%;
    max-width: 1230px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.onboarding-banner__text {
    margin: 0;
    flex: 1;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #ffffff;
    text-align: center;
}

.onboarding-banner__text span {
    color: #ffffff;
}

.onboarding-banner__btn {
    flex-shrink: 0;
    display: inline-block;
    padding: 12px 32px;
    border-radius: 6px;
    background-color: var(--so-primary);
    color: #ffffff;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s;
}

.onboarding-banner__btn:hover {
    background-color: var(--so-primary-dark);
    color: #ffffff;
}

.onboarding-banner__close {
    position: absolute;
    top: 10px;
    right: 18px;
    width: 24px;
    height: 24px;
    padding: 0;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.onboarding-banner__close:hover {
    opacity: 1;
}

/* ----- Layout primitives ----- */
.so-section {
    padding: 30px 0;
    background-color: #ffffff;
    font-family: 'Nunito Sans', sans-serif;
}

.so-section--alt {
    background-color: var(--so-alt);
}

.so-section--contact {
    background-color: var(--so-alt);
}

.so-container {
    width: 100%;
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 24px;
}

.so-center {
    text-align: center;
}

/* ----- Typography ----- */
.so-h1 {
    margin: 0 0 22px;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--so-ink);
    text-align: left;
}

.so-h2 {
    margin: 0 0 22px;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--so-ink);
    text-align: left;
}

/* only the Bestseller and CTA headings are centered */
.so-center .so-h2,
.so-cta-banner .so-h2 {
    text-align: center;
}

.so-sub {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--so-ink);
    text-align: left;
}

.so-text {
    margin: 0 0 16px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--so-muted);
    text-align: left;
}

.so-text--center {
    text-align: center;
}

.so-list {
    margin: 8px 0 28px;
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 17px;
    line-height: 1.5;
    color: var(--so-muted);
    text-align: left;
}

/* ----- Buttons ----- */
.so-btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    background-color: var(--so-primary);
    color: #ffffff;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.so-btn:hover {
    background-color: var(--so-primary-dark);
    color: #ffffff;
    text-decoration: none;
}

.so-btn--ghost {
    background-color: transparent;
    border: 1px solid var(--so-primary);
    color: var(--so-primary);
}

.so-btn--ghost:hover {
    background-color: var(--so-primary);
    color: #ffffff;
}

.so-btn--light {
    background-color: #ffffff;
    border: 1px solid var(--so-line);
    color: var(--so-ink);
}

.so-btn--light:hover {
    background-color: var(--so-alt);
    color: var(--so-ink);
}

/* ----- Hero breadcrumb ----- */
.so-breadcrumb {
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--so-muted);
}

.so-breadcrumb a {
    color: var(--so-muted);
    text-decoration: none;
}

.so-breadcrumb a:hover {
    color: var(--so-primary);
}

.so-breadcrumb .so-breadcrumb__current {
    color: var(--so-ink);
    font-weight: 700;
}

/* ----- Hero meta (rating + share) ----- */
.so-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--so-line);
    margin-bottom: 40px;
}

.so-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.so-stars {
    font-size: 18px;
    letter-spacing: 2px;
    color: #f5a623;
}

.so-star--empty {
    color: var(--so-line);
}

.so-reviews {
    font-size: 15px;
    color: var(--so-muted);
}

.so-share {
    display: flex;
    align-items: center;
    gap: 16px;
}

.so-share__label {
    font-size: 15px;
    color: var(--so-muted);
}

.so-share a,
.so-contact__social a {
    font-size: 18px;
    color: var(--so-primary);
    transition: color 0.3s;
}

.so-share a:hover,
.so-contact__social a:hover {
    color: var(--so-primary-dark);
}

/* ----- Hero & two-column ----- */
.so-hero,
.so-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

/* hero is a light grey card: image flush on the left, content padded on the right */
.so-hero {
    gap: 0;
    align-items: stretch;
    background-color: var(--so-alt);
    border-radius: 18px;
    overflow: hidden;
}

.so-hero__img img {
    width: 100%;
    height: 100%;
    max-height: 470px;
    object-fit: cover;
    display: block;
}

.so-hero__content {
    align-self: center;
    padding: 44px 48px;
}

.so-two-col__img img {
    width: 100%;
    height: 430px;
    border-radius: 16px;
    object-fit: cover;
}

/* ----- 3-card grids ----- */
.so-cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    text-align: left;
}

.so-card {
    padding: 30px 26px;
    background-color: var(--so-alt);
    border: 1px solid var(--so-line);
    border-radius: 14px;
}

.so-card__title {
    margin: 0 0 18px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--so-ink);
    text-align: left;
}

.so-arrow-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--so-muted);
}

.so-arrow-list li {
    position: relative;
    padding-left: 30px;
}

.so-arrow-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    background-color: var(--so-primary);
    border-radius: 4px;
}

/* ----- Process steps ----- */
.so-steps {
    margin: 8px 0 28px;
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 17px;
    line-height: 1.5;
    color: var(--so-muted);
}

.so-callout {
    padding: 0;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--so-muted);
}

/* ----- Supported languages ----- */
.so-lang__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 26px;
    font-size: 22px;
    font-weight: 700;
    color: var(--so-ink);
    background-color: var(--so-alt);
    box-shadow: none;
}

.so-flag {
    width: 32px;
    height: 24px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}

/* ----- Pricing ----- */
.so-pricing {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.so-price-card {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 32px 52px;
    background-color: var(--so-alt);
    border: 1px solid var(--so-line);
    border-radius: 14px;
}

.so-price {
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    color: var(--so-ink);
}

.so-price__unit {
    font-size: 22px;
    font-weight: 700;
    color: var(--so-ink);
}

.so-price-notes {
    margin: 0;
}

/* ----- After the session (wide image) ----- */
.so-wide-img {
    margin-bottom: 40px;
}

.so-wide-img img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

/* ----- CTA banner (light grey card) ----- */
.so-cta-banner {
    padding: 48px;
    background-color: var(--so-alt);
    border-radius: 16px;
    text-align: center;
}

.so-cta-banner .so-h2,
.so-cta-banner .so-text {
    color: var(--so-ink);
}

.so-cta-banner__accent {
    margin: 8px 0 0;
    font-size: 19px;
    font-weight: 700;
    color: var(--so-ink);
}

/* ----- Rating + share bar (white strip with top divider, below CTA) ----- */
.so-section--rating {
    padding: 40px 0 0;
}

.so-ratingbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 28px;
    border-top: 1px solid var(--so-line);
}

/* ----- Green "Call Us" button (Bestseller) ----- */
.so-btn--success {
    background-color: #22c07a;
    color: #ffffff;
}

.so-btn--success:hover {
    background-color: #1aa869;
    color: #ffffff;
}

/* ----- Bestseller services ----- */
.so-bs-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1px solid var(--so-line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--so-card-shadow);
    text-align: left;
}

.so-bs-card__img img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.so-bs-card__title {
    margin: 22px 22px 12px;
    font-size: 21px;
    font-weight: 700;
    color: var(--so-ink);
}

.so-bs-card .so-text {
    margin: 0 22px 20px;
    font-size: 15px;
}

.so-bs-card__actions {
    margin: auto 22px 22px;
    display: flex;
    gap: 12px;
}

.so-viewmore {
    margin-top: 36px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* ----- Contact us ----- */
.so-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.so-contact__logo {
    max-width: 130px;
    height: auto;
    margin-bottom: 16px;
}

.so-contact__list {
    margin: 24px 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 16px;
    color: var(--so-ink);
}

.so-contact__list span {
    display: inline-block;
    min-width: 90px;
    color: var(--so-muted);
}

.so-contact__list a {
    color: var(--so-ink);
    text-decoration: none;
}

.so-contact__list a:hover {
    text-decoration: underline;
}

.so-contact__social {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    color: var(--so-muted);
}

.so-contact__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.so-contact__form input,
.so-contact__form textarea {
    width: 100%;
    padding: 15px 18px;
    background-color: #ffffff;
    border: 1px solid var(--so-line);
    border-radius: 10px;
    color: var(--so-ink);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    resize: vertical;
}

.so-contact__form input::placeholder,
.so-contact__form textarea::placeholder {
    color: #9aa3b2;
}

.so-contact__form input:focus,
.so-contact__form textarea:focus {
    outline: none;
    border-color: var(--so-primary);
}

.so-contact__send {
    align-self: flex-start;
    padding: 12px 40px;
}

/* ----- Responsive ----- */
@media (max-width: 992px) {
    .so-hero,
    .so-two-col,
    .so-contact {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .so-hero__content,
    .so-two-col__content {
        order: -1;
    }

    .so-cards-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .onboarding-banner {
        padding: 14px 40px 14px 20px;
    }

    .onboarding-banner__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .onboarding-banner__text {
        font-size: 17px;
    }

    .so-section {
        padding: 48px 0;
    }

    .so-h1,
    .so-h2 {
        font-size: 28px;
    }

    .so-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .so-pricing {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}
