/* ==========================================================================
   index.html page-specific styles
   Extracted from an inline <style> block so all styling is centrally
   controlled from assets/css/ rather than embedded in the page.
   ========================================================================== */

.custom-table {
    width: fit-content;
    margin: auto;
    border: 2px solid #333;
}

.first-three-rows {
    background-color: #def0fd;
    font-weight: bold;
}

.fourth-row {
    background-color: #fdfee7;
    font-weight: bold;
}

.custom-table tfoot tr td {
    border: none;
}

.custom-table td,
.custom-table th {
    vertical-align: middle;
}

.digital-clock {
    font-family: 'Courier New', Courier, monospace;
    font-size: 30px;
    background-color: #000;
    color: #00b7ff;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 900;
    display: block;
    width: 100%;
    box-sizing: border-box;
    letter-spacing: 0.5px;
    white-space: nowrap;
    line-height: 1;
    box-shadow: 0 0 10px rgb(242, 251, 3);
}

.program-clock-row {
    margin-bottom: 30px;
}

.program-btn-wrap {
    border: 2px solid #d8e8f4;
    border-radius: 14px;
    padding: 30px 20px;
    background: linear-gradient(130deg, #f5fbff, #ffffff);
    box-shadow: 0 8px 25px rgba(6, 83, 136, 0.1);
    text-align: center;
}

.program-btn-label {
    margin: 0 0 16px;
    color: #065388;
    font-weight: 700;
    font-size: 22px;
}

.program-btn-large {
    display: inline-block;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    padding: 18px 34px;
    border-radius: 10px;
    color: #fff;
    background: #0c6fb5;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-transform: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.program-btn-large:hover,
.program-btn-large:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(12, 111, 181, 0.3);
}

.clock-sidebar {
    border: 2px solid #d8e8f4;
    border-radius: 14px;
    padding: 20px;
    background-color: #f9fcff;
    text-align: center;
    box-shadow: 0 8px 20px rgba(6, 83, 136, 0.08);
}

.clock-title {
    margin: 0 0 8px;
    color: #065388;
    font-size: 20px;
    font-weight: 700;
}

.clock-subtitle {
    margin: 0 0 12px;
    font-size: 14px;
    color: #4b6d85;
}

.room-qr-row {
    margin-bottom: 36px;
}

.room-qr-panel {
    border: 2px solid #d8e8f4;
    border-radius: 14px;
    padding: 26px 24px 18px;
    background: linear-gradient(180deg, #f9fcff, #ffffff);
    box-shadow: 0 8px 25px rgba(6, 83, 136, 0.08);
}

.room-qr-title {
    margin: 0 0 8px;
    color: #065388;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.room-qr-subtitle {
    margin: 0 0 24px;
    color: #4b6d85;
    font-size: 15px;
    text-align: center;
}

.room-qr-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.room-qr-card {
    width: 188px;
    padding: 14px 14px 18px;
    border-radius: 14px;
    background-color: #fff;
    border: 1px solid #dcecf7;
    box-shadow: 0 8px 18px rgba(6, 83, 136, 0.08);
    text-align: center;
    box-sizing: border-box;
}

.room-qr-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.room-qr-card a:hover,
.room-qr-card a:focus {
    text-decoration: none;
}

.room-qr-name {
    margin: 0 0 10px;
    color: #065388;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.room-qr-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(12, 111, 181, 0.12);
}

.room-qr-note {
    margin: 10px 0 0;
    color: #5e7a8f;
    font-size: 13px;
    font-weight: 600;
}

@media (min-width: 768px) and (max-width: 979px) {
    .clock-sidebar {
        padding: 14px 10px;
    }

    .digital-clock {
        font-size: 21px;
        padding: 10px 8px;
        letter-spacing: 0;
    }
}

@media (max-width: 767px) {

    .program-btn-wrap,
    .clock-sidebar {
        margin-bottom: 14px;
    }

    .room-qr-panel {
        padding-left: 14px;
        padding-right: 14px;
    }

    .room-qr-card {
        width: 100%;
        max-width: 280px;
    }

    .program-btn-large {
        width: 100%;
        font-size: 20px;
        padding: 16px 12px;
    }

    .digital-clock {
        font-size: 24px;
        padding: 10px 10px;
    }
}

/* ===== Premium hero slider redesign ===== */
.jumbotron.masthead {
    background: #06263d;
}

#sequence {
    height: 560px;
}

/* Fill the full hero width with the photo (was right-anchored at
   native width, leaving a large empty flat-color gap on the left) */
.slider_img,
.slider_img.animate-in,
.slider_img.animate-out {
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    filter: brightness(0.8) saturate(1.1);
}

/* A strong, full-image scrim so text can sit directly on the photo
   (no separate text box/card) and still read clearly everywhere -
   darkest on the left where the text lives, never fully clear even
   on the right so a bright sky/window never washes out to raw white.

   IMPORTANT: this must be `li::after`, not `#sequence::after`.
   Sequence.js gives each <li> its own `position:absolute; z-index`
   inline via JS, which makes every <li> its own stacking context.
   A scrim on #sequence itself sits in the *outer* context, so no
   z-index on .info (however high) can ever paint above it - the
   whole slide (text included) is trapped under the outer scrim.
   Scoping the scrim to li::after keeps it inside the same stacking
   context as .info, where z-index actually resolves as intended. */
#sequence li::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    background: linear-gradient(105deg, rgba(6, 38, 61, 0.72) 0%, rgba(6, 38, 61, 0.55) 45%, rgba(6, 38, 61, 0.32) 100%);
}

/* Text floats directly on the photo - no card/background/border.
   Forced above the scrim (z-index 8) so it is never dimmed by it. */
.info {
    width: 46%;
    min-width: 320px;
    max-width: 560px;
    top: 50%;
    left: 6% !important;
    transform: translateY(-50%);
    transition: opacity 0.3s ease !important;
    z-index: 30 !important;
}

.info.animate-in {
    left: 6% !important;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1 !important;
    transition: opacity 0.3s ease !important;
    z-index: 30 !important;
}

.info .hero-eyebrow {
    display: inline-block;
    background: rgba(6, 38, 61, 0.8) !important;
    border: 1px solid rgba(255, 177, 0, 0.7);
    color: #ffcf5c !important;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 12px;
    padding: 7px 16px;
    border-radius: 30px;
    margin: 0 0 18px;
}

.info h2 {
    background: none;
    color: #7fd0ff !important;
    padding: 0;
    margin: 0 0 6px;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 8px 26px rgba(0, 0, 0, 0.6);
}

.info .hero-rule {
    width: 60px;
    height: 3px;
    background: #ffb100;
    border-radius: 2px;
    margin: 16px 0 20px;
}

.info h3 {
    background: none;
    color: #ffffff !important;
    padding: 0;
    margin: 0 0 22px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75), 0 6px 20px rgba(0, 0, 0, 0.5);
    display: block;
}

.info h4 {
    background: rgba(6, 38, 61, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff !important;
    padding: 9px 18px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .4px;
    border-radius: 30px;
    margin: 0 0 26px;
}

/* Row of small info pills (conference badge, date, venue) shown
   together so nothing is missing/hidden on any given slide */
.hero-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 26px;
}

.hero-meta-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(6, 38, 61, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff !important;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .3px;
    border-radius: 30px;
    white-space: nowrap;
}

.hero-meta-pill i {
    color: #ffb100;
}

.info p {
    background: none !important;
    color: #ffffff !important;
    width: 100%;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75), 0 6px 20px rgba(0, 0, 0, 0.5);
}

.info .center {
    text-align: left;
}

.info .btn-dark,
.info .btn-success {
    font-size: 15px !important;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
    padding: 14px 30px !important;
    border-radius: 30px;
    border: none;
    text-shadow: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
    background-image: none !important;
}

.info .btn-dark {
    background: #1B78B3;
    color: #fff;
}

.info .btn-dark:hover {
    background: #083e60;
    color: #fff;
}

.info .btn-success {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
}

.info .btn-success:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Prev/next arrows - always visible (was opacity:0 until hovering
   the whole slider), restyled as clean circular buttons */
.sequence-nav .prev,
.sequence-nav .next {
    width: 46px;
    height: 46px;
    top: 50%;
    margin-top: -23px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 38, 61, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    opacity: 0.85 !important;
    z-index: 25;
    transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.sequence-nav .prev:hover,
.sequence-nav .next:hover {
    background: rgba(6, 38, 61, 0.85) !important;
    opacity: 1 !important;
    transform: scale(1.06);
}

.sequence-nav .prev i,
.sequence-nav .next i {
    color: #fff;
    font-size: 16px;
}

.sequence-nav .prev {
    left: 18px;
}

.sequence-nav .next {
    right: 18px;
}

/* Slide indicator dots */
.sequence-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    z-index: 25;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.sequence-dot {
    width: 10px;
    height: 10px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.2s ease, width 0.25s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.sequence-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.sequence-dot.active {
    width: 30px;
    background: #ffb100;
    border-color: #ffb100;
    box-shadow: 0 0 10px rgba(255, 177, 0, 0.7);
}

@media (max-width: 991px) {
    .info {
        width: 80%;
    }
}

@media (max-width: 767px) {
    #sequence {
        height: 480px;
    }

    .info {
        width: 88%;
    }

    .info h2 {
        font-size: 30px;
    }

    .info h3 {
        font-size: 16px;
    }

    .hero-meta-pill {
        font-size: 12px;
        padding: 7px 12px;
    }
}

/* ===== Premium info cards (Important Dates / Call for Papers /
   Submission Guidelines) ===== */
.info-cards-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin-bottom: 10px;
}

.info-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e9edf2;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(8, 62, 96, 0.07);
    padding: 32px 30px;
    height: 340px;
    box-sizing: border-box;
    overflow: hidden;
}

.info-card-btn {
    margin-top: auto;
    align-self: flex-start;
}

.clamp-text {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #083e60, #1B78B3 60%, #ffb100);
}

.info-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.info-card-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a68a9, #083e60);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    box-shadow: 0 6px 14px rgba(8, 62, 96, 0.28);
}

.info-card-head h4 {
    margin: 0;
    color: #083e60;
    font-weight: 700;
}

.info-card p {
    color: #55636f;
    font-size: 14.5px;
    line-height: 1.7;
}

.info-card p a {
    color: #0a68a9;
    font-weight: 600;
}

.info-card-btn {
    display: inline-flex;
    align-items: center;
    background: #1B78B3;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .3px;
    text-transform: uppercase;
    padding: 11px 22px;
    border-radius: 30px;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

.info-card-btn:hover {
    background: #083e60;
    color: #fff;
    transform: translateY(-2px);
}

.timeline-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.timeline-list li {
    position: relative;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0 14px 26px;
    border-bottom: 1px solid #eef2f6;
}

.timeline-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.timeline-list li:first-child {
    padding-top: 0;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 19px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1B78B3;
    box-shadow: 0 0 0 4px rgba(27, 120, 179, 0.15);
}

.timeline-list li:first-child .timeline-dot {
    top: 5px;
}

.timeline-label {
    color: #083e60;
    font-weight: 700;
    font-size: 14.5px;
}

.timeline-date {
    color: #55636f;
    font-size: 14px;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .info-cards-row .span6 {
        margin-bottom: 20px;
    }
}

/* ===== Premium "Welcome" section ===== */
.welcome-row {
    margin-top: 50px;
}

.welcome-card {
    position: relative;
    background: #fff;
    border: 1px solid #e9edf2;
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(8, 62, 96, 0.08);
    padding: 50px 60px 44px;
    overflow: hidden;
}

.welcome-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #083e60, #1B78B3 60%, #ffb100);
}

.welcome-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 34px;
}

.welcome-eyebrow {
    display: inline-block;
    background: rgba(27, 120, 179, 0.08);
    border: 1px solid rgba(27, 120, 179, 0.3);
    color: #0a68a9;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 12px;
    padding: 7px 18px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.welcome-header h2 {
    margin: 0;
    color: #083e60;
    font-weight: 800;
}

.welcome-rule {
    width: 60px;
    height: 3px;
    background: #7fd0ff;
    border-radius: 2px;
    margin: 16px auto 0;
}

.welcome-body {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.welcome-quote-mark {
    display: block;
    font-size: 40px;
    color: #dce9f2;
    margin-bottom: 6px;
}

.welcome-body p {
    color: #46535e;
    font-size: 15.5px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.welcome-pull-quote {
    margin: 32px 0;
    padding: 4px 0 4px 26px;
    border-left: 4px solid #7fd0ff;
    color: #083e60;
    font-size: 19px;
    font-weight: 600;
    font-style: italic;
    line-height: 1.6;
}

.welcome-signatures {
    max-width: 900px;
    margin: 36px auto 0;
    padding-top: 32px;
    border-top: 1px solid #eef2f6;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.welcome-signature {
    flex: 1 1 260px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.welcome-signature-icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a68a9, #083e60);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: 0 6px 14px rgba(8, 62, 96, 0.25);
}

.welcome-signature div {
    display: flex;
    flex-direction: column;
}

.welcome-signature-name,
.welcome-signature a {
    color: #0a68a9;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
}

.welcome-signature a:hover {
    text-decoration: underline;
}

.welcome-signature span:last-child {
    color: #8a97a2;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-top: 2px;
}

@media (max-width: 767px) {
    .welcome-card {
        padding: 36px 24px 32px;
    }

    .welcome-header h2 {
        font-size: 26px;
    }

    .welcome-pull-quote {
        font-size: 17px;
    }
}

/* ===== Prominent section headings with clear separation ===== */
.section-block {
    margin-top: 70px;
}

.section-heading {
    text-align: center;
    margin-bottom: 36px;
}

.section-heading h2 {
    display: inline-block;
    color: #083e60;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: .3px;
    margin: 0;
}

.section-rule {
    width: 60px;
    height: 3px;
    background: #7fd0ff;
    border-radius: 2px;
    margin: 16px auto 0;
}

@media (max-width: 767px) {
    .section-block {
        margin-top: 50px;
    }

    .section-heading h2 {
        font-size: 24px;
    }
}

/* ===== Organizers / Sponsors / Technical Support logo rows ===== */
.organizer-logo {
    width: 200px;
    height: 130px;
    object-fit: contain;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

.sponsors-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px 40px;
    padding: 20px 0 10px;
}

.sponsor-item {
    text-align: center;
    flex: 0 0 auto;
}

.sponsor-item p {
    margin-top: 8px;
    margin-bottom: 0;
}

.sponsor-item strong {
    font-size: 16px;
}
