/* --- PRESTIGE LIGHT THEME TEAM GRID --- */
:root {
    --p-bg: #ffffff;
    --p-text-main: #0f172a;
    --p-text-muted: #64748b;
    --p-brand: #0284c7;
    --p-border: #f1f5f9;
    --p-card-radius: 24px;
    --p-transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    padding: 30px 0;
}

/* Card Geometry & Luxury Shadow */
.premium-card {
    background: var(--p-bg);
    border-radius: var(--p-card-radius);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.04);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--p-transition);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.03);
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.09);
    border-color: rgba(2, 132, 199, 0.15);
}

/* Image Wrapper with Dark Hover Mask */
.img-wrapper {
    width: 100%;
    height: 380px;
    overflow: hidden;
    position: relative;
    background-color: #f8fafc;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--p-transition);
}

.img-hover-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--p-transition);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.premium-card:hover .img-wrapper img {
    transform: scale(1.05);
}

.premium-card:hover .img-hover-mask {
    opacity: 1;
}

/* Minimal Floating Badge on Image Hover */
.view-profile-badge {
    background: #ffffff;
    color: var(--p-text-main);
    padding: 12px 22px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: -0.1px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(15px);
    transition: var(--p-transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.premium-card:hover .view-profile-badge {
    transform: translateY(0);
}

/* Clean & Minimalist Permanent Content Box */
.card-content-area {
    padding: 28px 24px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.card-main-meta {
    transition: var(--p-transition);
}

.meta-name {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--p-text-main) !important;
    margin: 0 0 6px 0 !important;
    letter-spacing: -0.4px;
}

.meta-role {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--p-brand);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    line-height: 1.4;
}

/* Smooth Accordion/Expandable Area on Hover */
.card-hover-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
    margin-top: 0;
}

.premium-card:hover .card-hover-details {
    max-height: 100px;
    opacity: 1;
    margin-top: 16px;
}

.meta-title-pos {
    font-size: 0.88rem;
    color: #475569;
    font-weight: 500;
    margin-bottom: 14px;
    border-left: 2px solid var(--p-border);
    padding-left: 8px;
}

.card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--p-border);
    padding-top: 12px;
}

.meta-timeline-tag {
    font-size: 0.82rem;
    color: var(--p-text-muted);
    font-weight: 500;
}

.social-shortcuts a {
    color: var(--p-text-muted);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-shortcuts a:hover {
    color: var(--p-brand);
}

/* --- LUXURY MODAL POPUP --- */
.premium-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.premium-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: #ffffff;
    width: 92%;
    max-width: 860px;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    display: flex;
    transform: translateY(30px) scale(0.97);
    transition: var(--p-transition);
    box-shadow: 0 50px 100px rgba(15, 23, 42, 0.15);
}

.premium-modal.active .modal-box {
    transform: translateY(0) scale(1);
}

.close-premium {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--p-text-main);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    z-index: 100;
}

.close-premium:hover {
    background: var(--p-text-main);
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-left {
    width: 42%;
    min-height: 500px;
}

.modal-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-right {
    width: 58%;
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.p-modal-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: var(--p-text-main);
    letter-spacing: -0.5px;
}

.p-modal-role {
    font-size: 0.85rem;
    color: var(--p-brand);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    line-height: 1.3;
}

.p-modal-titlepos {
    font-size: 1.05rem;
    color: #475569;
    font-weight: 600;
    margin-bottom: 6px;
}

.p-modal-timeline {
    font-size: 0.88rem;
    color: var(--p-text-muted);
    font-weight: 500;
    margin-bottom: 25px;
}

.p-modal-bio {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 8px;
    margin-bottom: 30px;
}

.p-modal-bio p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 14px;
}

.p-modal-bio p:last-child { margin-bottom: 0; }

.p-modal-bio::-webkit-scrollbar { width: 4px; }
.p-modal-bio::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

.p-modal-socials h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.p-modal-socials a {
    color: var(--p-text-main);
    font-size: 1.35rem;
    margin-right: 20px;
    transition: color 0.2s;
}
.p-modal-socials a:hover { color: var(--p-brand); }
.no-team-msg { color: var(--p-text-muted); text-align: center; padding: 20px; }

@media (max-width: 768px) {
    .modal-box { flex-direction: column; max-width: 450px; }
    .modal-left { width: 100%; height: 300px; min-height: auto; }
    .modal-right { width: 100%; padding: 40px 25px; }
    .p-modal-name { font-size: 2rem; }
    .premium-card:hover .card-hover-details { max-height: 140px; }
}



/* pading remove  */
.premium-grid {
	padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.premium-team-container {
	padding-top: 0px !important;
    padding-bottom: 0px !important;
}