/* Professor Hero/Header Section Styles */
.professor-hero-section {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a8c 100%);
    color: white;
    padding: 5rem 0 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    margin: 0;
    width: 100%;
}

.professor-hero-section.with-animations::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.professor-hero-section .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.professor-hero-section .header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.professor-hero-section.with-animations .header-content {
    animation: fadeInUp 1s ease;
}

.professor-hero-section .profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid #d4af37;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #1a365d;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.professor-hero-section.with-animations .profile-image {
    animation: pulse 2s infinite;
}

.professor-hero-section .profile-image.image-rounded {
    border-radius: 15px;
}

.professor-hero-section .profile-image.image-square {
    border-radius: 0;
}

.professor-hero-section .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.professor-hero-section .profile-image:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.4);
}

.professor-hero-section .header-text h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
}

.professor-hero-section .header-text h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
}

.professor-hero-section .divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
    margin: 1.5rem auto;
}

.professor-hero-section.with-animations .divider {
    animation: expandWidth 1.5s ease;
}

.professor-hero-section .header-text > p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100px; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .professor-hero-section .header-text h1 {
        font-size: 2.2rem;
    }
    
    .professor-hero-section .header-text h2 {
        font-size: 1.3rem;
    }
    
    .professor-hero-section .profile-image {
        width: 160px;
        height: 160px;
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .professor-hero-section {
        padding: 2rem 0 1.5rem;
    }
    
    .professor-hero-section .profile-image {
        width: 140px;
        height: 140px;
        font-size: 3rem;
    }
    
    .professor-hero-section .header-text h1 {
        font-size: 1.8rem;
    }
    
    .professor-hero-section .header-text h2 {
        font-size: 1.1rem;
    }
    
    .professor-hero-section .header-text > p {
        font-size: 0.95rem;
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .professor-hero-section .profile-image {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }
    
    .professor-hero-section .header-text h1 {
        font-size: 1.6rem;
    }
    
    .professor-hero-section .header-text h2 {
        font-size: 1rem;
    }
    
    .professor-hero-section .divider {
        width: 80px;
        height: 2px;
        margin: 1rem auto;
    }
}