/* ============================================================
   PARTNER PAGE – COHESIVE WITH ABOUT & HOME
   ============================================================ */

/* ── Hero ── */
.hero-partner {
    position: relative;
    background: #0f1720;
    background-image: url("../assets/images/partnerus.webp");  /* ← YOUR IMAGE */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 24px 80px;
    color: #fff;
    overflow: hidden;
}

.hero-partner .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 27, 62, 0.65);  /* Dark overlay for readability */
}

.hero-partner .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-partner .hero-tag {
    display: inline-block;
    background: rgba(33, 150, 243, 0.15);
    color: #64b5f6;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    padding: 6px 18px;
    border-radius: 30px;
    border: 1px solid rgba(100, 181, 246, 0.2);
    margin-bottom: 24px;
}

.hero-partner .hero-content h1 {
    color: #fff;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 16px;
}

.hero-partner .hero-line {
    width: 70px;
    height: 4px;
    background: #2196f3;
    border-radius: 2px;
    margin: 0 auto 20px;
}

.hero-partner .hero-content p {
    color: #90caf9;
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 400;
    max-width: 650px;
    margin: 0 auto;
}

/* ── Stats Bar ── */
.stats-bar {
    background: #fff;
    padding: 50px 20px;
    border-bottom: 1px solid #e8ecf1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 10px;
}

.stat-item .stat-number {
    font-size: 38px;
    font-weight: 800;
    color: #0d47a1;
    display: block;
    line-height: 1.2;
}

.stat-item .stat-label {
    font-size: 15px;
    color: #555;
    margin-top: 6px;
}

.stat-item .stat-sub {
    font-size: 13px;
    color: #888;
    margin-top: 2px;
}

/* ── Sections ── */
.section {
    padding: clamp(60px, 7vw, 90px) clamp(16px, 4vw, 40px);
}

.white-bg   { background: #fff; }
.light-gray { background: #f8f9fb; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

/* ── Typography ── */
.section-title {
    font-size: clamp(30px, 3.2vw, 40px);
    font-weight: 800;
    color: #0d47a1;
    margin: 0 0 12px;
}

.section-title.centered {
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    text-align: center;
}

.body-text {
    font-size: 16px;
    color: #444;
    line-height: 1.9;
}

/* ── Partner Story ── */
.partner-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content .story-tag {
    display: inline-block;
    background: #e3f2fd;
    color: #0d47a1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.story-content .body-text {
    margin-top: 16px;
}

.story-content .body-text:first-of-type {
    margin-top: 0;
}

.story-image {
    position: relative;
}

.story-image .img-main {
    background: linear-gradient(145deg, #e8f0fe, #c5d8f5);
    border-radius: 16px;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #d9e4f7;
    position: relative;
    overflow: hidden;
}

.story-image .img-main .img-label {
    font-size: 20px;
    color: #0d47a1;
    font-weight: 700;
    letter-spacing: 2px;
}

.story-image .img-badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: #0d47a1;
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 10px 30px rgba(13, 71, 161, 0.2);
}

/* ── Benefits Grid ── */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 60px;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #e8ecf1;
}

.benefit-list li:last-child {
    border-bottom: none;
}

.bullet {
    color: #0d47a1;
    font-size: 18px;
    flex-shrink: 0;
}

/* ── For Whom Grid ── */
.for-whom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 60px;
}

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid #e8ecf1;
}

.check-list li:last-child {
    border-bottom: none;
}

.check {
    color: #0d47a1;
    font-weight: 700;
    font-size: 18px;
}

/* ── Model Blocks ── */
.model-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.model-block .model-number {
    display: inline-block;
    font-size: 48px;
    font-weight: 900;
    color: rgba(13, 71, 161, 0.06);
    line-height: 1;
    margin-bottom: 8px;
}

.model-title {
    font-size: 22px;
    font-weight: 700;
    color: #0d47a1;
    margin: 0 0 12px;
}

.model-desc {
    font-size: 16px;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.model-diagram-img {
    max-width: 700px;
    margin: 0 auto;
}

.model-diagram-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* ── Why Partner Grid ── */
.why-partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.why-partner-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: transform 0.25s;
    position: relative;
}

.why-partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
}

.why-partner-card .card-number {
    font-size: 40px;
    font-weight: 900;
    color: rgba(13, 71, 161, 0.06);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.why-partner-card .card-icon {
    font-size: 28px;
    color: #1565c0;
    font-weight: 300;
    display: block;
    margin-bottom: 12px;
}

.why-partner-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0d47a1;
    margin: 0 0 8px;
}

.why-partner-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* ── CTA ── */
.cta-partner {
    background: #0f1720;
    padding: 70px 24px;
    text-align: center;
}

.cta-title {
    color: #fff;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    margin: 0 0 12px;
}

.cta-sub {
    color: #90caf9;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.cta-btn {
    display: inline-block;
    background: #2196f3;
    color: #fff;
    padding: 16px 48px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background 0.3s, transform 0.2s;
}

.cta-btn:hover {
    background: #1565c0;
    transform: translateY(-2px);
    color: #fff;
}

/* ── Brands ── */
.brands-label {
    font-size: 16px;
    color: #1565c0;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

.brands-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 50px;
    justify-content: center;
    align-items: center;
}

.brand-name {
    font-size: 18px;
    font-weight: 900;
    color: #222;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .partner-story {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-image .img-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 16px;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .for-whom-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .why-partner-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .hero-partner {
        padding: 60px 16px 50px;
        background-position: center;
    }

    .hero-partner .hero-content h1 {
        font-size: 28px;
    }

    .hero-partner .hero-content p {
        font-size: 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item .stat-number {
        font-size: 30px;
    }

    .section {
        padding: 40px 16px;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .story-image .img-main {
        height: 220px;
    }

    .why-partner-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-sub {
        font-size: 15px;
    }

    .cta-btn {
        padding: 14px 32px;
        font-size: 14px;
        width: 100%;
    }

    .brands-row {
        gap: 15px 25px;
    }

    .brand-name {
        font-size: 14px;
    }

    .model-diagram-img img {
        border-radius: 8px;
    }

    .container {
        padding: 0 10px;
    }
}