/* ===== CUSTOM PAGES COMMON CSS ===== */
/* Shared styles for all custom integration partner pages */

/* Header & Navigation Z-index Management */
header, 
.site-header, 
.navbar, 
.sticky-top {
    position: relative;
    z-index: 2000 !important;
}

/* Sticky Navbar Styling */
.sticky-navbar.stuck {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    box-shadow: 0 4px 16px rgb(0 0 0 / .08);
    animation: stickyFadeIn 0.3s;
    z-index: 98;
}

.sticky-navbar {
    position: relative;
    z-index: 2000 !important;
}

/* Stat Box Styling */
.stat-box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #E0EFFF, #ffffff);
}

.stat-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-size: 200% 200%;
    z-index: 0;
}

.stat-box > * {
    position: relative;
    z-index: 1;
}

.stat-box span + div {
    font-size: 16px !important;
    color: #121313ff;
    font-weight: 600;
}

/* Key Features Navigation Tabs */
#key_features_boomi .nav-tabs .nav-link.active,
#key_features_boomi .nav-tabs .nav-link:focus,
#key_features_boomi .nav-tabs .nav-link:hover {
    color: #0a0a0a !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 38px !important;
}

#key_features_boomi .nav-tabs .nav-link {
    position: relative;
    padding-right: 56px;
    transition: color .18s, background .18s;
}

#key_features_boomi .nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><polyline points="6 9 12 15 18 9" stroke="%236b6b6b" stroke-width="2.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
    opacity: 0.8;
    transition: all .18s ease;
}

#key_features_boomi .nav-tabs .nav-link.active {
    box-shadow: 0 6px 20px rgba(21, 112, 205, 0.12);
}

#key_features_boomi .nav-tabs .nav-link.active,
#key_features_boomi .nav-tabs .nav-link.has-arrow {
    padding-right: 64px;
}

#key_features_boomi .nav-tabs .nav-link.active::after,
#key_features_boomi .nav-tabs .nav-link.has-arrow::after {
    width: 34px;
    height: 34px;
    right: 18px;
    border-radius: 50%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><polyline points="8 6 16 12 8 18" stroke="%231B8AFC" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-size: 18px 18px;
    background-position: center;
    opacity: 1;
}

@media (max-width: 767px) {
    #key_features_boomi .nav-tabs .nav-link::after {
        display: none;
    }
}

/* Button Styling */
.elementor-kit-5 button {
    background: #ff881b00 !important;
}

.elementor-kit-5 button.btn-wrn {
    background: #FF881B !important;
}

#accordionExample button.accordion-button {
    color: #000000 !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background-image: none !important;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Feature Card Styling */
.feature-card:hover {
    box-shadow: 0 4px 16px #5CB8FF, 0 4px 16px #35A65C !important;
    background: transparent !important;
    color: #000000ff !important;
    border: none !important;
}

#section2 p {
    color: #000000c2 !important;
    transition: all 0.3s ease-in-out;
}

#section2 .feature-card:hover p,
#section2 .feature-card:hover h5 {
    color: #000000 !important;
    transition: all 0.3s ease-in-out;
}

/* Icon Styling */
div.ms-auto div {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    background: #fff;
    text-align: center;
}

div.ms-auto > div > i {
    line-height: 30px;
    color: #1B8AFC;
}

/* Sticky Navigation */
#stickyNav .nav-link {
    color: #747BBD !important;
}

#stickyNav .nav-link.active,
#stickyNav .nav-link:focus,
#stickyNav .nav-link:hover {
    color: #ffffffff !important;
    background: #1E288D !important;
}

/* Button Styling */
.intapp-button {
    text-decoration: none;
    padding: 15px 25px;
    border: 1px solid #fff;
    border-radius: 100px;
    margin-left: 0;
    margin-top: 20px !important;
    display: inline-block;
    background: #fff;
    color: #000 !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.intapp-button:hover {
    background: transparent !important;
}

/* Boomi Solutions Tabs */
#boomiSolutionsTabs {
    border-bottom: 1px solid #707070ff !important;
}

#boomiSolutionsTabs.boomi-solutions-tabs .nav-link.active,
#boomiSolutionsTabs.boomi-solutions-tabs .nav-link:focus,
#boomiSolutionsTabs.boomi-solutions-tabs .nav-link:hover {
    background: transparent !important;
    color: #2e2e2eff !important;
    border-bottom: 2px solid #1B8AFC !important;
}

.boomi-solutions-tabs .nav-link {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

/* Highlight Text */
.highlight {
    background: linear-gradient(to right, #1B8AFC, #7970FE, #B560FF);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Nuplay Robust Card Styling */
.nuplay-robust-wrapper {
    position: relative;
    overflow: visible;
}

.nuplay-robust-pin {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.nuplay-robust-pin.fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.nuplay-robust-cards {
    pointer-events: auto;
    width: 100%;
    max-width: 1300px;
    height: auto;
    min-height: 370px;
    position: relative;
    margin: 0 auto;
}

.nuplay-robust-card {
    max-height: 420px;
    min-height: 260px;
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #071436, #1546b8);
    color: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
        opacity 0.6s ease-out;
}

.nuplay-robust-card.alt1 {
    background: linear-gradient(90deg, #1B8AFC, #7970FE, #B560FF);
}

.nuplay-robust-card.alt2 {
    background: linear-gradient(90deg, #071436, #1546b8);
    color: #fff;
}

.nuplay-robust-card.alt3 {
    background: linear-gradient(90deg, #e9f0ff, #ffffff);
}

.nuplay-card-left {
    flex: 1;
    max-width: 60%;
}

.nuplay-card-left img.logo {
    width: 40px;
    height: auto;
    margin-bottom: 10px;
}

.nuplay-card-left h2 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 600;
}

.nuplay-card-left h3 {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 400;
    opacity: 0.9;
}

.nuplay-card-left p {
    margin: 0 0 14px;
    font-size: 14px;
    opacity: 0.9;
    font-weight: 300;
}

.nuplay-card-left ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nuplay-card-left ul li {
    margin-bottom: 8px;
    padding-left: 22px;
    position: relative;
    font-size: 14px;
    font-weight: 300;
}

@media (max-width: 880px) {
    .nuplay-robust-cards {
        height: 62vh;
    }
}

@media (max-width: 520px) {
    .nuplay-robust-cards {
        width: 94%;
        height: 64vh;
    }

    .nuplay-robust-card {
        padding: 20px;
        align-items: flex-start;
    }
}

/* New Card Styling */
.new-card {
    border: 2px solid #ffffffff;
}

.new-card:hover {
    box-shadow: 0 4px 24px #8a38f536;
    background:
        linear-gradient(1deg, #ffffffff, #ffffffff) padding-box,
        linear-gradient(95deg, #1B8AFC, #7970FE, #B560FF) border-box !important;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 20px;
}
