/* Faculty Page Styles */

/* Faculty About Section */
.faculty-about-section {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
}

.section-title span {
    color: #ff6b6b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-title p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* Faculty Card Styles */
.faculty-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.faculty-image {
    position: relative;
    overflow: hidden;
    padding-top: 100%; /* 1:1 Aspect Ratio */
}

.faculty-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.faculty-card:hover .faculty-image img {
    transform: scale(1.1);
}

.faculty-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.faculty-card:hover .faculty-overlay {
    opacity: 1;
}

.faculty-social {
    display: flex;
    gap: 15px;
}

.faculty-social a {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 18px;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.faculty-card:hover .faculty-social a {
    transform: translateY(0);
    opacity: 1;
}

.faculty-social a:nth-child(1) {
    transition-delay: 0.1s;
}

.faculty-social a:nth-child(2) {
    transition-delay: 0.2s;
}

.faculty-social a:nth-child(3) {
    transition-delay: 0.3s;
}

.faculty-social a:hover {
    background: #ff6b6b;
    color: #fff;
    transform: translateY(-5px);
}

.faculty-content {
    padding: 25px;
    text-align: center;
}

.faculty-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.faculty-content p {
    font-size: 14px;
    color: #ff6b6b;
    font-weight: 500;
    margin: 0;
}

/* Why Faculty Section */
.why-faculty-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #ff6b6b;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
}

.feature-icon i {
    font-size: 36px;
    color: #fff;
}

.feature-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Breadcrumb Section */
.breadcrumb-wrapper {
    padding: 120px 0 80px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.breadcrumb-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0d608b;
}

.page-heading {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-heading h1 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.breadcrumb-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.breadcrumb-items li {
    color: #fff;
    font-size: 16px;
}

.breadcrumb-items a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-items a:hover {
    color: #ff6b6b;
}

.breadcrumb-items i {
    font-size: 12px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .section-title h2 {
        font-size: 36px;
    }
    
    .page-heading h1 {
        font-size: 40px;
    }
}

@media (max-width: 767px) {
    .section-title h2 {
        font-size: 30px;
    }
    
    .page-heading h1 {
        font-size: 32px;
    }
    
    .faculty-about-section,
    .why-faculty-section {
        padding: 50px 0;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
}