/* ===============================
   MEMBER HERO SECTION
================================ */

.member-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    background: #ffffff;
}

/* Soft background glow */
.member-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 35% 45%, rgba(34,197,94,0.12), transparent 45%),
        radial-gradient(circle at 65% 55%, rgba(16,185,129,0.10), transparent 45%);
    z-index: 0;
}

.member-hero .container {
    position: relative;
    z-index: 1;
}

.member-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 90px 0 80px;
}

/* Badge */
.member-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: #16a34a;
    background: #e7f8ef;
    margin-bottom: 26px;
}

/* Heading */
.member-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 18px;
    line-height: 1.15;
}

.member-title span {
    color: #22c55e;
}

/* Subtitle */
.member-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: #475569;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 991px) {
    .member-hero-inner {
        padding: 70px 0 65px;
    }
}

@media (max-width: 576px) {
    .member-hero-inner {
        padding: 55px 0 50px;
    }

    .member-badge {
        font-size: 13px;
        padding: 8px 14px;
    }
}
/* ===============================
   MEMBERSHIP SECTION
================================ */

.membership-section {
    padding: 100px 0;
    background: #ffffff;
}

.membership-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.membership-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.membership-header p {
    color: #475569;
    font-size: 16px;
    line-height: 1.6;
}

/* Grid */
.membership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Card Base */
.membership-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 32px 26px 30px;
    border: 1px solid #e2e8f0;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
}

.membership-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

/* Badge */
.card-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #fff;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 0 18px 0 18px;
}

/* Icon */
.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
}

/* Titles */
.membership-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* Features */
.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex-grow: 1;
}

.card-features li {
    font-size: 14px;
    color: #334155;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.card-features li::before {
    content: "★";
    position: absolute;
    left: 0;
    font-size: 12px;
}

/* Button */
.card-btn {
    display: inline-block;
    text-align: center;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}

/* Color Variants */
.patron .card-icon,
.patron .card-btn {
    background: linear-gradient(135deg, #facc15, #f59e0b);
}

.life .card-icon,
.life .card-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.associate .card-icon,
.associate .card-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.primary .card-icon,
.primary .card-btn {
    background: linear-gradient(135deg, #64748b, #475569);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1200px) {
    .membership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .membership-grid {
        grid-template-columns: 1fr;
    }

    .membership-section {
        padding: 70px 0;
    }
}
/* ===============================
   MEMBERS SECTION
================================ */

.members-section {
    padding: 100px 0;
    background: #ffffff;
}

/* Header */
.members-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.members-pill {
    display: inline-block;
    background: #e8f9f0;
    color: #16a34a;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    margin-bottom: 16px;
}

.members-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 12px;
}

.members-header h2 span {
    color: #22c55e;
}

.members-header p {
    color: #475569;
    font-size: 16px;
}

/* Tabs */
.members-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.members-tabs .tab {
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    background: #f1f5f9;
    cursor: pointer;
    font-size: 14px;
    transition: all .3s ease;
}

.members-tabs .tab.active {
    background: #22c55e;
    color: #fff;
    box-shadow: 0 8px 20px rgba(34,197,94,0.3);
}

/* Grid */
.members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* Card */
.member-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: all .35s ease;
}

.member-card.hide {
    display: none;
}

.member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Image */
.member-image {
    position: relative;
}

.member-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

/* Tag */
.member-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 999px;
    color: #fff;
}

.member-tag.patron { background: #f59e0b; }
.member-tag.life { background: #22c55e; }
.member-tag.associate { background: #3b82f6; }
.member-tag.primary { background: #64748b; }

/* Info */
.member-info {
    padding: 18px;
}

.member-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.member-info p {
    font-size: 14px;
    color: #475569;
    margin-bottom: 4px;
}

.member-info span {
    font-size: 13px;
    color: #16a34a;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1200px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .members-grid {
        grid-template-columns: 1fr;
    }

    .members-section {
        padding: 70px 0;
    }
}
