
*, *::before, *::after { box-sizing: border-box; }
body {
    font-family: Inter,sans-serif;
    margin: 0; padding: 0;
    color: #212529;
    font-size: 14px;
}

/* ═══════════════════════════════
    NAVBAR
═══════════════════════════════ */
.navbar {
    background: #fbfbfb;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 16px;
    min-height: 70px;
}
.navbar-brand {
    padding: 5px 0;
    cursor: pointer;
}
.navbar-brand img { height: 60px; }
.navbar-nav .nav-link {
    color: #565656 !important;
    font-size: 16px;
    font-weight: 500;
    padding: .3rem !important;
    white-space: nowrap;
}
.navbar-nav .nav-link:hover { color: #000 !important; }
.navbar-nav .dropdown-toggle::after { margin-left: 4px; }
.dropdown-menu {
    border-radius: 0;
    border: none;
    border-top: 2px solid #f0a500;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    font-size: 13.5px;
    min-width: 200px;
}
.dropdown-item { padding: 9px 16px; color: #333; }
.dropdown-item:hover { background: #f5f5f5; }
#mainNav{
    padding-left:2%;
}
@media (max-width: 576px) {
    .countdown-banner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    }

    .event-label {
    font-size: 1.2rem !important;
    }

    .countdown-digits span {
    font-size: 1.1rem;
    min-width: 35px;
    }

    .countdown-labels span {
    font-size: 9px;
    }
}
/* Register / Login buttons */
.btn-register-nav, .btn-login-nav {
    background: linear-gradient(to right, #e87020,#e87020,#e87020,#e87020,#e87020,#e87020, #f5b940);
    color: #fff !important;
    font-weight: 400;
    font-size: 13.5px;
    padding: 8px 22px;
    border-radius: 4px;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
    line-height: 1.5;
    transition: background 2s;
}
.btn-register-nav:hover, .btn-login-nav:hover {
    background: linear-gradient(to right, #c0435a, #e87020,#e87020, #f5b940);;
    color: #fff !important;
    transition: background 2s;
}
/* Desktop action buttons (right side) */
.actions-desktop { display: flex; gap: 8px; }
/* Mobile toggle buttons */
.toggle-container {
    display: none;
    gap: 8px;
    align-items: center;
}
@media (max-width: 1199px) {
    .toggle-container { display: flex; }
    .actions-desktop { display: none; }
}

/* ═══════════════════════════════
    COUNTDOWN BANNER
═══════════════════════════════ */
.countdown-banner {
    background: linear-gradient(to right, #6b3fa0, #c0435a, #e87020, #f5b940);
    padding: 11px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}
.countdown-banner .event-label {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}
.countdown-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.countdown-digits {
    display: flex;
    align-items: center;
    gap: 2px;
}
.countdown-digits span {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    min-width: 45px;
    text-align: center;
    line-height: 1.5;
}
.countdown-digits .sep {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    min-width: 16px;
    text-align: center;
}
.countdown-labels {
    display: flex;
    align-items: center;
    gap: 2px;
}
.countdown-labels span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
    min-width: 45px;
    text-align: center;
}
.countdown-labels .sep-blank {
    min-width: 16px;
    display: inline-block;
}

/* ═══════════════════════════════
    HERO SECTION
═══════════════════════════════ */
.hero-section {
    position: relative;
    min-height: 600px;
    background: #fff;
    overflow: hidden;
    display: flex;
}
.hero-bg {
    position: absolute;
    top: 0; right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
/* Fade overlay left to right */
.hero-overlay {
    position: absolute;
    top: 0; right: 0;
    width: 62%;
    height: 100%;
    background: linear-gradient(to right,
    #fff 0%,
    rgba(255,255,255,0.95) 15%,
    rgba(255,255,255,0.7) 40%,
    rgba(255,255,255,0) 100%
    );
}
.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    width: 100%;
}
.hero-content {
    padding: 44px 48px 44px 56px;
    max-width: 780px;
    flex: 1;
}
.hero-logo-block {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 22px;
}
.hero-logo-block img {
    height: 120px;
    display: block;
}
.hero-title {
    font-size: 2rem;
    z-index: 1;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    margin-bottom: 12px;
}
.hero-theme {
    font-weight: 500;
    font-size: 1rem;
    font-style: italic;
    color: #000;
    margin-bottom: 14px;

}
.hero-date-block {
    margin-bottom: 16px;
}
.hero-date-block span {
    font-size: 13.5px;
    color: #222;
    display: block;
    margin-bottom: 3px;
}
.hero-date-block div {
    font-size: 13.5px;
    color: #333;
    line-height: 1.6;
}
.sub-event { margin-bottom: 16px; }
.sub-event > span {
    font-size: 13.5px;
    color: #333;
    display: block;
    margin-bottom: 6px;
}
.sub-event h2 {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
    line-height: 1.4;
}
.meeting-block {
    font-size: 13.5px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.65;
}
.meeting-block > div { margin-top: 2px; }
.hero-email {
    margin-top: 14px;
}
.hero-email a {
    color: #1a4f8a;
    font-size: 13.5px;
    text-decoration: none;
}
.hero-email a:hover { text-decoration: underline; }
/* Connect with us (right panel on desktop) */
.connect-desktop {
    position: absolute;
    background-color: #fff;
    padding: .5rem;
    border-radius: 10px;
    display: flex;
    gap: .5rem;
    align-items: center;
    z-index: 3;
    text-align: center;
    bottom: 1rem;
    right: 5rem;
}
.connect-label {
    font-size: .8rem;
    font-weight: 500;
    max-width: 55px;
}
.social-logos { display: flex; gap: 10px; align-items: center; justify-content: center; }
.social-logos img { height: 34px; width: 34px; border-radius: 6px; object-fit: contain; }
/* Mobile connect */
.connect-mobile {
    display: none;
    margin-top: 18px;
}
.connect-mobile .connect-label { text-align: left; }
.connect-mobile .social-logos { justify-content: flex-start; }
@media (max-width: 768px) {
    .connect-desktop { display: none; }
    .connect-mobile { display: block; }
}

/* ═══════════════════════════════
    HOST SECTION
═══════════════════════════════ */
.host-section {
    padding: 44px 40px 30px;
    background: #fff;
}
.host-section .host-inner {
    /* display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap; */
}
.host-block { text-align: center; }
.host-block > span, .collab-block > span {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin-bottom: 16px;
}
.host-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}
.host-logos-row img {
    height: 70px;
    max-width: 160px;
    object-fit: contain;
}
.collab-sec-wrap {
    display: flex;
    flex: 1;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.collab-block > span {
    text-align: left;
}
.collab-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.collab-logos-row img {
    height: 100px;
    max-width: auto;
    object-fit: contain;
}
.sec-logos-row img {
    height: 44px;
    max-width: 120px;
    object-fit: contain;
}
/* divider between host and collab */
.host-divider {
    width: 1px;
    background: #ddd;
    align-self: stretch;
    margin: 0 10px;
}

/* ═══════════════════════════════
    MESSAGES SECTION
═══════════════════════════════ */
.messages-section {
    background: 5px solid #e3e3e3;
    padding: 44px 48px 44px 56px;
}
.msg-card {
    background: #fff;
    border: 5px solid #e3e3e3;
    border-radius: 10px;
    padding: 1rem 3rem 1rem 1rem;
    margin-bottom: 24px;
    display: flex;
    gap: 36px;
    align-items: flex-start;
}
.msg-card .doc-img {
    /* width: 190px;
    min-width: 190px;
    height: 260px;
    object-fit: cover;
    object-position: top center;
    border-radius: 2px; */
    height: 400px;
aspect-ratio: 1 / 1;
object-fit: contain;
max-width: fit-content;
align-self: center;
}
.msg-body h4 {
    font-size: 21px;
    font-weight: 700;
    font-style: italic;
    color: #111;
    margin-bottom: 18px;
}
.msg-body p {
    font-size: 13.5px;
    color: #444;
    line-height: 1.78;
    margin-bottom: 12px;
}
.msg-body .doc-name {
    font-weight: 700;
    color: #111;
    font-style: normal;
}
.msg-body .doc-title {
    font-style: normal;
    color: #444;
}

/* ═══════════════════════════════
    FOOTER
═══════════════════════════════ */
.site-footer {
    background: #efefef;
    border-top: 1px solid #ddd;
}
.footer-top {
    padding: 28px 32px 20px;
    /* display: flex; */
    justify-content: space-between;
    /* align-items: flex-start; */
    flex-wrap: wrap;
    gap: 24px;
}
.footer-top2{
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}
.footer-logos-area {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    flex-wrap: wrap;
    flex: 1;
}
.f-block > span {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    font-style: italic;
    color: #222;
    margin-bottom: 12px;
}
.f-logos {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.f-logos img {
    height: 100px;
    max-height: 100px;
    object-fit: contain;
}
.f-collab-logos img {
    height: 30px;
    max-width: 90px;
    object-fit: contain;
}
.f-supported img { height: 36px; max-width: 80px; object-fit: contain; }
.footer-right {
    max-width: 500px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding:3rem 6rem 3rem 1rem;
}
.footer-right img { height: 58px; object-fit: contain; }
.footer-right p, .footer-right div {
    font-size: .875rem;
    color: #000;
    margin: 0;
    line-height: 1.6;
    font-weight: 600;
}
.footer-right a {
    font-size: .875rem;
    color: black;
    text-decoration: underline;
}
.footer-right a:hover { text-decoration: underline; }

/* Footer bottom columns */
.footer-cols {
    border-top: 1px solid #ddd;
    padding: 18px 32px;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    align-items: flex-start;
}
.fc {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.fc > span {
    font-size: 12.5px;
    font-weight: 700;
    font-style: italic;
    color: #222;
    margin-bottom: 6px;
    display: block;
}
.fc p, .fc div { font-size: 12px; color: #444; margin: 0; line-height: 1.65; }
.fc a { font-size: 12px; color: #1a4f8a; text-decoration: none; }
.fc a:hover { text-decoration: underline; }
.fc img { height: 28px; object-fit: contain; margin-top: 4px; }
.social-footer { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.social-footer img { height: 28px; width: 28px; object-fit: contain; border-radius: 4px; }
.footer-copy {
    border-top: 1px solid #ddd;
    padding: 12px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-copy div, .footer-copy a { font-size: 12px; color: #555; text-decoration: none; }
.footer-copy a { font-weight: 600; }
.footer-copy a:hover { text-decoration: underline; }
/* ═══════════════════════════════
    QUICK LINKS
═══════════════════════════════ */
.quick-links-section {
    background: #fff;
    padding: 56px 40px 64px;
    text-align: center;
}
.quick-links-title {
    font-size: 26px;
    font-weight: 800;
    color: #0d1b4b;
    margin-bottom: 40px;
}
.quick-links-btns {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.ql-btn {
    background: #1a3a7a;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 6px;
    text-decoration: none;
    min-width: 200px;
    display: inline-block;
    text-align: center;
    box-shadow: 0 3px 10px rgba(26,58,122,.25);
    transition: background .2s, transform .15s;
}
.ql-btn:hover {
    background: #0d1b4b;
    color: #fff;
    transform: translateY(-2px);
}

/* ═══════════════════════════════
    FACULTY VIDEOS
═══════════════════════════════ */
.faculty-videos-section {
    background: #f0f2f5;
    padding: 52px 48px 64px;
    text-align: center;
}
.faculty-videos-title {
    font-size: 26px;
    font-weight: 800;
    color: #0d1b4b;
    margin-bottom: 40px;
}
.faculty-video-card {
    display: flex;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.10);
}
/* LEFT: thumbnail */
.video-thumb-wrap {
    flex: 1.1;
    cursor: pointer;
    position: relative;
    min-height: 360px;
    background: #0d1b4b;
}
.video-thumb-bg {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 360px;
    background:
    linear-gradient(160deg, rgba(10,30,80,.85) 0%, rgba(20,60,140,.65) 60%, rgba(10,30,80,.90) 100%),
    url('https://upload.wikimedia.org/wikipedia/commons/thumb/e/e3/Manila_Bay_Sunset.jpg/1280px-Manila_Bay_Sunset.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 28px 28px 18px;
}
.thumb-overlay { width: 100%; }
.thumb-brand { display: flex; align-items: flex-start; gap: 16px; }
.thumb-brand-text { text-align: left; color: #fff; }
.thumb-conference-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #aac8ff;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.thumb-conference-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 6px;
}
.thumb-conference-year {
    font-size: 32px;
    font-weight: 900;
    color: #f5b940;
    line-height: 1;
    margin-bottom: 8px;
}
.thumb-conference-date {
    font-size: 13px;
    font-weight: 700;
    color: #aac8ff;
    margin-bottom: 3px;
}
.thumb-conference-venue {
    font-size: 11px;
    color: #ccd9f0;
}
/* Play button centered */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform .2s;
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.12); }
/* Bottom caption */
.thumb-caption {
    color: #ccd9f0;
    font-size: 12px;
    text-align: left;
    line-height: 1.5;
    margin-top: auto;
}
.thumb-caption strong {
    display: block;
    font-size: 13px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 2px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content { padding: 30px 20px; }
    .hero-bg { width: 100%; opacity: 0.15; }
    .hero-overlay { width: 100%; }
    .hero-title { font-size: 20px; }
    .msg-card { flex-direction: column; }
    .msg-card .doc-img { width: 100%; height: 200px; min-width: unset; }
    .host-inner { flex-direction: column; }
    .host-divider { display: none; }
    .footer-top { flex-direction: column; }
    .footer-right { text-align: left; align-items: flex-start; }
    .footer-cols { flex-direction: column; }
}

/* SVG Logo Placeholders styling */
.logo-svg-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.video-modal.active { display: flex; }
.video-modal-inner {
    position: relative;
    width: 90%;
    max-width: 860px;
}
.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 34px;
    cursor: pointer;
    line-height: 1;
}
.video-modal-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}
.video-modal-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .faculty-video-card { flex-direction: column; }
    .video-thumb-wrap { min-height: 240px; }
    .video-thumb-bg { min-height: 240px; }
    .video-speaker { width: 100%; height: 260px; }
    .quick-links-btns { flex-direction: column; align-items: center; }
    .ql-btn { width: 80%; }
    .faculty-videos-section { padding: 40px 16px 48px; }
    .quick-links-section { padding: 40px 16px 48px; }
}



.popup-container {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.9); /* Black background with opacity */
}

.popup-content {
    position: relative;
    margin: 40px auto;
    padding: 0px;
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
    max-width: 530px;
}

.popup-image {
    width: 100%;
    height: auto;
}

.close-btn {
    position: absolute;
    top: 0px;
    right: -1px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    background: red;
    padding: 0px 10px;
}
.card.mobilecards h5{
    font-size:10px;
    font-weight:normal;
    margin-top:10px;
}
.card.mobilecards h4{
    text-align:center;
}

.slider-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* optional for cropping */
}
