.badge-rpa-metric {
    display: inline-block;
    width: fit-content;
    padding: 6px 16px;
    background: rgba(0, 116, 235, 0.08);
    border: 1px solid rgba(0, 116, 235, 0.4);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.badge-rpa-metric:hover {
    background: rgba(0, 116, 235, 0.2);
    border-color: #0074eb;
    transform: translateY(-2px);
}

.stat-box::before {
    content: "";
    position: absolute;
    top: 15%;
    left: 12px;
    height: 70%;
    width: 3px;
    background: linear-gradient(175.37deg, #a639ff 13.49%, #0593f8 121.57%);
    border-radius: 2px;
}

.stats .experience {
    padding-left: 22px;
}

@media (max-width: 767.98px) {
    .stat-box::before {
        display: none;
    }
}

.rpa-industries .nav-button {
    width: 100%;
    height: 55px;
    margin-bottom: 10px;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 8px;
    background: transparent;
    color: #fff;
    text-align: left;
    cursor: pointer;
}

.rpa-industries .nav-button.active {
    background: linear-gradient(to right, #003164, #0a0915);
}

.rpa-industries .nav-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.rpa-industries .custom-dropdown {
    color: #fff;
    background: linear-gradient(to right, #003164, #0a0915);
    border-radius: 15px;
}

.rpa-industries .selected-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 15px;
    cursor: pointer;
}

.rpa-industries .dropdown-options {
    z-index: 1000;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 15px;
    background: linear-gradient(to right, #003164, #0a0915);
}

.rpa-industries .dropdown-options .dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px;
    color: #fff;
    cursor: pointer;
}

.rpa-industries .dropdown-options .dropdown-item:hover,
.rpa-industries .dropdown-options .dropdown-item.active {
    background: linear-gradient(to right, #003164, #0a0915);
}

.rpa-industries .arrow-img {
    width: 18px;
    height: 18px;
}

.rpa-industries .content-card {
    min-height: 100%;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 10px;
}

.rpa-industries .industry-stat-box {
    min-height: 125px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.rpa-industries .industry-stat-box:hover {
    transform: translateY(-4px);
    border-color: #F5A623;
}

.rpa-industries .slide-up {
    animation: slideUp 0.4s ease-in-out forwards;
}

.rpa-industries .slide-down {
    animation: slideDown 0.4s ease-in-out forwards;
}

.rpa-industries .fade-out {
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 991.98px) {
    .rpa-industries .content-card {
        padding: 24px !important;
    }
}

@media (max-width: 575.98px) {
    .rpa-industries .content-card {
        padding: 20px 10px !important;
    }

    .rpa-industries .industry-stat-box {
        min-height: 125px;
        padding: 12px !important;
    }
}

/* Process Section Timeline & Cards */
.side-line {
    position: absolute;
    left: 80%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 1px;
    height: 83%;
    background: rgb(200, 200, 200);
}

.point-ball,
.point-ball1,
.point-ball2,
.point-ball3,
.point-ball4 {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #21D496;
    background: #fff;
    position: absolute;
    left: 80%;
    transform: translateX(-50%);
}

.point-ball {
    top: 0%;
}

.point-ball1 {
    top: 24%;
}

.point-ball2 {
    top: 44%;
}

.point-ball3 {
    top: 64%;
}

.point-ball4 {
    top: 81%;
}

.inner-ball {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #21D496;
}

.process-card {
    padding: 40px 0 15px 0;
}

.process-img {
    width: 100%;
    max-width: 450px;
}

/* Right side cards animation */
.card-1,
.card-2,
.card-3,
.card-4 {
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.8s ease;
}

.card-5 {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.8s ease;
}

.card-1.show,
.card-2.show,
.card-3.show,
.card-4.show,
.card-5.show {
    opacity: 1;
    transform: translateY(0);
}

/* Desktop Only Sticky Behavior */
@media (min-width: 992px) {
    .process-card .col-lg-5 {
        position: sticky;
        top: 100px;
        height: fit-content;
    }

    .process-card {
        overflow: visible;
    }
}

/* Tablet & Mobile */
@media (max-width: 991.98px) {
    .process-card .col-lg-5 {
        position: static;
        top: auto;
    }

    .process-card {
        padding: 10px 0;
    }
}


.expert-card .card {
    background-image: url("https://d2q4gipm2ebkzp.cloudfront.net/img/gen-ai/expertcard.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    border: none !important;
    box-shadow: none;
    overflow: hidden;
    height: auto !important;
}

.expert-card .robot-img {
    max-width: 100%;
    max-height: 250px;
    height: auto;
    object-fit: contain;
}

@media (min-width: 992px) {
    .expert-card .robot-img {
        max-width: 320px;
        max-height: 280px;
        margin-top: -28px;
    }
}

/* Why Choose Cards */
.rpa-premium-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    height: 100%;
    transition: all 0.3s ease;
}

.rpa-premium-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.benefit-icon-lg img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* Tools & Technology Items */
.tech-item-react {
    transition: transform 0.3s ease;
}

.tech-item-react:hover {
    transform: translateY(-2px);
}

.tech-item-react img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.tech-item-react span {
    white-space: nowrap;
}

/* Reviews Carousel */
.reviws-card {
    min-height: 360px;
    border-radius: 12px;
    background-color: #EBF5FF;
}

.reviws-img {
    max-height: 40px;
    max-width: 120px;
    object-fit: contain;
}

/* Carousel Nav & Dots Fix */
.our-clint {
    position: relative;
    z-index: 10;
}

.our-clint #demo-carousell1 {
    position: relative;
    padding-bottom: 26px;
}

.our-clint .owl-theme .owl-nav {
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    float: none !important;
    width: auto !important;
}

.our-clint .owl-theme .owl-prev,
.our-clint .owl-theme .owl-next {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-radius: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    transition: all 0.25s ease;
}

.our-clint .owl-theme .owl-prev:hover,
.our-clint .owl-theme .owl-next:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.our-clint .owl-theme .owl-prev img,
.our-clint .owl-theme .owl-next img {
    width: 10px !important;
    height: 10px !important;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.our-clint .owl-dots {
    position: absolute !important;
    bottom: 6px !important;
    left: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    float: none !important;
    width: auto !important;
}

.our-clint .owl-dots .owl-dot span {
    width: 8px !important;
    height: 8px !important;
    background: #919090 !important;
    border-radius: 50% !important;
    display: block !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
}

.our-clint .owl-dots .owl-dot.active span {
    background: #ffffff !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
}

.our-clint .owl-carousel button.owl-dot,
.our-clint .owl-carousel button.owl-dot.active {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

/* FAQ layout adapted from the AI services page */
.web-scraping-faq #accordionFlushExample {
    height: 52vh;
    overflow-y: auto;
}

.web-scraping-faq .accordion-item {
    background-color: transparent !important;
    border-top: 1px solid #526577 !important;
}

.web-scraping-faq .accordion-button {
    background-color: transparent !important;
}

.web-scraping-faq .accordion-button:focus {
    box-shadow: none !important;
}

.web-scraping-faq .accordion-button::after {
    background-image: url("https://d2q4gipm2ebkzp.cloudfront.net/img/plus.png") !important;
}

/* Industries typography at Bootstrap tablet and mobile breakpoints. */
@media (max-width: 991.98px) {
    .rpa-industries .industry-responsive-title {
        font-size: 1.5rem !important;
    }

    .rpa-industries .industry-responsive-description {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 767.98px) {
    .rpa-industries .industry-responsive-title {
        font-size: 1.25rem !important;
    }

    .rpa-industries .industry-responsive-description,
    .rpa-industries .industry-responsive-copy {
        font-size: 14px !important;
    }

    .rpa-industries .industry-responsive-stat-value {
        font-size: 14px !important;
    }

    .rpa-industries .industry-responsive-stat-label {
        font-size: 12px !important;
    }
}