/* =============================================================
   leadership.css — Premium "Meet Our Co-Founders" Section
   CareMed Wellness
============================================================= */

/* ── Section Shell ── */
.leadership-section {
    position: relative;
    padding: 6rem 0 7rem;
    background: linear-gradient(160deg, #f8faff 0%, #eef7f1 40%, #f0f4ff 100%);
    overflow: hidden;
}

/* ── Decorative Background Blobs ── */
.leadership-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}
.lb-1 {
    width: 420px; height: 420px;
    top: -100px; left: -120px;
    background: radial-gradient(circle, rgba(31, 163, 106, 0.14) 0%, rgba(15, 94, 59, 0.05) 70%);
    animation: blobDrift1 18s ease-in-out infinite;
}
.lb-2 {
    width: 360px; height: 360px;
    bottom: -80px; right: -100px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, rgba(234, 179, 8, 0.04) 70%);
    animation: blobDrift2 22s ease-in-out infinite;
}
.lb-3 {
    width: 260px; height: 260px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.07) 0%, transparent 70%);
    animation: blobDrift3 26s ease-in-out infinite;
}

@keyframes blobDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(30px, 20px) scale(1.06); }
}
@keyframes blobDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(-25px, -18px) scale(1.08); }
}
@keyframes blobDrift3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50%       { transform: translate(-48%, -52%) scale(1.12); }
}

/* ── Section Header ── */
.leadership-tagline-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(249,115,22,0.12) 0%, rgba(234,179,8,0.12) 100%);
    color: #d97706;
    border: 1.5px solid rgba(249,115,22,0.25);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 30px;
}
.leadership-title {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    font-weight: 900;
    color: #0F5E3B;
    letter-spacing: -0.5px;
    line-height: 1.15;
}
.leadership-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 560px;
    margin: 0.75rem auto 0;
    line-height: 1.7;
}
.leadership-accent-line {
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f97316, #eab308);
}

/* ── Co-Founder Card Shell ── */
.cofounder-card {
    position: relative;
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(15, 94, 59, 0.08), 0 2px 8px rgba(0,0,0,0.04);
    border: 1.5px solid rgba(31, 163, 106, 0.1);
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.45s ease,
                border-color 0.3s ease;
}
.cofounder-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 28px 60px rgba(15, 94, 59, 0.15), 0 6px 20px rgba(0,0,0,0.06);
    border-color: rgba(31, 163, 106, 0.3);
}

/* ── Glowing Top Accent Bar ── */
.cofounder-card-glow {
    height: 5px;
    width: 100%;
    background: linear-gradient(90deg, #1FA36A, #f97316, #eab308, #1FA36A);
    background-size: 200% 100%;
    animation: shimmerBar 4s linear infinite;
}
@keyframes shimmerBar {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* ── Photo Wrapper ── */
.cofounder-photo-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4.2;
    overflow: hidden;
}
.cofounder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
    display: block;
}
.cofounder-card:hover .cofounder-photo {
    transform: scale(1.05);
}

/* ── Social Overlay ── */
.cofounder-social-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(12, 43, 75, 0.82) 0%,
        rgba(12, 43, 75, 0.40) 45%,
        transparent 80%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    padding-bottom: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.cofounder-card:hover .cofounder-social-overlay {
    opacity: 1;
}
.cofounder-social-btn {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255,255,255,0.35);
    color: #ffffff;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    transform: translateY(14px);
}
.cofounder-card:hover .cofounder-social-btn {
    transform: translateY(0);
}
.cofounder-social-btn:hover {
    background: #f97316;
    border-color: #f97316;
    color: #fff;
}
.cofounder-social-btn:nth-child(1) { transition-delay: 0s; }
.cofounder-social-btn:nth-child(2) { transition-delay: 0.05s; }
.cofounder-social-btn:nth-child(3) { transition-delay: 0.10s; }

/* ── Card Body ── */
.cofounder-body {
    padding: 1.5rem 1.6rem 1.75rem;
}
.cofounder-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0c2b4b;
    margin: 0 0 2px;
    line-height: 1.25;
}
.cofounder-name a { color: inherit; }
.cofounder-name a:hover { color: #1FA36A; }
.cofounder-role {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1FA36A;
    margin: 0;
    letter-spacing: 0.3px;
}
.cofounder-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f97316, #eab308);
    color: #fff;
    white-space: nowrap;
}

/* ── Stats Row ── */
.cofounder-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.cofounder-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border-radius: 20px;
    padding: 4px 12px;
    border: 1px solid #e2e8f0;
}
.cofounder-stat i {
    color: #1FA36A;
    font-size: 0.85rem;
}

/* ── Divider ── */
.cofounder-divider {
    margin: 1rem 0;
    border-color: #e8f4ee;
    opacity: 1;
}

/* ── Bio ── */
.cofounder-bio {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 1.25rem;
}

/* ── CTA Button ── */
.cofounder-cta-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0F5E3B;
    text-decoration: none;
    padding: 9px 20px;
    border-radius: 30px;
    border: 2px solid rgba(15, 94, 59, 0.2);
    background: rgba(15, 94, 59, 0.04);
    transition: all 0.3s ease;
    letter-spacing: 0.2px;
}
.cofounder-cta-btn i {
    transition: transform 0.3s ease;
}
.cofounder-cta-btn:hover {
    background: linear-gradient(135deg, #0F5E3B, #1FA36A);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(15, 94, 59, 0.25);
}
.cofounder-cta-btn:hover i {
    transform: translateX(4px);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .leadership-section { padding: 4rem 0 5rem; }
    .lb-1 { width: 260px; height: 260px; top: -60px; left: -80px; }
    .lb-2 { width: 220px; height: 220px; bottom: -50px; right: -60px; }
    .lb-3 { display: none; }
    .cofounder-photo-wrap { aspect-ratio: 4 / 3.5; }
}
