/* ================================================================
   partners.css — Vividhity | Partners Page (v2)
   Alignment: .pt-wrap mirrors navbar container exactly
   Key: --nav-px controls left/right padding — match your navbar
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

:root {
    --blue-dark: #0f1f6e;
    --blue-mid: #1565c0;
    --blue-bright: #2979ff;
    --blue-light: #e8eaf6;
    --blue-bg: #f0f4ff;
    --teal: #00bfa5;
    --text-dark: #0b1640;
    --text-gray: #5a6a85;
    --text-light: #8a9ab5;
    --white: #ffffff;
    --card-shadow: 0 4px 32px rgba(25, 55, 130, 0.10);
    --radius: 16px;
    --font-head: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --tr: 0.34s cubic-bezier(0.16, 1, 0.3, 1);
    --border: #e2e8f0;

    /* ▼ Match this to your navbar's horizontal padding */
    --nav-px: 60px;
    /* ▼ Match this to your navbar's max-width container */
    --nav-max: 100px;
}

/* ── RESET ── */
.pt-page *,
.pt-page *::before,
.pt-page *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.pt-page {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── WRAP — MUST match navbar container ──────────────────────────
   If your base.html navbar has e.g. max-width:1280px; padding:0 40px
   set --nav-max and --nav-px above to the same values.
   This ensures every section title left-edge = navbar logo left-edge.
─────────────────────────────────────────────────────────────────── */
.pt-wrap {
    width: 100%;
    padding-left: var(--nav-px);
    padding-right: var(--nav-px);
}

/* ── SHARED ── */
.section-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blue-bright);
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.18;
    letter-spacing: -0.5px;
}

/* ── REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .60s var(--tr), transform .60s var(--tr);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity .64s var(--tr), transform .64s var(--tr);
}

.reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity .64s var(--tr), transform .64s var(--tr);
}

.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: none;
}

.d1 {
    transition-delay: .06s
}

.d2 {
    transition-delay: .13s
}

.d3 {
    transition-delay: .20s
}

.d4 {
    transition-delay: .27s
}


/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.pt-hero {
    background: linear-gradient(155deg, #dce8ff 0%, #eef3ff 50%, #f7f9ff 100%);
    padding: 88px 0 80px;
    position: relative;
    overflow: hidden;
}

.pt-hero {
    padding: 60px 0 60px;
    /* match home spacing */
}

.pt-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41, 121, 255, .09) 0%, transparent 70%);
    pointer-events: none;
}

.pt-hero-inner {
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 64px;
    align-items: center;
}

.pt-hero-left {
    position: relative;
    z-index: 1;
}

.pt-hero-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 3.8vw, 2.4rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.12;
    letter-spacing: -0.8px;
    margin-bottom: 22px;
}

.pt-hero-title span {
    color: var(--blue-bright);
}

.pt-hero-desc {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.82;
    max-width: 520px;
    margin-bottom: 40px;
}

.pt-hero-stats {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 28px;
    width: fit-content;
    box-shadow: 0 4px 20px rgba(25, 55, 130, .07);
}

.pt-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 28px;
}

.pt-stat:first-child {
    padding-left: 0;
}

.pt-stat:last-child {
    padding-right: 0;
}

.pt-stat-num {
    font-family: var(--font-head);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--blue-bright);
    line-height: 1;
}

.pt-stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-top: 4px;
    white-space: nowrap;
}

.pt-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
    flex-shrink: 0;
}

/* Orbit visual */
.pt-hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.pt-hero-visual {
    width: 380px;
    height: 380px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pt-hero-visual-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px dashed rgba(41, 121, 255, .18);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pt-ring-1 {
    width: 180px;
    height: 180px;
    border-color: rgba(41, 121, 255, .30);
}

.pt-ring-2 {
    width: 280px;
    height: 280px;
}

.pt-ring-3 {
    width: 380px;
    height: 380px;
    border-color: rgba(41, 121, 255, .10);
}

.pt-hero-visual-center {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-bright));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(41, 121, 255, .35);
}

.pt-hero-center-icon {
    margin-bottom: 4px;
}

.pt-hero-visual-center span {
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-align: center;
    line-height: 1.2;
}

.pt-orbit-badge {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: .72rem;
    font-weight: 700;
    color: var(--blue-mid);
    box-shadow: 0 2px 12px rgba(25, 55, 130, .10);
    white-space: nowrap;
    z-index: 3;
}

.pt-ob-1 {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.pt-ob-2 {
    top: 60px;
    right: 0;
}

.pt-ob-3 {
    bottom: 60px;
    right: 0;
}

.pt-ob-4 {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.pt-ob-5 {
    bottom: 60px;
    left: 0;
}

.pt-ob-6 {
    top: 60px;
    left: 0;
}


/* ══════════════════════════════════════
   WHY
══════════════════════════════════════ */
.pt-why {
    padding: 88px 0;
    background: var(--white);
}

.pt-why-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.pt-why-visual {
    background: linear-gradient(140deg, #0f1f6e 0%, #1565c0 60%, #2979ff 100%);
    border-radius: 24px;
    padding: 48px 44px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pt-why-visual::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    pointer-events: none;
}

.pt-why-visual::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -30px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(0, 191, 165, .12);
    pointer-events: none;
}

.pt-why-visual-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.pt-why-visual-title {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.pt-why-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.pt-why-pill {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 20px;
    padding: 5px 13px;
    font-size: .75rem;
    font-weight: 600;
    color: var(--white);
}

.pt-why-metric {
    position: relative;
    z-index: 1;
}

.pt-why-metric-bar {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, .15);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.pt-why-metric-fill {
    height: 100%;
    background: linear-gradient(90deg, #00bfa5, rgba(255, 255, 255, .8));
    border-radius: 10px;
}

.pt-why-metric-row {
    display: flex;
    justify-content: space-between;
    font-size: .76rem;
    color: rgba(255, 255, 255, .65);
    font-weight: 500;
}

.pt-why-metric-val {
    color: white;
    font-weight: 700;
}

.pt-why-content {
    padding-left: 4px;
}

.pt-why-lead {
    font-size: .93rem;
    color: var(--text-gray);
    line-height: 1.82;
    margin-bottom: 32px;
}

.pt-why-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pt-why-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.pt-why-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--blue-bright);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    box-shadow: 0 2px 8px rgba(41, 121, 255, .30);
}

.pt-why-check svg {
    width: 11px;
    height: 11px;
}

.pt-why-item>div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pt-why-item strong {
    font-size: .9rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-head);
}

.pt-why-item span {
    font-size: .83rem;
    color: var(--text-gray);
    line-height: 1.55;
}


/* ══════════════════════════════════════
   PARTNERS — Alternating rows
   Left edge of partner name = left edge of section heading above
══════════════════════════════════════ */
.pt-partners {
    padding: 88px 0;
    background: var(--blue-bg);
}

.pt-partners-header {
    margin-bottom: 56px;
}

.pt-partners-header .section-label {
    margin-bottom: 12px;
}

.pt-partners-sub {
    font-size: .95rem;
    color: var(--text-gray);
    margin-top: 12px;
    line-height: 1.7;
}

/* ─── Row card ─── */
.pt-card-row {
    display: grid;
    grid-template-columns: 300px 1fr;
    /* logo col | content col */
    gap: 0;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 24px;
    transition: box-shadow var(--tr), border-color var(--tr);
}

.pt-card-row:last-child {
    margin-bottom: 0;
}

.pt-card-row:hover {
    box-shadow: 0 16px 48px rgba(25, 55, 130, .10);
    border-color: rgba(41, 121, 255, .22);
}

/* Reversed layout */
.pt-card-row-reverse {
    grid-template-columns: 1fr 300px;
}

/* ── Logo panel ── */
.pt-card-row-logo {
    background: linear-gradient(145deg, #f5f8ff 0%, #eef2ff 100%);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 40px 28px;
    min-height: 260px;
}

.pt-card-row-reverse .pt-card-row-logo {
    border-right: none;
    border-left: 1px solid var(--border);
    order: 2;
}

.pt-card-row-reverse .pt-card-row-content {
    order: 1;
}

/* Logo image box */
.pt-logo-box {
    width: 100%;
    max-width: 200px;
    aspect-ratio: 3/2;
    border-radius: 14px;
    background: var(--white);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(25, 55, 130, .07);
    transition: box-shadow var(--tr);
}

.pt-card-row:hover .pt-logo-box {
    box-shadow: 0 4px 20px rgba(25, 55, 130, .14);
}

/* Real logo — drop your <img> inside .pt-logo-box */
.pt-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px 22px;
    display: block;
}

/* Placeholder (remove once you add the real img) */
.pt-logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pt-logo-icon {
    font-size: 30px;
    opacity: .4;
}

.pt-logo-hint {
    font-size: .65rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.pt-card-row-badge {
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blue-bright);
    text-align: center;
    line-height: 1.5;
    padding: 0 4px;
}

/* ── Content panel ──
   padding-left must equal var(--nav-px) so the partner name
   left-edge lines up with the "OUR PARTNERS" section label above it. */
.pt-card-row-content {
    padding: 44px var(--nav-px);
    /* ← left/right match wrap padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pt-card-row-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.pt-card-row-name {
    font-family: var(--font-head);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -.3px;
}

.pt-card-row-tag {
    background: var(--blue-light);
    color: var(--blue-mid);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.pt-card-row-desc {
    font-size: .88rem;
    color: var(--text-gray);
    line-height: 1.80;
    margin-bottom: 22px;
}

.pt-collab {
    background: var(--blue-bg);
    border-left: 3px solid var(--blue-bright);
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
}

.pt-collab-header {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--blue-mid);
    margin-bottom: 8px;
}

.pt-collab-text {
    font-size: .85rem;
    color: var(--text-dark);
    line-height: 1.68;
    font-weight: 500;
}


/* ══════════════════════════════════════
   APPROACH
══════════════════════════════════════ */
.pt-approach {
    padding: 88px 0;
    background: var(--white);
}

.pt-approach-header {
    margin-bottom: 52px;
}

.pt-approach-header .section-label {
    margin-bottom: 10px;
}

.pt-approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pt-approach-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    transition: box-shadow var(--tr), border-color var(--tr), transform var(--tr);
}

.pt-approach-card:hover {
    box-shadow: var(--card-shadow);
    border-color: rgba(41, 121, 255, .28);
    transform: translateY(-4px);
}

.pt-approach-num-wrap {
    background: linear-gradient(135deg, #f0f4ff, #e8eaf6);
    padding: 20px 22px 10px;
}

.pt-approach-num {
    font-family: var(--font-head);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--blue-light);
    line-height: 1;
    letter-spacing: -3px;
}

.pt-approach-body {
    padding: 14px 22px 28px;
}

.pt-approach-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--blue-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-bright);
    margin-bottom: 12px;
}

.pt-approach-card h4 {
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.pt-approach-card p {
    font-size: .82rem;
    color: var(--text-gray);
    line-height: 1.68;
}


/* ══════════════════════════════════════
   CTA
══════════════════════════════════════ */
.pt-cta {
    padding: 88px 0;
    background: var(--blue-bg);
}

.pt-cta-inner {
    background: linear-gradient(135deg, #0f1f6e 0%, #1565c0 55%, #2979ff 100%);
    border-radius: 24px;
    padding: 64px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.pt-cta-inner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    pointer-events: none;
}

.pt-cta-inner::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(0, 191, 165, .10);
    pointer-events: none;
}

.pt-cta-left {
    position: relative;
    z-index: 1;
}

.pt-cta-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 14px;
}

.pt-cta-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 3.8vw, 2.4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -.4px;
}

.pt-cta-sub {
    font-size: .9rem;
    color: rgba(255, 255, 255, .72);
    line-height: 1.72;
    margin-bottom: 28px;
}

.pt-cta-btn {
    display: inline-block;
    background: var(--white);
    color: var(--blue-mid);
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    transition: background var(--tr), transform .15s, box-shadow var(--tr);
}

.pt-cta-btn:hover {
    background: var(--blue-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .20);
}

.pt-cta-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.pt-cta-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    padding: 16px 20px;
    transition: background var(--tr);
}

.pt-cta-card:hover {
    background: rgba(255, 255, 255, .16);
}

.pt-cta-card-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.pt-cta-card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pt-cta-card-text strong {
    font-family: var(--font-head);
    font-size: .88rem;
    font-weight: 700;
    color: var(--white);
}

.pt-cta-card-text span {
    font-size: .78rem;
    color: rgba(255, 255, 255, .60);
}


/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1100px) {
    .pt-hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .pt-hero-right {
        display: none;
    }

    .pt-approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pt-cta-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 48px 44px;
    }
}

@media (max-width: 860px) {
    .pt-wrap {
        padding: 0 24px;
    }

    :root {
        --nav-px: 24px;
    }

    .pt-why-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pt-card-row,
    .pt-card-row-reverse {
        grid-template-columns: 1fr;
    }

    .pt-card-row-logo {
        border-right: none;
        border-bottom: 1px solid var(--border);
        flex-direction: row;
        justify-content: flex-start;
        padding: 24px 28px;
        min-height: auto;
        gap: 20px;
    }

    .pt-card-row-reverse .pt-card-row-logo {
        border-left: none;
        border-bottom: 1px solid var(--border);
        order: 0;
    }

    .pt-card-row-reverse .pt-card-row-content {
        order: 0;
    }

    .pt-logo-box {
        max-width: 120px;
    }

    .pt-card-row-content {
        padding: 28px 28px;
    }
}

@media (max-width: 620px) {
    .pt-hero {
        padding: 60px 0 52px;
    }

    .pt-hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
        padding: 20px 24px;
    }

    .pt-stat {
        align-items: flex-start;
        padding: 0;
    }

    .pt-stat-divider {
        width: 100%;
        height: 1px;
    }

    .pt-approach-grid {
        grid-template-columns: 1fr;
    }

    .pt-cta-inner {
        padding: 36px 24px;
    }
}