/* ===== FACULTIES SHOWCASE SECTION ===== */
.new-faculties-showcase-section {
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative background (optional) */
.new-faculties-showcase-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(41, 52, 98, 0.03);
    border-radius: 50%;
    z-index: 0;
}

.new-faculties-showcase-section .container {
    position: relative;
    z-index: 1;
}

.new-faculties-showcase-section .header-backdrop {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(41, 52, 98, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Section Header */
.new-showcase-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color, #293462);
    letter-spacing: -0.5px;
}

.new-showcase-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.new-showcase-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color, #293462), var(--secondary-color, #f3c623));
    border-radius: 2px;
    margin-top: 1rem;
}

[dir="rtl"] .new-showcase-divider {
    background: linear-gradient(270deg, var(--primary-color, #293462), var(--secondary-color, #f3c623));
}

.new-showcase-divider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 1.2rem;
}

.divider-line {
    flex: 0 0 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color));
    border-radius: 2px;
}

[dir="rtl"] .divider-line {
    background: linear-gradient(270deg, transparent, var(--secondary-color));
}

.divider-icon {
    font-size: 1.2rem;
    color: var(--secondary-color);
    animation: spin-icon 8s linear infinite;
}

@keyframes spin-icon {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Faculty Cards */
.new-faculty-card {
    perspective: 800px;
    height: 100%;
}

.new-faculty-card-inner {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    min-height: 220px;
    cursor: default;
}

/* Top accent line */
.new-faculty-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color, #293462), var(--secondary-color, #f3c623));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

[dir="rtl"] .new-faculty-card-inner::before {
    transform-origin: right;
}

.new-faculty-card:hover .new-faculty-card-inner {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(41, 52, 98, 0.15), 0 0 0 1px rgba(41, 52, 98, 0.1);
    border-color: var(--primary-color, #293462);
}

.new-faculty-card:hover .new-faculty-card-inner::before {
    transform: scaleX(1);
}

/* Icon */
.new-faculty-icon {
    font-size: 3.2rem;
    color: var(--primary-color, #293462);
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

.new-faculty-card:hover .new-faculty-icon {
    transform: translateY(-5px) scale(1.15);
    color: var(--secondary-color, #f3c623);
    filter: drop-shadow(0 4px 8px rgba(243, 198, 35, 0.3));
}

.new-faculty-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
    display: block;
    margin: 0 auto;
}

.new-faculty-card:hover .new-faculty-icon img {
    transform: scale(1.1) rotate(-3deg);
    filter: drop-shadow(0 4px 8px rgba(243, 198, 35, 0.3));
}

/* Name - color shift on hover */
.new-faculty-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color, #293462);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    min-height: 2.6rem;
    transition: color 0.3s ease;
}

.new-faculty-card:hover .new-faculty-name {
    color: var(--secondary-color, #f3c623);
}

/* Description - ALWAYS VISIBLE (no expand effect) */
.new-faculty-desc {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.6;
    margin-top: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.new-faculty-card:hover .new-faculty-desc {
    opacity: 1;
    color: #495057;
}

/* Hover line */
.new-faculty-card-hover-line {
    width: 30px;
    height: 2px;
    background: var(--secondary-color, #f3c623);
    margin-top: 0.75rem;
    transition: width 0.4s ease;
}

.new-faculty-card:hover .new-faculty-card-hover-line {
    width: 50px;
}

/* Background glow effect on hover */
.new-faculty-card-inner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(243, 198, 35, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    z-index: -1;
}

.new-faculty-card:hover .new-faculty-card-inner::after {
    width: 200px;
    height: 200px;
}

/* RTL adjustments */
[dir="rtl"] .new-faculty-card-inner::before {
    left: auto;
    right: 0;
}
[dir="rtl"] .new-faculty-card:hover .new-faculty-card-inner::before {
    transform-origin: right;
}

/* Responsive */
@media (max-width: 1199.98px) {
    .new-faculty-card-inner {
        min-height: 200px;
        padding: 1.5rem 0.75rem;
    }
    .new-faculty-icon {
        font-size: 2.6rem;
    }
    .new-faculty-name {
        font-size: 1rem;
        min-height: 2.2rem;
    }
    .new-faculty-desc {
        font-size: 0.8rem;
    }
}

@media (max-width: 767.98px) {
    .new-showcase-title {
        font-size: 2rem;
    }
    .new-faculty-card-inner {
        min-height: 180px;
        padding: 1.25rem 0.5rem;
    }
    .new-faculty-icon {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }
    .new-faculty-name {
        font-size: 0.9rem;
        min-height: auto;
    }
    .new-faculty-card:hover .new-faculty-desc {
        max-height: 300px;
    }
}

@media (max-width: 575.98px) {
    .new-showcase-title {
        font-size: 1.6rem;
    }
    .new-showcase-subtitle {
        font-size: 0.95rem;
    }
    .new-faculty-card-inner {
        min-height: 150px;
        padding: 1rem 0.5rem;
    }
    .new-faculty-icon {
        font-size: 1.8rem;
    }
    .new-faculty-name {
        font-size: 0.8rem;
    }
    .new-faculty-desc {
        font-size: 0.7rem;
    }
    .new-faculty-card:hover .new-faculty-desc {
        max-height: 250px;
    }
}
