: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: 60px;
}

.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(--primary-gradient);
}

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

.contact-btn {
    gap: 15px;
}

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

.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 40px 0;
    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: 67%;
    right: 0;
    display: flex;
    padding: 20px 25px;
    padding-top: 120px;
    justify-content: space-between;
    align-items: center;
    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;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    flex: 0;
}

.tag::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0px 0px 10px 2px rgba(253, 147, 61, 1),
              0px 0px 10px 2px rgba(253, 147, 61, 0.14);
  
  animation: pulse 1s alternate infinite;
  -webkit-animation: pulse 1s alternate infinite;
}

/* Combined Keyframes for better compatibility */
@keyframes pulse {
  0% {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: inset 0px 0px 10px 2px rgba(253, 147, 61, 1),
                0px 0px 5px 2px rgba(253, 147, 61, 0.14);
  }
  100% {
    background: rgba(255, 255, 255, 1);
    box-shadow: inset 0px 0px 10px 2px rgba(253, 147, 61, 1),
                0px 0px 15px 2px rgba(253, 147, 61, 0.14);
  }
}

/* Webkit specific keyframes if needed for older Safari/Chrome */
@-webkit-keyframes pulse {
  0% {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: inset 0px 0px 10px 2px rgba(253, 147, 61, 1),
                0px 0px 5px 2px rgba(253, 147, 61, 0.14);
  }
  100% {
    background: rgba(255, 255, 255, 1);
    box-shadow: inset 0px 0px 10px 2px rgba(253, 147, 61, 1),
                0px 0px 15px 2px rgba(253, 147, 61, 0.14);
  }
}

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

.scroll-progress {
    width: 120px;
    height: 4px;
    background: #eee;
    margin: 30px auto;
    border-radius: 10px;
    position: relative;
}

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

.progress-bar {
    width: 33%;
    height: 100%;
    background-color: #f9a05a !important;
    border-radius: 10px;
    position: absolute;
    left: 0;
    transition: left 0.2s ease-out;
}

.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;
    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) {

    .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%;
    }

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

}

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

    .arch-stats-card {
        width: 200px;
        padding: 15px;
        bottom: -20px;
    }

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

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

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

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

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

    .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%;
    }
}