.events-container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

.event-card {
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 20px;
}

.event-card h3 {
    margin-top: 10px;
}

/* ===============================
   GRID LAYOUT
=================================*/

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* ===============================
   CARD DESIGN
=================================*/

.event-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 5px solid #4C48E3;
}

/* ===============================
   TOP BAR
=================================*/

.event-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.event-tag {
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #4C48E3;
    text-transform:uppercase;
}

.event-tag.on_demand{
    color: #8242CC;
}

.event-card.on_demand {
    border-top: 5px solid #8242CC;
}

/* ===============================
   TITLE
=================================*/

.event-title {
    font-size: 20px;
    margin-bottom: 10px;
}

/* ===============================
   DESCRIPTION
=================================*/

.event-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* ===============================
   DATE & TIME
=================================*/

.event-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.event-date svg {
    fill: #0073e6;
    flex-shrink: 0;
    margin-top: -3px;
}

.event-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 6px;
}

.event-time svg {
    fill: #0073e6;
    flex-shrink: 0;
    margin-top: -3px;
}

/* ===============================
   BUTTONS
=================================*/

.event-buttons {
    margin-top: 20px;
    text-align:center;
}

.event-btn {
    display: inline-block;
    padding: 10px 68px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    margin-right: 10px;
}

.event-btn.primary {
    background: #4C48E3;
    color: #fff;
}

.event-btn.secondary {
    background: #8242CC;
    color: #fff;
}

.event-btn:hover {
    opacity: 0.85;
}

.event-country {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #555;
}

.event-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.event-meta-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.event-presenter-group {
    display: flex;
    align-items: center;
}

.event-presenter {
    position: relative;
    margin-left: -12px;
    transition: transform 0.2s ease;
}

.event-presenter:first-child {
    margin-left: 0;
}

.event-presenter-wrapper {
    position: relative;
    margin-left: -12px;
}

.event-presenter:hover {
    transform: translateY(-3px);
    z-index: 10;
}

.event-presenter img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.event-presenter:hover img {
    transform: translateY(-3px);
}

.more-count {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    border: 2px solid #fff;
}


.speaker-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 90px;
    width: 100%;
    height: 100%;
    padding: 40px 20px !important;
}

.speaker-modal-content {
    background: #fff;
    max-width: 900px;
    margin: auto;
    border-radius: 12px;
    padding: 40px;
    position: relative;
}

.speaker-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
}

.speaker-modal-inner img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.speaker-designation {
    color: #666;
    font-weight: 500;
}

.speaker-organization{
    margin-bottom:15px;
    color: #6b7280;
}

.speaker-linkedin{margin-top:20px;}

.event-presenter:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 12px;
    opacity: 1;
    pointer-events: none;
}

.event-presenter::after {
    opacity: 0;
    transition: opacity 0.2s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.event-filters{
    display:flex;
    gap:20px;
    padding:20px;
}

select#industry-filter {
    padding: 10px 20px;
    border-radius: 10px;
}

select#country-filter {
    padding: 10px 20px;
    border-radius: 10px;
}

.event-type-tabs {
    background: #F3F4F6;
    padding: 10px;
    border-radius: 10px;
}

button.event-type.active {
    background: #fff;
    border: none;
    padding: 5px 28px;
    border-radius: 5px;
    box-shadow: 0px 1px 5px 0px #dbd9d9;
}

button.event-type {
    background: transparent;
    border: none;
    padding: 5px 28px;
    cursor: pointer;
}

.event-filters-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding:20px 0;
}

.event-filters-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.event-filters-right {
    
}

#event-search {
    padding:12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    min-width: 285px;
}

#event-search::placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

/* Safari / older browsers */
#event-search::-webkit-input-placeholder {
    color: #999 !important;
}

#event-search:-ms-input-placeholder {
    color: #999 !important;
}

.loader-wrapper {
    display: none;
    text-align: center;
    padding: 40px 0;
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 5px solid #e5e5e5;
    border-top: 5px solid #0d6efd; /* change color */
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.no-events {
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border-radius: 12px;
    grid-column: 1 / -1;
}

.no-events-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.no-events h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.no-events p {
    color: #666;
    font-size: 15px;
}

.reset-filters-btn {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background: #0a2540;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

/* ===============================
   MOBILE RESPONSIVE
=================================*/

@media(max-width: 768px){
    .events-grid {
        grid-template-columns: 1fr;
    }
    button.event-type{
        padding:5px 9px;
    }
    select#industry-filter{
        width:100%;
    }
    select#country-filter{
        width:100%;
    }
    .event-filters-right{
        width:100%;
    }
    #event-search{
        width:100%;
    }
    .event-type-tabs{
        width:100%;
    }
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
}

.speaker-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.speaker-modal-inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.speaker-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
}

.speaker-info {
    flex: 1;
}

.speaker-bio{
    margin-bottom:20px;
}


/* ==============================
   SINGLE EVENT WRAPPER
============================== */

.single-event {
    background: #f8fafc;
    padding-bottom: 80px;
}

.single-event .event-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* ==============================
   BANNER
============================== */

.single-event .event-banner {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.single-event .event-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Optional dark overlay */
.single-event .event-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.4),
        rgba(0,0,0,0.6)
    );
}

/* ==============================
   TITLE & TEXT
============================== */

.single-event .event-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
}

.single-event .event-short-desc {
    font-size: 18px;
    color: #4b5563;
    margin-bottom: 25px;
}

.single-event .event-datetime {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.single-event .event-duration {
    font-size: 15px;
    margin-bottom: 30px;
    color: #6b7280;
}

/* ==============================
   BUTTONS
============================== */

.single-event .event-actions {
    margin: 30px 0;
}

.single-event .event-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.single-event .event-btn.primary {
    background: #111827;
    color: #fff;
}

.single-event .event-btn.primary:hover {
    background: #2563eb;
}

/* ==============================
   CONTENT
============================== */

.single-event .event-content {
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

/* ==============================
   SPEAKERS SECTION
============================== */

.single-event .speakers-section {
    margin-top: 80px;
}

.single-event .speakers-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.single-event .speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.single-event .speaker-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.single-event .speaker-card:hover {
    transform: translateY(-5px);
}

.single-event .speaker-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.single-event .speaker-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.single-event .speaker-designation {
    font-size: 14px;
    color: #6b7280;
}

.single-event .view-speaker {
    background: transparent;
    border: 1px solid #111827;
    padding: 8px 18px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.single-event .view-speaker:hover {
    background: #111827;
    color: #fff;
}

/* ==============================
   MODAL
============================== */

.single-event .speaker-modal {
    display: none;
    top:100px !important;
    position: fixed;
    inset: 0;
    z-index: 9999;
    padding: 40px 20px;
}

.single-event .speaker-modal-content {
    background: #fff;
    max-width: 900px;
    margin: auto;
    border-radius: 12px;
    padding: 40px;
    position: relative;
}

.single-event .speaker-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
}

.single-event .speaker-modal-inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}


.single-event .speaker-info h3 {
    font-size: 24px;
}

.single-event .speaker-organization {
    font-size: 14px;
    margin-bottom: 15px;
}

.single-event .speaker-bio {
    font-size: 15px;
    line-height: 1.7;
}

/* LinkedIn Button */
.single-event .linkedin-btn {
    display: inline-block;
    margin-top: 15px;
    color: #0a66c2;
    font-weight: 600;
    text-decoration: none;
}

.single-event .linkedin-btn:hover {
    text-decoration: underline;
}

#overlybglf{
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(0,0,0,0.6);
}

/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 768px) {

    .single-event .event-title {
        font-size: 30px;
    }

    .single-event .event-banner {
        height: 280px;
    }

    .single-event .speaker-modal-inner {
        flex-direction: column;
    }
}

