@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css');

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ==============
   BASE
   ============== */

body {
    font-family: "Poppins", serif !important;
    font-style: normal;
    background-color: #f1f3f5;
}

/* Force Poppins on the new sessions page to match Image 2 styling */
.public-sessions-page,
.public-sessions-page * {
    font-family: "Poppins", serif !important;
}

/* ================================================
   LEGACY (#ag) TAB STYLES  (kept for backward-compat)
   ================================================ */
#ag .nav-tabs .nav-link {
    color: #fff;
    background-color: #5F3A8C;
    border-color: #dee2e6 #dee2e6 #fff;
    font-family: "Poppins", serif;
}
#ag .nav-tabs .nav-link.active {
    color: #fff;
    background: #FA8223;
}
#ag .nav-pills-custom .nav-link {
    color: #555;
    background: #fff;
    font-weight: 700;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 14px 12px;
    text-align: left;
    font-family: "Poppins", serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all .2s ease;
}
#ag .nav-pills-custom .nav-link.active {
    color: #fff;
    background: #FA8223;
    font-weight: 700;
    border: 1px solid #FA8223;
    box-shadow: 0 4px 12px rgba(250, 130, 35, 0.3);
}
/* ================================================
   UTILITY
   ================================================ */
.bg-white1 {
    background-color: #fff;
}
.tab-pane h3 {
    color: #FA8223;
    text-transform: uppercase !important;
    font-weight: 700;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 18px;
    font-family: "Poppins", serif;
}
.pink1 {
    color: #FA8223 !important;
}

/* ================================================
   SESSION CARD
   ================================================ */
.session-card-title {
    font-family: "Lato", serif !important;
    font-size: 20px;
    font-weight: 600;
    color: #000000 !important;
    border-bottom: 1px solid #d5d5d5;
    padding-bottom: 14px;
    margin-bottom: 10px !important;
}
.agenda-item {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 14px;
    padding: 22px 22px 22px 28px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
    font-family: "Poppins", serif;
}
.agenda-item:hover {
    border-color: #FA8223;
    box-shadow: 0 6px 20px rgba(250, 130, 35, 0.15);
}
.agenda-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: #FA8223;
    border-radius: 14px 0 0 14px;
}
.agenda-item h4 {
    color: #1a1a2e;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: "Poppins", serif;
}
/* ================================================
   META PILLS (time / venue / youtube)
   ================================================ */
.agenda-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-family: "Poppins", serif;
}
.meta-item {
    display: inline-flex;
    align-items: center;
    background: #fff5eb;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1.5px solid #ffe0b2;
    font-size: 14px;
    font-weight: 500;
    color: #FA8223;
    white-space: nowrap;
}
.meta-item.time, .meta-item.date {
    background: transparent;
    color: #1b1d23;
    border-color: #d3d3d3;
}
.meta-item.venue {
    background: transparent;
    color: #1b1d23;
    border-color: #d3d3d3;
}
.meta-item.type,
.meta-item.youtube {
    background: #fff5eb;
    color: #FA8223;
    border-color: #ffe0b2;
}
.meta-icon {
    width: 15px;
    height: 15px;
    margin-right: 6px;
    flex-shrink: 0;
    color: #1b1d23;
    fill: #1b1d23;
}

/* ================================================
   SESSION DESCRIPTION
   ================================================ */
.session-description {
    color: #555 !important;
    font-size: 0.92rem;
    line-height: 1.55;
    margin-top: 10px;
    font-style: italic;
    font-family: "Poppins", serif;
}

/* ================================================
   SPEAKER CARDS
   ================================================ */
.speaker-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin-top: 15px;
    border-left: 3px solid #FA8223;
    font-family: "Poppins", serif;
}
.speaker-name {
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
    font-family: "Poppins", serif;
}
.speaker-title {
    font-size: 0.875rem;
    color: #6c757d;
    font-family: "Poppins", serif;
}

/* ================================================
   PROFILE GRID SPEAKER CARDS (.pg-spk)
   ================================================ */
.pg-spk .profile-card {
    background-color: rgba(255, 255, 255, 0.5);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    height: 100%;
    transition: 0.3s;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .02);
}
.pg-spk .profile-card .profile-card-inner {
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
    align-items: center;
    height: 100%;
}
.pg-spk .profile-card .profile-card-inner .profile-card-title {
    display: flex;
    align-items: center;
    /*height: 100%;*/
}
.pg-spk .profile-card .profile-card-inner .profile-card-inner-body {
    
}
.pg-spk .circular-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: center top;
    display: block;
    /* No border-radius here – the container clips it */
}
.pg-spk .circular-image-container {
    /* Fixed size circle – MUST clip children */
    width: 120px;
    height: 120px;
    min-width: 120px;
    border-radius: 50%;
    overflow: hidden !important;
    /* clips the image to the circle */
    position: relative;
    display: block;
    border: 2px solid #d3d3d3;
    /* background: #f5f5f5; */
    /* Double-ring look: white inner border + grey outer ring (all inside the element so overflow clips correctly) */
    margin: 0 auto 10px;
    transition: 0.3s;
}
.pg-spk .circular-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pg-spk .placeholder-text {
    font-size: 2rem;
    font-weight: 700;
    color: #bdbdbd;
}
.pg-spk .name {
    font-family: "Lato", serif !important;
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2em;
    margin-bottom: 8px !important;
    text-align: center;
    margin-bottom: 3px;
    word-break: break-word;
    overflow-wrap: anywhere;
    transition: 0.3s;
}
/* .pg-spk .circular-image-container:hover {
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px #FA8223, 0 4px 18px rgba(250, 130, 35, 0.35);
} */

.pg-spk .profile-card:hover {
    background-color: #ffffff;
    border-color: #EE7E06;
}
.pg-spk .profile-card:hover .circular-image-container {
    border-color: #EE7E06;
}
/*.pg-spk .profile-card:hover .name {
    color: #EE7E06;
}*/
.pg-spk .profile-card:hover .title{
    color: #333333;
}

/* Role label (Speaker / Panelist) – shown above name in small muted text */
.pg-spk .spk-extra-title {
    font-family: "Lato", serif !important;
    font-size: 0.85rem;
    color: #FA8223;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.04em;
    margin: 0 0 10px;
    line-height: 1.3;
    word-break: break-word;
    min-height: 90px;
    display: flex;
    align-items: center;
}
.pg-spk .spk-role {
    font-family: "Lato", serif !important;
    font-size: 0.8rem;
    color: #d93f14;
    font-weight: 600;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.pg-spk .title {
    color: #666666;
    font-size: 14px;
    text-align: center;
    display: block;
    margin-top: 0;
    margin-bottom: 4px;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: anywhere;
    transition: 0.3s;
}

/* Profile button – orange pill matching reference */
.btn-profile {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 22px;
    border-radius: 999px;
    background: #FA8223 !important;
    color: #fff !important;
    border: none !important;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(250, 130, 35, 0.35);
    transition: background 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.btn-profile:hover {
    background: #e0711a !important;
    box-shadow: 0 6px 16px rgba(250, 130, 35, 0.5);
}

/* ================================================
   RESPONSIVE OLD NAV
   ================================================ */
@media (max-width: 991.98px) {
    #ag .nav-pills-custom {
        flex-direction: row !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        margin-bottom: 15px;
    }
    #ag .nav-pills-custom .nav-link {
        flex: 0 0 auto;
        min-width: 160px;
        margin-right: 10px;
        margin-bottom: 0 !important;
        text-align: center;
    }
    #dayTabs {
        flex-wrap: nowrap !important;
        overflow-x: auto;
    }
    #dayTabs button {
        flex-shrink: 0;
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    .overflow-auto {
        overflow: auto !important;
    }
}

@media (min-width: 769px) {
    .overflow-auto {
        overflow: hidden !important;
    }
}

/* ================================================
   PUBLIC SESSIONS PAGE – NEW LAYOUT
   ================================================ */
/* Outer shell */
.public-sessions-page .sessions-shell {
    padding: 16px;
}

/* ---- Left sidebar ---- */
.public-sessions-page .sessions-tracks {
    top: 96px;
}
.public-sessions-page .sessions-side-title {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    color: #90a0b7;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.public-sessions-page #tracksList {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    padding-right: 4px;
}

/* Track pill – inactive: white card with border */
.public-sessions-page .track-pill {
    font-family: "Poppins", serif;
    background: #fff;
    color: #667085;
    font-size: 16px;
    border-radius: 14px;
    padding: 18px 20px;
    font-weight: 700;
    text-align: left;
    border: 1.5px solid #dde3ec;
    text-transform: uppercase;
    width: 100%;
    box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
    display: block;   
    letter-spacing: 0.05em;
    transition: all .2s ease;
    cursor: pointer;
    /* box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04); */
}
.public-sessions-page .track-pill:hover {
    border-color: #FA8223;
    color: #FA8223;
    background: #fffaf5;
}

/* Track pill – active: solid orange */
.public-sessions-page .track-pill.active {
    background: linear-gradient(135deg, #FF7A00, #FF9D2F);
    border-color: #FF9D2F;
    color: #ffffff;
    /* box-shadow: 0 4px 12px rgba(250, 130, 35, 0.35); */
}

/* ---- Day pills wrap – scrolls with the page ---- */
.public-sessions-page .days-sticky-wrap {
    /*width: max-content;*/
    margin-left: auto;
    margin-bottom: 16px;
}
.public-sessions-page .days-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
.public-sessions-page .days-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow: auto;
    gap: 8px;
}
.public-sessions-page .sessions-main-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
}
.public-sessions-page #daysTabs {
    gap: 8px;
}

/* Day pill – inactive */
.public-sessions-page .day-pill {
    font-family: "Poppins", serif;
    background-color: #ffffff;
    color: #667085;
    border: 2px solid #eaecf0;
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    padding: 12px 25px;
    font-weight: 700;
    white-space: nowrap;
    transition: all .2s ease;
    cursor: pointer;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.public-sessions-page .day-pill:hover {
    border-color: #FA8223;
    color: #FA8223;
}

/* Day pill – active: solid orange */
.public-sessions-page .day-pill.active {
    background: linear-gradient(135deg, #FF7A00, #FF9D2F);
    border-color: #FF9D2F;
    color: #ffffff;
    /* box-shadow: 0 4px 12px rgba(250, 130, 35, 0.3); */
}

/* ---- Track name header ---- */
.public-sessions-page .track-header {
    background: #ffffff;
    border: 1px solid #e7eaf0;
    padding: 14px 20px;
    border-radius: 14px;
    margin-bottom: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
.public-sessions-page .track-header h4 {
    font-family: "Lato", serif !important;
    background: linear-gradient(90deg, #EE7E06 0%, #884804 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}

/* ---- Session list container ---- */
.public-sessions-page .session-list-container {
    padding: 0;
    min-height: 220px;
    /* Removed white background and border so cards float directly on the page */
}
.public-sessions-page .subsessions-list {
    background-color: #f8fafc;
    padding: 0px 16px 1px 16px;
    border-radius: 16px;
    margin-top: 20px;
}
.public-sessions-page .subsessions-list .session-card-title {
    padding-top: 16px !important;
    padding-left: 0px !important;
    padding-bottom: 14px !important;
    margin-bottom: 10px !important;
    border-bottom: 1px solid #d5d5d5;
}
.public-sessions-page .subsessions-list .agenda-meta {
    margin-bottom: 20px;
}
/* ================================================
   RESPONSIVE – SESSIONS PAGE
   ================================================ */
@media (max-width: 991.98px) {
    .public-sessions-page #tracksList {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
    }
    .public-sessions-page .track-pill {
        min-width: 160px;
        text-align: center;
        /* flex-shrink: 0; */
        font-size: 14px;
        padding: 10px 20px;
        min-width: max-content;
    }
    .public-sessions-page .days-sticky-wrap {
        top: 64px;
    }
}

/* ================================================
   PUBLIC SPEAKERS PAGE (/speakers)
   ================================================ */
body:has(.public-speakers-page),
main:has(.public-speakers-page) {
    background: #f7f8fa !important;
    padding: 0 !important;
    overflow-x: hidden;
}

.public-speakers-page {

    position: relative;
    overflow: hidden;
    background-image: url("https://www.bengaluruindianano.in/assets/img/bg-wave-abstract.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    --speaker-accent: #EE7E06;
    --speaker-name: #000000;
    --speaker-muted: #777777;
    --speaker-ring: #EE7E06;

    color: var(--speaker-name);
    overflow-x: hidden;
    max-width: 100%;
    min-height: 100vh;
    padding-top: 50px;
    padding-bottom: 50px;
}

.public-speakers-page,
.public-speakers-page * {
    font-family: "Poppins", sans-serif !important;
}

.public-speakers-page .speakers-page-wrap {
    /*max-width: 1180px;*/
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 28px;
}

.public-speakers-page .empty-state {
    padding: 80px 24px;
    text-align: center;
    color: var(--speaker-muted);
}

.public-speakers-page .speakers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.public-speakers-page .speaker-profile-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.public-speakers-page .speaker-profile-photo-wrap {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    padding: 3px;
    background: var(--speaker-ring);
    object-fit: contain;
    margin-bottom: 15px;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.public-speakers-page .speaker-profile-card:hover .speaker-profile-photo-wrap {
    background: var(--speaker-accent);
    box-shadow: 0 0 0 3px rgba(250, 130, 35, 0.18);
}

.public-speakers-page .speaker-profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #eef1f4;
}

.public-speakers-page .speaker-profile-name {
    font-family: "Lato", serif !important;
    color: var(--speaker-name);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2em;
    margin: 0 0 8px;
    transition: color 0.25s ease;
}

.public-speakers-page .speaker-profile-card:hover .speaker-profile-name {
    color: var(--speaker-accent);
}

.public-speakers-page .speaker-profile-designation {
    color: var(--speaker-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
    margin-bottom: 16px;
    max-width: 240px;
}

@media (max-width: 1100px) {
    .public-speakers-page .speakers-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .public-speakers-page {
        padding: 36px 0 56px;
    }

    .public-speakers-page .speakers-page-wrap {
        padding: 0 18px;
    }

    .public-speakers-page .speakers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-speakers-page .speaker-profile-photo-wrap {
        width: 132px;
        height: 132px;
    }

    .public-speakers-page .speaker-profile-name {
        font-size: 16px;
    }

    .public-speakers-page .speaker-profile-designation {
        font-size: 12px;
        max-width: 190px;
        margin-bottom: 0px;
    }
    .public-sessions-page .day-pill {
        padding: 10px 20px;
    }
    .public-sessions-page .track-pill {
        font-size: 14px;
        padding: 10px 20px;
        min-width: max-content;
    }
}

@media (max-width: 480px) {
    .public-speakers-page {
        padding: 30px 0px;
    }
    .public-speakers-page .speakers-grid {
        gap: 14px;
    }
    .public-speakers-page .speakers-page-wrap {
        padding: 0 14px;
    }
    .public-speakers-page .speaker-profile-photo-wrap {
        margin-bottom: 11px;
        width: 110px;
        height: 110px;
    }
    .public-speakers-page .speaker-profile-name {
        font-size: 14px;
    }
    .public-speakers-page .speaker-profile-designation {
        margin-bottom: 6px;        
    }
}
@media (max-width: 575.98px) {
    .pg-spk .col-6 {
        width: 100%;
    }
    .pg-spk .spk-extra-title {
        min-height: 100%;
    }
}