/* ========================================
   MEMBER PROFILE PAGE STYLES
   ======================================== */

.member-profile-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.member-profile-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Hero Profile Card */
.member-hero-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 50px;
    margin-bottom: 60px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.member-hero-card:hover {
    transform: translateY(-5px);
    
    border-color: rgba(255, 107, 53, 0.3);
}

.hero-image-container {
    position: relative;
}

.hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 4px solid transparent;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    padding: 4px;
}

.hero-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.hero-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: pulse-badge 2s infinite;
}

.hero-badge i {
    font-size: 1.2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-name {
    font-size: 3.5rem;
    font-weight: 800;
    background: #ff6b35;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.1;
}

.hero-position, .hero-company {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    color: #ff6b35;
    font-weight: 600;
}

.hero-position i, .hero-company i {
    font-size: 1.1rem;
    color: #ff8c42;
}

.hero-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #050505;
    margin: 0;
}

.hero-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-contact .contact-item:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateX(5px);
}

.hero-contact .contact-item i {
    color: #ff6b35;
    font-size: 1.1rem;
}

.hero-contact .contact-item a {
    color: #818181;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.hero-contact .contact-item a:hover {
    color: #ff6b35;
}

.linkedin-link {
    color: #0077b5 !important;
}

.linkedin-link:hover {
    color: #00a0dc !important;
}

/* Statistics Grid */
.member-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.2);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff6b35;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: #b0b0b0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.header-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.3);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #141414;
    margin-bottom: 20px;
    position: relative;
}

.header-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.member-about-section {
    margin-bottom: 80px;
}

.about-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5a5a5a;
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Vision & Mission Section */
.member-vision-section {
    margin-bottom: 80px;
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vision-card, .mission-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.vision-card::before, .mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.vision-card:hover::before, .mission-card:hover::before {
    transform: scaleX(1);
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.2);
}

.vision-icon, .mission-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.vision-card:hover .vision-icon, .mission-card:hover .mission-icon {
    transform: scale(1.1) rotate(5deg);
}

.vision-card h4, .mission-card h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #343434;
    margin-bottom: 20px;
}

.vision-card p, .mission-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5a5a5a;
    margin: 0;
}

/* Leadership Philosophy Section */
.member-philosophy-section {
    margin-bottom: 80px;
}

.philosophy-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.philosophy-item {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.philosophy-item:hover {
    background: rgba(255, 107, 53, 0.05);
    transform: translateY(-3px);
}

.philosophy-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.philosophy-item:hover .philosophy-icon {
    transform: scale(1.1);
}

.philosophy-item h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #343434;
    margin-bottom: 15px;
}

.philosophy-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #5a5a5a;
    margin: 0;
}

/* Achievements Section */
.member-achievements-section {
    margin-bottom: 80px;
}

.achievements-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.achievement-timeline {
    position: relative;
    padding-left: 30px;
}

.achievement-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 140px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 6px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3);
}

.timeline-year {
    position: absolute;
    left: -60px;
    top: 0;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.timeline-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #272727;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #5a5a5a;
    margin: 0;
}

/* Back to Team Button */
.back-to-team-section {
    text-align: center;
    margin-top: 60px;
}

.back-to-team-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #ffffff;
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.back-to-team-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
    color: #ffffff;
}

.back-to-team-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.back-to-team-btn:hover i {
    transform: translateX(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .member-hero-card {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-name {
        font-size: 3rem;
    }
    
    .member-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vision-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .member-profile-section {
        padding: 60px 0;
    }
    
    .member-hero-card {
        padding: 30px;
        margin-bottom: 40px;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }
    
    .hero-position, .hero-company {
        font-size: 1.1rem;
    }
    
    .member-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-card {
        padding: 25px 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content, .achievements-content {
        padding: 30px;
    }
    
    .vision-card, .mission-card {
        padding: 30px;
    }
    
    .philosophy-content {
        padding: 30px;
    }
    
    .timeline-year {
        position: relative;
        left: 0;
        margin-bottom: 15px;
        display: inline-block;
    }
    
    .achievement-timeline {
        padding-left: 20px;
    }
    
    .timeline-item {
        padding-left: 30px;
    }
}

@media (max-width: 480px) {
    .member-hero-card {
        padding: 25px;
    }
    
    .hero-name {
        font-size: 2rem;
    }
    
    .hero-image img {
        height: 350px;
    }
    
    .hero-badge {
        padding: 12px 20px;
        font-size: 0.8rem;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-content, .achievements-content, .vision-card, .mission-card, .philosophy-content {
        padding: 25px;
    }
    
    .back-to-team-btn {
        padding: 15px 25px;
        font-size: 1rem;
    }
}

/* Animation for Badge */
@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 20px 45px rgba(255, 107, 53, 0.6);
    }
}

/* Enhanced Hover Effects */
.member-hero-card:hover .hero-image {
    transform: scale(1.02);
}

.stat-card:hover .stat-number {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.philosophy-item:hover .philosophy-icon {
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

.timeline-item:hover .timeline-year {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Smooth Transitions */
.member-hero-card,
.stat-card,
.vision-card,
.mission-card,
.philosophy-item,
.about-content,
.achievements-content {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading States */
.member-profile-section.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus States for Accessibility */
.back-to-team-btn:focus,
.hero-contact .contact-item a:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .member-profile-section {
        background: #ffffff;
        color: #000000;
    }
    
    .hero-badge,
    .back-to-team-btn {
        display: none;
    }
    
    .member-hero-card {
        box-shadow: none;
        border: 1px solid #cccccc;
    }
}
