/* mentor.css - Mentor Section Styles */

.mentor-section {
    background: var(--dark-charcoal);
    color: white;
    position: relative;
    overflow: hidden;
}

.mentor-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(244, 208, 63, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.mentor-section .section-title {
    color: var(--primary-gold);
    position: relative;
    z-index: 1;
}

.mentor-profile {
    position: relative;
    z-index: 1;
}

.mentor-details {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    background: rgba(254, 254, 254, 0.05);
    border-radius: var(--card-radius);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.mentor-main-image {
    text-align: center;
    position: relative;
}

.mentor-large-photo {
    width: 200px;
    height: 260px;
    border-radius: 20px;
    object-fit: cover;
    border: 4px solid var(--primary-gold);
    box-shadow: 0 12px 48px rgba(244, 208, 63, 0.3);
    transition: all 0.4s ease;
    animation: float 4s ease-in-out infinite;
}

.mentor-large-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 64px rgba(244, 208, 63, 0.4);
}

.mentor-info h3 {
    color: var(--primary-gold);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 700;
}

.mentor-credentials {
    color: var(--secondary-gold);
    font-size: 1.2rem;
    text-align: center;
    font-style: italic;
    margin-bottom: 2rem;
    font-weight: 500;
}

.mentor-bio {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(244, 208, 63, 0.1);
    border-radius: 15px;
    border-left: 4px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: rgba(244, 208, 63, 0.15);
    transform: translateX(8px);
}

.achievement-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

.achievement-item:nth-child(even) .achievement-icon {
    animation-delay: 0.5s;
}

.achievement-item span:last-child {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, var(--deep-purple), var(--royal-purple));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(123, 44, 191, 0.3);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(123, 44, 191, 0.4);
    color: white;
    text-decoration: none;
}

.social-link i {
    font-size: 1.1rem;
}

/* Mobile Specific Styles */
@media (max-width: 479px) {
    .mentor-details {
        padding: 1.5rem;
        gap: 2rem;
    }
    
    .mentor-large-photo {
        width: 160px;
        height: 200px;
    }
    
    .mentor-info h3 {
        font-size: 1.8rem;
    }
    
    .mentor-credentials {
        font-size: 1rem;
    }
    
    .mentor-bio {
        font-size: 1rem;
        padding: 0;
    }
    
    .achievement-item {
        padding: 0.8rem 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .achievement-icon {
        font-size: 1.3rem;
    }
    
    .achievement-item span:last-child {
        font-size: 0.9rem;
    }
    
    .social-links {
        gap: 0.8rem;
    }
    
    .social-link {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        flex: 1;
        justify-content: center;
        min-width: calc(50% - 0.4rem);
    }
}

/* Tablet Styles */
@media (min-width: 480px) and (max-width: 767px) {
    .mentor-large-photo {
        width: 180px;
        height: 230px;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .social-link {
        min-width: calc(33.333% - 0.67rem);
    }
}

/* Tablet Large & Desktop Styles */
@media (min-width: 768px) {
    .mentor-details {
        flex-direction: row;
        align-items: flex-start;
        gap: 3rem;
        padding: 3rem;
    }
    
    .mentor-main-image {
        flex-shrink: 0;
    }
    
    .mentor-large-photo {
        width: 220px;
        height: 280px;
    }
    
    .mentor-info {
        flex: 1;
    }
    
    .mentor-info h3 {
        text-align: left;
        font-size: 2.5rem;
    }
    
    .mentor-credentials {
        text-align: left;
        font-size: 1.3rem;
    }
    
    .mentor-bio {
        text-align: left;
        font-size: 1.15rem;
        padding: 0;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .social-links {
        justify-content: flex-start;
        gap: 1.2rem;
    }
    
    .social-link {
        min-width: auto;
        flex: none;
    }
}

/* Large Desktop Styles */
@media (min-width: 1024px) {
    .mentor-details {
        gap: 4rem;
        padding: 4rem;
    }
    
    .mentor-large-photo {
        width: 250px;
        height: 320px;
    }
    
    .mentor-info h3 {
        font-size: 2.8rem;
    }
    
    .mentor-credentials {
        font-size: 1.4rem;
    }
    
    .mentor-bio {
        font-size: 1.2rem;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .achievement-item {
        padding: 1.5rem 2rem;
    }
}

/* Extra Large Desktop */
@media (min-width: 1200px) {
    .achievements-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .mentor-large-photo {
        animation: none;
    }
    
    .achievement-icon {
        animation: none;
    }
    
    .mentor-large-photo:hover {
        transform: none;
    }
    
    .social-link:hover {
        transform: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .mentor-details {
        border-width: 3px;
        border-color: var(--primary-gold);
    }
    
    .mentor-large-photo {
        border-width: 5px;
    }
    
    .achievement-item {
        border-left-width: 6px;
        background: rgba(244, 208, 63, 0.2);
    }
    
    .social-link {
        border: 2px solid var(--primary-gold);
    }
}

/* Print Styles */
@media print {
    .mentor-section {
        background: white;
        color: black;
    }
    
    .mentor-section::before {
        display: none;
    }
    
    .mentor-details {
        background: white;
        border: 2px solid #000;
        box-shadow: none;
    }
    
    .mentor-large-photo {
        border-color: #000;
        box-shadow: none;
    }
    
    .social-links {
        display: none;
    }
    
    .mentor-info h3,
    .mentor-credentials {
        color: #000;
    }
    
    .mentor-bio,
    .achievement-item span:last-child {
        color: #333;
    }
}