/*
 * Five Gain modern minimalist refresh
 */

:root {
    --fg-ink: #202326;
    --fg-muted: #6b7280;
    --fg-soft: #f5f7f8;
    --fg-line: #e4e8eb;
    --fg-accent: #2563eb;
    --fg-accent-2: #38bdf8;
    --fg-accent-dark: #1d4ed8;
    --fg-green: #4f6f52;
    --fg-footer: #17191b;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fff;
    color: var(--fg-ink);
    text-rendering: geometricPrecision;
}

a {
    color: inherit;
    transition: color .2s ease, opacity .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

a:hover {
    color: var(--fg-accent);
    text-decoration: none;
}

.container {
    max-width: 1180px;
}

.topbar {
    border-bottom: 1px solid rgba(255,255,255,.18);
    background: rgba(18,20,22,.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.topbar-content {
    min-height: 42px;
}

.topbar-content > div {
    margin-left: 2rem;
}

.topbar .social-list a i.fa-instagram,
.topbar .social-list a i.fa-whatsapp,
.burger-social a i.fa-instagram,
.burger-social a i.fa-whatsapp {
    width: auto;
    height: auto;
    padding: 0;
    background: transparent !important;
    border: 0;
    border-radius: 0;
    color: #fff;
    font-size: 1.1rem;
}

.topbar.affix .social-list a i.fa-instagram,
.topbar.affix .social-list a i.fa-whatsapp,
.burger-social a i.fa-instagram,
.burger-social a i.fa-whatsapp {
    background: transparent !important;
    border-color: transparent;
    color: #111827;
}

.topbar.affix {
    background: rgba(255,255,255,.95);
    color: var(--fg-ink);
    border-bottom-color: var(--fg-line);
    box-shadow: 0 8px 24px rgba(15,23,42,.06);
}

header {
    top: 42px;
}

header.affix {
    top: 42px;
    padding: 0;
    background: rgba(255,255,255,.95);
    box-shadow: 0 10px 30px rgba(15,23,42,.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar-brand {
    padding: 14px 0;
}

.navbar-brand img {
    width: 260px;
    max-width: 100%;
}

.site-logo-img {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

header.affix .site-logo-img,
.burger-logo .site-logo-img {
    filter: none;
}

.site-logo-text {
    display: inline-flex;
    flex-direction: column;
    min-width: 220px;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-logo-text span {
    margin-top: .38rem;
    font-size: .56rem;
    font-weight: 700;
    letter-spacing: .22em;
    opacity: .82;
}

header.affix .site-logo-text,
.burger-logo .site-logo-text {
    color: var(--fg-ink);
}

.footer-banner .site-logo-text {
    min-width: 0;
    margin-bottom: 34px;
    color: #fff;
}

.footer-banner .site-logo-img {
    order: -1;
    align-self: center;
    width: 180px;
    filter: brightness(0) invert(1);
}

.menu-area {
    margin-top: 1.15rem;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    color: rgba(255,255,255,.88);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 8px 0;
    margin-left: 30px;
}

header.affix .navbar-light .navbar-nav .nav-link {
    color: var(--fg-ink);
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: #fff;
}

header.affix .navbar-light .navbar-nav .active > .nav-link,
header.affix .navbar-light .navbar-nav .nav-link.active,
header.affix .navbar-light .navbar-nav .nav-link:focus,
header.affix .navbar-light .navbar-nav .nav-link:hover {
    color: var(--fg-ink);
}

.navbar-light .navbar-nav .nav-link:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 0 18px rgba(255,255,255,.38);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

header.affix .navbar-light .navbar-nav .nav-link:after {
    background: var(--fg-ink);
    box-shadow: none;
}

.navbar-light .navbar-nav .active > .nav-link:after,
.navbar-light .navbar-nav .nav-link:focus:after,
.navbar-light .navbar-nav .nav-link:hover:after {
    transform: scaleX(1);
}

.carousel-item:before {
    background:
        linear-gradient(90deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.42) 40%, rgba(0,0,0,.12) 100%),
        linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 60%);
}

.carousel-item > img {
    height: 86vh;
    min-height: 620px;
    max-height: none;
    object-position: center bottom;
}

.carousel-caption {
    top: 38%;
    left: max(7vw, 44px);
    right: auto;
    width: min(620px, 86vw);
    text-align: left;
}

.carousel-caption span {
    color: rgba(255,255,255,.82);
    letter-spacing: .22em;
    font-size: .75rem;
}

.carousel-caption .h {
    font-size: clamp(2.3rem, 5vw, 4.7rem);
    line-height: 1.02;
    padding-bottom: 1.1rem;
    margin-bottom: 1.2rem;
}

.carousel-caption .h:after {
    left: 0;
    width: 96px;
    margin-left: 0;
    height: 2px;
    border-bottom: 0;
    background: linear-gradient(90deg, var(--fg-accent), var(--fg-accent-2));
}

.carousel-caption > div {
    padding: 0;
    max-width: 520px;
    color: rgba(255,255,255,.84);
    font-size: 1rem;
    line-height: 1.9;
}

.carousel-controls {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    top: auto;
    bottom: 42px;
    left: auto;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 2px;
    background: rgba(10,14,18,.42);
    opacity: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.carousel-controls:hover,
.carousel-controls:focus {
    border-color: rgba(255,255,255,.68);
    background: rgba(10,14,18,.66);
    opacity: 1;
    transform: translateY(-1px);
}

.carousel-control-prev {
    right: calc(max(7vw, 44px) + 68px);
    left: auto;
}

.carousel-control-next {
    right: max(7vw, 44px);
    left: auto;
}

.section-bg {
    background: var(--fg-soft);
    color: var(--fg-ink);
    padding: 84px 0;
}

.section-home.section-about img {
    width: 100%;
    margin-top: -125px;
    border-radius: 8px;
    box-shadow: 0 26px 60px rgba(15,23,42,.18);
}

.section-home.section-about .headers .h {
    color: var(--fg-ink);
    padding-left: 0;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.14;
}

.section-home.section-about .headers .h:before {
    display: none;
}

.section-home.section-about .headers .h:after {
    content: "";
    display: block;
    width: 70px;
    height: 2px;
    margin-top: 18px;
    background: linear-gradient(90deg, var(--fg-accent), var(--fg-accent-2));
}

.text-content {
    color: var(--fg-muted);
    font-size: .94rem;
    line-height: 1.9;
}

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

.section-intro span {
    display: block;
    margin-bottom: .75rem;
    color: var(--fg-accent);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.section-intro h2 {
    margin-bottom: 1rem;
    color: var(--fg-ink);
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    font-weight: 800;
    line-height: 1.14;
}

.section-intro p {
    margin-bottom: 0;
    color: var(--fg-muted);
    font-size: .96rem;
    line-height: 1.85;
}

.section-gallery {
    background: #fff;
}

.isotope-filter {
    margin-bottom: 2.25rem !important;
}

.nav-pills .nav-link {
    height: auto;
    min-height: 36px;
    border: 1px solid var(--fg-line);
    border-radius: 999px;
    background: #fff;
    color: var(--fg-ink);
    font-size: .72rem;
    letter-spacing: .06em;
    padding: 9px 22px;
    box-shadow: 0 8px 20px rgba(15,23,42,.04);
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background: linear-gradient(135deg, var(--fg-accent), var(--fg-accent-2));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 26px rgba(37,99,235,.22);
}

.all-gallery-images .gallery-item {
    padding: 8px;
}

.all-gallery-images .gallery-image {
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--fg-soft);
}

.all-gallery-images .gallery-image > a {
    display: block;
    height: 100%;
}

.all-gallery-images .gallery-image > a > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.86) saturate(.9);
    transform: scale(1);
    transition: transform .35s ease, filter .35s ease;
}

.all-gallery-images .gallery-image > a:hover > img {
    filter: brightness(.98) saturate(1);
    transform: scale(1.04);
}

.section-services {
    background: var(--fg-soft);
}

.section-seo-content {
    padding: 82px 0;
    background: #fff;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.seo-grid article {
    padding: 28px 24px;
    border: 1px solid var(--fg-line);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.seo-grid h3 {
    margin-bottom: .9rem;
    color: var(--fg-ink);
    font-size: 1rem;
    font-weight: 800;
}

.seo-grid p {
    margin-bottom: 0;
    color: var(--fg-muted);
    font-size: .88rem;
    line-height: 1.75;
}

.section-services .services-single {
    height: 100%;
    margin-bottom: 24px;
    padding: 0 0 26px;
    border: 1px solid var(--fg-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15,23,42,.05);
    overflow: hidden;
    text-align: left;
}

.section-services .services-single img {
    display: block;
    width: 100%;
    height: 148px;
    margin-bottom: 24px;
    object-fit: cover;
    filter: brightness(.92) saturate(.92);
}

.section-services .services-single .h {
    padding: 0 24px;
    color: var(--fg-ink);
    font-size: .98rem;
    letter-spacing: .05em;
}

.section-services .services-single .text-content {
    padding: 0 24px;
    color: var(--fg-muted);
}

.section.section-home.section-references {
    background: #fff;
    padding: 70px 0;
}

.section.section-home.section-references:before {
    display: none;
}

.references .references-all .single-reference {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 128px;
    margin: 16px 0;
    padding: 20px 18px;
    border: 1px solid var(--fg-line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.references .references-all .single-reference > img {
    width: min(230px, 86%);
    height: 84px;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    filter: none;
    opacity: .9;
    transition: opacity .2s ease, transform .2s ease;
}

.references .references-all .single-reference:hover img {
    opacity: 1;
    transform: translateY(-2px);
}

footer {
    background:
        radial-gradient(circle at 12% 0%, rgba(56,189,248,.18), rgba(56,189,248,0) 34%),
        linear-gradient(135deg, #070b12 0%, #0b1729 54%, #07111f 100%);
    color: rgba(255,255,255,.8);
    padding-top: 0;
}

.footer-content {
    padding: 48px 0 0;
}

.footer-content .row {
    margin-left: 0;
    margin-right: 0;
}

.footer-content [class*="col-"],
.footer-content .col {
    padding-left: 0;
    padding-right: 0;
}

.footer-content > .container > .row.no-gutters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

.footer-content > .container > .row.no-gutters > .col-lg-2,
.footer-content > .container > .row.no-gutters > .col-lg-10 {
    width: auto;
    max-width: none;
    flex: none;
}

.footer-banner {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(260px, .9fr) repeat(2, minmax(220px, 1fr));
    gap: 24px;
    align-items: stretch;
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.025)),
        rgba(255,255,255,.04);
    box-shadow: 0 18px 44px rgba(0,0,0,.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    justify-content: initial;
}

.footer-content .row > div > div.footer-banner {
    min-height: 0;
}

.footer-banner img {
    order: -1;
    width: 260px;
    margin: 0;
}

.footer-banner .site-logo-img {
    width: clamp(170px, 15vw, 220px);
}

.footer-banner .site-logo-text {
    order: -1;
    align-self: center;
    padding: 0 10px;
}

.footer-banner > div {
    width: auto;
    min-height: 58px;
    margin-bottom: 0;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    background: rgba(255,255,255,.045);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.footer-banner > div:hover {
    transform: translateY(-2px);
    border-color: rgba(56,189,248,.38);
    background: rgba(255,255,255,.07);
}

.footer-banner > div i {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    margin-right: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fg-accent), var(--fg-accent-2));
    font-size: 1rem;
}

.footer-banner > div a,
.footer-banner > div span {
    font-size: .8rem;
    line-height: 1.3;
}

.footer-content .row.no-gutters > div:last-child {
    justify-content: start;
}

.footer-content .row.no-gutters > .col-lg-10 > .row:first-child {
    display: grid;
    grid-template-columns: minmax(260px, .9fr) minmax(0, 2fr);
    gap: 24px;
}

.footer-content .row.no-gutters > .col-lg-10 > .row:first-child > .col-lg-5,
.footer-content .row.no-gutters > .col-lg-10 > .row:first-child > .col-lg-7 {
    width: auto;
    max-width: none;
    flex: none;
}

.footer-content .col-lg-5 > .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 56px);
}

.footer-content .col-lg-7 > .row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.footer-content .row.no-gutters > .col-lg-10 > .row:first-child > .col-lg-7 {
    order: 1;
    grid-column: 1;
}

.footer-content .row.no-gutters > .col-lg-10 > .row:first-child > .col-lg-5 {
    order: 2;
    grid-column: 2;
}

.footer-content .col-lg-5 > .row > div,
.footer-content .col-lg-7 > .row > div {
    width: auto;
    max-width: none;
    flex: none;
}

.footer-content-menus,
.footer-content-contact {
    padding: 0;
}

.footer-content-contact,
.footer-content-menus {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.footer-content .row > div h3 {
    color: #fff;
    font-size: .76rem;
    letter-spacing: .08em;
    margin-bottom: 1rem;
}

.footer-content-menus ul,
.footer-content-contact ul {
    margin-bottom: 0;
}

.footer-content-menus li,
.footer-content-contact li {
    margin-bottom: .42rem;
}

.footer-content-menus a,
.footer-content-contact a,
.footer-content-menus li,
.footer-content-contact p {
    color: rgba(255,255,255,.62);
}

.footer-content-contact p {
    margin-bottom: .22rem;
    line-height: 1.65;
}

.contact-list > p {
    display: none;
}

.contact-list strong {
    color: #fff;
}

.footer-copyright {
    border-top-color: rgba(37,99,235,.5);
    margin-top: 30px;
    padding: 1.1rem 0;
    color: rgba(255,255,255,.62);
}

.footer-copyright a {
    color: rgba(255,255,255,.68);
}

.footer-copyright a:hover {
    color: #fff;
}

.burger-menu-content {
    background: #fff;
}

.burger-logo,
.burger-menu-nav {
    border-bottom: 1px solid var(--fg-line);
}

.burger-menu-nav .navbar-nav .nav-link {
    color: var(--fg-ink);
    border-bottom: 1px solid var(--fg-line);
}

.burger-menu-nav .navbar-nav .active .nav-link {
    color: var(--fg-ink);
    font-weight: 700;
}

.burger-menu-collapser {
    color: var(--fg-ink);
}

.burger-social i {
    color: #111827;
}

.topbar .social-list,
.burger-social .social-list {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.topbar .social-list .list-inline-item,
.burger-social .social-list .list-inline-item {
    margin-right: 0;
}

.topbar .social-list a,
.burger-social a {
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

a i.fa-instagram,
a i.fa-whatsapp,
.topbar .social-list a i.fa-instagram,
.topbar .social-list a i.fa-whatsapp,
.burger-social a i.fa-instagram,
.burger-social a i.fa-whatsapp {
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    display: inline-block;
    line-height: 1;
}

@media (max-width: 1024px) {
    .navbar-light .navbar-nav .nav-link {
        margin-left: 18px;
    }
}

@media (max-width: 768px) {
    header {
        top: 42px;
    }

    .carousel-item > img {
        height: 72vh;
        min-height: 560px;
    }

    .carousel-caption {
        top: 35%;
        left: 36px;
        right: 36px;
        width: auto;
    }

    .carousel-controls {
        bottom: 28px;
    }

    .section-bg {
        padding: 62px 0;
    }

    .seo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-home.section-about img {
        margin-top: 0;
        margin-bottom: 32px;
    }

    .all-gallery-images .gallery-image {
        height: 180px;
    }

    .footer-content-menus,
    .footer-content-contact {
        padding: 22px;
    }

    .footer-content > .container > .row.no-gutters,
    .footer-content .row.no-gutters > .col-lg-10 > .row:first-child {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-content .row.no-gutters > .col-lg-10 > .row:first-child > .col-lg-7,
    .footer-content .row.no-gutters > .col-lg-10 > .row:first-child > .col-lg-5 {
        grid-column: auto;
    }

    .footer-content .row.no-gutters > .col-lg-10 > .row:first-child > .col-lg-7 {
        order: 1;
    }

    .footer-content .row.no-gutters > .col-lg-10 > .row:first-child > .col-lg-5 {
        order: 2;
    }

    .footer-banner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-banner .site-logo-text,
    .footer-banner .site-logo-img {
        grid-column: 1 / -1;
        padding: 6px 0 14px;
    }

    .footer-content .col-lg-5 > .row,
    .footer-content .col-lg-7 > .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-copyright {
        margin-top: 30px;
        padding: 18px 15px;
    }
}

@media (max-width: 767px) {
    .topbar {
        display: none;
    }

    header,
    header.affix {
        top: 0;
    }

    .navbar {
        padding: 0 18px;
    }

    .navbar-brand img {
        width: 210px;
        max-width: 210px;
    }

    .site-logo-img {
        width: 210px;
    }

    .burger-menu-toggler {
        right: 18px;
        z-index: 30;
        width: 44px;
        height: 44px;
        padding: 10px !important;
        border-radius: 8px;
        background: rgba(255,255,255,.86);
        box-shadow: 0 8px 24px rgba(15,23,42,.08);
    }

    .burger-menu-toggler-icon,
    .burger-menu-toggler:before,
    .burger-menu-toggler:after {
        width: 24px;
        border-bottom: 2px solid #111827 !important;
        margin-bottom: 5px;
    }

    .burger-menu-toggler:after {
        margin-bottom: 0;
    }

    .site-logo-text {
        min-width: 0;
        font-size: 1rem;
        letter-spacing: .06em;
    }

    .site-logo-text span {
        font-size: .46rem;
        letter-spacing: .16em;
    }

    .carousel-item > img {
        height: 76vh;
        min-height: 540px;
    }

    .carousel-caption {
        top: 34%;
        left: 24px;
        right: 24px;
        text-align: left;
    }

    .carousel-caption span {
        letter-spacing: .18em;
    }

    .carousel-caption .h {
        font-size: 2.25rem;
    }

    .carousel-control-prev {
        right: 82px;
        left: auto;
    }

    .carousel-control-next {
        right: 24px;
        left: auto;
    }

    .section-bg {
        padding: 54px 0;
    }

    .section-intro {
        margin-bottom: 28px;
        padding: 0 12px;
    }

    .section-seo-content {
        padding: 58px 0;
    }

    .seo-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .nav-pills {
        gap: 8px;
    }

    .nav-pills .nav-link {
        margin: 0 0 8px;
        padding: 8px 16px;
    }

    .all-gallery-images .gallery-item {
        padding: 6px 15px;
    }

    .all-gallery-images .gallery-image {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .section-services .services-single {
        padding: 28px 22px;
    }

    .references .references-all .single-reference {
        margin: 8px 0;
        padding: 18px 12px;
    }

    .footer-banner {
        margin: 0 0 30px;
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .footer-banner > div {
        width: 100%;
        margin-bottom: 0;
    }

    .footer-copyright {
        padding: 18px 15px;
    }

    .footer-content .col-lg-5 > .row,
    .footer-content .col-lg-7 > .row {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-content .row.no-gutters > .col-lg-10 > .row:first-child {
        grid-template-columns: 1fr;
    }

    .footer-content .row.no-gutters > .col-lg-10 > .row:first-child > .col-lg-7,
    .footer-content .row.no-gutters > .col-lg-10 > .row:first-child > .col-lg-5 {
        grid-column: 1;
    }
}
