.main-content {
    background-color: #f1f1f1;
    position: relative;
    top: -110px;
}

.filter-section-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.event-card {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 20px;
}

.event-card-content {
    display: flex;
    flex-direction: column;
    font-family: 'Arial', sans-serif !important;
}

.event-image {
    position: relative;
    overflow: hidden;
    height: 180px;
    background-color: #f4f4f4;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.event-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    margin-bottom: 10px;
}

.event-location,
.event-date {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.event-location svg,
.event-date svg {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.event-date {
    color: #666;
}

.btn-details {
    align-self: flex-start;
    background-color: #801154;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn-details:hover {
    background-color: #6a0f47;
    color: #fff;
}

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

    .event-info {
        padding: 10px;
    }

    .event-title {
        font-size: 2rem;
    }

    .event-location,
    .event-date {
        font-size: 0.85rem;
    }
}


.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    background: #f5f5f5;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #801154, #b51a7a);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.filter-btn.active::before {
    opacity: 1;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.filter-btn.active {
    color: white;
}

.filter-icon {
    position: relative;
    z-index: 1;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.filter-btn.active .filter-icon {
    transform: scale(1.2);
}

.filter-text {
    position: relative;
    z-index: 1;
    font-size: 14px;
}

.filter-badge {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.filter-btn.active .filter-badge {
    background: rgba(255, 255, 255, 0.5);
    font-weight: bold;
}

.filter-btn:not(.active):hover {
    background: #e0e0e0;
}

@media (max-width: 768px) {
    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 10px 15px;
        flex-grow: 1;
        justify-content: center;
    }

    .filter-text {
        font-size: 13px;
    }
}


.corporate-filter-container {
    position: relative;
    display: inline-block;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.corporate-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.filter-icon {
    font-size: 16px;
}

.filter-text {
    font-size: 14px;
}

.filter-badge {
    background: #801154;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.corporate-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: fit-content;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    padding: 8px 0;
    max-height: 400px;
    overflow-y: auto;
}

.corporate-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 16px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 8px;
}

.dropdown-header h4 {
    margin: 0;
    font-size: 15px !important;
    color: #555;
}

.close-dropdown {
    font-size: 20px;
    cursor: pointer;
    color: #999;
    padding: 0 4px;
}

.close-dropdown:hover {
    color: #333;
}

.search-container-select {
    padding: 8px 16px;
}

.search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
}

.search-input:focus {
    border-color: #801154;
}

.dropdown-items {
    padding: 4px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: #f8f0f5;
}

.dropdown-item.active {
    background: #f0e0eb;
}

.item-icon {
    margin-right: 12px;
    font-size: 16px;
    color: #801154;
    width: 20px;
    text-align: center;
}

.item-text {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.item-count {
    background: #f0f0f0;
    color: #666;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
}

.dropdown-item:hover .item-count {
    background: #e0e0e0;
}

.dropdown-item.active .item-count {
    background: #801154;
    color: white;
}


.all-corporates .item-icon {
    color: #666;
}

@media (max-width: 768px) {
    .corporate-dropdown-menu {
        width: fit-content;
        right: 0;
        left: auto;
    }
}

