/* Mind-Blowing Mentors & Collaborators Page Styles */
#mentors {
    padding: 80px 0;
    color: #ababab;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 10, 30, 0.9), rgba(20, 20, 50, 0.9));
    min-height: 100vh;
}

/* Mentor Showcase Container */
.mentor-showcase {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Amazing Filter Navigation */
.filter-nav {
    margin-bottom: 60px;
    text-align: center;
}

.nav-container {
    display: inline-flex;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(99, 102, 241, 0.1));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 8px;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border: none;
    background: transparent;
    color: #ccc;
    font-size: 16px;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn:hover {
    background: rgba(138, 43, 226, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #8a2be2, #6366f1);
    color: white;
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.4);
}

.filter-btn i {
    font-size: 18px;
    transition: all 0.3s ease;
}

.filter-btn:hover i {
    transform: scale(1.2);
}

/* Floating Background Particles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #8a2be2, #6366f1);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 8s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(30px) rotate(240deg); }
}

/* Mentor Item Layout */
.mentor-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.mentor-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.mentor-item:nth-child(even) {
    direction: rtl;
}

.mentor-item:nth-child(even) > * {
    direction: ltr;
}

.mentor-item.hidden {
    display: none;
}

/* Mentor Visual Section */
.mentor-visual {
    position: relative;
}

.image-carousel {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(99, 102, 241, 0.1));
    padding: 3px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.image-carousel:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.3);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 17px;
    overflow: hidden;
}

.mentor-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 17px;
    opacity: 0;
    transition: all 0.8s ease;
}

.mentor-image.active {
    opacity: 1;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: linear-gradient(135deg, #8a2be2, #6366f1);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(138, 43, 226, 0.6);
}

/* Mentor Overlay Effects */
.mentor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.8), rgba(99, 102, 241, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.6s ease;
    border-radius: 17px;
}

.image-carousel:hover .mentor-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.image-carousel:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content i {
    font-size: 48px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.overlay-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.overlay-content p {
    font-size: 16px;
    opacity: 0.9;
}

/* Glow Effects */
.glow-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
}

.image-carousel:hover .glow-effect {
    opacity: 1;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    0% { transform: scale(0.8) rotate(0deg); }
    100% { transform: scale(1.2) rotate(180deg); }
}

/* Mentor Content Section */
.mentor-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.mentor-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #8a2be2, #6366f1);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.content-header h2 {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #8a2be2, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(138, 43, 226, 0.5);
}

.mentor-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.mentor-meta span {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.role {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(99, 102, 241, 0.2));
    color: #fff;
}

.organization {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 154, 0, 0.2));
    color: #ff6b6b;
}

.duration {
    background: linear-gradient(135deg, rgba(46, 213, 115, 0.2), rgba(0, 184, 148, 0.2));
    color: #2ed573;
}

/* Collaboration Story */
.collaboration-story {
    margin-bottom: 30px;
}

.collaboration-story h3 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #8a2be2, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.collaboration-story p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

/* Key Achievements */
.key-achievements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.achievement:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.2);
}

.achievement i {
    font-size: 20px;
    color: #8a2be2;
}

.achievement span {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Impact Quote */
.impact-quote {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(99, 102, 241, 0.1));
    border-left: 4px solid #8a2be2;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
}

.impact-quote i {
    color: #8a2be2;
    font-size: 20px;
    margin-bottom: 10px;
}

.impact-quote p {
    font-size: 16px;
    line-height: 1.6;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

/* Mentor Actions */
.mentor-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.action-btn.primary {
    background: linear-gradient(135deg, #8a2be2, #6366f1);
    color: white;
}

.action-btn.secondary {
    background: transparent;
    color: #8a2be2;
    border: 2px solid #8a2be2;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.4);
}

.action-btn i {
    font-size: 18px;
    transition: all 0.3s ease;
}

.action-btn:hover i {
    transform: translateX(5px);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mentor-item {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }
    
    .mentor-item:nth-child(even) {
        direction: ltr;
    }
    
    .mentor-content {
        padding: 30px 20px;
    }
    
    .content-header h2 {
        font-size: 28px;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    
    .filter-btn {
        width: 100%;
        justify-content: center;
    }
    
    .carousel-container {
        height: 300px;
    }
    
    .key-achievements {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    #mentors {
        padding: 60px 0;
    }
    
    .mentor-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .mentor-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .overlay-content h3 {
        font-size: 20px;
    }
    
    .overlay-content i {
        font-size: 24px;
    }
}

/* Student Mentors Section */
.student-mentors-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(10, 10, 30, 0.9), rgba(20, 20, 50, 0.9));
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #8a2be2, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 0;
}

.student-mentors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.student-mentor-card {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(99, 102, 241, 0.1));
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.student-mentor-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.4);
    border-color: rgba(138, 43, 226, 0.6);
}

.student-number {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #8a2be2, #6366f1);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.student-number i {
    font-size: 20px;
}

.student-number span {
    font-size: 14px;
    font-weight: 600;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.student-info {
    margin-top: 20px;
}

.student-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.university {
    color: #8a2be2;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 8px 16px;
    background: rgba(138, 43, 226, 0.2);
    border-radius: 15px;
    display: inline-block;
}

.student-badge {
    background: linear-gradient(135deg, #8a2be2, #6366f1);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    backdrop-filter: blur(10px);
}

.student-badge i {
    font-size: 14px;
}

/* Responsive Design */
@media only screen and (max-width: 968px) {
    .student-mentors-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 0 15px;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .student-mentor-card {
        padding: 20px;
    }
    
    .student-info h3 {
        font-size: 20px;
    }
}

@media only screen and (max-width: 768px) {
    .student-mentors-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .student-mentor-card {
        padding: 15px;
    }
    
    .student-number {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }
    
    .student-info h3 {
        font-size: 18px;
    }
    
    .university {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .student-badge {
        font-size: 11px;
        padding: 6px 12px;
    }
}

/* Student Photos Carousel */
.student-photos-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.student-photos-carousel .carousel-container {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.3);
}

.student-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    opacity: 0;
    transition: all 0.5s ease;
}

.student-photo.active {
    opacity: 1;
    transform: scale(1);
}

/* Natural container sizing - container fits image dimensions */
.student-photo.mentor-natural {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
}

.student-photo.mentor-natural.active {
    transform: translate(-50%, -50%) scale(1);
}

/* Full container filling - keep current container size */
.student-photo:not(.mentor-natural) {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.student-photos-carousel .carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.student-photos-carousel .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.student-photos-carousel .dot.active {
    background: linear-gradient(135deg, #8a2be2, #6366f1);
    transform: scale(1.2);
}

/* Student Mentors Action Button */
.student-mentors-action {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.student-mentors-action .action-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #8a2be2, #6366f1);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.student-mentors-action .action-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.5);
}

.student-mentors-action .action-btn i:last-child {
    transition: transform 0.3s ease;
}

.student-mentors-action .action-btn:hover i:last-child {
    transform: translateX(8px);
}

/* Responsive Design for Student Carousel */
@media only screen and (max-width: 968px) {
    .student-photos-carousel .carousel-container {
        height: 350px;
    }
    
    .student-photos-carousel .carousel-dots {
        bottom: 15px;
    }
    
    .student-photos-carousel .dot {
        width: 10px;
        height: 10px;
    }
    
    .student-mentors-action .action-btn {
        padding: 16px 35px;
        font-size: 15px;
    }
}

@media only screen and (max-width: 768px) {
    .student-photos-carousel {
        margin-bottom: 40px;
    }
    
    .student-photos-carousel .carousel-container {
        height: 300px;
    }
    
    .student-photos-carousel .carousel-dots {
        bottom: 10px;
        gap: 8px;
    }
    
    .student-photos-carousel .dot {
        width: 8px;
        height: 8px;
    }
    
    .student-mentors-action .action-btn {
        padding: 14px 30px;
        font-size: 14px;
        gap: 10px;
    }
    
    .student-mentors-action {
        margin-top: 30px;
    }
}
