/* Employees Events Page - Theme Color: #0071ac */

/* Events Section */
.events-section {
    background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 50%, #f8fbfd 100%);
    padding: 60px 0 120px;
}

/* Event Card */
.event-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 113, 172, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 113, 172, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 113, 172, 0.15);
    border-color: rgba(0, 113, 172, 0.3);
}

/* Event Image Section */
.event-image {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio to match videos */
    height: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #0071ac, #0088cc);
}

.event-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.event-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 113, 172, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.event-card:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    font-size: 48px;
    color: #ffffff;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.event-card:hover .image-overlay i {
    transform: scale(1);
}

/* Event Video Section */
.event-video {
    position: relative;
    background: #f8fbfd;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Event Content */
.event-content {
    padding: 30px 25px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Event Icon */
.event-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0071ac, #0088cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 113, 172, 0.25);
}

.event-card:hover .event-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0, 113, 172, 0.35);
}

.event-icon i {
    font-size: 32px;
    color: #ffffff;
}

/* Event Title */
.event-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* Event Description */
.event-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

/* View Link */
.view-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(0, 113, 172, 0.08), rgba(0, 136, 204, 0.08));
    color: #0071ac;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(0, 113, 172, 0.2);
    transition: all 0.3s ease;
    margin-top: auto;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.view-link i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.view-link:hover {
    background: linear-gradient(135deg, #0071ac, #0088cc);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 113, 172, 0.3);
}

.view-link:hover i {
    transform: translateX(5px);
}

/* Page Description */
.industries-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.industries-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #005a8a, #0071ac, #0088cc);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 113, 172, 0.3);
}

.industries-content p {
    font-size: 18px;
    color: #666;
    margin-top: 25px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .event-content h3 {
        font-size: 20px;
    }

    .event-icon {
        width: 60px;
        height: 60px;
    }

    .event-icon i {
        font-size: 28px;
    }

    .industries-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .event-card {
        margin-bottom: 30px;
    }

    .event-content {
        padding: 25px 20px;
    }

    .event-content h3 {
        font-size: 18px;
    }

    .event-description {
        font-size: 14px;
    }

    .industries-content h2 {
        font-size: 32px;
    }

    .industries-content p {
        font-size: 16px;
    }
}

/* Accessibility */
.event-card:focus-within {
    outline: 2px solid #0071ac;
    outline-offset: 4px;
}

/* Print Styles */
@media print {
    .event-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .event-card:hover {
        transform: none;
    }
}
