/* =========================================================
   PARTNERSHIP PAGE — AJKS FOUNDATION
========================================================= */

.ptn-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 30px;
}


/* =========================================================
   HERO
========================================================= */
.ptn-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #043f36, #07594c);
    margin-bottom: 0;
}

.ptn-hero-bg {
    position: absolute;
    inset: 0;
}

.ptn-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .35;
}

.ptn-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(4,63,54,.9),
        rgba(7,84,71,.7)
    );
}

.ptn-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 80px 30px;
    max-width: 800px;
    animation: ptnFade 1s ease;
}

@keyframes ptnFade {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ptn-hero-label {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid rgba(245,170,0,.6);
    color: #f5aa00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    border-radius: 30px;
    margin-bottom: 22px;
    backdrop-filter: blur(6px);
}

.ptn-hero-content h1 {
    font-size: clamp(30px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -.5px;
}

.ptn-hero-content p {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,.85);
    margin-bottom: 30px;
}

.ptn-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: #f5aa00;
    color: #17332d;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 8px;
    transition: all .3s ease;
}

.ptn-hero-btn:hover {
    background: #fff;
    color: #075447;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
}

.ptn-hero-btn i {
    transition: transform .25s ease;
}

.ptn-hero-btn:hover i {
    transform: translateY(4px);
}


/* =========================================================
   INTRO
========================================================= */
.ptn-intro {
    padding: 60px 0 40px;
}

.ptn-intro-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 17px;
    line-height: 1.9;
    color: #4a5652;
}

.ptn-intro-inner p {
    margin-bottom: 18px;
}

.ptn-intro-inner strong {
    color: #075447;
}

.ptn-intro-inner ol,
.ptn-intro-inner ul {
    text-align: left;
    display: inline-block;
    padding-left: 20px;
}

.ptn-intro-inner li {
    margin-bottom: 10px;
}


/* =========================================================
   STATS
========================================================= */
.ptn-stats-section {
    padding: 30px 0 60px;
}

.ptn-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.ptn-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 22px;
    text-align: center;
    border: 1px solid #eef2f0;
    box-shadow: 0 4px 15px rgba(0,0,0,.04);
    transition: transform .3s ease, box-shadow .3s ease;
}

.ptn-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(7,84,71,.1);
}

.ptn-stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 14px;
    background: rgba(245,170,0,.13);
    color: #c78900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.ptn-stat-value {
    font-size: 34px;
    font-weight: 800;
    color: #075447;
    line-height: 1;
    margin-bottom: 8px;
}

.ptn-stat-label {
    font-size: 13.5px;
    color: #6b7772;
    font-weight: 600;
    letter-spacing: .3px;
}


/* =========================================================
   SECTION HEADING
========================================================= */
.ptn-section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.ptn-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #d18d00;
    margin-bottom: 12px;
}

.ptn-section-heading h2 {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 800;
    color: #073f36;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -.5px;
}

.ptn-section-heading p {
    color: #6b7772;
    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   PARTNER CARDS
========================================================= */
.ptn-partners-section {
    padding: 40px 0 80px;
    background: #f5f7f6;
}

.ptn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.ptn-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #eef2f0;
    box-shadow: 0 4px 15px rgba(0,0,0,.04);
    transition: transform .35s ease, box-shadow .35s ease;
    display: flex;
    flex-direction: column;
}

.ptn-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(7,84,71,.12);
}

.ptn-card-featured {
    border: 2px solid #f5aa00;
}

.ptn-featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 14px;
    background: #f5aa00;
    color: #17332d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
    border-radius: 20px;
    z-index: 2;
}


.ptn-card-logo {
    position: relative;
    height: 170px;
    background: linear-gradient(135deg, #f8faf9, #eef2f0);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    overflow: hidden;
}

.ptn-card-logo::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(7,84,71,.04), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(245,170,0,.05), transparent 40%);
}

.ptn-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: grayscale(.15);
    transition: filter .35s ease, transform .35s ease;
}

.ptn-card:hover .ptn-card-logo img {
    filter: grayscale(0);
    transform: scale(1.06);
}

.ptn-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #075447;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}


.ptn-card-body {
    padding: 24px 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ptn-card-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(7,84,71,.08);
    color: #075447;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.ptn-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #073f36;
    line-height: 1.4;
    margin-bottom: 10px;
}

.ptn-card-body p {
    color: #6b7772;
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 14px;
    flex: 1;
}

.ptn-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    padding-top: 14px;
    border-top: 1px solid #eef2f0;
}

.ptn-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #7a8580;
    font-weight: 500;
}

.ptn-card-meta span i {
    color: #d18d00;
}

.ptn-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #075447;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.ptn-card-link:hover {
    color: #d18d00;
}

.ptn-card-link i {
    font-size: 12px;
    transition: transform .25s ease;
}

.ptn-card-link:hover i {
    transform: translate(3px, -3px);
}


/* =========================================================
   BENEFITS
========================================================= */
.ptn-benefits-section {
    padding: 80px 0;
}

.ptn-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ptn-benefit {
    padding: 34px 28px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eef2f0;
    transition: all .35s ease;
    position: relative;
    overflow: hidden;
}

.ptn-benefit::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #075447, #f5aa00);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.ptn-benefit:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(7,84,71,.1);
}

.ptn-benefit:hover::before {
    transform: scaleX(1);
}

.ptn-benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(245,170,0,.13);
    color: #c78900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.ptn-benefit h3 {
    font-size: 18px;
    font-weight: 700;
    color: #073f36;
    margin-bottom: 10px;
}

.ptn-benefit p {
    color: #6b7772;
    font-size: 14.5px;
    line-height: 1.75;
}


/* =========================================================
   TIMELINE
========================================================= */
.ptn-timeline-section {
    padding: 80px 0;
    background: #f5f7f6;
}

.ptn-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.ptn-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
        transparent,
        #075447 15%,
        #075447 85%,
        transparent);
    transform: translateX(-50%);
}

.ptn-timeline-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    align-items: center;
    gap: 0;
    margin-bottom: 30px;
    position: relative;
}

.ptn-timeline-item:nth-child(odd) .ptn-timeline-year {
    grid-column: 1;
    text-align: right;
    padding-right: 30px;
}

.ptn-timeline-item:nth-child(odd) .ptn-timeline-content {
    grid-column: 3;
    padding-left: 30px;
}

.ptn-timeline-item:nth-child(even) .ptn-timeline-year {
    grid-column: 3;
    text-align: left;
    padding-left: 30px;
}

.ptn-timeline-item:nth-child(even) .ptn-timeline-content {
    grid-column: 1;
    text-align: right;
    padding-right: 30px;
}

.ptn-timeline-year {
    font-size: 26px;
    font-weight: 800;
    color: #f5aa00;
    letter-spacing: -.5px;
}

.ptn-timeline-content {
    background: #fff;
    padding: 18px 22px;
    border-radius: 12px;
    border: 1px solid #eef2f0;
    box-shadow: 0 4px 15px rgba(0,0,0,.04);
    transition: transform .3s ease, box-shadow .3s ease;
}

.ptn-timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(7,84,71,.1);
}

.ptn-timeline-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #073f36;
    margin-bottom: 6px;
}

.ptn-timeline-content p {
    color: #6b7772;
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
}

.ptn-timeline-item::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #f5aa00;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(245,170,0,.25);
    z-index: 2;
}


/* =========================================================
   CTA
========================================================= */
.ptn-cta-section {
    padding: 80px 0 100px;
}

.ptn-cta {
    position: relative;
    background: linear-gradient(135deg, #043f36, #07594c);
    border-radius: 24px;
    padding: 70px 40px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.ptn-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(245,170,0,.18), transparent 35%),
        radial-gradient(circle at 90% 80%, rgba(245,170,0,.12), transparent 35%);
}

.ptn-cta > * {
    position: relative;
    z-index: 1;
}

.ptn-cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: rgba(245,170,0,.18);
    color: #f5aa00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    border: 2px solid rgba(245,170,0,.35);
}

.ptn-cta h2 {
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -.5px;
}

.ptn-cta p {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255,255,255,.85);
    max-width: 620px;
    margin: 0 auto 32px;
}

.ptn-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.ptn-btn-primary,
.ptn-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 10px;
    transition: all .3s ease;
}

.ptn-btn-primary {
    background: #f5aa00;
    color: #17332d;
}

.ptn-btn-primary:hover {
    background: #fff;
    color: #075447;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
}

.ptn-btn-primary i {
    transition: transform .25s ease;
}

.ptn-btn-primary:hover i {
    transform: translateX(4px);
}

.ptn-btn-secondary {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.4);
}

.ptn-btn-secondary:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
}


/* =========================================================
   EMPTY
========================================================= */
.ptn-empty {
    text-align: center;
    padding: 80px 20px;
    color: #8a9691;
}

.ptn-empty i {
    font-size: 48px;
    color: #c8d4cf;
    display: block;
    margin-bottom: 15px;
}

.ptn-empty h3 {
    color: #4a5652;
    font-size: 20px;
    margin-bottom: 8px;
}


/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 991px) {

    .ptn-container {
        padding: 0 22px;
    }

    .ptn-hero {
        min-height: 420px;
    }

    .ptn-grid,
    .ptn-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .ptn-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ptn-timeline::before {
        left: 20px;
    }

    .ptn-timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 15px;
    }

    .ptn-timeline-item:nth-child(odd) .ptn-timeline-year,
    .ptn-timeline-item:nth-child(even) .ptn-timeline-year {
        grid-column: 1;
        text-align: left;
        padding: 0;
        font-size: 20px;
    }

    .ptn-timeline-item:nth-child(odd) .ptn-timeline-content,
    .ptn-timeline-item:nth-child(even) .ptn-timeline-content {
        grid-column: 2;
        text-align: left;
        padding: 0;
    }

    .ptn-timeline-item::after {
        left: 20px;
    }

    .ptn-cta {
        padding: 50px 25px;
    }
}


@media (max-width: 640px) {

    .ptn-container {
        padding: 0 16px;
    }

    .ptn-hero {
        min-height: 380px;
    }

    .ptn-hero-content {
        padding: 60px 20px;
    }

    .ptn-grid,
    .ptn-benefits-grid,
    .ptn-stats-grid {
        grid-template-columns: 1fr;
    }

    .ptn-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .ptn-stat-card {
        padding: 22px 14px;
    }

    .ptn-stat-value {
        font-size: 26px;
    }

    .ptn-stat-icon {
        width: 46px;
        height: 46px;
        font-size: 22px;
    }

    .ptn-card-logo {
        height: 140px;
    }

    .ptn-cta {
        padding: 40px 20px;
        border-radius: 16px;
    }

    .ptn-cta-icon {
        width: 64px;
        height: 64px;
        font-size: 30px;
    }

    .ptn-cta-buttons {
        flex-direction: column;
    }

    .ptn-btn-primary,
    .ptn-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}