/* FILE: team_detail.css */
/* Premium White Card Design with Floating Blue Bubbles - Stunning & Modern */
/*适用于所有团队成员详情页：Prabin Bista, Sanjan Giri, Anup Karki, Avijeet Upadhyaya, Abisha Bista, Ankita, Asmita 等 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(145deg, #f0f4f8 0%, #e2e8f2 100%);
    overflow-x: hidden;
}

.arpha-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    isolation: isolate;
    overflow-x: hidden;
}

/* ============================================
   FLOATING BLUE BUBBLES ANIMATION
   ============================================ */
.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bubble {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.4), rgba(37, 99, 235, 0.15));
    border-radius: 50%;
    animation: floatBubble linear infinite;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.3);
}

@keyframes floatBubble {
    0% {
        transform: translateY(100vh) translateX(0) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-20vh) translateX(calc(100px * var(--dx, 1))) scale(1.2);
        opacity: 0;
    }
}

/* Bubble Sizes and Positions */
.bubble-1 { width: 80px; height: 80px; left: 5%; animation-duration: 12s; animation-delay: 0s; --dx: 0.5; }
.bubble-2 { width: 120px; height: 120px; left: 15%; animation-duration: 18s; animation-delay: 2s; --dx: -0.3; }
.bubble-3 { width: 60px; height: 60px; left: 25%; animation-duration: 10s; animation-delay: 5s; --dx: 0.8; }
.bubble-4 { width: 150px; height: 150px; left: 35%; animation-duration: 22s; animation-delay: 1s; --dx: -0.5; }
.bubble-5 { width: 45px; height: 45px; left: 45%; animation-duration: 8s; animation-delay: 7s; --dx: 0.3; }
.bubble-6 { width: 100px; height: 100px; left: 55%; animation-duration: 15s; animation-delay: 3s; --dx: -0.7; }
.bubble-7 { width: 70px; height: 70px; left: 65%; animation-duration: 11s; animation-delay: 9s; --dx: 0.6; }
.bubble-8 { width: 130px; height: 130px; left: 75%; animation-duration: 20s; animation-delay: 4s; --dx: -0.4; }
.bubble-9 { width: 55px; height: 55px; left: 85%; animation-duration: 9s; animation-delay: 6s; --dx: 0.4; }
.bubble-10 { width: 90px; height: 90px; left: 95%; animation-duration: 14s; animation-delay: 8s; --dx: -0.6; }
.bubble-11 { width: 110px; height: 110px; left: 10%; animation-duration: 16s; animation-delay: 11s; --dx: 0.7; }
.bubble-12 { width: 75px; height: 75px; left: 50%; animation-duration: 13s; animation-delay: 10s; --dx: -0.2; }

/* Additional gradient orbs for depth */
.bubbles-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.05), transparent 70%);
    pointer-events: none;
}

/* Main Container */
.profile-container {
    max-width: 1300px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Hero Card - Premium White Design */
.hero-card {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.2);
}

/* Left Visual Side - UNIFIED COLOR for all members (same as Prabin Bista - CEO) */
.hero-visual {
    background: linear-gradient(145deg, #1a3d5c 0%, #0f2c44 100%);
    padding: 2.2rem 1.8rem;
    position: relative;
    overflow: hidden;
}

/* ALL theme classes now use the SAME unified gradient - no individual variations */
.hero-visual.sanjan-theme,
.hero-visual.anup-theme,
.hero-visual.avijeet-theme,
.hero-visual.abisha-theme,
.hero-visual.ankita-theme,
.hero-visual.asmita-theme {
    background: linear-gradient(145deg, #1a3d5c 0%, #0f2c44 100%);
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(94, 224, 250, 0.15), transparent);
    pointer-events: none;
}

.visual-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Avatar Master */
.avatar-master {
    margin-bottom: 1.8rem;
}

.avatar-wrapper {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    position: relative;
}

.avatar-glow-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5ee0fa, #3b82f6, #a855f7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.avatar-wrapper:hover .avatar-glow-ring {
    opacity: 0.8;
    animation: spinRing 2s linear infinite;
}

@keyframes spinRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.avatar-image:hover {
    transform: scale(1.02);
}

.avatar-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    padding: 0.25rem 0.7rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.avatar-badge.admin-badge {
    background: linear-gradient(135deg, #10b981, #059669);
}

.avatar-badge.developer-badge {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.avatar-badge.content-badge {
    background: linear-gradient(135deg, #ec489a, #db2777);
}

/* Brand Showcase */
.brand-showcase {
    margin: 1.5rem 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.6rem;
}

.brand-logo i {
    color: #5ee0fa;
    font-size: 1.5rem;
}

.trust-score {
    background: rgba(255, 255, 255, 0.12);
    padding: 0.3rem 1rem;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #fbbf24;
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.trust-score span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Impact Numbers */
.impact-numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.impact-card {
    text-align: center;
}

.impact-value {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #5ee0fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.impact-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

/* Mission Quote */
.mission-quote {
    margin-top: 1rem;
}

.mission-quote i {
    color: #5ee0fa;
    font-size: 0.9rem;
    opacity: 0.7;
}

.mission-quote p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    line-height: 1.4;
    margin-top: 0.3rem;
}

/* Right Details Side */
.hero-details {
    padding: 2.2rem 2rem;
    background: #ffffff;
}

.details-inner {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Profile Header */
.fullname {
    font-size: 2.6rem;
    font-weight: 800;
    color: #1a2c3e;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.name-gradient {
    background: linear-gradient(135deg, #1a3d5c, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.title-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.badge {
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.badge.primary {
    background: linear-gradient(135deg, #e8eef5, #dfe8f0);
    color: #1a3d5c;
}

.badge.primary i {
    color: #fbbf24;
}

.badge.secondary {
    background: #f0f4fa;
    color: #3b82f6;
}

/* Bio Card */
.bio-card {
    background: linear-gradient(95deg, #f8fafc, #ffffff);
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    border-left: 4px solid #3b82f6;
}

.bio-card p {
    color: #3a526e;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Block Title */
.block-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a2c3e;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.block-title i {
    color: #3b82f6;
}

/* Expertise Grid */
.expertise-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.expertise-item {
    background: #f0f4f9;
    padding: 0.45rem 1.1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #2c5f8a;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.expertise-item i {
    font-size: 0.75rem;
    color: #3b82f6;
}

.expertise-item:hover {
    background: #2c5f8a;
    color: white;
    transform: translateY(-2px);
    border-color: #2c5f8a;
}

.expertise-item:hover i {
    color: white;
}

/* Philosophy Statement */
.philosophy-statement {
    background: linear-gradient(105deg, #f0f7ff, #fafcff);
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid #e0eaf5;
}

.philosophy-icon i {
    font-size: 1.4rem;
    color: #3b82f6;
    opacity: 0.7;
}

.philosophy-text p {
    font-size: 0.9rem;
    font-style: italic;
    color: #2c5f8a;
    line-height: 1.5;
    margin-bottom: 0.3rem;
}

.philosophy-text span {
    font-size: 0.7rem;
    color: #6c7a8e;
    font-weight: 500;
}

/* Values Row */
.values-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.value-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 0.7rem 0.8rem;
    border-radius: 0.8rem;
    border: 1px solid #e8edf2;
    transition: all 0.2s;
}

.value-chip:hover {
    transform: translateY(-3px);
    border-color: #cbd5e1;
    background: white;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
}

.value-chip i {
    font-size: 1.2rem;
    color: #3b82f6;
}

.value-chip div {
    display: flex;
    flex-direction: column;
}

.value-chip strong {
    font-size: 0.75rem;
    color: #1a2c3e;
}

.value-chip span {
    font-size: 0.65rem;
    color: #7f8c9a;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e8edf2;
}

.social-group {
    display: flex;
    gap: 0.8rem;
}

.social-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4f9;
    border-radius: 50%;
    color: #4a627a;
    font-size: 1.1rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.social-btn:hover {
    transform: translateY(-4px);
}

.social-btn.linkedin:hover { background: #0a66c2; color: white; }
.social-btn.github:hover { background: #181717; color: white; }
.social-btn.twitter:hover { background: #1da1f2; color: white; }
.social-btn.email:hover { background: #ea4335; color: white; }
.social-btn.facebook:hover { background: #1877f2; color: white; }

.cta-primary {
    background: linear-gradient(135deg, #1a3d5c, #2c5f8a);
    padding: 0.7rem 1.5rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cta-primary:hover {
    gap: 14px;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 95, 138, 0.25);
}

/* Features Section */
.features-section {
    margin-top: 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 15px 35px -12px rgba(0, 0, 0, 0.08);
}

.section-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.header-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a2c3e;
    letter-spacing: -0.3px;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.feature {
    text-align: center;
    padding: 1.2rem;
    background: #fafcfd;
    border-radius: 1rem;
    transition: all 0.25s ease;
    border: 1px solid #e8edf2;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: #cbd5e1;
    box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 0.8rem;
    background: linear-gradient(135deg, #e8f0fe, #dce8f5);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1.5rem;
    color: #2c5f8a;
}

.feature h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 0.3rem;
}

.feature p {
    font-size: 0.7rem;
    color: #6c7a8e;
    line-height: 1.4;
}

/* Team Footer */
.team-footer {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    font-size: 0.85rem;
    color: #4a627a;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 60px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.team-footer a {
    color: #2c5f8a;
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.5rem;
    transition: color 0.2s;
}

.team-footer a:hover {
    color: #1a3d5c;
    text-decoration: underline;
}

.team-footer a i {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.team-footer a:hover i {
    transform: translateX(4px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1000px) {
    .hero-card {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
        border-radius: 2rem 2rem 0 0;
    }
    
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 680px) {
    .arpha-page {
        padding: 1rem;
    }
    
    .fullname {
        font-size: 1.8rem;
    }
    
    .title-badges {
        flex-direction: column;
    }
    
    .values-row {
        grid-template-columns: 1fr;
    }
    
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .social-group {
        justify-content: center;
    }
    
    .cta-primary {
        justify-content: center;
    }
    
    .impact-numbers {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .impact-numbers {
        grid-template-columns: 1fr;
    }
    
    .expertise-grid {
        justify-content: center;
    }
}