/*
 * SpineExpert Committee Page Specific Styles
 */

/* Committee section background enhancement */
.committee-full-section {
    background-color: #f9f9f9;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.committee-full-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23184f76' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
    z-index: 0;
}

/* Committee Section Styles */
.committee-section {
    background-color: #f9f9f9;
}

.committee-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.committee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.committee-icon {
    margin-bottom: 15px;
    color: #e94e1b;
}

.committee-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.committee-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.committee-preview {
    margin-top: 15px;
}

.committee-images {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.committee-img-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 -5px;
    border: 2px solid #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* Tab Transition Animations - Fixed */
.tab-pane {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    display: none !important;
}

.tab-pane.active.show {
    opacity: 1;
    transform: translateY(0);
    display: block !important;
}

.tab-content {
    min-height: 300px; /* Ensure there's space for content to appear */
    position: relative;
    margin-top: 30px;
}

/* Enhanced tab design */
.nav-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.nav-pills .nav-link {
    color: #333;
    background-color: #f5f5f5;
    border-radius: 30px;
    padding: 12px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    z-index: 5;
}

.nav-pills .nav-link.active {
    background-color: #e94e1b;
    color: white;
    box-shadow: 0 5px 15px rgba(233, 78, 27, 0.3);
    transform: translateY(-3px);
}

.nav-pills .nav-link:hover:not(.active) {
    background-color: #fff;
    transform: translateY(-2px);
    border-color: #e94e1b;
    color: #e94e1b;
}

/* Committee Member Cards - Modern Redesign */
.member-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
    max-width: 220px;
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.03);
}

.member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.member-img {
    position: relative;
    overflow: hidden;
    padding-top: 100%; /* Perfect 1:1 Aspect Ratio */
    background-color: #f8f8f8;
    /* Create subtle pattern background for images */
    background-image: linear-gradient(45deg, #f5f5f5 25%, transparent 25%), 
                      linear-gradient(-45deg, #f5f5f5 25%, transparent 25%), 
                      linear-gradient(45deg, transparent 75%, #f5f5f5 75%), 
                      linear-gradient(-45deg, transparent 75%, #f5f5f5 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0;
}

.member-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.member-card:hover .member-img img {
    transform: scale(1.08);
}

.member-info {
    padding: 15px;
    background-color: white;
    position: relative;
    z-index: 2;
}

.member-info::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    z-index: 1;
}

.member-card:hover .member-info::before {
    opacity: 0.8;
}

.member-info h3 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.member-card:hover .member-info h3 {
    color: #e94e1b;
}

.member-info .location {
    font-size: 0.85rem;
    color: #666;
    font-weight: 400;
}

@media (max-width: 767px) {
    .member-card {
        max-width: 180px;
    }
    
    .member-info {
        padding: 12px 10px;
    }
    
    .member-info h3 {
        font-size: 0.9rem;
    }
    
    .member-info .location {
        font-size: 0.75rem;
    }
}

/* Host Faculty Styles - Simplified */
.host-faculty-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.host-faculty-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background-color: #e94e1b;
    margin: 10px auto;
    position: relative;
    left: 0;
    right: 0;
}

.host-faculty-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #666;
    font-weight: 400;
}

.faculty-card {
    text-align: center;
    margin-bottom: 30px;
}

.faculty-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    position: relative;
    background-color: #f8f8f8;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faculty-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(233, 78, 27, 0.2) 0%, rgba(233, 78, 27, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.faculty-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.faculty-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.faculty-card:hover .faculty-img {
    box-shadow: 0 8px 20px rgba(233, 78, 27, 0.3);
}

.faculty-card:hover .faculty-img::before {
    opacity: 1;
}

.faculty-card:hover h4 {
    color: #e94e1b;
}

/* Media queries for faculty cards */
@media (max-width: 991px) {
    .faculty-img {
        width: 160px;
        height: 160px;
    }
    
    .host-faculty-title {
        font-size: 2rem;
    }
    
    .host-faculty-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .faculty-img {
        width: 140px;
        height: 140px;
    }
    
    .faculty-card h4 {
        font-size: 1rem;
    }
    
    .host-faculty-title {
        font-size: 1.8rem;
    }
    
    .host-faculty-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .faculty-img {
        width: 120px;
        height: 120px;
    }
    
    .faculty-card h4 {
        font-size: 0.9rem;
    }
    
    .host-faculty-title {
        font-size: 1.6rem;
    }
    
    .host-faculty-subtitle {
        font-size: 0.9rem;
    }
    
    .faculty-card {
        margin-bottom: 20px;
    }
}

/* Faculty container with modern styling */
.faculty-container {
    padding: 25px;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.faculty-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e94e1b' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

@media (max-width: 767px) {
    .faculty-container {
        padding: 15px;
    }
}

.host-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

.host-title span {
    color: #e94e1b;
}

.contact-number {
    font-size: 1rem;
    color: #666;
}

.email-contact {
    font-size: 1.1rem;
    color: #333;
}

.venue-details {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.venue-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e94e1b;
}
