/* Faculty Events Page Styles */

/* Faculty Header */
.faculty-header {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e0e4ec 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faculty-logo {
    flex: 0 0 auto;
    margin-right: 30px;
}

.faculty-logo img {
    width: 120px;
    height: auto;
}

.faculty-title {
    flex: 1;
}

.faculty-title h2 {
    color: var(--primary-color);
    font-size: 2.4rem;
    margin: 0 0 10px 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.expo-tag {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1.5rem;
    color: #555;
    font-style: italic;
}

/* Event Grid */
.event-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Event Card */
.event-card {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Event Number */
.event-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 80px;
    background: var(--primary-color);
    color: white;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
}

.event-number::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 15px 15px 0;
    border-color: transparent white transparent transparent;
}

/* Event Content */
.event-content {
    flex: 1;
    padding: 25px 30px;
}

.event-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.event-tagline {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    font-style: italic;
}

.event-description p {
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Event Features */
.event-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.feature {
    display: flex;
    align-items: center;
    background: rgba(10, 66, 117, 0.05);
    padding: 8px 15px;
    border-radius: 20px;
    transition: transform 0.2s ease;
}

.feature:hover {
    transform: translateY(-2px);
    background: rgba(10, 66, 117, 0.1);
}

.feature-icon {
    margin-right: 8px;
    font-style: normal;
    font-size: 1.2rem;
}

/* Animation classes - used with AOS library */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .faculty-header {
        padding: 25px;
    }
    
    .faculty-title h2 {
        font-size: 2rem;
    }
    
    .expo-tag {
        font-size: 1rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 768px) {
    .faculty-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .faculty-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-number {
        flex: 0 0 auto;
        padding: 10px 0;
        width: 100%;
        font-size: 1.5rem;
    }
    
    .event-number::after {
        display: none;
    }
    
    .event-content {
        padding: 20px;
    }
    
    .event-content h3 {
        font-size: 1.5rem;
    }
    
    .event-tagline {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .faculty-title h2 {
        font-size: 1.7rem;
    }
    
    .expo-tag {
        font-size: 0.9rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .event-content h3 {
        font-size: 1.3rem;
    }
    
    .event-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .event-description p {
        font-size: 0.95rem;
    }
}
