/* Brand-safe corrections layered over the original visual system. */

html,
body {
    overflow-x: hidden;
}

/* The legal suffix is not part of the visible brand presentation. */
.section-hero .sub {
    display: none !important;
}

.features-center .gitinfosys-center-name {
    display: block;
    max-width: 100%;
    color: #2F4167;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.045em;
    white-space: nowrap;
}

.features-item .git-feature-glyph {
    color: #fff;
}

.features-item .git-feature-glyph svg {
    display: block;
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.features-item .git-feature-glyph svg circle {
    fill: currentColor;
    stroke: none;
}

/* The longer GIT Infosys copy needs clear breathing room before the two-column cards. */
@media (min-width: 768px) {
    .section-about-us .heading-section {
        margin-bottom: 34px;
    }

    .section-about-us .heading-title {
        max-width: 1120px;
    }
}

/* Statistics: keep the value and suffix together at every breakpoint. */
.section-statistic .swiper .statistic-number {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 10px;
    white-space: nowrap;
}

.section-statistic .swiper .statistic-number .number,
.section-statistic .swiper .statistic-number .prefix {
    position: static;
    display: inline-block;
    margin: 0;
    transform: none;
}

.section-statistic .swiper .statistic-number .prefix {
    flex: 0 0 auto;
}

.section-statistic .swiper-progressbar,
.section-statistic .swiper-progressbar .swiper-wrapper {
    width: 100%;
    min-width: 0;
}

.section-statistic .swiper-progressbar {
    overflow: hidden;
}

.section-statistic .swiper-progressbar .swiper-slide {
    width: 100% !important;
    min-width: 100% !important;
    flex: 0 0 100% !important;
    min-height: 0;
    overflow: hidden;
}

.section-statistic .swiper .title {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

.section-statistic .group-slider .group-btn-slider .btn-slider {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    user-select: none;
}

.section-statistic .git-slider-arrow {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.section-statistic .group-btn-slider .btn-slider:hover .git-slider-arrow {
    stroke: var(--brand);
}

/* The source page uses quote-based packages; keep the four cards balanced. */
#pricing .pricing-item .price-number {
    font-size: clamp(36px, 4.5vw, 64px);
    line-height: 1;
    white-space: nowrap;
}

#pricing .pricing-item .heading {
    gap: 18px;
}

#pricing .pricing-item .heading .tf-btn {
    flex: 0 0 auto;
}


/* Technology section: same dark rounded rows as the original highlights section. */
.git-tech-section .heading-title {
    margin-top: 18px;
}

.git-tech-list {
    display: grid;
    gap: 16px;
}

.git-tech-item {
    display: grid;
    grid-template-columns: minmax(84px, .8fr) minmax(130px, 1.15fr) minmax(260px, 2fr) minmax(110px, .8fr);
    align-items: center;
    gap: 16px;
    min-height: 98px;
    padding: 0 32px;
    border: 1px solid var(--neutral-800);
    border-radius: 24px;
    transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.git-tech-item:hover {
    background: linear-gradient(0deg, var(--neutral-900), var(--neutral-900)), radial-gradient(62.56% 62.56% at 28.14% -10.42%, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0));
    border-color: var(--neutral-700);
    box-shadow: 0 -4px 0 #111 inset, 0 2px 0 rgba(255, 255, 255, .1) inset, 0 7.77px 2.21px rgba(0, 0, 0, .06), 0 3px 3px rgba(0, 0, 0, .1);
}

.git-tech-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 42px;
    border-radius: 12px;
    background: var(--white);
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.03em;
}

.git-tech-name {
    font-weight: 600;
}

.git-tech-description {
    color: var(--white);
}

.git-tech-type {
    text-align: end;
}

@media (max-width: 1199px) {
    .git-tech-item {
        grid-template-columns: 76px minmax(120px, 1fr) minmax(190px, 2fr) 100px;
        padding: 0 24px;
    }
}

@media (max-width: 767px) {
    .git-tech-item {
        grid-template-columns: 62px 1fr;
        gap: 8px 16px;
        min-height: 0;
        padding: 20px;
    }

    .git-tech-mark {
        grid-row: span 2;
    }

    .git-tech-description {
        grid-column: 2;
    }

    .git-tech-type {
        grid-column: 2;
        text-align: start;
    }
}

/* Client strip: use the real portfolio client marks while preserving the quiet marquee treatment. */
.partner-wrap .infiniteSlide_partner img {
    width: 148px;
    height: 48px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .64;
}

.partner-wrap .infiniteSlide_partner img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Work section: compact two-column case-study cards instead of oversized full-width panels. */
#works .heading-section {
    margin-bottom: 40px;
}

#works .featured-works-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

#works .featured-works-item {
    padding: 10px;
    border-radius: 28px;
}

#works .featured-works-item .image {
    aspect-ratio: 1.55 / 1;
    border-radius: 22px;
}

#works .featured-works-item .content {
    padding: 22px 24px 16px;
}

#works .featured-works-item .content .pagi-dot {
    padding-bottom: 14px;
    margin-bottom: 18px;
}

#works .featured-works-item .content .bot {
    gap: 18px;
}

#works .featured-works-item .content .bot .heading {
    width: 34%;
}

#works .featured-works-item .content .grid-text {
    width: 66%;
    gap: 12px 18px;
}

#works .featured-works-item .content .grid-text .item:nth-child(1) {
    width: 42%;
}

#works .featured-works-item .content .grid-text .item:nth-child(2),
#works .featured-works-item .content .grid-text .item:nth-child(3) {
    width: 25%;
}

/* Restore the starter template's connected feature paths around the center brand box. */
@media (min-width: 992px) {
    .section-features .side-line-main {
        display: block !important;
        pointer-events: none;
    }

    .section-features .position-relative>.container {
        position: relative;
        z-index: 2;
    }

    .section-features .features-center {
        position: relative;
        z-index: 3;
    }
}

@media (max-width: 991px) {
    .section-features .side-line-main {
        display: none !important;
    }
}

/* Five-step process: keep each stage legible without the original oversized spacing. */
.section-process .process-card {
    min-height: 420px;
    padding: 26px;
    border-radius: 30px;
}

.section-process .process-card .icon {
    width: 58px;
    height: 58px;
    margin-bottom: 48px;
    font-size: 26px;
}

.section-process .process-card .content {
    margin-bottom: 48px;
}

.section-process .process-card .bot .number {
    font-size: 52px;
    line-height: 52px;
}

.section-process .process-card .bot .time {
    padding: 7px 12px 6px;
}

@media (max-width: 991px) {
    #works .featured-works-list {
        grid-template-columns: 1fr;
    }

    #works .featured-works-item .image {
        aspect-ratio: 1.75 / 1;
    }
}

@media (max-width: 767px) {
    .partner-wrap .infiniteSlide_partner img {
        width: 124px;
        height: 42px;
    }

    #works .featured-works-item .content {
        padding: 18px 12px 12px;
    }

    #works .featured-works-item .content .bot,
    #works .featured-works-item .content .grid-text {
        width: 100%;
    }

    #works .featured-works-item .content .bot {
        flex-direction: column;
    }

    #works .featured-works-item .content .bot .heading {
        width: 100%;
    }

    #works .featured-works-item .content .grid-text {
        flex-direction: column;
    }

    #works .featured-works-item .content .grid-text .item {
        width: 100% !important;
    }

    .section-process .process-card {
        min-height: 0;
        padding: 22px;
    }

    .section-process .process-card .icon {
        margin-bottom: 34px;
    }

    .section-process .process-card .content {
        margin-bottom: 34px;
    }
}

/* Technology stack: light four-column cards matching the requested reference layout. */
.git-tech-section {
    background: #f4f6ff;
    color: var(--primary);
}

.git-tech-section .heading-sub,
.git-tech-section .heading-title {
    color: var(--primary);
}

.git-tech-section .heading-sub.style-1 {
    color: #fff !important;
    background: var(--primary);
}

.git-tech-section .heading-sub::before {
    background: var(--brand);
}

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

.git-tech-card {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 78px;
    padding: 20px 24px;
    border: 1px solid #dde2ec;
    border-radius: 22px;
    background: #fff;
    color: #0c244d;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.git-tech-card:hover {
    transform: translateY(-2px);
    border-color: #bdc9dd;
    box-shadow: 0 12px 24px rgba(18, 40, 81, .08);
}

.git-tech-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    color: #27364c;
    font-size: 22px;
    line-height: 1;
}

.git-tech-icon svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.git-tech-card .git-tech-name {
    color: #0c244d;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
}

/* Portfolio screenshots: preserve the full client page instead of cropping it inside the card. */
#works .featured-works-item .image {
    background: #fff;
}

#works .featured-works-item .image img {
    object-fit: contain;
    object-position: center;
    background: #fff;
}

@media (max-width: 1199px) {
    .git-tech-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .git-tech-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .git-tech-card {
        min-height: 72px;
        padding: 16px;
        gap: 12px;
        border-radius: 18px;
    }

    .git-tech-icon {
        flex-basis: 18px;
        width: 18px;
        font-size: 18px;
    }

    .git-tech-icon svg {
        width: 18px;
        height: 18px;
    }

    .git-tech-card .git-tech-name {
        font-size: 14px;
    }
}

/* Pricing: use the requested alternating card contrast and keep each price on one clean line. */
#pricing .pricing-item .heading {
    justify-content: flex-start;
    align-items: center;
}

#pricing .pricing-item .heading .tf-btn {
    display: none !important;
}

#pricing .pricing-item .heading .price-number {
    font-size: clamp(36px, 4.3vw, 62px);
    line-height: 1;
    white-space: nowrap;
}

#pricing .pricing-item .heading .price-per {
    white-space: nowrap;
}

#pricing .row {
    row-gap: 28px;
}

/* The inline feature SVGs replace the theme icon font; suppress its fallback square. */
.features-item .git-feature-glyph {
    font-size: 0;
}

.features-item .git-feature-glyph::before {
    display: none !important;
    content: none !important;
}

.features-item .git-feature-glyph svg {
    display: block;
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.features-item .git-feature-glyph svg circle {
    fill: currentColor;
    stroke: none;
}

/* Keep the floating control visible as a clear black box with a white triangle arrow. */
#goTop .git-go-top-icon {
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor;
    color: #fff;
}

#goTop {
    border-radius: 12px;
    background: #272727;
    box-shadow: 0 -3px 0 #080808 inset, 0 1px 0 rgba(255, 255, 255, .3) inset, 0 6px 14px rgba(0, 0, 0, .25);
}

#goTop .border-progress {
    border-radius: inherit;
}

/* Keep anchored sections clear of the fixed navbar. */
#services {
    scroll-margin-top: 112px;
}

/* Portfolio cards: give the project details a clean designer-style divider and one extra detail. */
#works .featured-works-item .content .bot {
    display: block;
}

#works .featured-works-item .content .bot .heading {
    width: 100% !important;
    margin-bottom: 24px;
}

#works .featured-works-item .content .grid-text {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    width: 100% !important;
    gap: 16px;
}

#works .featured-works-item .content .grid-text .item,
#works .featured-works-item .content .grid-text .item:nth-child(1),
#works .featured-works-item .content .grid-text .item:nth-child(2),
#works .featured-works-item .content .grid-text .item:nth-child(3),
#works .featured-works-item .content .grid-text .item:nth-child(4) {
    width: auto !important;
    min-width: 0;
}

#works .featured-works-item .content .grid-text .item+.item {
    padding-left: 16px;
    border-left: 0;
    position: relative;
}

#works .featured-works-item .content .grid-text .item+.item::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(205, 205, 210, .2), #d4d4d8 18%, #d4d4d8 82%, rgba(205, 205, 210, .2));
}

#works .featured-works-item .content .grid-text .title {
    margin-bottom: 8px;
    letter-spacing: .02em;
}



@media (max-width: 767px) {
    #works .featured-works-item .content .bot .heading {
        margin-bottom: 20px;
    }

    #works .featured-works-item .content .grid-text {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #works .featured-works-item .content .grid-text .item+.item {
        padding-left: 0;
        border-top: 1px solid var(--neutral-300);
        padding-top: 14px;
    }

    #works .featured-works-item .content .grid-text .item+.item::before {
        display: none;
    }
}

/* Use friendly process-step emoji inside the existing red icon boxes. */
.section-process .process-card .git-process-emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
    font-size: 29px !important;
    line-height: 1;
    color: #fff;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0;
}

.section-process .process-card .git-process-emoji::before {
    display: none !important;
    content: none !important;
}

/* Keep the statistics value fully inside its single slide on tablet and mobile widths. */
@media (max-width: 1199px) {
    .section-statistic .swiper .statistic-number {
        font-size: clamp(96px, 13vw, 160px);
        line-height: 1;
    }

    .section-statistic .swiper .statistic-number .prefix {
        font-size: clamp(90px, 12.5vw, 150px);
    }
}

@media (max-width: 767px) {
    .section-statistic .swiper .statistic-number {
        font-size: clamp(74px, 17vw, 126px);
    }

    .section-statistic .swiper .statistic-number .prefix {
        font-size: clamp(68px, 16vw, 118px);
    }
}

/* Testimonials: clean two-column quote slider matching the supplied reference. */
.git-testimonials-section {
    position: relative;
    z-index: 1;
    padding: 112px 0 118px !important;
    background: #fff !important;
    color: #0a0a0d;
    overflow: hidden;
}

.git-testimonial-layout {
    display: grid;
    grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: clamp(56px, 9vw, 142px);
}

.git-testimonial-intro {
    min-width: 0;
}

.git-testimonial-title {
    margin: 0;
    color: #0a0a0d;
    font-family: "Urbanist", sans-serif;
    font-size: clamp(48px, 5.7vw, 82px);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.055em;
}

.git-testimonial-title strong {
    font-weight: 800;
}

.git-testimonial-description {
    max-width: 340px;
    margin: 30px 0 0;
    color: #202126;
    font-size: 18px;
    line-height: 1.45;
}

.git-testimonial-controls {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.git-testimonial-arrow {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #d5d7de;
    border-radius: 50%;
    background: #fff;
    color: #0a0a0d;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.git-testimonial-arrow svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.git-testimonial-arrow:hover {
    border-color: #152c87;
    background: #152c87;
    color: #fff;
    transform: translateY(-2px);
}

.git-testimonial-swiper {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.git-testimonial-swiper .swiper-slide {
    height: auto;
}

.git-testimonial-slide {
    min-height: 310px;
}

.git-testimonial-mark {
    height: 52px;
    color: #152c87;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 88px;
    font-weight: 700;
    line-height: .82;
}

.git-testimonial-quote {
    max-width: 720px;
    margin: 0;
    color: #0a0a0d;
    font-size: clamp(28px, 3.1vw, 44px);
    font-weight: 500;
    line-height: 1.16;
    letter-spacing: -.035em;
}

.git-testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
}

.git-testimonial-author img {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.git-testimonial-name {
    color: #101116;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.git-testimonial-sub {
    margin-top: 3px;
    color: #53555e;
    font-size: 13px;
    line-height: 1.3;
}

@media (max-width: 991px) {
    .git-testimonials-section {
        padding: 82px 0 88px !important;
    }

    .git-testimonial-layout {
        grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
        gap: 48px;
    }

    .git-testimonial-title {
        font-size: clamp(44px, 7vw, 66px);
    }

    .git-testimonial-quote {
        font-size: clamp(25px, 3.4vw, 36px);
    }
}

@media (max-width: 767px) {
    .git-testimonials-section {
        padding: 64px 0 70px !important;
    }

    .git-testimonial-layout {
        display: block;
    }

    .git-testimonial-description {
        margin-top: 22px;
        font-size: 16px;
    }

    .git-testimonial-controls {
        margin-top: 22px;
        margin-bottom: 52px;
    }

    .git-testimonial-slide {
        min-height: 0;
    }

    .git-testimonial-mark {
        height: 44px;
        font-size: 72px;
    }

    .git-testimonial-quote {
        font-size: clamp(26px, 7vw, 34px);
    }
}
