@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
    --color-primary: #173f5f;
    --color-primary-dark: #0b2439;
    --color-accent: #ff6b4a;
    --color-accent-dark: #dc492d;
    --color-bg: #f7f5ef;
    --color-bg-alt: #eaf1f4;
    --color-surface: #fff;
    --color-text: #102a43;
    --color-muted: #5d7182;
    --color-border: #cedbe1;
    --container-width: 1180px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 8px 24px rgba(16, 42, 67, .08);
    --shadow-md: 0 24px 60px rgba(16, 42, 67, .14);
    --space: clamp(4rem, 8vw, 7.5rem)
}

/* Brand mark and variable company name */
.navbar-brand,
#footer .f-left-sec a:has(> img) {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-brand img,
#footer .f-left-sec img {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px;
}

.brand-name {
    color: var(--color-text);
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.015em;
    white-space: nowrap;
}

@media (max-width: 420px) {
    .navbar-brand { gap: 9px; }
    .navbar-brand img { width: 34px !important; height: 34px !important; flex-basis: 34px; }
    .navbar-brand .brand-name { font-size: .9rem; }
}

*, *::before, *::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased
}

body.menu-open {
    overflow: hidden
}

img, video {
    display: block;
    max-width: 100%
}

ul, ol {
    margin: 0;
    padding: 0
}

li {
    list-style: none
}

a {
    color: var(--color-primary);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color .2s ease
}

a:hover {
    color: var(--color-accent-dark)
}

button, input, select, textarea {
    font: inherit
}

h1, h2, h3, h4 {
    margin: 0 0 .65em;
    font-family: 'Manrope', sans-serif;
    line-height: 1.08;
    letter-spacing: -.035em
}

h1 {
    font-size: clamp(2.8rem, 7vw, 6.4rem)
}

h2 {
    font-size: clamp(2rem, 4vw, 3.7rem)
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.75rem)
}

p {
    margin: 0 0 1.2rem
}

.container, .container-fluid {
    width: min(calc(100% - 40px), var(--container-width));
    margin-inline: auto
}

.container-768 {
    width: min(100%, 760px);
    margin-inline: auto
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px
}

.col-12 {
    width: 100%
}

.col-md, .col-sm-12, .col-lg-12 {
    flex: 1 1 100%
}

.text-center {
    text-align: center
}

.text-end {
    text-align: right
}

.mb-3 {
    margin-bottom: 1.5rem
}

.mb-5 {
    margin-bottom: 3rem
}

.mt-2 {
    margin-top: 1rem
}

.mt-5 {
    margin-top: 3rem
}

.pt-5 {
    padding-top: 3rem
}

.pb-5 {
    padding-bottom: 3rem
}

.gap-2 {
    gap: .75rem
}

.d-flex {
    display: flex
}

.justify-content-end {
    justify-content: flex-end
}

.justify-content-center {
    justify-content: center
}

.navbar {
    position: fixed;
    z-index: 1000;
    inset: 0 0 auto;
    background: rgba(247, 245, 239, .92);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(16px);
    transition: .25s
}

.navbar.is-scrolled {
    border-color: var(--color-border);
    box-shadow: 0 5px 24px rgba(16, 42, 67, .06)
}

.navbar > .container-fluid {
    height: 80px;
    display: grid;
    grid-template-columns:220px 1fr auto;
    align-items: center
}

.navbar-brand img {
    width: 210px;
    height: 48px;
    object-fit: contain
}

.navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 2vw, 28px)
}

.nav-link {
    position: relative;
    color: var(--color-text);
    font-weight: 600;
    font-size: .92rem;
    text-decoration: none
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 2px;
    background: var(--color-accent);
    transition: .2s
}

.nav-link:hover::after, .nav-link.active::after {
    right: 0
}

.nav-link.active {
    color: var(--color-accent-dark)
}

.btn-wrap {
    align-items: center
}

.mobile-m {
    display: none
}

.navbar-toggler {
    width: 48px;
    height: 48px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-surface);
    position: relative
}

.navbar-toggler::before, .navbar-toggler::after, .navbar-toggler-icon {
    content: '';
    position: absolute;
    left: 13px;
    width: 21px;
    height: 2px;
    background: var(--color-text)
}

.navbar-toggler::before {
    top: 15px
}

.navbar-toggler-icon {
    top: 22px
}

.navbar-toggler::after {
    top: 29px
}

.btn, .btn-primary, input[type=submit], button[type=submit] {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    padding: .75rem 1.25rem;
    background: var(--color-accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s, background .2s, box-shadow .2s
}

.btn:hover, .btn-primary:hover, input[type=submit]:hover, button[type=submit]:hover {
    background: var(--color-accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(220, 73, 45, .22)
}

.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible {
    outline: 3px solid rgba(255, 107, 74, .35);
    outline-offset: 3px
}

.btn:active {
    transform: translateY(0)
}

.btn:disabled, input:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none
}

main {
    padding-top: 80px
}

main > section {
    padding-block: var(--space);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease
}

main > section:first-child {
    opacity: 1;
    transform: none
}

main > section.is-visible {
    opacity: 1;
    transform: none
}

.banner {
    position: relative;
    width: 100%;
    max-width: none;
    min-height: clamp(480px, 75vh, 760px);
    display: grid;
    align-items: center;
    background: linear-gradient(90deg, rgba(7, 25, 40, .94) 0%, rgba(7, 25, 40, .72) 45%, rgba(7, 25, 40, .1) 78%), url('../img/new/home-hero.webp') center/cover;
    color: #fff
}

.banner > .wrap {
    width: min(calc(100% - 40px), var(--container-width));
    margin: auto
}

.banner-text {
    max-width: 760px
}

.banner h1 {
    color: #fff
}

.banner h1 span {
    color: var(--color-accent)
}

.banner p, .banner span {
    color: inherit
}

.sub-page {
    min-height: 420px;
    background-image: linear-gradient(90deg, rgba(7, 25, 40, .9), rgba(7, 25, 40, .25)), url('../img/new/about.webp')
}

.page-service {
    background-image: linear-gradient(90deg, rgba(7, 25, 40, .9), rgba(7, 25, 40, .25)), url('../img/new/services.webp')
}

.page-country {
    background-image: linear-gradient(90deg, rgba(7, 25, 40, .9), rgba(7, 25, 40, .25)), url('../img/new/countries.webp')
}

.page-work {
    background-image: linear-gradient(90deg, rgba(7, 25, 40, .9), rgba(7, 25, 40, .25)), url('../img/new/careers.webp')
}

.page-faq, .page-terms, .page-proh, .page-clients, .page-sign {
    background-image: linear-gradient(90deg, rgba(7, 25, 40, .94), rgba(7, 25, 40, .22)), url('../img/new/home-hero.webp')
}

.solutions, .brown, .orange, .countries, .pricing, .faq, .form-section {
    padding-block: var(--space) !important
}

.solutions:nth-child(even), .countries, .faq {
    background: var(--color-bg-alt) !important
}

.solution-box, .price-box, .card, .accordion-item, .countries .col, .nav-item-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm)
}

.more-solution {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 20px
}

.solution-box {
    min-height: 280px !important;
    padding: 28px !important;
    overflow: hidden;
    isolation: isolate;
    background-image: linear-gradient(180deg, transparent, rgba(8, 30, 47, .88)), url('../img/new/services.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    align-items: flex-end !important;
    justify-content: flex-start !important
}

.solution-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(8, 30, 47, .88));
    z-index: -1
}

.solution-box h3, .solution-box span {
    position: relative !important;
    bottom: auto !important;
    color: #fff !important;
    text-shadow: none;
    z-index: 1
}

.solution-box span {
    display: block;
    margin-top: auto
}

.solution-box:nth-child(2) {
    background-image: linear-gradient(180deg, transparent, rgba(8, 30, 47, .88)), url('../img/new/about.webp') !important
}

.solution-box:nth-child(3) {
    background-image: linear-gradient(180deg, transparent, rgba(8, 30, 47, .88)), url('../img/new/countries.webp') !important
}

.brown {
    background: var(--color-primary-dark) !important
}

.brown p, .brown h2, .brown h3, .orange p, .orange h2 {
    color: #fff !important
}

.brown .container > p {
    max-width: 70ch;
    margin-inline: auto
}

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

.price-box, .card {
    padding: 32px;
    transition: transform .25s, box-shadow .25s
}

.price-box:hover, .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md)
}

.accordion {
    width: min(100%, 900px);
    margin: auto
}

.accordion-item {
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: none
}

.accordion-header {
    margin: 0
}

.accordion-button {
    width: 100%;
    padding: 22px 64px 22px 24px;
    border: 0;
    background: var(--color-surface);
    color: var(--color-text);
    text-align: left;
    font-weight: 700;
    cursor: pointer;
    position: relative
}

.accordion-button::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    translate: 0 -50%;
    color: var(--color-accent);
    font-size: 1.5rem
}

.accordion-button:not(.collapsed)::after {
    content: '−'
}

.accordion-collapse[hidden] {
    display: none
}

.accordion-body {
    padding: 0 24px 24px;
    color: var(--color-muted)
}

form {
    width: 100%
}

.form-control, input, select, textarea {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-sm);
    background: #fff;
    padding: 12px 15px;
    color: var(--color-text);
    transition: border .2s, box-shadow .2s
}

textarea {
    min-height: 150px;
    resize: vertical
}

label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700
}

.form-control:focus, input:focus, select:focus, textarea:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 4px rgba(23, 63, 95, .1);
    outline: 0
}

.flash {
    margin-top: 16px;
    padding: 14px 16px;
    border-left: 4px solid #2a8c62;
    background: #e8f5ef;
    color: #195e42;
    border-radius: var(--radius-sm)
}

#footer {
    padding: 72px 0 28px;
    background: #071d2d;
    color: #dbe6eb
}

#footer h2, #footer p, #footer span, #footer a {
    color: inherit
}

#footer > .container > .row {
    display: grid;
    grid-template-columns:1.25fr .75fr;
    gap: 64px
}

#footer .f-left-sec {
    padding: 0 !important
}

#footer img {
    width: 210px;
    height: 48px;
    filter: brightness(0) invert(1)
}

#footer .sub-nav {
    display: grid;
    gap: 9px
}

#footer .copyright {
    display: block;
    color: #8fa6b3 !important;
    font-size: .85rem
}

.info {
    display: grid;
    gap: 8px
}

.info p {
    margin: 0
}

.countries .row, .country-list {
    display: grid !important;
    grid-template-columns:repeat(4, 1fr);
    gap: 16px
}

.countries .col, .countries [class*=col-] {
    padding: 22px
}

.countries h3 {
    color: var(--color-accent)
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff
}

th, td {
    padding: 14px;
    border-bottom: 1px solid var(--color-border);
    text-align: left
}

blockquote {
    max-width: 70ch;
    margin: 2rem auto;
    padding: 30px;
    border-left: 4px solid var(--color-accent);
    background: #fff
}

.nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px
}

.nav-pills .nav-link {
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #fff
}

.nav-pills .active {
    background: var(--color-primary);
    color: #fff
}

.card-regular > div, .card-inter > div {
    display: none
}

.card-regular > div.active, .card-inter > div.active {
    display: block
}

@media (min-width: 768px) {
    .col-md {
        flex: 1
    }

    .col-lg-7 {
        width: 58%
    }

    .col-lg-5 {
        width: 38%
    }

    .col-lg-6 {
        width: calc(50% - 12px)
    }
}

@media (max-width: 1050px) {
    .navbar > .container-fluid {
        grid-template-columns:190px 1fr auto
    }

    .navbar-brand img {
        width: 185px
    }

    .dm .navbar-nav {
        gap: 12px
    }

    .btn-wrap .btn:first-child {
        display: none
    }

    .more-solution, .cards, .prices, .features {
        grid-template-columns:repeat(2, 1fr)
    }

    .countries .row, .country-list {
        grid-template-columns:repeat(3, 1fr)
    }
}

@media (max-width: 900px) {
    .dm, .navbar > .container-fluid > .btn-wrap {
        display: none !important
    }

    .navbar > .container-fluid {
        grid-template-columns:1fr auto
    }

    .mobile-m {
        display: block
    }

    .offcanvas {
        position: fixed;
        display: block;
        z-index: 1001;
        inset: 0 0 0 auto;
        width: min(88vw, 390px);
        padding: 90px 32px 32px;
        background: var(--color-surface);
        box-shadow: var(--shadow-md);
        translate: 105% 0;
        transition: translate .3s ease
    }

    .offcanvas.is-open {
        translate: 0
    }

    .offcanvas .navbar-nav {
        align-items: flex-start;
        gap: 17px
    }

    .offcanvas-header {
        position: absolute;
        top: 18px;
        right: 20px
    }

    .btn-close {
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        font-size: 0
    }

    .btn-close::before, .btn-close::after {
        content: '';
        position: absolute;
        width: 25px;
        height: 2px;
        background: var(--color-text);
        rotate: 45deg
    }

    .btn-close::after {
        rotate: -45deg
    }

    #footer > .container > .row {
        grid-template-columns:1fr
    }

    .banner {
        min-height: 620px
    }

    .sub-page {
        min-height: 390px
    }

    .countries .row, .country-list {
        grid-template-columns:repeat(2, 1fr)
    }
}

@media (max-width: 620px) {
    .container, .container-fluid, .banner > .wrap {
        width: min(calc(100% - 28px), var(--container-width))
    }

    .navbar > .container-fluid {
        height: 70px
    }

    main {
        padding-top: 70px
    }

    h1 {
        font-size: clamp(2.45rem, 13vw, 4rem)
    }

    .banner {
        min-height: 580px;
        background-position: 62% center
    }

    .sub-page {
        min-height: 350px;
        background-position: center
    }

    .more-solution, .cards, .prices, .features, .countries .row, .country-list {
        grid-template-columns:1fr
    }

    .btn-wrap, .banner .btn {
        width: 100%
    }

    .solution-box {
        min-height: 250px !important
    }

    .text-end {
        text-align: left
    }

    .row {
        gap: 16px
    }

    #footer {
        padding-top: 56px
    }

    #footer > .container > .row {
        gap: 40px
    }

    .form-control, input, select, textarea {
        font-size: 16px
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto
    }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }

    main > section {
        opacity: 1;
        transform: none
    }
}

/* Final responsive composition */
.page-services {
    background-image: linear-gradient(90deg, rgba(7, 25, 40, .9), rgba(7, 25, 40, .25)), url('../img/new/services.webp')
}

.page-term, .page-client, .page-reg {
    background-image: linear-gradient(90deg, rgba(7, 25, 40, .94), rgba(7, 25, 40, .22)), url('../img/new/home-hero.webp')
}

.navbar {
    height: 80px
}

.carousel-caption {
    width: min(calc(100% - 40px), var(--container-width));
    margin-inline: auto
}

.carousel-caption h1 {
    max-width: 1050px
}

.sub-header {
    font-weight: 700;
    letter-spacing: .2em;
    color: #fff;
    text-transform: uppercase
}

@media (max-width: 900px) {
    .offcanvas {
        visibility: hidden;
        pointer-events: none;
        transform: translateX(105%);
        translate: none;
        transition: transform .3s ease, visibility .3s
    }

    .offcanvas.is-open {
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
        translate: none
    }
}

@media (max-width: 620px) {
    .navbar {
        height: 70px
    }

    .carousel-caption {
        display: flex;
        min-height: 100%;
        width: min(calc(100% - 28px), var(--container-width));
        flex-direction: column;
        justify-content: center;
        align-items: flex-start !important;
        text-align: left !important
    }

    .carousel-caption h1 {
        font-size: clamp(2.35rem, 11vw, 3.3rem)
    }

    .sub-header {
        margin-bottom: 10px
    }
}

/* Night theme */
:root {
    --color-primary: #6ee7d2;
    --color-primary-dark: #071319;
    --color-accent: #6ee7d2;
    --color-accent-dark: #9cf4e5;
    --color-bg: #081116;
    --color-bg-alt: #0c1a21;
    --color-surface: #10232c;
    --color-surface-raised: #142b35;
    --color-text: #f4f8f7;
    --color-muted: #9eb2b8;
    --color-border: #24404a;
    --shadow-sm: 0 12px 34px rgba(0, 0, 0, .22);
    --shadow-md: 0 28px 70px rgba(0, 0, 0, .38)
}

body {
    background: var(--color-bg);
    color: var(--color-text)
}

main > section {
    opacity: 1;
    transform: none;
    background: var(--color-bg)
}

a {
    color: var(--color-primary)
}

a:hover {
    color: #fff
}

.navbar {
    background: rgba(7, 19, 25, .9);
    border-bottom-color: rgba(110, 231, 210, .08)
}

.navbar.is-scrolled {
    background: rgba(7, 19, 25, .97);
    border-color: var(--color-border);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .32)
}

.nav-link {
    color: #dce8e8
}

.nav-link.active {
    color: var(--color-primary)
}

.nav-link::after {
    background: var(--color-primary)
}

.navbar-toggler {
    background: #0d2028;
    border-color: var(--color-border)
}

.navbar-toggler::before, .navbar-toggler::after, .navbar-toggler-icon, .btn-close::before, .btn-close::after {
    background: #f4f8f7
}

.offcanvas {
    background: #09171d
}

.btn, .btn-primary, input[type=submit], button[type=submit] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: inset 0 0 0 0 var(--color-primary);
    transition: color .3s ease, box-shadow .3s ease, transform .3s cubic-bezier(.2, .8, .2, 1)
}

.btn::before, .btn-primary::before, button[type=submit]::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .32s cubic-bezier(.2, .8, .2, 1)
}

.btn:hover, .btn-primary:hover, input[type=submit]:hover, button[type=submit]:hover {
    background: transparent;
    color: #061418;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(110, 231, 210, .18)
}

.btn:hover::before, .btn-primary:hover::before, button[type=submit]:hover::before {
    transform: scaleX(1);
    transform-origin: left
}

.btn:active {
    transform: translateY(0) scale(.97)
}

.solutions:nth-child(even), .countries, .faq {
    background: var(--color-bg-alt) !important
}

.solution-box, .price-box, .card, .accordion-item, .countries .col, .nav-item-card {
    background: var(--color-surface);
    border-color: var(--color-border);
    box-shadow: var(--shadow-sm)
}

.about-section, .pricing-section {
    background: var(--color-bg) !important
}

.about-section img {
    width: 100%;
    height: 100%;
    max-height: 540px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border)
}

.brown {
    background: #061015 !important
}

.orange {
    background: var(--color-bg-alt) !important
}

.orange h2, .orange p {
    color: var(--color-text) !important
}

.accordion-button {
    background: var(--color-surface);
    color: var(--color-text)
}

.accordion-body {
    color: var(--color-muted)
}

.accordion-item:hover {
    border-color: #38616f
}

.form-control, input, select, textarea {
    background: #0b1b22;
    color: var(--color-text);
    border-color: var(--color-border) !important;
    color-scheme: dark
}

.form-control::placeholder, input::placeholder, textarea::placeholder {
    color: #738c94
}

.form-control:focus, input:focus, select:focus, textarea:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 4px rgba(110, 231, 210, .1)
}

.flash {
    background: #102c26;
    color: #b9f5df;
    border-color: #54d6aa
}

table {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border)
}

th, td {
    border-color: var(--color-border)
}

thead {
    background: #17303a
}

tbody tr:hover {
    background: #132831
}

blockquote {
    background: var(--color-surface);
    border-color: var(--color-primary);
    color: var(--color-text)
}

.nav-pills .nav-link {
    background: var(--color-surface);
    border-color: var(--color-border)
}

.nav-pills .active {
    background: var(--color-primary);
    color: #061418
}

#footer {
    background: #040b0f;
    border-top: 1px solid var(--color-border)
}

#footer img {
    filter: none
}

.about-section .row {
    align-items: stretch
}

.about-section .row > [class*=col-] {
    flex: 1 1 420px
}

.pricing-section .button {
    text-align: center;
    margin-top: 28px
}

.pricing-section table {
    border-radius: var(--radius-md);
    overflow: hidden
}

.solutions[style], .orange[style] {
    background-color: var(--color-bg-alt) !important
}

/* Testimonials carousel */
.about-section:first-of-type {
    background: var(--color-bg-alt)
}

.carousel {
    position: relative
}

.carousel > .carousel-inner {
    position: relative;
    min-height: 330px
}

.carousel > .carousel-inner > .carousel-item {
    display: none;
    animation: slide-in .48s cubic-bezier(.2, .8, .2, 1)
}

.carousel > .carousel-inner > .carousel-item.active {
    display: block
}

.carousel blockquote {
    margin: 0 auto;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm)
}

.carousel blockquote q {
    display: block;
    color: var(--color-text) !important;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.75
}

.carousel blockquote h5 {
    color: var(--color-primary) !important;
    font-size: 1rem
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 22px
}

.carousel-indicators button {
    width: 34px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #38515a;
    cursor: pointer;
    transition: width .25s, background .25s
}

.carousel-indicators button.active {
    width: 58px;
    background: var(--color-primary)
}

.carousel-control-prev, .carousel-control-next {
    position: absolute;
    z-index: 20;
    top: 50%;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: #0a181e;
    color: #fff;
    transform: translateY(-50%);
    cursor: pointer
}

.carousel-control-prev {
    left: -24px
}

.carousel-control-next {
    right: -24px
}

.carousel-control-prev::after, .carousel-control-next::after {
    content: '←';
    font-size: 1.3rem
}

.carousel-control-next::after {
    content: '→'
}

.carousel-control-prev-icon, .carousel-control-next-icon, .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important
}

.main-ban .carousel > .carousel-inner {
    min-height: 0
}

.main-ban .carousel > .carousel-inner > .carousel-item {
    display: block;
    animation: none
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(18px)
    }
    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@media (max-width: 900px) {
    .carousel-control-prev {
        left: 8px
    }

    .carousel-control-next {
        right: 8px
    }

    .carousel blockquote {
        padding-inline: 70px
    }
}

@media (max-width: 620px) {
    .carousel > .carousel-inner {
        min-height: 470px
    }

    .carousel blockquote {
        padding: 28px 24px 76px
    }

    .carousel-control-prev, .carousel-control-next {
        top: auto;
        bottom: 16px;
        transform: none
    }

    .carousel-control-prev {
        left: calc(50% - 58px)
    }

    .carousel-control-next {
        right: calc(50% - 58px)
    }

    .carousel-indicators {
        margin-top: 14px
    }

    .pricing-section .row {
        overflow-x: auto
    }

    .pricing-section table {
        min-width: 650px
    }

    .about-section .row > [style] {
        padding-right: 0 !important
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel > .carousel-inner > .carousel-item {
        animation: none
    }

    .btn::before, .btn-primary::before, button[type=submit]::before {
        transition: none
    }
}

main > section:first-child {
    padding-block: 0
}

.main-ban .carousel-caption h1 {
    color: #f8fbfa !important
}

.main-ban .carousel-caption h1 span {
    color: #6ee7d2 !important
}

.main-ban .sub-header {
    color: #b6cbc9 !important
}

main > section {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important
}

.solutions h2, .pricing-section h2, .about-section h2, .countries h2 {
    color: var(--color-text) !important
}

/* Layout corrections */
.main-ban {
    margin: 0 !important;
    padding: 0 !important
}

.main-ban .banner {
    margin: 0 !important
}

.main-ban + .solutions {
    margin-top: 0
}

.solutions {
    position: relative
}

.more-solution {
    align-items: stretch;
    grid-auto-rows: 1fr
}

.more-solution > .solution-box {
    height: auto !important;
    min-height: 340px !important;
    margin-top: 0 !important;
    border-radius: var(--radius-md) !important;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end !important
}

.more-solution > .solution-box h3 {
    margin-top: auto
}

.more-solution > .solution-box span {
    margin-top: 10px !important;
    line-height: 1.5
}

.carousel:not(.main-ban .carousel) {
    display: flex;
    flex-direction: column
}

.carousel:not(.main-ban .carousel) > .carousel-inner {
    order: 1
}

.carousel:not(.main-ban .carousel) > .carousel-indicators {
    order: 2;
    margin: 22px 0 0
}

.carousel-control-prev, .carousel-control-next {
    display: grid;
    place-items: center;
    line-height: 1
}

.carousel-control-prev::after, .carousel-control-next::after {
    display: block;
    line-height: 1;
    transform: translateY(-1px)
}

.about-section .row {
    display: grid;
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch
}

.about-section .row > [class*=col-] {
    width: auto
}

.about-section img {
    height: 100%;
    min-height: 420px;
    max-height: 520px;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-md) !important
}

.about-section p {
    max-width: 58ch;
    color: var(--color-muted)
}

#footer > .container > .row {
    align-items: start
}

#footer .col-lg-7[style] {
    padding-right: 0 !important
}

#footer .form-container {
    padding: 28px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface)
}

#footer .form-container .row {
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: 14px
}

#footer textarea {
    min-height: 180px
}

#footer .btn {
    width: auto;
    min-width: 180px
}

#footer .f-left-sec > .row {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 30px
}

#footer .f-left-sec .mt-5 {
    margin-top: 24px
}

#footer .f-left-sec .pt-5.mt-5 {
    margin-top: 0;
    padding-top: 36px
}

.page-about + .solutions {
    background: var(--color-bg-alt) !important
}

.page-about + .solutions .container > h2 {
    margin-bottom: 40px
}

.brown .container {
    width: min(calc(100% - 40px), 820px)
}

.brown .container p {
    text-align: left
}

.brown .container p:first-child {
    font-size: 1.3rem;
    color: var(--color-text) !important
}

#work_form {
    padding: clamp(22px, 4vw, 42px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm)
}

#work_form > .row {
    display: block;
    margin-bottom: 16px
}

#work_form br {
    display: none
}

#work_form label {
    color: var(--color-text)
}

#work_form input[type=radio] {
    appearance: none;
    width: 22px;
    height: 22px;
    min-height: 22px;
    padding: 0;
    margin: 0 8px 0 0;
    border: 2px solid #52707a !important;
    border-radius: 50%;
    display: inline-grid;
    place-content: center;
    vertical-align: middle
}

#work_form input[type=radio]::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-primary);
    transform: scale(0);
    transition: transform .15s
}

#work_form input[type=radio]:checked {
    border-color: var(--color-primary) !important
}

#work_form input[type=radio]:checked::before {
    transform: scale(1)
}

#work_form .form-check-label {
    display: inline-block;
    width: auto;
    margin: 0 24px 0 0;
    vertical-align: middle;
    cursor: pointer
}

#work_form input[type=file] {
    padding: 10px
}

#work_form input[type=submit] {
    margin-top: 14px
}

.accordion-header {
    font-size: 1rem !important;
    line-height: 1.4;
    letter-spacing: 0
}

.accordion-button {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(.98rem, 1.4vw, 1.12rem) !important;
    line-height: 1.4;
    letter-spacing: 0;
    padding-block: 19px
}

.accordion-body p, .accordion-body li {
    font-size: .96rem
}

.page-country + .solutions .container > h2 {
    max-width: 760px;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.3;
    margin-bottom: 36px;
    color: var(--color-muted) !important
}

.page-country + .solutions .row.clearfix {
    display: grid !important;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 16px
}

.page-country + .solutions .row.clearfix > [class*=col-] {
    width: auto;
    padding: 0;
    margin: 0
}

.page-country + .solutions .inner-box {
    min-height: 100%;
    padding: 22px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, var(--color-surface-raised), var(--color-surface));
    transition: border-color .2s, transform .2s
}

.page-country + .solutions .inner-box:hover {
    border-color: #4d807f;
    transform: translateY(-3px)
}

.page-country + .solutions .single-item h3 {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: var(--radius-sm);
    background: rgba(110, 231, 210, .1);
    color: var(--color-primary);
    font-size: 1.25rem
}

.page-country + .solutions .list-item {
    display: grid;
    gap: 8px
}

.page-country + .solutions .list-item li {
    position: relative;
    padding-left: 15px;
    color: #c1d0d3;
    font-size: .92rem
}

.page-country + .solutions .list-item li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .72em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-primary)
}

@media (max-width: 900px) {
    .about-section .row {
        grid-template-columns:1fr
    }

    .about-section img {
        min-height: 0;
        max-height: none
    }

    .page-country + .solutions .row.clearfix {
        grid-template-columns:repeat(3, minmax(0, 1fr))
    }

    #footer > .container > .row {
        gap: 48px
    }
}

@media (max-width: 680px) {
    .more-solution > .solution-box {
        min-height: 300px !important
    }

    .page-country + .solutions .row.clearfix {
        grid-template-columns:repeat(2, minmax(0, 1fr))
    }

    #footer .form-container {
        padding: 20px
    }

    #footer .form-container .row, #footer .f-left-sec > .row {
        grid-template-columns:1fr
    }

    #footer .btn {
        width: 100%
    }

    #footer .sub-nav {
        grid-template-columns:1fr 1fr
    }

    .brown .container p {
        text-align: left !important
    }

    #work_form {
        padding: 20px
    }

    .accordion-button {
        padding: 17px 52px 17px 17px
    }
}

@media (max-width: 420px) {
    .page-country + .solutions .row.clearfix {
        grid-template-columns:1fr
    }
}

.countries-directory .container > h2 {
    margin-bottom: 10px;
    font-size: clamp(1.8rem, 3vw, 3rem);
    color: var(--color-text) !important
}

.countries-note {
    max-width: 680px;
    margin-bottom: 36px;
    padding: 14px 16px;
    border-left: 3px solid var(--color-primary);
    background: rgba(110, 231, 210, .06);
    color: var(--color-muted);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0
}

.countries-directory .row.clearfix {
    display: grid !important;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 16px
}

.countries-directory .row.clearfix > [class*=col-] {
    width: auto;
    padding: 0;
    margin: 0
}

.countries-directory .inner-box {
    min-height: 100%;
    padding: 22px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, var(--color-surface-raised), var(--color-surface));
    transition: border-color .2s, transform .2s
}

.countries-directory .inner-box:hover {
    border-color: #4d807f;
    transform: translateY(-3px)
}

.countries-directory .single-item h3 {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: var(--radius-sm);
    background: rgba(110, 231, 210, .1);
    color: var(--color-primary);
    font-size: 1.25rem
}

.countries-directory .list-item {
    display: grid;
    gap: 8px
}

.countries-directory .list-item li {
    position: relative;
    padding-left: 15px;
    color: #c1d0d3;
    font-size: .92rem
}

.countries-directory .list-item li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .72em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-primary)
}

@media (max-width: 900px) {
    .countries-directory .row.clearfix {
        grid-template-columns:repeat(3, minmax(0, 1fr))
    }
}

@media (max-width: 680px) {
    .countries-directory .row.clearfix {
        grid-template-columns:repeat(2, minmax(0, 1fr))
    }
}

@media (max-width: 420px) {
    .countries-directory .row.clearfix {
        grid-template-columns:1fr
    }
}

/* Stacking, About and footer fixes */
.solution-box {
    position: relative !important;
    isolation: isolate
}

.solution-box::after {
    z-index: 0 !important;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(4, 14, 19, .02) 20%, rgba(4, 14, 19, .92) 100%) !important
}

.solution-box h3, .solution-box span {
    position: relative !important;
    z-index: 2 !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .7)
}

.solution-box span {
    color: #dce9e9 !important
}

.more-solution {
    position: relative;
    z-index: 1
}

.about-section .row {
    display: grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(28px, 5vw, 64px) !important;
    align-items: center !important
}

.about-section .row > [class*=col-] {
    display: block;
    width: 100% !important;
    min-width: 0;
    padding: 0 !important
}

.about-section img {
    display: block;
    width: 100% !important;
    height: clamp(360px, 34vw, 520px) !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center !important;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md) !important
}

.about-section h2 {
    margin-bottom: 24px
}

.about-section p {
    font-size: 1.02rem;
    line-height: 1.75
}

#footer {
    padding: 80px 0 32px
}

#footer > .container > .row {
    display: grid !important;
    grid-template-columns:minmax(0, 1.15fr) minmax(420px, .85fr) !important;
    gap: clamp(56px, 8vw, 110px) !important;
    align-items: start
}

#footer > .container > .row > .col-lg-7, #footer > .container > .row > .f-left-sec {
    width: 100% !important;
    min-width: 0;
    padding: 0 !important
}

#footer .col-lg-7 > h2 {
    text-align: left;
    margin-bottom: 26px
}

#footer .form-container {
    max-width: 680px;
    padding: 32px
}

#footer .f-left-sec > .row {
    display: grid !important;
    grid-template-columns:minmax(230px, 1.25fr) minmax(150px, .75fr) !important;
    gap: 48px !important
}

#footer .f-left-sec > .row > [class*=col-] {
    width: 100% !important;
    min-width: 0
}

#footer .f-left-sec img {
    width: 210px !important;
    height: 48px !important;
    max-width: 100%;
    object-fit: contain;
    object-position: left center
}

#footer address {
    font-style: normal
}

#footer .info a {
    overflow-wrap: anywhere
}

#footer .info p {
    display: flex;
    align-items: center;
    gap: 10px
}

#footer .sub-nav {
    margin-top: 0 !important;
    gap: 11px
}

#footer .sub-nav a {
    text-decoration: none;
    color: #bed0d4
}

#footer .sub-nav a:hover {
    color: var(--color-primary)
}

#footer .f-left-sec > .col-lg-12 {
    width: 100% !important;
    margin-top: 42px !important;
    padding-top: 24px !important;
    border-top: 1px solid var(--color-border)
}

.about-img{
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 980px) {
    #footer > .container > .row {
        grid-template-columns:1fr !important
    }

    #footer .form-container {
        max-width: none
    }

    .about-section .row {
        gap: 32px !important
    }
}

@media (max-width: 760px) {
    .about-section .row {
        grid-template-columns:1fr !important
    }

    .about-section img {
        height: auto !important;
        aspect-ratio: 4/3 !important
    }

    .about-section .row > [class*=col-]:last-child {
        order: -1
    }

    #footer {
        padding-top: 56px
    }

    #footer .f-left-sec > .row {
        grid-template-columns:1fr 1fr !important
    }
}

@media (max-width: 520px) {
    #footer .form-container {
        padding: 20px
    }

    #footer .f-left-sec > .row {
        grid-template-columns:1fr !important;
        gap: 32px !important
    }

    #footer .sub-nav {
        grid-template-columns:1fr 1fr
    }
}

/* Final brand sizing overrides */
.navbar-brand,
#footer .f-left-sec a:has(> img) {
    display:inline-flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
}
.navbar-brand img,
#footer .f-left-sec img {
    width:38px !important;
    height:38px !important;
    flex:0 0 38px;
}
.brand-name {
    color:var(--color-text);
    font-family:'Manrope',sans-serif;
    font-size:1rem;
    font-weight:800;
    line-height:1;
    letter-spacing:-.015em;
    white-space:nowrap;
}
@media (max-width:420px) {
    .navbar-brand { gap:9px; }
    .navbar-brand img { width:34px !important; height:34px !important; flex-basis:34px; }
    .navbar-brand .brand-name { font-size:.9rem; }
}
