h1 {
    text-align: center;
    color: white;
    font-size: 3em;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInDown 0.8s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.faculty-card {
    display: flex;
    flex-direction: row;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.6s ease forwards;
}

.faculty-image {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(45deg, #9396fb  0%, #0b50b7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.faculty-image::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

.faculty-image img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.faculty-card:hover .faculty-image img {
    /* transform: scale(1.1) rotate(360deg); */
    transform: scale(1.2);
}

.faculty-details {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.faculty-name {
    font-size: 1.2em;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.faculty-subtitle {
    font-size: 1em;
    color: #778899;
    margin-bottom: 20px;
    font-weight: 500;
}

.faculty-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: smaller;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 768px) {
    .faculty-card {
        flex-direction: column;
    }

    .faculty-image {
        min-height: 300px;
    }

    .faculty-details {
        padding: 30px;
    }

    h1 {
        font-size: 2em;
    }
}