:root {
    --bgit-dark: #0f1a25;
    --bgit-white: #ffffff;
    --bgit-accent: #fcbf17;
    --bgit-muted: #9ca8b3;
    --bgit-sidebar-width: 64px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Poppins", "Segoe UI", sans-serif;
    color: var(--bgit-white);
    background: #f4f4f4;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

.bgit-left-rail {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--bgit-sidebar-width);
    height: 100dvh;
    background: #f4f4f4;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 0;
    overflow: hidden;
}

.bgit-brand-vertical {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 38px;
    font-weight: 700;
    color: #09111a;
}

.bgit-brand-logo img {
    max-width: 64px;
    height: auto;
    transform: rotate(180deg);
}

.bgit-social-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.bgit-social-links a {
    color: #73808f;
    background: #fff;
    border: 1px solid #d7dce1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.bgit-social-links a img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: invert(46%) sepia(11%) saturate(461%) hue-rotate(173deg) brightness(90%) contrast(88%);
}

.bgit-scroll-label {
    margin-top: auto;
    writing-mode: vertical-rl;
    font-size: 12px;
    color: #5a6775;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.bgit-menu-toggle {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #fff;
    z-index: 30;
    display: grid;
    place-content: center;
    gap: 4px;
    cursor: pointer;
}

.bgit-menu-toggle span {
    width: 16px;
    height: 2px;
    background: #122031;
    display: block;
}

.bgit-offcanvas {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 80;
}

.bgit-offcanvas.is-open {
    opacity: 1;
    visibility: visible;
}

.bgit-offcanvas-inner {
    position: absolute;
    right: 0;
    top: 0;
    width: min(360px, 90vw);
    height: 100%;
    background: #f3f3f3;
    padding: 72px 30px 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bgit-offcanvas.is-open .bgit-offcanvas-inner {
    transform: translateX(0);
}

.bgit-offcanvas-close {
    position: absolute;
    top: 16px;
    right: 16px;
    border: none;
    background: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
    color: #122031;
    cursor: pointer;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bgit-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bgit-menu a {
    text-decoration: none;
    color: #0f6a62;
    font-size: 20px;
    font-weight: 500;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
    transition: text-decoration-color 0.2s ease;
    text-decoration-color: transparent;
}

.bgit-menu a:hover {
    text-decoration-line: underline;
    text-decoration-color: currentColor;
}

.bgit-menu > li:nth-child(-n+3) > a {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.08;
    color: #0c6a61;
}

.bgit-menu > li:nth-child(3) {
    margin-bottom: 22px;
    padding-bottom: 28px;
    border-bottom: 1px solid #d8d8d8;
}

.bgit-menu > li:nth-child(n+4) > a {
    color: #3e4349;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 500;
}

.bgit-menu .current-menu-item > a {
    color: #ef3b5d;
}

.bgit-offcanvas-social {
    list-style: none;
    margin: auto 0 8px;
    padding: 0;
    display: flex;
    gap: 12px;
}

.bgit-offcanvas-social a {
    color: #8f959d;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #bfc5cc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.bgit-offcanvas-social a img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: invert(53%) sepia(8%) saturate(205%) hue-rotate(171deg) brightness(91%) contrast(88%);
}

.bgit-hero {
    min-height: 100vh;
    min-height: 100dvh;
    margin-left: var(--bgit-sidebar-width);
    width: calc(100% - var(--bgit-sidebar-width));
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow-x: clip;
}

.bgit-hero-media {
    position: relative;
    overflow: hidden;
}

.bgit-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    margin: 0;
}

.bgit-slide.is-active {
    opacity: 1;
}

.bgit-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bgit-controls {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    display: flex;
    gap: 16px;
    align-items: center;
}

.bgit-count {
    font-size: 22px;
    color: #fff;
}

.bgit-arrows {
    display: flex;
    gap: 10px;
}

.bgit-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    color: #0f3f74;
    background: #ffffff;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.bgit-arrow:hover {
    transform: translateY(-2px);
    background: var(--bgit-accent);
    color: #0f1a25;
}

.bgit-hero-content {
    background: linear-gradient(135deg, #0f3f74, #0b2f59);
    display: grid;
    align-items: center;
    padding: 60px 72px;
}

.bgit-content-item {
    display: none;
    max-width: 620px;
}

.bgit-content-item.is-active {
    display: block;
}

.bgit-content-item.is-active h1 {
    animation: bgitDropIn 0.7s ease both;
}

.bgit-content-item.is-active p {
    animation: bgitDropIn 0.8s ease 0.08s both;
}

.bgit-content-item.is-active .bgit-cta {
    animation: bgitDropIn 0.85s ease 0.16s both;
}

@keyframes bgitDropIn {
    0% {
        opacity: 0;
        transform: translateY(-24px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.bgit-content-item h1 {
    font-size: clamp(2rem, 3vw, 4rem);
    line-height: 1.1;
    margin: 0 0 18px;
    font-weight: 300;
    color: #f4f8fc;
}

.bgit-content-item h1 strong,
.bgit-content-item h1 .bgit-highlight {
    font-weight: 700;
    color: #ffffff;
}

.bgit-content-item p {
    color: #d9e5f2;
    font-size: 1rem;
    line-height: 1.65;
    max-width: 62ch;
}

.bgit-cta {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.04em;
    font-weight: 700;
    line-height: 1;
}

.bgit-cta::after {
    content: "\2192";
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bgit-accent);
    color: #0f3f74;
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    padding-left: 0;
    transform: none;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.bgit-cta:hover::after {
    transform: translateY(-2px);
    filter: brightness(0.96);
}

.bgit-services {
    margin-left: var(--bgit-sidebar-width);
    background: #8eaf9a;
    padding: 72px 34px 38px;
}

.bgit-services-wrap {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 210px;
    gap: 30px;
    align-items: start;
}

.bgit-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.bgit-service-card {
    background: #f3f3f3;
    min-height: 470px;
    padding: 128px 38px 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.bgit-service-icon.dashicons {
    position: absolute;
    top: 0;
    left: 0;
    width: 102px;
    height: 102px;
    background: #d2d2d2;
    color: #888e95;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    line-height: 1;
}

.bgit-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 34px rgba(10, 35, 24, 0.2);
}

.bgit-service-card:hover .bgit-service-icon {
    background: #0c6a61;
    color: #dff3e9;
}

.bgit-service-card h3 {
    color: #0c6a61;
    font-size: clamp(1.7rem, 2.3vw, 2.7rem);
    line-height: 1.12;
    margin: 0 0 30px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.bgit-service-card p {
    color: #4e5963;
    font-size: 1.06rem;
    line-height: 1.45;
    max-width: 350px;
    margin: 0 0 56px;
}

.bgit-service-link {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: #123a6a;
    font-size: 0.8rem;
}

.bgit-service-link::after {
    content: "";
    display: inline-block;
    width: 22px;
    height: 1px;
    background: #0c6a61;
    margin-left: 10px;
    vertical-align: middle;
    transition: width 0.3s ease;
}

.bgit-service-card:hover .bgit-service-link::after {
    width: 42px;
}

.bgit-services-title-rail {
    height: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.32);
    padding-bottom: 14px;
}

.bgit-services-title-rail h2 {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin: 0;
    color: #d7e7eb;
    font-size: clamp(2.5rem, 4.5vw, 5rem);
    line-height: 0.92;
    font-weight: 700;
}

.bgit-services-cta-wrap {
    max-width: 1300px;
    margin: 34px auto 0;
    text-align: center;
}

.bgit-services-cta {
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    line-height: 1;
}

.bgit-services-cta::after {
    content: "\2192";
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    color: #0f3f74;
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    padding-left: 0;
    transform: none;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.bgit-services-cta:hover::after {
    transform: translateY(-2px);
    background: var(--bgit-accent);
    color: #0f1a25;
}

.section-reveal .bgit-services-wrap,
.section-reveal .bgit-services-cta-wrap,
.section-reveal .bgit-about-wrap,
.section-reveal .bgit-work-wrap,
.section-reveal .bgit-work-cta-wrap,
.section-reveal .bgit-metrics-wrap,
.section-reveal .bgit-tools-wrap,
.section-reveal .bgit-partners-wrap,
.section-reveal .bgit-blog-wrap,
.section-reveal .bgit-blog-cta-wrap,
.section-reveal .bgit-faq-wrap,
.section-reveal .bgit-testimonials-wrap {
    opacity: 0;
    transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1), transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-reveal .bgit-services-wrap {
    transform: translate3d(0, 10vh, 0) scale(0.97);
}

.section-reveal .bgit-services-cta-wrap {
    transform: translate3d(0, 8vh, 0) scale(0.98);
    transition-delay: 0.18s;
}

.section-reveal .bgit-about-wrap {
    transform: translate3d(0, -10vh, 0) scale(0.97);
}

.section-reveal .bgit-work-wrap {
    transform: translate3d(0, 8vh, 0) scale(0.97);
}

.section-reveal .bgit-work-cta-wrap {
    transform: translate3d(0, 8vh, 0) scale(0.98);
    transition-delay: 0.18s;
}

.section-reveal .bgit-metrics-wrap {
    transform: translate3d(0, 10vh, 0) scale(0.98);
}

.section-reveal .bgit-tools-wrap {
    transform: translate3d(0, 8vh, 0) scale(0.98);
    transition-delay: 0.1s;
}

.section-reveal .bgit-partners-wrap {
    transform: translate3d(0, 8vh, 0) scale(0.98);
    transition-delay: 0.1s;
}

.section-reveal .bgit-blog-wrap {
    transform: translate3d(0, 6vh, 0) scale(0.98);
}

.section-reveal .bgit-blog-cta-wrap {
    transform: translate3d(0, 8vh, 0) scale(0.98);
    transition-delay: 0.12s;
}

.section-reveal .bgit-home-guestpost-wrap {
    transform: translate3d(0, 6vh, 0) scale(0.98);
}

.section-reveal .bgit-faq-wrap {
    transform: translate3d(0, 6vh, 0) scale(0.98);
}

.section-reveal .bgit-testimonials-wrap {
    transform: translate3d(0, 6vh, 0) scale(0.98);
}

.section-reveal.is-visible .bgit-services-wrap,
.section-reveal.is-visible .bgit-services-cta-wrap,
.section-reveal.is-visible .bgit-about-wrap,
.section-reveal.is-visible .bgit-work-wrap,
.section-reveal.is-visible .bgit-work-cta-wrap,
.section-reveal.is-visible .bgit-metrics-wrap,
.section-reveal.is-visible .bgit-tools-wrap,
.section-reveal.is-visible .bgit-partners-wrap,
.section-reveal.is-visible .bgit-blog-wrap,
.section-reveal.is-visible .bgit-blog-cta-wrap,
.section-reveal.is-visible .bgit-home-guestpost-wrap,
.section-reveal.is-visible .bgit-faq-wrap,
.section-reveal.is-visible .bgit-testimonials-wrap {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.bgit-about-feature {
    margin-left: var(--bgit-sidebar-width);
    padding: 52px 26px 62px;
    background: #f0f0f0;
}

.bgit-about-wrap {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 124px 1fr;
    gap: 10px;
    align-items: center;
}

.bgit-about-main {
    position: relative;
    padding-bottom: 52px;
}

.bgit-about-side-title {
    border-bottom: 1px solid #d7d7d7;
    padding-bottom: 24px;
}

.bgit-about-side-title h2 {
    margin: 0;
    color: #0c6a61;
    font-size: clamp(2rem, 4.2vw, 4rem);
    line-height: 0.98;
    font-weight: 700;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.bgit-about-visual {
    aspect-ratio: 1 / 1;
    min-height: 430px;
    width: min(100%, 760px);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: visible;
    opacity: 0;
    transform: translateX(-56px);
    transition: opacity 0.75s ease, transform 0.75s ease;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.bgit-about-content-box {
    position: absolute;
    right: -64px;
    bottom: -52px;
    margin-right: 0;
    margin-bottom: 0;
    width: min(680px, 78%);
    background: #8eaf9a;
    padding: 28px 36px 24px;
    z-index: 2;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateX(56px);
    transition: opacity 0.8s ease 0.1s, transform 0.8s ease 0.1s;
}

.bgit-about-feature.is-visible .bgit-about-visual {
    opacity: 1;
    transform: translateX(0);
}

.bgit-about-feature.is-visible .bgit-about-content-box {
    opacity: 1;
    transform: translateX(0);
}

.bgit-about-content-box h3 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 3vw, 4rem);
    line-height: 1.1;
    font-weight: 300;
    color: #0f3f74;
}

.bgit-about-content-box p {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.65;
    font-weight: 400;
    max-width: none;
    width: 100%;
}

.bgit-about-link {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: #0f3f74;
    font-size: 0.8rem;
}

.bgit-about-link::after {
    content: "";
    display: inline-block;
    width: 22px;
    height: 1px;
    background: #0f3f74;
    margin-left: 10px;
    vertical-align: middle;
    transition: width 0.25s ease;
}

.bgit-about-link:hover::after {
    width: 42px;
}

.bgit-work {
    margin-left: var(--bgit-sidebar-width);
    background: #8eaf9a;
    padding: 56px 26px 72px;
}

.bgit-work-wrap {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 210px;
    gap: 30px;
    align-items: start;
}

.bgit-work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.bgit-work-title-rail {
    height: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.32);
    padding-bottom: 14px;
}

.bgit-work-title-rail h2 {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin: 0;
    color: #d7e7eb;
    font-size: clamp(2.5rem, 4.5vw, 5rem);
    line-height: 0.92;
    font-weight: 700;
}

.bgit-work-cta-wrap {
    max-width: 1300px;
    margin: 34px auto 0;
    text-align: center;
}

.bgit-work-cta {
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    line-height: 1;
}

.bgit-work-cta::after {
    content: "\2192";
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    color: #0f3f74;
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.bgit-work-cta:hover::after {
    transform: translateY(-2px);
    background: var(--bgit-accent);
    color: #0f1a25;
}

.bgit-work-item {
    position: relative;
    display: block;
    overflow: hidden;
    background: #173b67;
    min-height: 260px;
    text-decoration: none;
}

.bgit-work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.bgit-work-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 63, 116, 0.72);
    transform: translateX(-101%);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
}

.bgit-work-item-info {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 18px 18px;
    opacity: 0;
    transform: translateX(-34px);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.bgit-work-item-title {
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 74%;
}

.bgit-work-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 23px;
    line-height: 1;
    flex: 0 0 36px;
}

.bgit-work-item:hover::before {
    transform: translateX(0);
}

.bgit-work-item:hover .bgit-work-item-info {
    transform: translateX(0);
    opacity: 1;
}

.bgit-work-item:hover img {
    transform: translateX(90%);
}

.bgit-metrics {
    margin-left: var(--bgit-sidebar-width);
    background: #f2f2f2;
}

.bgit-metrics-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid #d2d2d2;
    border-bottom: 0;
}

.bgit-metric-item {
    text-align: center;
    padding: 30px 20px 24px;
    border-right: 1px solid #d2d2d2;
    border-bottom: 1px solid #d2d2d2;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.bgit-metric-item:hover {
    background: #fcbf17;
}

.bgit-metric-item:hover h3,
.bgit-metric-item:hover p,
.bgit-metric-item:hover .bgit-metric-icon {
    color: #0f3f74;
}

.bgit-metric-item:last-child {
    border-right: 0;
}

.bgit-metric-icon.dashicons {
    color: #c7c7c7;
    font-size: 54px;
    width: 54px;
    height: 54px;
    line-height: 54px;
}

.bgit-metric-item h3 {
    margin: 12px 0 8px;
    color: #0c6a61;
    font-size: clamp(2rem, 3.8vw, 3.6rem);
    line-height: 1;
}

.bgit-metric-item p {
    margin: 0;
    color: #969696;
    font-size: 1.1rem;
}

.bgit-tools-wrap {
    background: #dbeaf0;
    text-align: center;
    padding: 44px 20px 56px;
    overflow: hidden;
}

.bgit-tools-wrap h3 {
    margin: 0 0 26px;
    color: #434a4f;
    font-size: clamp(1.5rem, 2.2vw, 2.3rem);
}

.bgit-tools-marquee {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    width: max-content;
    animation: bgitMarquee 24s linear infinite;
    will-change: transform;
}

.bgit-tools-track {
    display: flex;
    align-items: center;
    gap: 66px;
    padding: 0 22px;
}

.bgit-tools-track img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: grayscale(1) brightness(0.88);
    opacity: 0.58;
}

@keyframes bgitMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.bgit-blog {
    margin-left: var(--bgit-sidebar-width);
    background: #f2f2f2;
    padding: 58px 26px 52px;
}

.bgit-partners {
    margin-left: var(--bgit-sidebar-width);
    background: #ffffff;
    padding: 36px 20px 48px;
    overflow: hidden;
}

.bgit-partners-wrap {
    max-width: 1180px;
    margin: 0 auto;
    text-align: center;
}

.bgit-partners-wrap h3 {
    margin: 0 0 22px;
    color: #434a4f;
    font-size: clamp(1.4rem, 2.1vw, 2.1rem);
}

.bgit-partners-marquee {
    display: flex;
    width: max-content;
    animation: bgitMarquee 24s linear infinite;
    will-change: transform;
}

.bgit-partners-track {
    display: flex;
    align-items: center;
    gap: 62px;
    padding: 0 20px;
}

.bgit-partners-track img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    filter: none;
    opacity: 1;
}

.bgit-blog-wrap {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 210px;
    gap: 30px;
    align-items: start;
}

.bgit-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.bgit-blog-thumb {
    display: block;
    overflow: hidden;
}

.bgit-blog-thumb img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.bgit-blog-card h3 {
    margin: 20px 0 0;
    font-size: clamp(1.35rem, 2.1vw, 2.1rem);
    line-height: 1.2;
    max-width: 90%;
}

.bgit-blog-card h3 a {
    color: #0c6a61;
    text-decoration: none;
}

.bgit-blog-title-rail {
    height: 100%;
    border-bottom: 1px solid #d7d7d7;
    padding-bottom: 14px;
}

.bgit-blog-title-rail h2 {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin: 0;
    color: #0c6a61;
    font-size: clamp(3rem, 5vw, 5.2rem);
    line-height: 0.92;
    font-weight: 700;
}

.bgit-blog-cta-wrap {
    max-width: 1300px;
    margin: 36px auto 0;
    text-align: center;
}

.bgit-blog-cta {
    color: #2a2a2a;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.bgit-blog-cta::after {
    content: "\2192";
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bgit-accent);
    color: #0f3f74;
    display: grid;
    place-items: center;
    font-size: 22px;
    line-height: 1;
}

.bgit-home-guestpost {
    margin-left: var(--bgit-sidebar-width);
    background: #e6eef1;
    padding: 56px 26px 52px;
    overflow-x: clip;
}

.bgit-home-guestpost-wrap {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 210px;
    gap: 30px;
    align-items: start;
}

.bgit-home-guestpost-main {
    background: #dce8ea;
    border: 1px solid #c7d7dc;
}

.bgit-home-guestpost-head {
    padding: 18px 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.bgit-home-guestpost-head h2 {
    margin: 0;
    color: #0c6a61;
    font-size: clamp(1.4rem, 2.1vw, 2rem);
}

.bgit-home-guestpost-link {
    color: #0f3f74;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.78rem;
    font-weight: 700;
}

.bgit-home-guestpost-link:hover {
    text-decoration: underline;
}

.bgit-home-guestpost-table-scroll {
    overflow-x: auto;
    padding: 14px 18px 18px;
}

.bgit-home-guestpost-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
}

.bgit-home-guestpost-table th,
.bgit-home-guestpost-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #c5d4d8;
    color: #32414e;
    text-align: left;
    font-size: 0.9rem;
}

.bgit-home-guestpost-table th {
    background: #0f3f74;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.74rem;
}

.bgit-home-guestpost-table td a {
    display: block;
    margin-top: 3px;
    color: #5e6c78;
    font-size: 0.78rem;
    word-break: break-all;
    text-decoration: none;
}

.bgit-home-guestpost-cta-wrap {
    padding: 0 18px 18px;
    text-align: center;
}

.bgit-home-guestpost-title-rail {
    height: 100%;
    border-bottom: 1px solid #c7d7dc;
    padding-bottom: 14px;
}

.bgit-home-guestpost-title-rail h2 {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin: 0;
    color: #0c6a61;
    font-size: clamp(2.5rem, 4.5vw, 5rem);
    line-height: 0.92;
    font-weight: 700;
}

.bgit-faq {
    margin-left: var(--bgit-sidebar-width);
    background: #8eaf9a;
    padding: 58px 26px;
}

.bgit-faq-wrap {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 210px;
    gap: 30px;
    align-items: start;
}

.bgit-faq-list {
    background: #f3f3f3;
    border: 1px solid #d8d8d8;
}

.bgit-faq-item + .bgit-faq-item {
    border-top: 1px solid #d8d8d8;
}

.bgit-faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
    padding: 20px 22px;
    color: #0c6a61;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
}

.bgit-faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e8efec;
    color: #0f3f74;
    display: grid;
    place-items: center;
    font-size: 22px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.bgit-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.35s ease;
    padding: 0 22px;
}

.bgit-faq-answer p {
    margin: 0;
    color: #4e5963;
    font-size: 1rem;
    line-height: 1.6;
    padding-bottom: 18px;
}

.bgit-faq-item.is-open .bgit-faq-answer {
    max-height: 220px;
    padding-top: 2px;
}

.bgit-faq-item.is-open .bgit-faq-icon {
    transform: rotate(45deg);
}

.bgit-faq-title-rail {
    height: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.32);
    padding-bottom: 14px;
}

.bgit-faq-title-rail h2 {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin: 0;
    color: #d7e7eb;
    font-size: clamp(2.5rem, 4.5vw, 5rem);
    line-height: 0.92;
    font-weight: 700;
}

.bgit-testimonials {
    margin-left: var(--bgit-sidebar-width);
    background: #0f3f74;
    padding: 44px 20px 40px;
}

.bgit-testimonials-wrap {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 210px;
    gap: 30px;
    align-items: start;
}

.bgit-testimonials-main {
    max-width: 920px;
}

.bgit-testimonials-head {
    text-align: center;
    margin-bottom: 24px;
}

.bgit-testimonials-head h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(1.5rem, 2.4vw, 2.3rem);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0;
    transform: translateY(10px);
}

.bgit-testimonials-head p {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(10px);
}

.bgit-testimonials-stage {
    position: relative;
    height: 430px;
}

.bgit-testimonials-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.bgit-testimonial-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(500px, 70%);
    background: #ececec;
    border: 1px solid #d9d9d9;
    border-radius: 0;
    padding: 22px 26px 22px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    transform: translate(-50%, -50%) scale(0.84);
    opacity: 0;
    z-index: 1;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease, box-shadow 0.45s ease;
    pointer-events: none;
}

.bgit-testimonial-item.is-prev {
    transform: translate(calc(-50% - 42%), -50%) scale(0.9);
    opacity: 0.96;
    z-index: 2;
}

.bgit-testimonial-item.is-next {
    transform: translate(calc(-50% + 42%), -50%) scale(0.9);
    opacity: 0.96;
    z-index: 2;
}

.bgit-testimonial-item.is-active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 4;
    box-shadow: 0 22px 40px rgba(10, 35, 24, 0.22);
    pointer-events: auto;
}

.bgit-testimonial-item.is-active .bgit-testimonial-brand,
.bgit-testimonial-item.is-active .bgit-testimonial-quote-mark,
.bgit-testimonial-item.is-active .bgit-testimonial-message,
.bgit-testimonial-item.is-active .bgit-testimonial-meta {
    animation: bgitTextFade 0.55s ease both;
}

@keyframes bgitFadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bgitTextFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bgit-testimonial-brand {
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
}

.bgit-testimonial-brand-logo .custom-logo-link {
    display: inline-flex;
}

.bgit-testimonial-brand-logo img {
    max-height: 30px;
    width: auto;
}

.bgit-testimonial-brand-text {
    color: #1b77ba;
    font-weight: 700;
    font-size: 1.35rem;
}

.bgit-testimonial-brand-stars {
    display: inline-flex;
    gap: 2px;
    color: var(--bgit-accent);
    font-size: 0.95rem;
    line-height: 1;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.bgit-testimonial-brand-stars span {
    display: inline-block;
}

.bgit-testimonial-quote-mark {
    margin: 0;
    color: var(--bgit-accent);
    width: 34px;
    height: 34px;
    font-size: 34px;
    line-height: 1;
    display: inline-block;
}

.bgit-testimonial-message {
    margin: 10px 0 0;
    color: #5c5f64;
    font-size: 0.95rem;
    line-height: 1.45;
    min-height: 108px;
}

.bgit-testimonial-divider {
    border: 0;
    border-top: 1px solid #d8d8d8;
    margin: 12px 0;
}

.bgit-testimonial-name {
    margin: 0 0 4px;
    color: #2a2d30;
    font-size: 1.05rem;
}

.bgit-testimonial-role {
    margin: 0;
    color: #6f747a;
    font-size: 0.82rem;
}

.bgit-testimonial-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bgit-testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d7d7d7;
    box-shadow: none;
    flex: 0 0 50px;
}

.bgit-testimonial-avatar-fallback {
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #0f3f74;
    background: #dfe6eb;
}

.bgit-testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.bgit-testimonial-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: #ffffff;
    color: #0c6a61;
    display: grid;
    place-items: center;
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.bgit-testimonial-arrow:hover {
    transform: translateY(-2px);
    background: var(--bgit-accent);
    color: #0f1a25;
}

.bgit-testimonial-dots {
    display: flex;
    gap: 8px;
    margin: 0 6px;
}

.bgit-testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: #c6ccd1;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.bgit-testimonial-dot:hover {
    transform: scale(1.15);
}

.bgit-testimonial-dot.is-active {
    background: #0c6a61;
}

.bgit-testimonials-title-rail {
    height: auto;
    border-bottom: 1px solid #d7d7d7;
    padding-bottom: 14px;
}

.bgit-testimonials-title-rail h2 {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.5rem, 4.5vw, 5rem);
    line-height: 0.92;
    font-weight: 700;
    opacity: 0;
    transform: translateY(10px);
}

.bgit-testimonials.section-reveal.is-visible .bgit-testimonials-head h3 {
    animation: bgitTitleFade 0.6s ease forwards;
}

.bgit-testimonials.section-reveal.is-visible .bgit-testimonials-head p {
    animation: bgitTitleFade 0.7s ease 0.08s forwards;
}

.bgit-testimonials.section-reveal.is-visible .bgit-testimonials-title-rail h2 {
    animation: bgitTitleFade 0.7s ease 0.12s forwards;
}

@keyframes bgitTitleFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .bgit-hero {
        grid-template-columns: 52% 48%;
        margin-left: var(--bgit-sidebar-width);
    }

    .bgit-hero-media {
        min-height: 100vh;
    }

    .bgit-slide {
        position: absolute;
    }

    .bgit-hero-content {
        padding: 32px 20px;
    }

    .bgit-content-item h1 {
        font-size: clamp(1.5rem, 5vw, 2.4rem);
    }

    .bgit-content-item p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .bgit-services {
        padding: 52px 20px 30px;
    }

    .bgit-services-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bgit-services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .bgit-service-card {
        min-height: auto;
        padding: 106px 24px 30px;
    }

    .bgit-services-title-rail {
        order: -1;
        border-bottom: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.32);
        padding-top: 12px;
    }

    .bgit-services-title-rail h2 {
        writing-mode: horizontal-tb;
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .bgit-about-feature {
        padding: 50px 20px 96px;
    }

    .bgit-about-wrap {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bgit-about-side-title {
        order: -1;
        border-bottom: 0;
        border-top: 1px solid #d7d7d7;
        padding-top: 12px;
        padding-bottom: 0;
    }

    .bgit-about-side-title h2 {
        writing-mode: horizontal-tb;
        transform: none;
    }

    .bgit-about-main {
        padding-bottom: 0;
    }

    .bgit-about-visual {
        aspect-ratio: auto;
        min-height: 460px;
        width: 100%;
    }

    .bgit-about-content-box {
        position: static;
        margin: 16px 0 0;
        width: 100%;
        padding: 34px 24px 28px;
        box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
    }

    .bgit-work {
        padding: 46px 20px 56px;
    }

    .bgit-work-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bgit-work-title-rail {
        order: -1;
        border-bottom: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.32);
        padding-top: 12px;
        padding-bottom: 0;
    }

    .bgit-work-title-rail h2 {
        writing-mode: horizontal-tb;
        font-size: clamp(2rem, 6vw, 3rem);
    }

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

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

    .bgit-metric-item:nth-child(2n) {
        border-right: 0;
    }

    .bgit-tools-track {
        gap: 52px;
    }

    .bgit-partners-track {
        gap: 46px;
    }

    .bgit-partners-track img {
        width: 58px;
        height: 58px;
    }

    .bgit-blog {
        padding: 46px 20px 40px;
    }

    .bgit-blog-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bgit-blog-title-rail {
        order: -1;
        border-bottom: 0;
        border-top: 1px solid #d7d7d7;
        padding-top: 12px;
        padding-bottom: 0;
    }

    .bgit-blog-title-rail h2 {
        writing-mode: horizontal-tb;
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .bgit-home-guestpost {
        padding: 46px 20px 40px;
    }

    .bgit-home-guestpost-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bgit-home-guestpost-title-rail {
        order: -1;
        border-bottom: 0;
        border-top: 1px solid #c7d7dc;
        padding-top: 12px;
        padding-bottom: 0;
    }

    .bgit-home-guestpost-title-rail h2 {
        writing-mode: horizontal-tb;
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .bgit-faq {
        padding: 46px 20px 40px;
    }

    .bgit-faq-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bgit-faq-title-rail {
        order: -1;
        border-bottom: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.32);
        padding-top: 12px;
        padding-bottom: 0;
    }

    .bgit-faq-title-rail h2 {
        writing-mode: horizontal-tb;
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .bgit-testimonials {
        padding: 46px 20px 40px;
    }

    .bgit-testimonials-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bgit-testimonials-main {
        max-width: 100%;
    }

    .bgit-testimonials-stage {
        height: auto;
    }

    .bgit-testimonials-track {
        display: grid;
        gap: 12px;
    }

    .bgit-testimonial-item,
    .bgit-testimonial-item.is-prev,
    .bgit-testimonial-item.is-next,
    .bgit-testimonial-item.is-active {
        position: static;
        transform: none;
        width: 100%;
        opacity: 1;
    }

    .bgit-testimonial-item:not(.is-active) {
        display: none;
    }

    .bgit-testimonials-title-rail {
        order: -1;
        border-bottom: 0;
        border-top: 1px solid #d7d7d7;
        padding-top: 12px;
        padding-bottom: 0;
    }

    .bgit-testimonials-title-rail h2 {
        writing-mode: horizontal-tb;
        font-size: clamp(2rem, 6vw, 3rem);
    }
}

@media (max-width: 768px) {
    html,
    body {
        background: #f4f4f4;
    }

    :root {
        --bgit-sidebar-width: 50px;
    }

    .bgit-left-rail {
        display: flex;
        width: calc(var(--bgit-sidebar-width) + 6px);
        top: 0;
        bottom: 0;
        left: 0;
        height: auto;
        min-height: 0;
        padding: 0;
        z-index: 42;
    }

    .bgit-brand-vertical {
        font-size: 24px;
    }

    .bgit-social-links {
        gap: 12px;
    }

    .bgit-social-links a {
        width: 34px;
        height: 34px;
    }

    .bgit-social-links a img {
        width: 18px;
        height: 18px;
    }

    .bgit-scroll-label {
        display: block;
        margin-top: auto;
        font-size: 10px;
        letter-spacing: 1.4px;
    }

    .bgit-menu-toggle {
        display: grid;
        top: env(safe-area-inset-top, 0);
        right: 10px;
        z-index: 60;
        border: 1px solid #d9dde2;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    }

    /* Keep sidebar/hamburger behavior consistent on all pages without animation. */
    .bgit-left-rail,
    .bgit-menu-toggle,
    .bgit-menu-toggle span {
        transition: none !important;
    }

    .bgit-offcanvas {
        transition: opacity 0.28s ease, visibility 0.28s ease;
    }

    .bgit-offcanvas-inner {
        transition: transform 0.28s ease;
    }

    .bgit-about-page,
    .bgit-services-page,
    .bgit-work-page,
    .bgit-contact-page,
    .bgit-team-page,
    .bgit-guestpost-page,
    .bgit-single-post,
    .bgit-default-page,
    .bgit-blog-archive-page,
    .bgit-home-guestpost,
    .bgit-footer,
    .bgit-hero {
        margin-left: var(--bgit-sidebar-width) !important;
        width: auto !important;
        max-width: none !important;
    }

    .bgit-hero {
        grid-template-columns: 1fr;
    }

    .bgit-hero-content {
        padding: 24px 14px;
    }

    .bgit-controls {
        right: 12px;
        bottom: 12px;
        gap: 8px;
    }

    .bgit-count {
        font-size: 16px;
    }

    .bgit-arrow {
        width: 30px;
        height: 30px;
    }

    .bgit-offcanvas-inner {
        padding: 64px 22px 20px;
    }

    .bgit-menu > li:nth-child(-n+3) > a {
        font-size: 28px;
    }

    .bgit-menu > li:nth-child(n+4) > a {
        font-size: 20px;
    }

    .bgit-home-guestpost-main {
        overflow: hidden;
    }

    .bgit-home-guestpost-table {
        min-width: 640px;
    }

    /* Avoid first-load layout glitches from reveal transforms on mobile. */
    .section-reveal .bgit-services-wrap,
    .section-reveal .bgit-services-cta-wrap,
    .section-reveal .bgit-about-wrap,
    .section-reveal .bgit-work-wrap,
    .section-reveal .bgit-work-cta-wrap,
    .section-reveal .bgit-metrics-wrap,
    .section-reveal .bgit-tools-wrap,
    .section-reveal .bgit-partners-wrap,
    .section-reveal .bgit-blog-wrap,
    .section-reveal .bgit-blog-cta-wrap,
    .section-reveal .bgit-home-guestpost-wrap,
    .section-reveal .bgit-faq-wrap,
    .section-reveal .bgit-testimonials-wrap {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 576px) {
    html,
    body {
        background: #f4f4f4;
    }

    :root {
        --bgit-sidebar-width: 46px;
    }

    .bgit-left-rail {
        width: calc(var(--bgit-sidebar-width) + 4px);
        top: 0;
        bottom: 0;
        left: 0;
        height: auto;
        min-height: 0;
        padding: 0;
    }

    .bgit-brand-vertical {
        font-size: 20px;
    }

    .bgit-social-links a {
        width: 32px;
        height: 32px;
    }

    .bgit-social-links a img {
        width: 16px;
        height: 16px;
    }

    .bgit-about-page,
    .bgit-services-page,
    .bgit-work-page,
    .bgit-contact-page,
    .bgit-team-page,
    .bgit-guestpost-page,
    .bgit-single-post,
    .bgit-default-page,
    .bgit-blog-archive-page,
    .bgit-home-guestpost,
    .bgit-footer,
    .bgit-hero {
        margin-left: var(--bgit-sidebar-width) !important;
        width: auto !important;
        max-width: none !important;
    }

    .bgit-hero {
        grid-template-columns: 1fr;
        margin-left: var(--bgit-sidebar-width);
    }

    .bgit-hero-media {
        min-height: 46vh;
    }

    .bgit-hero-content {
        min-height: 54vh;
        padding: 22px 14px 26px;
    }

    .bgit-content-item h1 {
        font-size: 1.45rem;
    }

    .bgit-content-item p {
        font-size: 0.95rem;
    }

    .bgit-cta {
        font-size: 0.85rem;
    }

    .bgit-menu > li:nth-child(-n+3) > a {
        font-size: 22px;
    }

    .bgit-menu > li:nth-child(n+4) > a {
        font-size: 16px;
    }

    .bgit-services {
        padding: 40px 12px 24px;
    }

    .bgit-service-card h3 {
        font-size: 2rem;
    }

    .bgit-service-card p {
        font-size: 0.95rem;
    }

    .bgit-about-feature {
        padding: 40px 12px 26px;
    }

    .bgit-about-visual {
        min-height: 360px;
    }

    .bgit-about-content-box h3 {
        font-size: 2rem;
    }

    .bgit-about-content-box p {
        font-size: 0.95rem;
    }

    .bgit-work {
        padding: 40px 12px 40px;
    }

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

    .bgit-work-item {
        min-height: 220px;
    }

    .bgit-metrics-wrap {
        grid-template-columns: 1fr;
    }

    .bgit-metric-item {
        border-right: 0;
    }

    .bgit-tools-wrap {
        padding: 34px 12px 40px;
    }

    .bgit-tools-track {
        gap: 38px;
    }

    .bgit-tools-track img {
        width: 42px;
        height: 42px;
    }

    .bgit-partners {
        padding: 30px 12px 34px;
    }

    .bgit-partners-track {
        gap: 34px;
    }

    .bgit-partners-track img {
        width: 46px;
        height: 46px;
    }

    .bgit-blog {
        padding: 38px 12px 32px;
    }

    .bgit-blog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .bgit-blog-thumb img {
        height: 220px;
    }

    .bgit-blog-card h3 {
        font-size: 1.85rem;
        max-width: 100%;
    }

    .bgit-home-guestpost {
        padding: 38px 12px 32px;
    }

    .bgit-home-guestpost-head {
        padding: 14px 14px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .bgit-home-guestpost-table-scroll {
        padding: 12px 14px 14px;
    }

    .bgit-home-guestpost-table {
        min-width: 560px;
    }

    .bgit-home-guestpost-table th,
    .bgit-home-guestpost-table td {
        padding: 10px 8px;
        font-size: 0.82rem;
    }

    .bgit-home-guestpost-cta-wrap {
        padding: 0 14px 14px;
    }

    .bgit-faq {
        padding: 38px 12px 30px;
    }

    .bgit-faq-question {
        font-size: 1.02rem;
        padding: 16px 14px;
    }

    .bgit-faq-answer {
        padding: 0 14px;
    }

    .bgit-testimonials {
        padding: 38px 12px 30px;
    }

    .bgit-testimonial-item {
        padding: 22px 14px;
    }

    .bgit-testimonial-message {
        font-size: 0.98rem;
        min-height: auto;
    }

    .bgit-testimonial-avatar {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }
}

/* Safari/iOS mobile overflow and viewport stabilization */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) {
        html,
        body {
            width: 100%;
            max-width: 100%;
            overflow-x: hidden;
            background: #f4f4f4;
        }

        .bgit-hero,
        .bgit-about-page,
        .bgit-services-page,
        .bgit-work-page,
        .bgit-contact-page,
        .bgit-team-page,
        .bgit-guestpost-page,
        .bgit-single-post,
        .bgit-default-page,
        .bgit-blog-archive-page,
        .bgit-home-guestpost,
        .bgit-footer {
            width: auto;
            max-width: none;
            overflow-x: hidden;
        }

        .bgit-left-rail {
            left: 0;
            top: 0;
            bottom: 0;
            height: auto;
            min-height: 0;
            padding: 0;
        }
    }
}

.bgit-footer {
    margin-left: var(--bgit-sidebar-width);
    background: #0f3f74;
    color: #e4edf8;
    padding: 54px 24px 30px;
}

.bgit-footer-wrap {
    max-width: 1300px;
    margin: 0 auto;
}

.bgit-footer-top {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.bgit-footer-col h3 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 2rem;
}

.bgit-footer-label {
    margin: 12px 0 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #ffe27a;
}

.bgit-footer-col p {
    margin: 0 0 8px;
    font-size: 1.08rem;
}

.bgit-footer-col a {
    color: #ffffff;
    text-decoration: none;
}

.bgit-footer-bottom {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.bgit-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
}

.bgit-footer-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.bgit-footer-copy {
    margin: 12px 0 0;
    color: #d2dff0;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .bgit-footer {
        padding: 42px 20px 24px;
    }

    .bgit-footer-top {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .bgit-footer {
        padding: 34px 12px 20px;
    }

    .bgit-footer-col h3 {
        font-size: 1.5rem;
    }

    .bgit-footer-col p {
        font-size: 1rem;
    }

    .bgit-footer-menu {
        gap: 8px 14px;
    }
}
