/* ============================================
   LUXURY FACULTY SECTION - $99k Awwwards Styling
   ============================================ */

/* Import Luxury Typography */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Luxury Faculty Section Background */
.luxury-faculty-section {
    position: relative;
    padding: 8rem 0;
    background: #ffffff;
    overflow: hidden;
    color: var(--luxury-text-light);
}

/* Section Title - Premium Dark with Golden Accent */
.luxury-faculty-section .luxury-section-title {
    color: #1a1a1a;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.luxury-faculty-section .luxury-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f1c40f);
    border-radius: 2px;
}

/* Faculty Horizontal Scrolling Layout */
.luxury-faculty-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 2.5rem;
    padding: 3rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.5) rgba(15, 23, 42, 0.3);
}

/* Custom scrollbar for webkit browsers */
.luxury-faculty-grid::-webkit-scrollbar {
    height: 8px;
}

.luxury-faculty-grid::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.3);
    border-radius: 10px;
}

.luxury-faculty-grid::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.5);
    border-radius: 10px;
}

.luxury-faculty-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.8);
}

/* Ultra-Premium Glassmorphism Card - Clean White Design */
.luxury-faculty-card {
    position: relative;
    background: #ffffff;
    border: none;
    border-radius: 32px;
    padding: 3rem 2rem 2.5rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    flex-shrink: 0;
    min-width: 320px;
    width: 320px;
}

/* Subtle gradient overlay */
.luxury-faculty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 248, 255, 1) 100%);
    z-index: 0;
    pointer-events: none;
}

/* All content above background */
.luxury-faculty-card>* {
    position: relative;
    z-index: 1;
}

/* Card Hover - Elegant Lift */
.luxury-faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Premium Image Styling - Golden Ring */
.luxury-faculty-img-container {
    width: 160px;
    height: 160px;
    margin: 0 auto 2rem;
    position: relative;
    border-radius: 50%;
    padding: 0;
}

.luxury-faculty-img-container::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #f1c40f 100%);
    z-index: 0;
}

.luxury-faculty-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #ffffff;
    filter: brightness(1.05) contrast(1.1);
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.luxury-faculty-card:hover .luxury-faculty-img {
    transform: scale(1.05);
}

.luxury-faculty-card:hover .luxury-faculty-img-container {
    transform: scale(1.02);
}

/* Content & Typography - Dark and Readable */
.luxury-faculty-info {
    width: 100%;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.luxury-faculty-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

/* Qualification Badge - Golden Pill */
.luxury-qualification {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(212, 175, 55, 0.08);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    color: #d4af37;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

/* Experience Text */
.luxury-experience {
    font-family: 'Inter', sans-serif;
    color: #555;
    font-size: 0.95rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.3px;
}

/* CTA Button - Premium Golden */
.luxury-btn-small {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #000000;
    background: linear-gradient(135deg, #d4af37, #f1c40f);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border: none;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
    margin-top: auto;
}

.luxury-btn-small:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #f1c40f, #d4af37);
    color: #000000;
}

.luxury-btn-small i {
    transition: transform 0.3s ease;
}

.luxury-btn-small:hover i {
    transform: translateX(4px);
}

/* Scroll Animation Classes */
.luxury-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.luxury-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delays for Grid */
.luxury-reveal:nth-child(1) {
    transition-delay: 0.1s;
}

.luxury-reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.luxury-reveal:nth-child(3) {
    transition-delay: 0.3s;
}

.luxury-reveal:nth-child(4) {
    transition-delay: 0.4s;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .luxury-faculty-section {
        padding: 6rem 0;
    }

    .luxury-faculty-section .luxury-section-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .luxury-faculty-section {
        padding: 4rem 0;
    }

    .luxury-faculty-section .luxury-section-title {
        font-size: 2.5rem;
    }

    .luxury-faculty-grid {
        gap: 2rem;
        padding: 2rem 0;
    }

    .luxury-faculty-card {
        padding: 2.5rem 1.5rem 2rem;
        border-radius: 24px;
        min-width: 260px;
        width: 260px;
    }

    .luxury-faculty-img-container {
        width: 140px;
        height: 140px;
        margin-bottom: 1.5rem;
    }

    .luxury-faculty-card h3 {
        font-size: 1.6rem;
    }

    .luxury-qualification {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .luxury-experience {
        font-size: 0.85rem;
    }

    .luxury-btn-small {
        padding: 12px 28px;
        font-size: 0.85rem;
    }
}