:root {
    --primary-gradient: linear-gradient(90deg, #f9a05a 0%, #ba86bf 100%);
    --text-gradient: linear-gradient(90deg, #f9a05a 0%, #8572e4 100%);
    --dark-text: #1a1a1a;
    --gray-text: #535252;
    --white: #ffffff;
    --arch-bg: #fff5eb;
}

.integrated-enterprise {
    padding: 150px 170px 0px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.v2 {
    padding: 10px 0px 0px;
}

.container {
    margin: 0 auto;
}

.main-title {
    font-size: clamp(12px, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.2;
    margin-bottom: 24px;
}

.gradient-text {
    /* background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    color: var(--primary-orange);
}

.description {
    max-width: 850px;
    margin: 0 auto 40px;
    color: var(--gray-text);
    line-height: 1.6;
    font-size: 1.1rem;
    padding: 0 20px;
}

.cta-group {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.btn-primary {
    color: white;
    padding: 14px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.btn-gradient {
    background: var(--main-color);
}

.btn-secondary {
    color: var(--gray-text);
    text-decoration: underline;
    font-weight: 600;
}

.contact-btn {
    gap: 15px;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: var(--primary-orange);
}

.carousel-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.carousel-nav svg {
    width: 24px;
    height: 24px;
}

.prev-btn {
    left: 170px;
}

.next-btn {
    right: 170px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 0 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    flex: 0 0 70%;
    scroll-snap-align: center;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scaleY(0.85);
    filter: grayscale(100%);
    opacity: 0.5;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 50%);
    background-size: cover;
    background-position: center;
}

.carousel-card img {
    width: 100%;
    /* height: 500px; */
    object-fit: fill;
    display: block;
}

.carousel-card.is-active {
    transform: scaleY(1);
    filter: grayscale(0%);
    opacity: 1;
}

.card-overlay {
    /* position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease; */
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    top: 48%;
    right: 0;
    display: flex;
    gap: 16px;
    padding: 16px 25px;
    justify-content: space-between;
    align-items: flex-end;
    opacity: 0;
    background: linear-gradient(0deg, rgb(0 0 0 / 85%) 24%, rgba(255, 255, 255, 0) 75%);
}

.carousel-card.is-active .card-overlay {
    opacity: 1;
}

.case-console {
    display: flex;
    flex: 0 1 390px;
    flex-direction: column;
    min-width: 0;
    height: 122px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 9px;
    background: #e65a0008;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
    color: #e7e8e9;
    font-family: Consolas, 'Courier New', monospace;
    text-align: left;
    backdrop-filter: blur(10px);
}

.case-console-header {
    display: flex;
    flex: 0 0 30px;
    align-items: center;
    gap: 8px;
    padding: 0 11px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .04);
}

.case-console-lights {
    display: flex;
    gap: 4px;
}

.case-console-lights i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fa6b62;
}

.case-console-lights i:nth-child(2) {
    background: #f5bd4f;
}

.case-console-lights i:nth-child(3) {
    background: #62c554;
}

.case-console-title {
    color: #aeb3b9;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.case-console-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    color: #8be0a4;
    font-family: Inter, sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .8px;
}

.case-console-status::before {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #68d889;
    box-shadow: 0 0 8px rgba(104, 216, 137, .75);
    content: "";
}

.case-console-window {
    height: 78px;
    overflow: hidden;
    padding: 6px 11px;
}

.case-console-track {
    animation: caseConsoleScroll 9s linear infinite;
}

.case-console-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.case-console-list li {
    overflow: hidden;
    color: #e0e2e4;
    font-size: 10px;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.case-console-list li span {
    margin-right: 6px;
    color: #ff9636;
}

.carousel-card:not(.is-active) .case-console-track {
    animation-play-state: paused;
}

@keyframes caseConsoleScroll {
    to {
        transform: translateY(-50%);
    }
}

.view-details {
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid white;
}

.partnerships-box {
    width: 100%;
    margin: 0;
    border-radius: 0%;
}

.arch-excellence-section {
    background-color: var(--arch-bg);
    padding: 100px 50px;
    font-family: 'Inter', sans-serif;
    border-radius: 40px;
    margin: 0 160px 100px;
}

.arch-container {
    max-width: 1200px;
    margin: 0 auto;
}

.arch-content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: space-between;
}

.arch-text-content {
    flex: 1;
}

.arch-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--dark-text);
    line-height: 35px;
    margin-bottom: 25px;
}

.arch-gradient-text {
    /* background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    color: var(--primary-orange);
}

.arch-description {
    color: var(--gray-text);
    line-height: 28px;
    font-size: 18px;
    margin-bottom: 35px;
    color: var(--gray-text);
}

.arch-btn-get-started {
    display: inline-block;
    /* background: #f9a05a; */
    background: var(--main-color);
    color: white;
    padding: 14px 40px;
    border-radius: 45px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    font-size: 15px;
}

.arch-visual-content {
    flex: 1;
    position: relative;
}

.arch-image-wrapper {
    position: relative;
    width: 100%;
}

.arch-main-img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.arch-stats-card {
    position: absolute;
    bottom: -51px;
    left: -66px;
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    width: 290px;
    border: 1px solid #f9a05a44;
}

.arch-stat-item {
    margin-bottom: 15px;
}

.arch-stat-number {
    display: block;
    font-size: 50px;
    font-weight: 300;
    color: #f9a05a;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #fd933d;
}

.arch-client-info {
    text-align: center;
}

.arch-stat-label {
    font-size: 0.85rem;
    color: #888;
}

.arch-stat-divider {
    height: 1px;
    background: #eee;
    margin: 10px 0;
}

.arch-stat-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.arch-user-avatars {
    display: flex;
}

.arch-user-avatars img {
    height: 34px;
    border: 2px solid white;
    margin-left: -10px;
}

.arch-user-avatars img:first-child {
    margin-left: 0;
}

.arch-stat-number-small {
    display: block;
    font-size: 30px;
    color: #f9a05a;
    font-weight: 300;
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #fd933d;
}

.arch-stat-label-small {
    font-size: 0.65rem;
    color: #888;
}

.case-contact-section {
    background: linear-gradient(180deg, #FFFDFB 3.09%, #FED6B5 63.31%, #FEC291 99.97%, #FDAA67 122.23%, rgba(253, 147, 61, 0.85) 139.25%);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
    padding: 0;
    display: flex;
}

.case-contact-card {
    border-radius: 0%;
    box-shadow: none;
    padding-left: 160px;
    width: 100%;
}

.case-wrapper {
    flex-direction: column;
}

.contact-links {
    flex-direction: row-reverse;
    padding-top: 50px;
}

.case-contact-img {
    width: 100%;
}

.contact-image {
    background: var(--white);
    width: 100%;
}

.inner-contact-text {
    z-index: 1;
}


@media (max-width: 768px) {
     .carousel-nav {
        width: 36px;
        height: 36px;
    }

    .carousel-nav svg {
        width: 18px;
        height: 18px;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .integrated-enterprise {
        padding: 150px 20px 0px;
        font-size: 13px;
    }

    .v2 {
        padding: 0 20px;
    }

    .card-overlay {
        top: 2%;
    }

    .arch-main-img {
        content: url("../../images/case-banner-mob.png");
    }

    .description {
        font-size: 12px;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .cta-group {
        padding-top: 24px;
    }

    .carousel-card {
        flex: 0 0 85%;
    }

    .carousel-card img {
        /* height: 185px; */
    }

    .btn-primary {
        font-size: 13px;
    }

    .arch-excellence-section {
        padding: 60px 20px;
        margin: 0 15px 60px;
    }

    .arch-title {
        font-size: 22px;
        text-align: left;
        color: var(--gray-text);
    }

    .arch-description {
        text-align: left;
        font-size: 13px;
    }

    .arch-content-wrapper {
        flex-direction: column;
    }

    .arch-btn-get-started {
        font-size: 13px;
        display: flex;
        width: fit-content;
    }

    .case-contact-section {
        flex-direction: column;
    }

    .case-contact-card {
        padding-left: 20px;
    }

    .contact-links {
        width: 100%;
    }

    .view-details {
        font-size: 10px;
    }

    .card-overlay {
        top: 2%;
        gap: 8px;
        padding: 6px 10px;
    }

    .case-console {
        flex-basis: calc(90% - 78px);
        height: 44px;
        border-radius: 7px;
    }

    .case-console-header {
        flex-basis: 22px;
        gap: 6px;
        padding: 0 8px;
    }

    .case-console-title {
        font-size: 7px;
    }

    .case-console-window {
        height: 20px;
        padding: 0 8px;
    }

    .case-console-track {
        animation: caseConsoleScroll 9s steps(3, end) infinite;
    }

    .case-console-list {
        gap: 0;
    }

    .case-console-list li {
        font-size: 8px;
        line-height: 20px;
    }

    .case-console-list li span {
        margin-right: 4px;
    }

    .case-console-status {
        display: none;
    }

}

@media (prefers-reduced-motion: reduce) {
    .case-console-track {
        animation: none;
    }
}

@media (min-width: 769px) and (max-width: 991px) {

    .arch-stats-card {
        width: 200px;
        padding: 15px;
        bottom: -20px;
    }
    .integrated-enterprise.v1{
        padding: 150px 70px 10px;
    }

    /* .integrated-enterprise {
        padding: 0 100px 10px;
    } */

    .arch-excellence-section {
        margin: 0 90px 100px;
    }

    .case-contact-card {
        padding-left: 90px;
    }

    .contact-links {
        width: 100%;
    }
}

@media (min-width: 992px) and (max-width: 1400px) {
     .prev-btn {
        left: 100px;
    }

    .next-btn {
        right: 100px;
    }

    .integrated-enterprise {
        padding: 150px 100px 0px;
    }

    .v2 {
        padding: 0px 0px;
    }

    .carousel-card img {
        /* height: 300px; */
    }

    .arch-excellence-section {
        margin: 0 111px 100px;
        padding: 60px 40px;
    }

    .case-contact-card {
        padding-left: 111px;
    }

    .case-contact-img {
        padding-top: 50px;
    }

    .case-contact-card {
        width: 55%;
    }
}