/* ===================================
   PAGE HERO (shared style)
=================================== */

.page-hero {
    background: var(--primary);
    padding: 0.7rem 3rem;
    color: #fff;
}

.page-hero h1 {
    font-size: 1.4rem;
    font-weight: 600;
}

/* ===================================
   DARK ROUNDED CARD (shared)
   Used by: Intro, Markets, CTA
=================================== */

.dark-card {
    background: var(--primary);
    border-radius: 16px;
    padding: 3rem 3.5rem;
    color: #fff;
}

.dark-card .section-center-title {
    color: #fff;
}

.dark-card .section-center-sub {
    color: #cbd5e1;
}

/* ===================================
   PARTNER INTRO (inside dark-card)
=================================== */

.partner-intro-content h2 {
    color: #fff;
    font-size: 1.7rem;
    margin-bottom: 1rem;
    line-height: 1.35;
    max-width: 680px;
}

.partner-intro-content p {
    color: #cbd5e1;
    font-size: 1rem;
    margin-bottom: 1.8rem;
    max-width: 580px;
}

/* ===================================
   GENERIC PARTNER SECTION
=================================== */

.partner-section {
    padding: 1rem 0;
}

.partner-section-inner {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    max-width: 1183px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 2rem 2rem;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}

.partner-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
}

.partner-section-text h2 {
    margin-bottom: 0.8rem;
}

.partner-section-text p {
    color: var(--gray);
    margin-bottom: 0.6rem;
}

.partner-list {
    list-style: none;
    margin: 1rem 0;
}

.partner-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    color: var(--text);
    font-size: 0.95rem;
}

.partner-list li i {
    color: var(--accent);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.partner-tagline {
    font-weight: 600;
    color: var(--primary) !important;
    margin-top: 0.5rem;
}

/* ===================================
   SECTION TITLES
=================================== */

.section-center-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-center-sub {
    text-align: center;
    color: var(--gray);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

/* ===================================
   CAPABILITIES GRID
=================================== */

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.capability-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding:1rem 1rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

.capability-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.capability-card:hover::before {
    transform: scaleX(1);
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: var(--accent);
}

.cap-icon {
    width: 52px;
    height: 52px;
    background: rgba(201,151,43,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 1.4rem;
}

.capability-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
}

.capability-card p {
    font-size: 0.92rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.6;
}

/* ===================================
   MARKETS
=================================== */

.markets-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.market-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 2.2rem 1.5rem;
    text-align: center;
    transition: 0.3s ease;
    width: 200px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}

.market-card:hover {
    background: rgba(201, 151, 43, 0.15);
    border-color: var(--accent);
    transform: translateY(-4px);
}

.market-card i {
    font-size: 2rem;
    color: var(--accent);
    display: block;
}

.market-card h3 {
    color: #fff;
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}

/* ===================================
   WHY VIEVA GRID
=================================== */

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.why-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem 1rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    transition: 0.3s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.07);
    border-color: var(--accent);
}

.why-card i {
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 1.4rem;
    display: block;
    width: 52px;
    height: 52px;
    background: rgba(201,151,43,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
}

.why-card p {
    font-size: 0.92rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.6;
}

/* ===================================
   ENGAGEMENT STEPS
=================================== */

.steps-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
}

.step-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
    max-width: 160px;
}

.step-num {
    width: 52px;
    height: 52px;
    background: var(--accent);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.7rem;
    font-family: 'Poppins', sans-serif;
}

.step-item p {
    font-size: 0.88rem;
    color: var(--text);
    font-weight: 500;
    margin: 0;
}

.step-arrow {
    color: var(--accent);
    font-size: 1rem;
    padding-bottom: 1.5rem;
}

/* ===================================
   CLOSING CTA (uses .dark-card)
=================================== */

.partner-cta {
    padding: 3rem 0;
    text-align: center;
}

.partner-cta .dark-card h2 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.partner-cta .dark-card p {
    color: #cbd5e1;
    margin-bottom: 1.8rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   RESPONSIVE
=================================== */

@media (max-width: 1024px) {
    .capabilities-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dark-card {
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }

    .partner-intro-content h2 {
        font-size: 1.35rem;
    }

    .partner-section-inner {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .capabilities-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .markets-grid {
        flex-direction: column;
        align-items: center;
    }

    .market-card {
        width: 100%;
        max-width: 280px;
    }

    .steps-row {
        flex-direction: column;
        align-items: center;
    }

    .step-arrow {
        transform: rotate(90deg);
        padding: 0;
    }

    .step-item {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .capabilities-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
}
