/* Events Section Styling */
.events-section {
    padding: 80px 0;
    background-color: #f8fbff;
}

.events-section h2 span {
    font-weight: 700;
}

.events-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .events-container {
        grid-template-columns: 1fr;
    }
}

.event-card {
    display: flex;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 16, 85, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 16, 85, 0.08);
}

/* .event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 16, 85, 0.1);
} */

.event-image {
    width: 140px;
    min-width: 140px;
    height: 140px;
    position: relative;
    overflow: hidden;
}

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

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

.event-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
    margin-bottom: 8px;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 16, 85, 0.04);
    padding: 4px 10px;
    border-radius: 20px;
    color: #001055;
    font-weight: 500;
}

.event-meta i {
    color: #ff7900;
}

.event-title {
    font-size: 16px;
    font-weight: 700;
    color: #001055;
    margin-bottom: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.event-card:hover .event-title {
    color: #ff7900;
}

.event-address {
    font-size: 15px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.event-actions {
    padding: 15px;
    border-left: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 120px;
    background: #fafcff;
}

.event-speakers {
    display: flex;
    align-items: center;
    margin-top: 25px;
    position: relative;
}

.event-speakers .speaker-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-left: -15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    object-fit: cover;
}

.event-speakers .speaker-img:first-child {
    margin-left: 0;
}

.speakers-label {
    font-size: 13px;
    font-weight: 700;
    color: #001055;
    margin-left: 12px;
    background: #007bff;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
}

.pagination-list {
    display: flex;
    list-style: none;
    gap: 15px;
    padding: 0;
    align-items: center;
}

.pagination-list li a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #001055;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 16, 85, 0.08);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.pagination-list li.active a {
    background: #001055;
    color: #fff;
    transform: scale(1.15);
}

.pagination-list li a:hover:not(.active) {
    background: #f0f4ff;
    border-color: #001055;
    transform: translateY(-3px);
}

.pagination-arrow {
    font-size: 18px;
    color: #001055;
    cursor: pointer;
    transition: color 0.3s ease;
}

.pagination-arrow:hover {
    color: #ff7900;
}

/* Responsive */
@media (max-width: 991px) {
    .event-card {
        flex-direction: column;
    }
    .event-image {
        width: 100%;
        height: 220px;
    }
    .event-actions {
        width: 100%;
        border-left: none;
        border-top: 1px solid #f0f0f0;
        flex-direction: row;
        justify-content: space-between;
        padding: 20px 35px;
    }
    .event-speakers {
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    .event-meta {
        flex-direction: column;
        gap: 10px;
    }
    .event-actions {
        flex-direction: column;
        gap: 20px;
    }
    .event-details {
        padding: 25px;
    }
}
