
/* =========================================
   INDIA SPACE CONGRESS EVENT PAGE
========================================= */

.isc-event-page {
    --isc-primary: #174db5;
    --isc-navy: #09275b;
    --isc-text: #24334b;
    --isc-muted: #64748b;
    --isc-border: #ccd2db;
    --isc-light: #f4f7fc;

    padding: 45px 0 85px;
    background: #ffffff;
    font-family: inherit;
    color: var(--isc-text);
}

.isc-event-page *,
.isc-event-page *::before,
.isc-event-page *::after {
    box-sizing: border-box;
}

/* MAIN CONTENT */

.isc-event-main {
    width: 100%;
}

/* BANNER */

.isc-event-banner {
    width: 100%;
    overflow: hidden;
    border-radius: 7px;
    background: #061c43;
}

.isc-event-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 365px;
    object-fit: cover;
}

/* EVENT HEADING */

.isc-event-heading {
    padding: 23px 0 17px;
}

.isc-event-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    margin-bottom: 13px;
    border-radius: 4px;
    background: #edf3ff;
    color: var(--isc-primary);
    font-size: 12px;
    font-weight: 600;
}

.isc-event-heading h1 {
    font-family: inherit;
    font-size: 29px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--isc-navy);
    margin: 0 0 9px;
}

.isc-event-heading p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--isc-muted);
    margin: 0;
}

/* EVENT DETAILS */

.isc-event-information {
    margin-top: 5px;
}

.isc-info-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #e6eaf0;
    font-size: 14px;
}

.isc-info-row span {
    color: #5e6c80;
}

.isc-info-row strong {
    color: #142c53;
    font-weight: 500;
}

/* ACTION BUTTONS */

.isc-event-actions {
    display: flex;
    align-items: center;
    /*flex-wrap: wrap;*/
    gap: 12px;
    margin: 22px 0 26px;
}

.isc-event-actions > a,
.isc-event-actions > button {
    flex: 1 1 0;
    width: 30%;
    min-height: 40px;
    padding: 6px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    color: #0c2854 !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.isc-event-actions > a:hover,
.isc-event-actions > button:hover {
    background: #f5f8ff !important;
    border-color: #1d4ed8 !important;
    color: #1d4ed8 !important;
}

.isc-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 40px;
    padding: 9px 15px;
    border: 1px solid var(--isc-border);
    border-radius: 5px;
    background: #fff;
    color: var(--isc-navy);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all .25s ease;
}

.isc-outline-btn i {
    font-size: 15px;
    color: var(--isc-primary);
}

.isc-outline-btn:hover {
    border-color: var(--isc-primary);
    background: #f0f5ff;
    color: var(--isc-primary);
}

/* TABS */

.isc-event-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    border-bottom: 1px solid var(--isc-border);
    overflow-x: auto;
    scrollbar-width: none;
}

.isc-event-tabs::-webkit-scrollbar {
    display: none;
}

.isc-event-tabs .nav-item {
    flex-shrink: 0;
    margin-bottom: 0px;
}

.isc-event-tabs .nav-link {
    position: relative;
    padding: 14px 22px;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #34435a;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    transition: color .25s ease;
}

.isc-event-tabs .nav-link:hover,
.isc-event-tabs .nav-link.active {
    color: var(--isc-primary);
}

.isc-event-tabs .nav-link.active {
    font-weight: 600;
}

.isc-event-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--isc-primary);
}

/* TAB CONTENT */

.isc-tab-content {
    padding: 25px 0 10px;
    min-height: 240px;
}

.isc-tab-content p {
    color: #34435a;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 18px;
}

.isc-tab-content h3 {
    margin: 20px 0 12px;
    color: var(--isc-navy);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

.isc-topic-list {
    padding-left: 20px;
    margin-bottom: 20px;
}

.isc-topic-list li {
    padding: 3px 0;
    color: #34435a;
    font-size: 15px;
    line-height: 1;
}

.isc-tab-content p strong {
    color: var(--isc-navy);
    font-weight: 700;
}

/* AGENDA */

.isc-agenda-list {
    margin-top: 15px;
}

.isc-agenda-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e6eaf0;
    font-size: 15px;
    line-height: 1.5;
}

.isc-agenda-row strong {
    color: var(--isc-primary);
    font-weight: 700;
}

.isc-agenda-row span {
    color: #34435a;
}

/* SPEAKER CARDS */

.isc-speaker-grid {
    margin-top: 8px;
}

.isc-speaker-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    height: 100%;
    padding: 22px 12px;
    border: 1px solid var(--isc-border);
    border-radius: 7px;
    background: #fff;
    text-align: center;
    transition: all .3s ease;
}

.isc-speaker-card:hover {
    border-color: #a9c3f4;
    box-shadow: 0 8px 24px rgba(9,39,91,.07);
    transform: translateY(-3px);
}


.isc-speaker-avatar img{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 50%;
}

.isc-speaker-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
    border-radius: 50%;
    background: #e8effd;
    color: var(--isc-primary);
    font-size: 18px;
    font-weight: 700;
}

.isc-speaker-card h4 {
    margin: 0 0 3px;
    color: var(--isc-navy);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.isc-speaker-card p {
    margin: 0;
    color: #444;
    font-size: 13px;
    line-height: 1.4;
}

/* VENUE */

.isc-map-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--isc-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
}

.isc-map-link:hover {
    color: var(--isc-navy);
}

/* FAQ */

.isc-faq-accordion .accordion-item {
    border: 1px solid var(--isc-border);
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
}

.isc-faq-accordion .accordion-header {
    margin: 0;
}

.isc-faq-accordion .accordion-button {
    padding: 17px 18px;
    color: var(--isc-navy);
    font-size: 14px;
    font-weight: 600;
    box-shadow: none;
}

.isc-faq-accordion .accordion-button:not(.collapsed) {
    background: #edf3ff;
    color: var(--isc-primary);
}

.isc-faq-accordion .accordion-body {
    color: #4c5b70;
    font-size: 14px;
    line-height: 1.8;
}

/* =========================================
   STICKY TICKET SIDEBAR
========================================= */

.isc-ticket-sticky {
    position: sticky;
    top: 100px;
    z-index: 10;
    width: 100%;
}

.isc-ticket-card {
    width: 100%;
    padding: 23px;
    border: 1px solid #d5dfef;
    border-radius: 8px;
    background: #f7f7f7;
    box-shadow: 0 4px 16px rgba(20,50,95,.035);
}

.isc-ticket-card h3 {
    margin: 0 0 18px;
    color: var(--isc-navy);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

/* TICKET OPTIONS */

.isc-ticket-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.isc-ticket-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 11px 12px;
    border: 1px solid var(--isc-border);
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease;
}

.isc-ticket-option:hover {
    border-color: #9cb8ed;
}

.isc-ticket-option:has(input:checked) {
    border-color: #a9c2f3;
    background: #fbfdff;
}

.isc-ticket-option input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--isc-primary);
    flex-shrink: 0;
}

.isc-ticket-name {
    flex: 1;
    color: #253a5b;
    font-size: 13px;
    font-weight: 500;
}

.isc-ticket-option strong {
    color: var(--isc-navy);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

/* QUANTITY */

.isc-quantity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 0 14px;
}

.isc-quantity-row > span {
    color: #50627b;
    font-size: 13px;
}

.isc-quantity-control {
    display: flex;
    align-items: center;
    height: 37px;
    overflow: hidden;
    border: 1px solid var(--isc-border);
    border-radius: 5px;
}

.isc-quantity-control button {
    width: 37px;
    height: 37px;
    padding: 0;
    border: 0;
    background: #f1f5fb;
    color: #17345f;
    font-size: 18px;
    cursor: pointer;
}

.isc-quantity-control button:hover {
    background: #e1ebfb;
}

.isc-quantity-control input {
    width: 38px;
    height: 37px;
    padding: 0;
    border: 0;
    outline: 0;
    background: #fff;
    color: var(--isc-navy);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    appearance: textfield;
}

.isc-quantity-control input::-webkit-inner-spin-button,
.isc-quantity-control input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* TOTAL */

.isc-ticket-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    border-top: 1px solid var(--isc-border);
}

.isc-ticket-total span {
    color: #52647d;
    font-size: 13px;
}

.isc-ticket-total small {
    font-size: 11px;
}

.isc-ticket-total strong {
    color: var(--isc-navy);
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

/* TICKET BUTTONS */

.isc-ticket-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.isc-ticket-buttons button {
    min-height: 44px;
    padding: 10px 8px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
}

.isc-add-cart {
    border: 1px solid var(--isc-primary);
    background: #fff;
    color: var(--isc-primary);
}

.isc-add-cart:hover {
    background: #edf3ff;
}

.isc-buy-now {
    border: 1px solid var(--isc-primary);
    background: var(--isc-primary);
    color: #fff;
}

.isc-buy-now:hover {
    background: #0b388c;
}

/* BENEFITS */

.isc-ticket-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 19px 0 10px;
    margin-top: 15px;
    border-top: 1px solid var(--isc-border);
}

.isc-ticket-benefits > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-align: center;
}

.isc-ticket-benefits i {
    color: var(--isc-primary);
    font-size: 19px;
}

.isc-ticket-benefits span {
    color: #53647c;
    font-size: 11px;
    line-height: 1.5;
}

.isc-group-booking {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (min-width: 992px) {
    /* Keep the right Bootstrap column as tall as the event content */
    .isc-event-page > .container > .row > .col-lg-4 {
        align-self: stretch !important;
        overflow: visible;
    }

    .isc-event-page,
    .isc-event-page > .container,
    .isc-event-page > .container > .row {
        overflow: visible;
    }

    .isc-ticket-sticky {
        position: sticky;
        top: 100px;
        right: auto;
        max-width: 100%;
        height: fit-content;
        transform: none;
    }

    .isc-event-page .col-lg-8 {
        padding-right: 25px;
    }
}

@media (max-width: 991px) {

    .isc-event-page {
        padding: 35px 0 60px;
    }

    .isc-ticket-sticky {
        position: static;
    }

    .isc-ticket-card {
        max-width: 100%;
    }

    .isc-event-banner img {
        max-height: none;
    }
}

@media (max-width: 575px) {

    .isc-event-page {
        padding: 25px 0 45px;
    }

    .isc-event-heading h1 {
        font-size: 24px;
    }

    .isc-event-heading p {
        font-size: 13px;
    }

    .isc-info-row {
        grid-template-columns: 90px 1fr;
        gap: 10px;
        font-size: 12px;
    }

    .isc-event-actions {
        gap: 7px;
    }

    .isc-outline-btn {
        padding: 9px 10px;
        font-size: 11px;
    }

    .isc-event-tabs {
        gap: 0;
    }

    .isc-event-tabs .nav-link {
        padding: 13px 14px;
        font-size: 13px;
    }

    .isc-tab-content {
        padding-top: 20px;
    }

    .isc-tab-content p,
    .isc-topic-list li {
        font-size: 13px;
    }

    .isc-agenda-row {
        grid-template-columns: 60px 1fr;
        gap: 10px;
        font-size: 12px;
    }

    .isc-ticket-card {
        padding: 18px;
    }

    .isc-ticket-total strong {
        font-size: 18px;
    }
}
