/* Outer Slider Wrapper */
.um-cert-slider-outer {
    position: relative;
    max-width: 600px;
    margin: 40px auto;
    overflow: hidden;
    padding: 20px;
}

/* Slide Container */
.um-cert-container {
    display: flex;
    overflow: visible;
    /* Handled by JS */
    gap: 0;
    padding: 0;
    width: 100%;
}

.um-cert-wrapper {
    min-width: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    perspective: 1200px;
    opacity: 1;
    /* JS handles visibility */
}

.um-cert-card {
    background-color: #0b1120;
    /* Dark background from image */
    color: #ffffff;
    border-radius: 32px;
    padding: 30px;
    width: 440px;
    max-width: 90%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
}

/* Nav Buttons */
.um-cert-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.um-cert-nav button {
    background: #0b1120;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.um-cert-nav button:hover {
    background: #1e293b;
    border-color: #008080;
    transform: scale(1.1);
}

.um-cert-card:hover {
    transform: scale(1.04) rotateY(5deg);
    box-shadow: 0 30px 60px rgba(0, 128, 128, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Entrance Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) rotateX(-10deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* Stagger animation for children in container */
.um-cert-container .um-cert-wrapper:nth-child(1) {
    animation-delay: 0.1s;
}

.um-cert-container .um-cert-wrapper:nth-child(2) {
    animation-delay: 0.2s;
}

.um-cert-container .um-cert-wrapper:nth-child(3) {
    animation-delay: 0.3s;
}

.um-cert-container .um-cert-wrapper:nth-child(4) {
    animation-delay: 0.4s;
}

.um-cert-container .um-cert-wrapper:nth-child(5) {
    animation-delay: 0.5s;
}

.um-cert-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.um-cert-badge-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 128, 128, 0.4);
}

.um-cert-badge-icon svg {
    width: 32px;
    height: 32px;
}

.um-cert-id-container {
    text-align: right;
}

.um-cert-id-label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.um-cert-id-value {
    font-size: 14px;
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 0.5px;
}

.um-cert-body {
    margin-bottom: 40px;
}

.um-cert-name {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: #ffffff;
}

.um-cert-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.um-cert-footer {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.um-cert-divider {
    height: 3px;
    width: 100%;
    border-radius: 2px;
}

.um-cert-orgs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.um-cert-org-tag {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 10px 18px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}