/* ===== CertiNext US Landing Page Styles =====
   Scoped to en-us/certinext pages only.
   All classes prefixed with "us-" to avoid conflicts.
   ============================================= */


/* Stat counter box */
.us-counter-box {
    border: 2px solid var(--primary-200, #C3DDFD);
    border-radius: 20px;
    padding: 32px 24px;
    background: var(--primary-050, #EBF5FF);
}

/* Stat counter strip */
.us-counter-num {
    font-size: 52px;
    font-weight: 800;
    color: var(--primary-700, #1A56DB);
    line-height: 1;
    display: inline-block;
}
.us-counter-num-suffix {
    font-size: 52px;
    font-weight: 800;
    color: var(--primary-700, #1A56DB);
    line-height: 1;
}
@media (max-width: 767px) {
    .us-counter-num,
    .us-counter-num-suffix { font-size: 38px; }
}

/* Industries section — card border */
#industries .emsig-cards-sec {
    border: 1px solid var(--primary-200, #C3DDFD);
}

/* Partner section — illustration size */
#partners .emsig-hero-illustration {
    height: 325px;
    max-width: 325px;
}

/* Post-Quantum masonry — heading and card alignment */
@media (min-width: 768px) {
    #post-quantum .emsig-grid-heading {
        max-width: 820px;
        top: 20px;
    }
    #post-quantum .emsig-recbox-leftcard { height: calc(100% - 280px) !important; }
    #post-quantum .ems-h200 { height: 200px; }
    #post-quantum .emsig-374 { height: 480px; }
    #post-quantum .emsig-h240 { height: 260px; }
}

/* Sticky side layout — for US pages */
.ems-leadcontent-overide p {
    margin-block: 0.75rem !important;
}
@media (min-width: 768px) {
    .ems-stickside {
        position: -webkit-sticky;
        position: sticky;
        top: 120px;
    }
}
.ems-right-v-cards {
    display: grid;
    gap: 20px;
}
@media (min-width: 768px) {
    .ems-right-v-cards {
        gap: 40px;
    }
}

/* Hero recognition chips */
.us-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; margin-bottom: 0; }
/* Partner stacked rows (full-width, horizontal layout per card) */
.us-partner-row { display: flex; gap: 32px; align-items: center; padding: 32px; }
.us-partner-row__fig { flex: 0 0 220px; display: flex; align-items: center; justify-content: center; }
.us-partner-row__fig img { max-height: 160px; width: 100%; height: auto; object-fit: contain; }
.us-partner-row__body { flex: 1 1 auto; min-width: 0; }
@media (max-width: 767px) {
    .us-partner-row { flex-direction: column; gap: 20px; padding: 24px; }
    .us-partner-row__fig { flex-basis: auto; }
    .us-partner-row__fig img { max-height: 120px; }
}

/* Pop-up modals (Contact / Partner) — style mirrors webinars form */
.us-modal .modal-content { border-radius: 16px; border: 0; padding: 8px; }
.us-modal .modal-header {
    border-bottom: 1px solid #E5E7EB;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.us-modal .us-modal-close {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    background: #fff;
    color: #374151;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    padding: 0;
}
.us-modal .us-modal-close:hover {
    background: #F3F4F6;
    color: #111928;
    border-color: #D1D5DB;
}
.us-modal .us-modal-close i { line-height: 1; }
.us-modal .modal-body { padding: 20px 20px 24px; }

.us-modal .us-form .form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}
.us-modal .us-form .form-control,
.us-modal .us-form .form-select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #E5E7EB;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #1F2A37;
    background: #fff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    box-sizing: border-box;
}
.us-modal .us-form .form-control::placeholder,
.us-modal .us-form textarea.form-control::placeholder {
    color: #9CA3AF;
}
.us-modal .us-form .form-control:focus,
.us-modal .us-form .form-select:focus {
    border-color: #1A56DB;
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.08);
}
.us-modal .us-form .was-validated .form-control:invalid,
.us-modal .us-form .was-validated .form-select:invalid,
.us-modal .us-form.was-validated .form-control:invalid,
.us-modal .us-form.was-validated .form-select:invalid {
    border-color: #DC2626;
}
.us-modal .us-form textarea.form-control { min-height: 110px; resize: vertical; }
.us-modal .us-form .us-form-btn { min-width: 180px; margin-top: 6px; }

/* Phone field with country code */
.us-phone-group {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.us-phone-group .us-phone-code {
    flex: 0 0 135px;
    max-width: 135px;
    background-color: #F9FAFB;
    font-weight: 600;
}
.us-phone-group .us-phone-input { flex: 1 1 auto; min-width: 0; }
@media (max-width: 480px) {
    .us-phone-group .us-phone-code { flex-basis: 110px; max-width: 110px; font-size: 0.82rem; padding-left: 8px; padding-right: 24px; }
}

/* Partner card icon — left-aligned, natural small icon */
.us-partner-card-icon {
    display: block;
    height: 80px;
    width: auto;
    max-width: 100%;
    align-self: flex-start;
    margin-right: auto;
    margin-bottom: 4px;
}

/* Partner benefit bullets */
.us-partner-benefits { list-style: none; margin: 0; padding: 0; }
.us-partner-benefits li {
    position: relative;
    padding: 6px 0 6px 28px;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}
.us-partner-benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 18px;
    height: 18px;
    background: var(--primary-050, #EBF5FF);
    border-radius: 50%;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8l3 3 6-6' stroke='%231C64F2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
}

/* Partner directory CTA strip (below cards) */
.us-partner-directory-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 20px 24px;
}
@media (max-width: 575px) {
    .us-partner-directory-cta { flex-direction: column; text-align: center; gap: 12px; padding: 20px; }
}

/* Banner heading adjustments */
.us-banner-row .ems-banner__heading { font-size: clamp(32px, 4.2vw, 54px) !important; line-height: 1.1; font-weight: 700; }
@media (max-width: 991px) {
    .us-banner-row .ems-banner__heading { font-size: clamp(28px, 6vw, 40px) !important; }
}

/* Client logos marquee — US landing */
.ems-logos-wrapper { padding: 48px 0 56px; }
.ems-logos-wrapper .marquee { --gap: 3.5rem; }
.ems-logos-wrapper .client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 0 12px;
}
.ems-logos-wrapper .client-logo img { max-height: 44px; width: auto; object-fit: contain; }
@media (max-width: 767px) {
    .ems-logos-wrapper { padding: 32px 0 40px; }
    .ems-logos-wrapper .marquee { --gap: 2rem; }
    .ems-logos-wrapper .client-logo { min-width: 100px; padding: 0 8px; }
    .ems-logos-wrapper .client-logo img { max-height: 32px; }
}
/* Tighten banner to match en-in height */
.ems-banner .ems-banner__row.us-banner-row { align-items: flex-start; }
.us-banner-row .ems-banner-illustration { height: 360px; }
@media (max-width: 767px) {
    .us-banner-row .ems-banner-illustration { height: 190px !important; }
}
.us-hero-chip {
    background: var(--primary-050, #EBF5FF);
    border: 1px solid var(--primary-200, #C3DDFD);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--primary-700, #1A56DB);
    font-weight: 500;
    display: inline-block;
}
.us-hero-powered {
    margin-top: 14px;
    font-size: 13px;
    color: var(--neutral-500, #6B7280);
    border-top: 1px solid var(--neutral-200, #E5E7EB);
    padding-top: 16px;
    max-width: 760px;
}

/* Problem / Why Now cards */
.us-problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.us-problem-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 28px;
    transition: .2s;
}
.us-problem-card:hover {
    border-color: var(--ems-primary-600, #2563EB);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(31,56,100,.08);
}
.us-problem-card .num {
    font-size: 14px;
    font-weight: 700;
    color: var(--ems-primary-600, #2563EB);
    margin-bottom: 6px;
}
.us-problem-card h4 { margin-bottom: 8px; }

/* Platform pillars */
.us-pillars {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 32px;
}
.us-pillar {
    background: #fff;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    border-top: 4px solid var(--ems-primary-600, #2563EB);
}
.us-pillar-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--primary-050, #EBF5FF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary-700, #1A56DB);
}
.us-pillar h4 { font-size: 17px; margin-bottom: 8px; }
.us-pillar p { font-size: 14px; }

/* Use case cards */
.us-usecase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}
.us-usecase-card {
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 26px;
    background: #fff;
    transition: .2s;
}
.us-usecase-card:hover {
    border-color: var(--ems-primary-600, #2563EB);
    box-shadow: 0 10px 30px rgba(31,56,100,.08);
}

/* Industries dark section */
.us-industries-section {
    background: #121826;
    color: #fff;
    padding: 80px 0;
}
.us-industries-section h3 { color: #fff; }
.us-industries-section .us-lede { color: #AFC8EA; max-width: 700px; margin-bottom: 32px; }
.us-industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.us-industry-tag {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    padding: 18px;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    transition: .2s;
    text-decoration: none;
    display: block;
}
.us-industry-tag:hover {
    background: rgba(255,255,255,.12);
    border-color: #0EA5E9;
    color: #fff;
    text-decoration: none;
}

/* PQC gradient section */
.us-pqc-section {
    background: linear-gradient(135deg, #0EA5E9 0%, #1F3864 100%);
    color: #fff;
    padding: 80px 0;
}
.us-pqc-section h3 { color: #fff; }
.us-pqc-section p { color: #E0EAFC; }
.us-pqc-section .ems-section-title { color: #FDE68A; }
.us-pqc-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 32px 0 24px;
}
.us-pqc-step {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.2);
    padding: 24px;
    border-radius: 10px;
}
.us-pqc-step .step-num {
    font-size: 32px;
    font-weight: 800;
    color: #FDE68A;
    margin-bottom: 8px;
}
.us-pqc-step h4 { color: #fff; font-size: 18px; }
.us-pqc-step p { font-size: 14px; margin-bottom: 0; }

/* Proof & Recognition */
.us-proof-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.us-proof-col {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 28px;
}
.us-proof-col h4 {
    border-bottom: 2px solid var(--ems-primary-600, #2563EB);
    padding-bottom: 10px;
    margin-bottom: 18px;
}
.us-proof-col ul { list-style: none; padding: 0; margin: 0; }
.us-proof-col li {
    padding: 10px 0;
    font-size: 14px;
    color: #4A5568;
    border-bottom: 1px solid #E2E8F0;
}
.us-proof-col li:last-child { border: none; }
.us-legal-microcopy {
    font-size: 11px;
    color: #94A3B8;
    max-width: 900px;
    margin-top: 24px;
    line-height: 1.5;
}

/* Partner cards */
.us-channel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 30px;
}
.us-channel-card {
    background: #fff;
    border: 2px solid #1F3864;
    border-radius: 12px;
    padding: 32px;
}

/* Why CertiNext INC */
.us-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 36px;
}
.us-stat-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding: 32px;
    background: var(--ems-bg-secondary, #F5F8FC);
    border-radius: 12px;
    text-align: center;
}
.us-stat .num {
    font-size: 42px;
    font-weight: 800;
    color: #1F3864;
    display: block;
    line-height: 1;
}
.us-stat .lbl {
    font-size: 13px;
    color: #4A5568;
    margin-top: 6px;
    display: block;
}

/* Resource cards */
.us-resource-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 36px;
}
.us-resource-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    transition: .2s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.us-resource-card:hover {
    box-shadow: 0 10px 30px rgba(31,56,100,.08);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}
.us-resource-banner {
    height: 120px;
    background: linear-gradient(135deg, #2E75B6, #1F3864);
}
.us-resource-banner--alt {
    background: linear-gradient(135deg, #FDE68A, #2E75B6);
}
.us-resource-body { padding: 22px; }
.us-resource-type {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--ems-primary-600, #2563EB);
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Final CTA section */
.us-final-cta {
    background: #1F3864;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}
.us-final-cta h3 { color: #fff; }
.us-final-cta p { color: #AFC8EA; max-width: 620px; margin: 0 auto 28px; font-size: 18px; }
.us-final-cta .ems-btn--info { background: #fff; color: #1F3864; border-color: #fff; }
.us-final-cta .ems-btn--info:hover { background: #E0EAFC; }
.us-final-cta .ems-btn--default { border-color: #fff; color: #fff; }
.us-final-cta .ems-btn--default:hover { background: #fff; color: #1F3864; }

/* Responsive */
@media (max-width: 991px) {
    .us-problem-grid,
    .us-usecase-grid,
    .us-proof-grid,
    .us-resource-grid,
    .us-why-grid,
    .us-channel-grid { grid-template-columns: 1fr; }
    .us-pillars,
    .us-pqc-steps { grid-template-columns: repeat(2, 1fr); }
    .us-industry-grid { grid-template-columns: repeat(2, 1fr); }
    .us-stat-strip { grid-template-columns: 1fr; }
    .us-industries-section,
    .us-pqc-section,
    .us-final-cta { padding: 60px 0; }
}

@media (max-width: 575px) {
    .us-pillars { grid-template-columns: 1fr; }
    .us-pqc-steps { grid-template-columns: 1fr; }
    .us-industry-grid { grid-template-columns: 1fr; }
}

/* Footer contact icons align to top */
.ems-contactlink {
    align-items: flex-start;
}

.ems-contactlink svg {
    position: relative;
    top: 3px;
}

/* Global Support — Primary Channels card border */
.us-support-card {
    border: 1px solid rgba(17, 25, 40, 0.08);
    transition: box-shadow .2s ease, border-color .2s ease;
}
.us-support-card:hover {
    border-color: rgba(28, 100, 242, 0.25);
    box-shadow: 0 6px 18px rgba(17, 25, 40, 0.06);
}

/* Global Support — hero email capture */
.us-support-hero-form {
    max-width: 520px;
}
.us-support-hero-field {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(17, 25, 40, 0.1);
    border-radius: 999px;
    padding: 4px 4px 4px 20px;
    box-shadow: 0 4px 14px rgba(17, 25, 40, 0.04);
}
.us-support-hero-input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #111928;
    padding: 10px 8px;
    min-width: 0;
}
.us-support-hero-input::placeholder {
    color: #6b7280;
}
.us-support-hero-btn {
    border-radius: 999px !important;
    padding: 10px 24px !important;
    white-space: nowrap;
}
@media (max-width: 575px) {
    .us-support-hero-field {
        flex-direction: column;
        border-radius: 16px;
        padding: 8px;
        gap: 8px;
    }
    .us-support-hero-input {
        width: 100%;
        padding: 12px 16px;
    }
    .us-support-hero-btn {
        width: 100%;
        border-radius: 12px !important;
    }
}

/* Global Support — Our Office card */
.us-office-map {
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(17, 25, 40, 0.06);
    border: 1px solid rgba(17, 25, 40, 0.06);
}
.us-office-card {
    padding: 2rem;
    border: 1px solid rgba(17, 25, 40, 0.06);
    box-shadow: 0 8px 24px rgba(17, 25, 40, 0.04);
    display: flex;
    flex-direction: column;
}
@media (min-width: 768px) {
    .us-office-card { padding: 2.5rem; }
}
.us-office-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #EBF5FF;
    color: #1C64F2;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    width: max-content;
}
.us-office-badge img {
    border-radius: 2px;
}
.us-office-info {
    margin: 0;
    padding: 0;
}
.us-office-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px dashed rgba(17, 25, 40, 0.08);
}
.us-office-info li:last-child {
    border-bottom: 0;
}
.us-office-info__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #EBF5FF;
    border-radius: 50%;
}

/* Global Support — office info 2-col grid */
.us-office-grid .us-office-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* About Us — contain world map pins/tooltips that can overflow horizontally */
.sec-map,
.sec-map .map {
    overflow: hidden;
}

/* About Us — final overflow guard on the main wrapper
   Needed because Awards swiper uses width: 100vw which includes the vertical
   scrollbar gutter; clip prevents horizontal scroll without creating a
   scroll container (so sticky/fixed positioning still works). */
main.ems-main-wrapper.ems-subspace {
    overflow-x: clip;
}

/* About Us — icon-first info cards */
.us-about-card {
    background: #fff;
    border: 1px solid rgba(17, 25, 40, 0.06);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 14px rgba(17, 25, 40, 0.04);
    transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
    display: flex;
    flex-direction: column;
}
@media (min-width: 768px) {
    .us-about-card { padding: 2.5rem; }
}
.us-about-card:hover {
    border-color: rgba(28, 100, 242, 0.2);
    box-shadow: 0 10px 28px rgba(17, 25, 40, 0.08);
    transform: translateY(-2px);
}
.us-about-card__icon {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    background: linear-gradient(135deg, #EBF5FF 0%, #E5EDFF 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.us-about-card__icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}
.us-about-card__icon i {
    font-size: 52px;
    line-height: 1;
    color: #1C64F2;
    background: linear-gradient(135deg, #1C64F2 0%, #7E3AF2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.us-about-card__tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1C64F2;
    margin-bottom: 10px;
}
.us-about-card__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: #111928;
    margin: 0 0 12px 0;
}
.us-about-card__desc {
    font-size: 16px;
    line-height: 1.6;
    color: #4B5563;
    margin: 0;
}

/* Global Support — Glossary cards (enhanced) */
.us-glossary-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(17, 25, 40, 0.08);
    border-radius: 18px;
    padding: 1.75rem 1.5rem 1.5rem;
    height: 100%;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.us-glossary-card:hover {
    border-color: rgba(28, 100, 242, 0.25);
    box-shadow: 0 12px 28px rgba(17, 25, 40, 0.08);
    transform: translateY(-3px);
}
.us-glossary-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}
.us-glossary-card__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #EBF5FF;
    color: #1C64F2;
    font-size: 22px;
}
.us-glossary-card__icon i {
    line-height: 1;
}
.us-glossary-card__term {
    font-size: 20px;
    font-weight: 800;
    color: #111928;
    letter-spacing: 0.3px;
    line-height: 1.2;
}
.us-glossary-card__full {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1C64F2;
    margin: 0 0 8px 0;
}
.us-glossary-card__def {
    font-size: 15px;
    line-height: 1.6;
    color: #4B5563;
    margin: 0;
}

/* Global Support — Our Office section: gradient from bottom to top (blue at bottom, white at top) */
.us-office-section {
    background: linear-gradient(0deg, #F0F5FF 0%, #FFFFFF 100%);
}

/* ==========================================================================
   CertiNext US — Mobile responsiveness safeguards
   ========================================================================== */

/* Hero — content first, image second on mobile (override global column-reverse) */
@media (max-width: 767px) {
    .ems-banner .ems-banner__row {
        flex-direction: column !important;
    }
    .ems-banner-illustration {
        max-height: 240px !important;
        width: auto !important;
        margin-top: 1.25rem;
    }
    /* Hero CTAs stack and go full-width */
    .ems-banner__content .ems-btns-group-equal,
    .ems-banner__content .ems-btns-group {
        flex-direction: column;
        gap: 10px;
    }
    .ems-banner__content .ems-btn {
        width: 100%;
        text-align: center;
    }
    /* Hero powered-by trust line */
    .us-hero-powered {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* About Us — icon cards: scale down icon badge on small screens */
@media (max-width: 575px) {
    .us-about-card {
        padding: 1.5rem !important;
    }
    .us-about-card__icon {
        width: 72px;
        height: 72px;
        margin-bottom: 1rem;
    }
    .us-about-card__icon i {
        font-size: 40px;
    }
    .us-about-card__title {
        font-size: 20px;
    }
}

/* Global Support — Our Office card on mobile */
@media (max-width: 767px) {
    .us-office-card {
        padding: 1.5rem !important;
    }
    .us-office-card h3 {
        font-size: 22px;
    }
    .us-office-grid .us-office-info-item {
        gap: 10px;
    }
    .us-office-grid .us-office-info-item .us-office-info__icon {
        width: 32px;
        height: 32px;
    }
}

/* Glossary — tighter mobile spacing */
@media (max-width: 575px) {
    .us-glossary-card {
        padding: 1.25rem 1.25rem 1rem;
    }
    .us-glossary-card__icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .us-glossary-card__term {
        font-size: 18px;
    }
}

/* Primary Channels support cards — stack stronger on phones */
@media (max-width: 767px) {
    .us-support-card .emsc-img64x64 {
        width: 56px;
        height: 56px;
    }
}

/* Footer contact — ensure content wraps without overflow */
@media (max-width: 575px) {
    .ems-contactlink {
        word-break: break-word;
    }
}

/* Recognition card — multi-link row wraps neatly */
@media (max-width: 575px) {
    #recognition .d-flex.flex-wrap.gap-3 {
        flex-direction: column;
        gap: 8px !important;
    }
}

/* ===== CertiNext US — Custom Modal Forms (webinar-style) ===== */
.us-modal .wf-field { position: relative; margin-bottom: 14px; }
.us-modal .form-row-2col { display: flex; gap: 12px; }
.us-modal .form-row-2col .wf-field { flex: 1; }
@media (max-width: 480px) { .us-modal .form-row-2col { flex-direction: column; gap: 0; } }
.us-modal .wf-field input, .us-modal .wf-field select, .us-modal .wf-field textarea {
    width: 100%; padding: 12px; border: 1.5px solid #D1D5DB; border-radius: 8px;
    font-size: 14px; background: #fff; color: #111827; outline: none;
    box-sizing: border-box; transition: border-color 0.2s, box-shadow 0.2s; font-family: inherit;
}
.us-modal .wf-field textarea { resize: vertical; min-height: 80px; }
.us-modal .wf-field label:not(.wf-phone-label) {
    position: absolute; top: 14px; left: 14px; font-size: 13px; font-weight: 400;
    color: #9CA3AF; pointer-events: none; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent; padding: 0 4px; line-height: 1.75; margin: 0; white-space: nowrap;
}
.us-modal .wf-field input:focus + label:not(.wf-phone-label),
.us-modal .wf-field input:not(:placeholder-shown) + label:not(.wf-phone-label),
.us-modal .wf-field textarea:focus + label,
.us-modal .wf-field textarea:not(:placeholder-shown) + label {
    top: -8px; left: 10px; font-size: 11px; font-weight: 600;
    color: #1A56DB; background: #fff; padding: 0 5px;
}
.us-modal .wf-field input:focus, .us-modal .wf-field textarea:focus {
    border-color: #1A56DB; box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.us-modal .wf-field.wf-error input, .us-modal .wf-field.wf-error .wf-phone-group { border-color: #DC2626; }
.us-modal .wf-field-error { display: none; font-size: 12px; color: #DC2626; margin-top: 4px; }
.us-modal .wf-field-error.visible { display: block; }
.us-modal .req { color: #DC2626; }
.us-modal .wf-form-error { background: #FEF2F2; border: 1px solid #FECACA; color: #DC2626; padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; display: none; }
.us-modal .wf-form-error.visible { display: block; }
.us-modal .wf-phone-group { display: flex; align-items: stretch; border: none; overflow: visible; box-shadow: none; position: relative; }
.us-modal .wf-phone-field .wf-phone-group input[type="tel"] { flex: 1; border-radius: 0 8px 8px 0; min-width: 0; }
.us-modal .wf-phone-field .wf-phone-group input[type="tel"]:focus { border-color: #1A56DB; box-shadow: 0 0 0 3px rgba(26,86,219,0.1); }
.us-modal .wf-phone-field .wf-phone-group:focus-within .wf-cc-toggle { border-color: #1A56DB; }
.us-modal .wf-phone-field { position: relative; }
.us-modal .wf-phone-field .wf-phone-label { position: absolute; top: -8px; left: 92px; font-size: 11px; font-weight: 600; color: #9CA3AF; pointer-events: none; background: #fff; padding: 0 5px; z-index: 1; white-space: nowrap; }
.us-modal .wf-phone-group:focus-within + .wf-phone-label { color: #1A56DB; }
.us-modal .wf-cc-dropdown { position: relative; flex-shrink: 0; z-index: 10; }
.us-modal .wf-cc-toggle { display: flex; align-items: center; gap: 8px; padding: 14px 10px 14px 14px; border: 1.5px solid #D1D5DB; border-right: none; border-radius: 8px 0 0 8px; font-size: 14px; background: #fff; color: #111827; outline: none; cursor: pointer; height: 100%; font-family: inherit; white-space: nowrap; }
.us-modal .wf-cc-toggle:hover { background: #f9fafb; }
.us-modal .wf-cc-iso { font-size: 14px; font-weight: 500; color: #111827; }
.us-modal .wf-cc-arrow { flex-shrink: 0; transition: transform 0.2s ease; }
.us-modal .wf-cc-dropdown.open .wf-cc-arrow { transform: rotate(180deg); }
.us-modal .wf-cc-menu { display: none; position: absolute; top: calc(100% + 4px); left: 0; width: 280px; max-height: 300px; background: #fff; border: 1px solid #D1D5DB; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 999; overflow: hidden; flex-direction: column; }
.us-modal .wf-cc-dropdown.open .wf-cc-menu { display: flex; }
.us-modal .wf-cc-search-wrap { padding: 8px; border-bottom: 1px solid #E5E7EB; flex-shrink: 0; }
.us-modal .wf-cc-search { width: 100%; padding: 8px 10px; border: 1.5px solid #D1D5DB; border-radius: 6px; font-size: 13px; outline: none; font-family: inherit; box-sizing: border-box; background: #f9fafb; }
.us-modal .wf-cc-search:focus { border-color: #1A56DB; box-shadow: 0 0 0 2px rgba(26,86,219,0.1); background: #fff; }
.us-modal .wf-cc-list { list-style: none; margin: 0; padding: 4px 0; overflow-y: auto; max-height: 240px; flex: 1; }
.us-modal .wf-cc-list::-webkit-scrollbar { width: 6px; }
.us-modal .wf-cc-list::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 3px; }
.us-modal .wf-cc-list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; cursor: pointer; font-size: 13px; color: #374151; transition: background 0.15s ease; }
.us-modal .wf-cc-list li:hover, .us-modal .wf-cc-list li.wf-cc-highlighted { background: #EBF5FF; }
.us-modal .wf-cc-list li.wf-cc-selected { background: #E1EFFE; font-weight: 600; }
.us-modal .wf-cc-list li .wf-cc-li-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.us-modal .wf-cc-list li .wf-cc-li-dial { color: #6B7280; font-size: 12px; flex-shrink: 0; }
.us-modal .wf-cc-list .wf-cc-no-results { padding: 16px 12px; text-align: center; color: #9CA3AF; font-size: 13px; cursor: default; }
.us-modal .wf-checkbox { margin-bottom: 12px; }
.us-modal .wf-checkbox .checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; color: #374151; line-height: 1.4; }
.us-modal .wf-checkbox input[type="checkbox"] { display: none; }
.us-modal .wf-checkbox .checkbox-custom { width: 18px; height: 18px; min-width: 18px; border: 2px solid #d1d5db; border-radius: 4px; position: relative; transition: all .2s; margin-top: 1px; }
.us-modal .wf-checkbox input:checked + .checkbox-custom { background: #1A56DB; border-color: #1A56DB; }
.us-modal .wf-checkbox input:checked + .checkbox-custom::after { content: ''; position: absolute; top: 2px; left: 5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.us-modal .wf-privacy { margin: 0 0 12px 0; }
.us-modal .wf-privacy p { font-size: 12px; color: #6B7280; line-height: 1.5; margin: 0; }
.us-modal .wf-privacy a { color: #1A56DB; text-decoration: none; }
.us-modal .btn-submit-form { background: #1A56DB; color: #fff; border: none; padding: 13px 24px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; width: 100%; transition: background 0.2s; }
.us-modal .btn-submit-form:hover { background: #1E40AF; }
.us-modal .btn-submit-form:disabled { opacity: 0.6; cursor: not-allowed; }


/* Partner Type select — floating label support */
.us-modal .wf-field select {
    appearance: auto;
}
.us-modal .wf-field select:focus + label,
.us-modal .wf-field select:not([value=""]):valid + label {
    top: -8px; left: 10px; font-size: 11px; font-weight: 600;
    color: #1A56DB; background: #fff; padding: 0 5px;
}

.emudhra-top-nav .qx-brandlogo img:focus-visible {
    outline: 0px;
    box-shadow: none;
}

/* Country flag sprite alignment in form dropdowns */
.us-modal .wf-cc-toggle .iti__flag,
.us-modal .wf-cc-list .iti__flag {
    display: inline-block;
    margin-right: 6px;
    vertical-align: middle;
    flex-shrink: 0;
}
.us-modal .wf-cc-iso {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.wf-cc-iso-txt {
    vertical-align: middle;
}

/* ==========================================================================
   Global Support — region tabs, directory table, product tags
   ========================================================================== */

/* Hero stats divider */
.us-gs-stats {
    border-top: 1px solid rgba(17, 25, 40, 0.08);
}

/* Region filter tabs */
.us-region-tabs .us-region-tab {
    padding: 10px 22px;
    background: #fff;
    border: 1.5px solid rgba(17, 25, 40, 0.1);
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    color: #111928;
    cursor: pointer;
    transition: all 0.2s ease;
}
.us-region-tabs .us-region-tab:hover,
.us-region-tabs .us-region-tab.active {
    background: #1C64F2;
    color: #fff;
    border-color: #1C64F2;
}

/* Region blocks — hide/show by filter */
.us-region-block {
    display: block;
}
.us-region-block.us-hidden {
    display: none;
}

/* Office card badge */
.us-office-badge {
    display: inline-block;
    background: #1C64F2;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Office info list spacing */
.us-office-card ul li {
    padding: 4px 0;
    word-break: break-word;
}
.us-office-card ul li strong {
    display: inline-block;
    min-width: 84px;
}

/* Email directory table */
.us-directory-wrap {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(17, 25, 40, 0.08);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(29, 45, 94, 0.04);
}
.us-directory-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}
.us-directory-table thead {
    background: #E5EDFF;
    color: #111928;
    border-bottom: 2px solid #5145CD;
}
.us-directory-table th {
    text-align: left;
    padding: 16px 22px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.us-directory-table td {
    padding: 18px 22px;
    border-top: 1px solid rgba(17, 25, 40, 0.08);
    font-size: 14px;
    color: #111928;
    vertical-align: middle;
}
.us-directory-table tr:hover td {
    background: #F9FAFB;
}

/* Product tags in directory */
.us-prod-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}
.us-prod-tag.tag-emsigner  { background: #2E8BC0; }
.us-prod-tag.tag-emca      { background: #6A4FBA; }
.us-prod-tag.tag-securepass{ background: #0C9D58; }
.us-prod-tag.tag-certinext { background: #1C64F2; }
.us-prod-tag.tag-dsc       { background: #111928; }

/* Responsive — directory table becomes scrollable card on mobile */
@media (max-width: 767px) {
    .us-directory-wrap {
        overflow-x: auto;
    }
    .us-directory-table th,
    .us-directory-table td {
        padding: 12px 14px;
        font-size: 13px;
    }
    .us-region-tabs .us-region-tab {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* Global Support — Product Support cards: align emails to bottom uniformly */
#products .us-glossary-card {
    display: flex;
    flex-direction: column;
}
#products .us-glossary-card > p:nth-of-type(2) {
    margin-top: auto !important;
}

/* Global Support — sticky region tabs within #regions section */
#regions {
    position: relative;
}
#regions .us-region-tabs {
    position: sticky;
    top: 80px;
    z-index: 20;
    padding: 12px 8px;
    margin-left: -8px;
    margin-right: -8px;
    background: transparent;
    border-radius: 0;
    transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
#regions .us-region-tabs.is-stuck {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(8px);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
    box-shadow: 0 4px 16px rgba(17, 25, 40, 0.06);
    border-radius: 16px;
}
@media (max-width: 767px) {
    #regions .us-region-tabs {
        top: 64px;
        padding: 8px 6px;
    }
}

/* ==========================================================================
   Global Support — SaaS / Enterprise offerings panels
   ========================================================================== */
.us-offerings-panel {
    background: #fff;
    border: 1px solid rgba(17, 25, 40, 0.06);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 4px 14px rgba(17, 25, 40, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) {
    .us-offerings-panel {
        padding: 1.5rem;
        border-radius: 16px;
    }
}
/* top accent border removed per request */

.us-offerings-panel__head {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(17, 25, 40, 0.08);
}
.us-offerings-panel__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.us-offerings-panel--saas .us-offerings-panel__badge {
    background: #EBF5FF;
    color: #1A56DB;
}
.us-offerings-panel--enterprise .us-offerings-panel__badge {
    background: #EEF2FF;
    color: #5145CD;
}
.us-offerings-panel__title {
    font-size: 22px;
    font-weight: 700;
    color: #111928;
    margin: 0 0 4px 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.us-offerings-panel__title-tag {
    font-size: 12px;
    font-weight: 600;
    color: #5145CD;
    background: #EEF2FF;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.us-offerings-panel__lede {
    font-size: 13px;
    color: #4B5563;
    margin: 0;
    line-height: 1.5;
}

/* Offering cards inside panels */
.us-offering-card {
    background: #F9FAFB;
    border: 1px solid rgba(17, 25, 40, 0.06);
    border-radius: 14px;
    padding: 1.25rem 1rem;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
    display: flex;
    flex-direction: column;
    min-height: 180px;
}
.us-offering-card:hover {
    background: #fff;
    border-color: rgba(28, 100, 242, 0.25);
    box-shadow: 0 6px 16px rgba(17, 25, 40, 0.06);
    transform: translateY(-2px);
}
.us-offering-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #EBF5FF;
    color: #1C64F2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
    flex-shrink: 0;
}
.us-offerings-panel--enterprise .us-offering-card__icon {
    background: #EEF2FF;
    color: #5145CD;
}
.us-offering-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #111928;
    margin: 0 0 2px 0;
    line-height: 1.3;
}
.us-offering-card__sub {
    font-size: 12px;
    color: #6B7280;
    margin: 0 0 auto 0;
    padding-bottom: 12px;
    line-height: 1.45;
}
.us-offering-card__mail {
    font-size: 12.5px;
    font-weight: 600;
    color: #1C64F2;
    text-decoration: none;
    word-break: break-all;
    line-height: 1.4;
    display: block;
    transition: color .15s ease;
}
.us-offering-card__mail:hover {
    color: #1A56DB;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .us-offering-card { min-height: auto; }
    .us-offerings-panel { padding: 1.5rem; }
}

/* ==========================================================================
   Global Support — General Inquiries (single box, 2-column layout)
   ========================================================================== */
.us-gen-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 15px;
    color: #374151;
    font-weight: 500;
}
.us-gen-list li i {
    font-size: 20px;
    color: #1C64F2;
    flex-shrink: 0;
}

.us-gen-card {
    background: #fff;
    border: 1px solid rgba(17, 25, 40, 0.06);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(17, 25, 40, 0.06);
    position: relative;
    overflow: hidden;
}
@media (min-width: 992px) {
    .us-gen-card { padding: 2.5rem 2rem; }
}
.us-gen-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(28, 100, 242, 0.08) 0%, transparent 70%);
    top: -60px;
    right: -60px;
    pointer-events: none;
}
.us-gen-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #EBF5FF 0%, #E0E7FF 100%);
    color: #1C64F2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    position: relative;
    z-index: 1;
}
.us-gen-card__label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6B7280;
    margin: 0 0 6px 0;
    font-weight: 600;
}
.us-gen-card__mail {
    display: inline-block;
    font-size: clamp(20px, 2.2vw, 22px);
    font-family: 'DM Sans';
    color: #1C64F2;
    text-decoration: none;
    margin: 0 0 10px 0;
    word-break: break-all;
    transition: color .15s ease;
}
.us-gen-card__mail:hover {
    color: #1A56DB;
    text-decoration: underline;
}
.us-gen-card__note {
    font-size: 13px;
    color: #6B7280;
    margin: 0 0 1.5rem 0;
}
.us-gen-card__btn {
    min-width: 180px;
}

/* Enterprise offering cards — compact (no email) */
.us-offering-card--compact {
    min-height: auto;
    padding: 1.25rem 1rem;
    justify-content: flex-start;
}
.us-offering-card--compact .us-offering-card__sub {
    margin: 0;
    padding-bottom: 0;
}

/* Route line below enterprise cards */
.us-offerings-panel__route {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4B5563;
    padding-top: 1rem;
    border-top: 1px dashed rgba(17, 25, 40, 0.08);
    flex-wrap: wrap;
}
.us-offerings-panel__route i {
    font-size: 20px;
    color: #5145CD;
    flex-shrink: 0;
}
.us-offerings-panel__route a {
    font-weight: 700;
    color: #5145CD;
    text-decoration: none;
    word-break: break-all;
}
.us-offerings-panel__route a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Managed PKI Portal — CLM + Trust Services (index.html)
   ========================================================================== */
.us-pki-card {
    background: #fff;
    border: 1px solid rgba(17, 25, 40, 0.08);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(17, 25, 40, 0.05);
    display: flex;
    flex-direction: column;
    transition: border-color .25s ease, box-shadow .25s ease;
}
@media (min-width: 992px) {
    .us-pki-card { padding: 2.5rem; }
}
.us-pki-card:hover {
    border-color: rgba(28, 100, 242, 0.2);
    box-shadow: 0 12px 28px rgba(17, 25, 40, 0.08);
}
.us-pki-card__head {
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px dashed rgba(17, 25, 40, 0.1);
}
.us-pki-card__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.us-pki-card--clm .us-pki-card__badge {
    background: #EBF5FF;
    color: #1A56DB;
}
.us-pki-card--trust .us-pki-card__badge {
    background: #EEF2FF;
    color: #5145CD;
}
.us-pki-card__title {
    font-size: 26px;
    font-weight: 700;
    color: #111928;
    margin: 0 0 8px 0;
    line-height: 1.2;
}
.us-pki-card__lede {
    font-size: 15px;
    color: #4B5563;
    margin: 0;
    line-height: 1.55;
}

.us-pki-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem 0;
    flex: 1 1 auto;
}
.us-pki-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: #374151;
    border-bottom: 1px dashed rgba(17, 25, 40, 0.06);
}
.us-pki-list li:last-child {
    border-bottom: none;
}
.us-pki-list li i {
    font-size: 22px;
    color: #1C64F2;
    flex-shrink: 0;
    margin-top: 2px;
}
.us-pki-card--trust .us-pki-list li i {
    color: #5145CD;
}
.us-pki-list__highlight {
    color: #111928;
    font-weight: 500;
    background: linear-gradient(180deg, transparent 60%, rgba(28, 100, 242, 0.12) 60%);
    padding: 0 2px;
}
.us-pki-card__foot {
    margin-top: auto;
}
.us-pki-card__foot .ems-btn {
    min-width: 200px;
}

/* ==========================================================================
   Inner pages — decorative lead intro card (after banner)
   ========================================================================== */
.us-lead-card {
    position: relative;
    background: linear-gradient(135deg, #F0F5FF 0%, #FFFFFF 55%, #EEF2FF 100%);
    border: 1px solid rgba(28, 100, 242, 0.1);
    border-radius: 24px;
    padding: 3rem 2rem 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(17, 25, 40, 0.05);
    overflow: hidden;
}
@media (min-width: 768px) {
    .us-lead-card {
        padding: 3.5rem 3rem 3rem;
    }
}
.us-lead-card::before,
.us-lead-card::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    pointer-events: none;
}
.us-lead-card::before {
    top: -110px;
    left: -80px;
    background: radial-gradient(circle, rgba(28, 100, 242, 0.1) 0%, transparent 70%);
}
.us-lead-card::after {
    bottom: -110px;
    right: -80px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}
.us-lead-card__icon {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #1C64F2 0%, #6366F1 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 0 10px 20px rgba(28, 100, 242, 0.25);
    z-index: 1;
}
.us-lead-card__text {
    position: relative;
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.55;
    color: #111928;
    margin: 0 0 1rem 0;
    font-weight: 500;
    z-index: 1;
}
.us-lead-card__text strong {
    color: #1C64F2;
    font-weight: 700;
}
.us-lead-card__sub {
    position: relative;
    font-size: 15px;
    line-height: 1.65;
    color: #4B5563;
    margin: 0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
}
@media (max-width: 575px) {
    .us-lead-card {
        padding: 2rem 1.25rem 1.75rem;
        border-radius: 20px;
    }
    .us-lead-card__icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
        border-radius: 16px;
        margin-bottom: 1rem;
    }
}

/* ==========================================================================
   CertiNext Context Ribbon — applied on cross-linked recognition pages
   (gartner-mentions, frost-sullivan-report, etc.)
   ========================================================================== */
.cn-ribbon {
    background: linear-gradient(90deg, #F0F5FF 0%, #FFFFFF 50%, #EEF2FF 100%);
    border-bottom: 1px solid rgba(28, 100, 242, 0.12);
    padding: 10px 0;
    position: relative;
    z-index: 50;
}
.cn-ribbon__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.cn-ribbon__brand img {
    height: 32px;
    width: auto;
    display: block;
}
.cn-ribbon__crumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6B7280;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: wrap;
}
.cn-ribbon__crumbs a {
    color: #1C64F2;
    text-decoration: none;
    font-weight: 500;
}
.cn-ribbon__crumbs a:hover {
    text-decoration: underline;
}
.cn-ribbon__crumbs span {
    color: #111928;
    font-weight: 600;
}
.cn-ribbon__crumbs i {
    font-size: 16px;
    color: #9CA3AF;
}
.cn-ribbon__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #1C64F2;
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid rgba(28, 100, 242, 0.2);
    border-radius: 999px;
    transition: background .15s ease, border-color .15s ease;
    white-space: nowrap;
}
.cn-ribbon__back:hover {
    background: #EBF5FF;
    border-color: rgba(28, 100, 242, 0.4);
    color: #1A56DB;
}
.cn-ribbon__back i {
    font-size: 18px;
}
@media (max-width: 575px) {
    .cn-ribbon__crumbs { font-size: 12px; }
    .cn-ribbon__back { font-size: 12px; padding: 5px 10px; }
}

/* ==========================================================================
   CertiNext product context note
   ========================================================================== */
.cn-context-note {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 1.5rem 1.75rem;
    background: #EBF5FF;
    border: 1px solid rgba(28, 100, 242, 0.15);
    border-left: 4px solid #1C64F2;
    border-radius: 12px;
}
.cn-context-note__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff;
    color: #1C64F2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.cn-context-note p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #1F2A37;
}
.cn-context-note p strong {
    color: #1A56DB;
}

/* ==========================================================================
   Inline form wrappers on recognition pages (Gartner / Frost & Sullivan)
   ========================================================================== */
.login-box,
.contact-form-field {
    background: #fff;
    border: 1px solid rgba(17, 25, 40, 0.08);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    box-shadow: 0 8px 24px rgba(17, 25, 40, 0.06);
}
@media (min-width: 992px) {
    .login-box,
    .contact-form-field {
        padding: 2.25rem 2rem;
    }
}
.heading-login-box,
.form-head {
    font-size: 22px;
    font-weight: 700;
    color: #111928;
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed rgba(17, 25, 40, 0.08);
    line-height: 1.3;
}

.login-box .wf-field,
.contact-form-field .wf-field { position: relative; margin-bottom: 14px; }
.login-box .form-row-2col,
.contact-form-field .form-row-2col { display: flex; gap: 12px; }
.login-box .form-row-2col .wf-field,
.contact-form-field .form-row-2col .wf-field { flex: 1; }
@media (max-width: 480px) {
    .login-box .form-row-2col,
    .contact-form-field .form-row-2col { flex-direction: column; gap: 0; }
}
.login-box .wf-field input,
.login-box .wf-field select,
.login-box .wf-field textarea,
.contact-form-field .wf-field input,
.contact-form-field .wf-field select,
.contact-form-field .wf-field textarea {
    width: 100%; padding: 12px; border: 1.5px solid #D1D5DB; border-radius: 8px;
    font-size: 14px; background: #fff; color: #111827; outline: none;
    box-sizing: border-box; transition: border-color 0.2s, box-shadow 0.2s; font-family: inherit;
}
.login-box .wf-field textarea,
.contact-form-field .wf-field textarea { resize: vertical; min-height: 80px; }
.login-box .wf-field label:not(.wf-phone-label),
.contact-form-field .wf-field label:not(.wf-phone-label) {
    position: absolute; top: 14px; left: 14px; font-size: 13px; font-weight: 400;
    color: #9CA3AF; pointer-events: none; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent; padding: 0 4px; line-height: 1.75; margin: 0; white-space: nowrap;
}
.login-box .wf-field input:focus + label:not(.wf-phone-label),
.login-box .wf-field input:not(:placeholder-shown) + label:not(.wf-phone-label),
.login-box .wf-field textarea:focus + label,
.login-box .wf-field textarea:not(:placeholder-shown) + label,
.contact-form-field .wf-field input:focus + label:not(.wf-phone-label),
.contact-form-field .wf-field input:not(:placeholder-shown) + label:not(.wf-phone-label),
.contact-form-field .wf-field textarea:focus + label,
.contact-form-field .wf-field textarea:not(:placeholder-shown) + label {
    top: -8px; left: 10px; font-size: 11px; font-weight: 600;
    color: #1A56DB; background: #fff; padding: 0 5px;
}
.login-box .wf-field input:focus,
.login-box .wf-field textarea:focus,
.contact-form-field .wf-field input:focus,
.contact-form-field .wf-field textarea:focus {
    border-color: #1A56DB; box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.login-box .wf-field.wf-error input,
.login-box .wf-field.wf-error .wf-phone-group,
.contact-form-field .wf-field.wf-error input,
.contact-form-field .wf-field.wf-error .wf-phone-group { border-color: #DC2626; }
.login-box .wf-field-error,
.contact-form-field .wf-field-error { display: none; font-size: 12px; color: #DC2626; margin-top: 4px; }
.login-box .wf-field-error.visible,
.contact-form-field .wf-field-error.visible { display: block; }
.login-box .req,
.contact-form-field .req { color: #DC2626; }
.login-box .wf-form-error,
.contact-form-field .wf-form-error { background: #FEF2F2; border: 1px solid #FECACA; color: #DC2626; padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; display: none; }
.login-box .wf-form-error.visible,
.contact-form-field .wf-form-error.visible { display: block; }

.login-box .wf-phone-group,
.contact-form-field .wf-phone-group { display: flex; align-items: stretch; border: none; overflow: visible; box-shadow: none; position: relative; }
.login-box .wf-phone-field .wf-phone-group input[type="tel"],
.contact-form-field .wf-phone-field .wf-phone-group input[type="tel"] { flex: 1; border-radius: 0 8px 8px 0; min-width: 0; }
.login-box .wf-phone-field,
.contact-form-field .wf-phone-field { position: relative; }
.login-box .wf-phone-label,
.contact-form-field .wf-phone-label { position: absolute; top: -8px; left: 92px; font-size: 11px; font-weight: 600; color: #9CA3AF; pointer-events: none; background: #fff; padding: 0 5px; z-index: 1; white-space: nowrap; }
.login-box .wf-cc-dropdown,
.contact-form-field .wf-cc-dropdown { position: relative; flex-shrink: 0; z-index: 10; }
.login-box .wf-cc-toggle,
.contact-form-field .wf-cc-toggle { display: flex; align-items: center; gap: 8px; padding: 14px 10px 14px 14px; border: 1.5px solid #D1D5DB; border-right: none; border-radius: 8px 0 0 8px; font-size: 14px; background: #fff; color: #111827; outline: none; cursor: pointer; height: 100%; font-family: inherit; white-space: nowrap; }
.login-box .wf-cc-iso,
.contact-form-field .wf-cc-iso { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: #111827; }
.login-box .wf-cc-toggle .iti__flag,
.login-box .wf-cc-list .iti__flag,
.contact-form-field .wf-cc-toggle .iti__flag,
.contact-form-field .wf-cc-list .iti__flag { display: inline-block; margin-right: 6px; vertical-align: middle; flex-shrink: 0; }
.login-box .wf-cc-menu,
.contact-form-field .wf-cc-menu { display: none; position: absolute; top: calc(100% + 4px); left: 0; width: 280px; max-height: 300px; background: #fff; border: 1px solid #D1D5DB; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 999; overflow: hidden; flex-direction: column; }
.login-box .wf-cc-dropdown.open .wf-cc-menu,
.contact-form-field .wf-cc-dropdown.open .wf-cc-menu { display: flex; }
.login-box .wf-cc-search-wrap,
.contact-form-field .wf-cc-search-wrap { padding: 8px; border-bottom: 1px solid #E5E7EB; flex-shrink: 0; }
.login-box .wf-cc-search,
.contact-form-field .wf-cc-search { width: 100%; padding: 8px 10px; border: 1.5px solid #D1D5DB; border-radius: 6px; font-size: 13px; outline: none; font-family: inherit; box-sizing: border-box; background: #f9fafb; }
.login-box .wf-cc-list,
.contact-form-field .wf-cc-list { list-style: none; margin: 0; padding: 4px 0; overflow-y: auto; max-height: 240px; flex: 1; }
.login-box .wf-cc-list li,
.contact-form-field .wf-cc-list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; cursor: pointer; font-size: 13px; color: #374151; }
.login-box .wf-cc-list li:hover,
.login-box .wf-cc-list li.wf-cc-highlighted,
.contact-form-field .wf-cc-list li:hover,
.contact-form-field .wf-cc-list li.wf-cc-highlighted { background: #EBF5FF; }
/* Neutralize inherited checkmark/bullet markers bleeding into the country list from the .login-box / .contact-form-field component styling (mirror the clean .us-modal dropdown) */
.login-box .wf-cc-list li::before,
.login-box .wf-cc-list li::after,
.login-box .wf-cc-list li .wf-cc-li-name::before,
.contact-form-field .wf-cc-list li::before,
.contact-form-field .wf-cc-list li::after,
.contact-form-field .wf-cc-list li .wf-cc-li-name::before { content: none !important; display: none !important; }

.login-box .wf-checkbox,
.contact-form-field .wf-checkbox { margin-bottom: 12px; }
.login-box .wf-checkbox .checkbox-label,
.contact-form-field .wf-checkbox .checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; color: #374151; line-height: 1.4; }
.login-box .wf-checkbox input[type="checkbox"],
.contact-form-field .wf-checkbox input[type="checkbox"] { display: none; }
.login-box .wf-checkbox .checkbox-custom,
.contact-form-field .wf-checkbox .checkbox-custom { width: 18px; height: 18px; min-width: 18px; border: 2px solid #d1d5db; border-radius: 4px; position: relative; margin-top: 1px; }
.login-box .wf-checkbox input:checked + .checkbox-custom,
.contact-form-field .wf-checkbox input:checked + .checkbox-custom { background: #1A56DB; border-color: #1A56DB; }
.login-box .wf-checkbox input:checked + .checkbox-custom::after,
.contact-form-field .wf-checkbox input:checked + .checkbox-custom::after { content: ''; position: absolute; top: 2px; left: 5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.login-box .btn-submit-form,
.contact-form-field .btn-submit-form {
    background: #1A56DB; color: #fff; border: none; padding: 13px 24px;
    border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer;
    width: 100%; transition: background 0.2s;
}
.login-box .btn-submit-form:hover,
.contact-form-field .btn-submit-form:hover { background: #1E40AF; }
.login-box .btn-submit-form:disabled,
.contact-form-field .btn-submit-form:disabled { opacity: 0.6; cursor: not-allowed; }

/* ==========================================================================
   Recognition pages override — prevent stylesheet.css conflicts on Row 2 nav
   ========================================================================== */
/* Hide stray dropdown arrow for non-submenu items (desktop + mobile) */
.emsigner-india-header .nav-item.emsig-no-submenu .nav-link::after,
.emsigner-india-header .nav-item.emsig-no-submenu a.nav-link.mb-accordion::after {
    content: none !important;
    display: none !important;
}
/* Kill stray ::before boxicon chevron bleeding in from stylesheet.css .ems-navheader.navbar .nav-link:before */
.emsigner-india-header .ems-navheader.navbar .nav-link::before,
.emsigner-india-header .ems-navheader.navbar .nav-link:before {
    content: none !important;
    display: none !important;
}
/* ==========================================================================
   Our Approach section (about-us.html) — 3 principles with numbered cards
   ========================================================================== */
.us-approach-section {
    position: relative;
    background:
        radial-gradient(circle at 15% 10%, rgba(26, 86, 219, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 85% 90%, rgba(81, 69, 205, 0.06) 0%, transparent 45%),
        linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
    overflow: hidden;
}
.us-approach-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 3rem auto;
}
.us-approach-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1A56DB;
    background: #EBF5FF;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.us-approach-title {
    font-size: 30px;
    font-weight: 700;
    color: #111928;
    line-height: 1.25;
    margin: 0 0 1rem 0;
}
@media (min-width: 992px) {
    .us-approach-title { font-size: 36px; }
}
.us-approach-lede {
    font-size: 16px;
    line-height: 1.65;
    color: #4B5563;
    margin: 0;
}
.us-approach-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(17, 25, 40, 0.08);
    border-radius: 20px;
    padding: 2.25rem 1.75rem 2rem 1.75rem;
    box-shadow: 0 6px 20px rgba(17, 25, 40, 0.05);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    overflow: hidden;
}
@media (min-width: 992px) {
    .us-approach-card { padding: 2.75rem 2.25rem 2.25rem 2.25rem; }
}
.us-approach-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1A56DB 0%, #5145CD 100%);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.us-approach-card:hover {
    transform: translateY(-4px);
    border-color: rgba(28, 100, 242, 0.25);
    box-shadow: 0 18px 40px rgba(17, 25, 40, 0.1);
}
.us-approach-card:hover::before {
    transform: scaleX(1);
}
.us-approach-card__num {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    color: rgba(26, 86, 219, 0.1);
    letter-spacing: -2px;
    font-variant-numeric: tabular-nums;
}
@media (min-width: 992px) {
    .us-approach-card__num { font-size: 56px; top: 1.25rem; right: 1.75rem; }
}
.us-approach-card__icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #EBF5FF 0%, #EEF2FF 100%);
    border-radius: 14px;
    margin-bottom: 1.25rem;
}
.us-approach-card__icon i {
    font-size: 28px;
    background: linear-gradient(135deg, #1A56DB 0%, #5145CD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.us-approach-card__title {
    font-size: 22px;
    font-weight: 700;
    color: #111928;
    margin: 0 0 0.75rem 0;
    line-height: 1.25;
}
.us-approach-card__desc {
    font-size: 15px;
    line-height: 1.6;
    color: #4B5563;
    margin: 0 0 1.25rem 0;
}
.us-approach-card__desc strong {
    color: #111928;
    font-weight: 600;
}
.us-approach-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    border-top: 1px dashed rgba(17, 25, 40, 0.1);
    padding-top: 1rem;
}
.us-approach-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}
.us-approach-list li i {
    font-size: 18px;
    color: #1A56DB;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ==========================================================================
   CertiNext Platform suite section (gartner-mentions.html)
   ========================================================================== */
.us-suite-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 100%);
}
@media (min-width: 992px) {
    .us-suite-section { padding: 5.5rem 0; }
}
.us-suite-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 3rem auto;
}
.us-suite-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1A56DB;
    background: #EBF5FF;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.us-suite-title {
    font-size: 30px;
    font-weight: 700;
    color: #111928;
    line-height: 1.25;
    margin: 0 0 1rem 0;
}
@media (min-width: 992px) {
    .us-suite-title { font-size: 36px; }
}
.us-suite-lede {
    font-size: 16px;
    line-height: 1.65;
    color: #4B5563;
    margin: 0;
}
/* Attribution modal close button — dark background with white × so it's visible on the white modal header */
.modal .close {
    width: 32px;
    height: 32px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #111928 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    padding: 0 !important;
    line-height: 1;
    transition: background 0.2s;
}
.modal .close:hover,
.modal .close:focus {
    background: #1A56DB !important;
    color: #fff !important;
    opacity: 1 !important;
}
.modal .close > span {
    color: #fff !important;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}
/* Ensure Row 2 nav items align center on desktop */
.emsigner-india-header .ems-navheader__container {
    display: flex;
    align-items: center;
    width: 100%;
}
.emsigner-india-header .ems-navlist.navbar-nav {
    align-items: center;
}
/* Ensure login-box and contact-form-field aren't affected by stylesheet.css input resets */
.login-box .wf-field input,
.login-box .wf-field select,
.login-box .wf-field textarea,
.contact-form-field .wf-field input,
.contact-form-field .wf-field select,
.contact-form-field .wf-field textarea {
    background: #fff !important;
    color: #111827 !important;
    box-shadow: none;
}
.login-box .wf-field input:focus,
.login-box .wf-field textarea:focus,
.contact-form-field .wf-field input:focus,
.contact-form-field .wf-field textarea:focus {
    box-shadow: 0 0 0 3px rgba(26,86,219,0.1) !important;
}
/* Fix select/cc toggle flag margin for intl-tel-input sprite */
.login-box .wf-cc-toggle .iti__flag,
.contact-form-field .wf-cc-toggle .iti__flag {
    transform: scale(0.9);
    transform-origin: left center;
}

/* Awards & Achievements carousel nav buttons (show on desktop, hide on mobile) */
.us-awards-nav{display:none;}
@media (min-width:768px){.us-awards-nav{display:flex !important;}}
