 
    :root{
      --bg:#0b0d10;         /* page background */
      --panel:#15181c;      /* cards */
      --panel-2:#1c2127;    /* darker */
      --text:#e7eaee;       /* primary text */
      --muted:#9aa4af;      /* muted text */
      --accent:#7dd3fc;     /* cyan accent */
      --line:#232931;       /* borders */
      --good:#34d399;       /* success */
    }

    *{box-sizing:border-box}
    html,body{height:100%;    overflow-x: hidden;}
    body{
      margin:0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
      color:var(--text); background:linear-gradient(180deg,var(--bg-1),var(--bg-2) 30%, var(--bg-2) 100%);
      -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
    }
    .container{max-width:1200px; margin:0 auto; padding:24px;}

      header.hero {
            position: relative;
            padding: 56px 24px 24px;
            text-align: center;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
        }
        
        /* Background image with overlay */
        header.hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('mycover.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            z-index: -1;
        }
        
        /* Overlay for better text readability */
        header.hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
            z-index: -1;
        }
        
        .hero-content {
            max-width: 800px;
            z-index: 1;
                      color: white;

        }
        
        .hero h1 {
                    color: white;

             margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }
        
        .hero p {
          color: white;
             margin-bottom: 2rem;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
        }
        
    .eyebrow{color:var(--accent); letter-spacing:.2em; text-transform:uppercase; font-weight:700; font-size:.8rem}
    h1{margin:.25rem 0 0; font-size:clamp(28px,4vw,44px)}
    .sub{margin:.35rem 0 0; color:var(--muted)}

    /* ===================== PRELOADER ===================== */
    #preloader{position:fixed; inset:0; background:rgba(8,10,12,.98); display:grid; place-items:center; z-index:9999; transition:opacity .5s ease}
    #preloader.hidden{opacity:0; pointer-events:none}
    .loader{position:relative; width:160px; height:160px}
    .pct{position:absolute; inset:0; display:grid; place-items:center; font-weight:700;}
    .pct small{display:block; margin-top:4px; color:#c7d2fe}

    /* ===================== CARDS / SECTIONS ===================== */
    .card{background:var(--panel); border:1px solid var(--line); border-radius:16px; padding:20px}
    .video-box{position:relative; width:100%; aspect-ratio:16/9; border-radius:16px; overflow:hidden; background:var(--panel-2); border:1px dashed var(--line)}
    .video-box .placeholder{position:absolute; inset:0; display:grid; place-items:center; color:var(--muted)}

    section{padding:36px 24px}
    section h2{font-size:clamp(22px,3vw,30px); margin:0 0 16px}
    section p{color:var(--text); line-height:1.7}
    ul{margin:0; padding-left:18px}
    li{margin:8px 0; color:var(--text)}

    .committee{display:grid; grid-template-columns:repeat(1,minmax(0,1fr)); gap:12px}
    @media (min-width:640px){.committee{grid-template-columns:repeat(2,minmax(0,1fr))}}
    @media (min-width:900px){.committee{grid-template-columns:repeat(3,minmax(0,1fr))}}

    .badge{display:inline-block; background:rgba(52,211,153,.15); color:#a7f3d0; border:1px solid rgba(52,211,153,.25); border-radius:999px; padding:6px 10px; font-size:.8rem}
    .muted{color:var(--muted)}

    footer{padding:32px 24px; color:var(--text); text-align:center; border-top:1px solid var(--line)}
  /* === Top Nav + Buttons === */
    .topnav{position:sticky; top:0; z-index:1000; backdrop-filter:saturate(120%) blur(6px); background:rgba(10,12,15,.72); border-bottom:1px solid var(--line)}
    .topnav .nav-inner{display:flex; align-items:center; justify-content:space-between}
    .topnav .brand{font-weight:800; letter-spacing:.02em; color:var(--text); text-decoration:none}
    .topnav .links a{color:var(--muted); text-decoration:none; margin:0 10px}
    .topnav .links a:hover{color:var(--primary)}
    .btn{display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:10px; background:var(--panel-2); color:var(--text); text-decoration:none; border:1px solid var(--line)}
    .btn i, .links a i, h2 i, .quick-links .ql i { margin-right:8px; }
    .btn:hover{filter:brightness(1.1)}
    .btn-primary{background:linear-gradient(180deg,var(--primary),var(--primary-700)); border-color:var(--primary-700); color:#ffffff !important}
    .btn-outline{background:transparent; border-color:var(--primary); color:var(--primary)}
    .cta{display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:18px}

    /* === Program schedule === */
    .schedule{width:100%; border-collapse:collapse; margin-top:8px}
    .schedule th, .schedule td{padding:10px 12px; border-bottom:1px solid var(--line); vertical-align:top}
    .schedule th{width:140px; color:var(--muted); font-weight:600; text-align:left}
    .schedule .title{font-weight:600}
    .schedule .desc{color:var(--text)}
    .schedule-day{margin-bottom:18px}
    .actions{margin-top:12px}

    /* === Grid cards === */
    .grid3{display:grid; grid-template-columns:repeat(1,minmax(0,1fr)); gap:16px}
    @media(min-width:700px){.grid3{grid-template-columns:repeat(3,minmax(0,1fr))}}
    .price .price-tag{font-size:28px; font-weight:800; margin:4px 0 8px}
    .quick-links{display:flex; flex-wrap:wrap; gap:10px}
    .quick-links .ql{display:inline-flex; padding:12px 16px; border-radius:12px; background:var(--panel); border:1px solid var(--line); text-decoration:none; color:var(--text)}
    .quick-links .ql:hover{filter:brightness(1.1)}

    /* === Contact form === */
    .contact-form{display:grid; grid-template-columns:1fr; gap:10px; margin-top:10px}
    .contact-form input, .contact-form textarea{background:var(--panel-2); border:1px solid var(--line); color:var(--text); border-radius:10px; padding:10px}
    .contact-form textarea{min-height:120px; resize:vertical}
  /* ===== THEME TOKENS (dark default) ===== */
    :root{
      --bg-1:#0a0c0f; --bg-2:#0b0d10;
      --panel:#15181c; --panel-2:#1c2127; --text:#e7eaee; --muted:#9aa4af;
      --primary:#dc2626; --primary-700:#b91c1c; --accent:var(--primary); --line:#232931; --good:#34d399;
    }
    
    /* Manual override */
    :root[data-theme='light']{
      --bg-1:#ffffff; --bg-2:#ffffff;
      /* light mode: make cards gray */
      --panel:#f3f4f6; /* card bg */
      --panel-2:#eef1f5; /* inputs / subtle panels */
      --text:#000000; --muted:#000000; 
      --line:#d7dde5; /* soft gray borders */
      --primary:#dc2626; --primary-700:#b91c1c;
    }
    :root[data-theme='dark']{
      --bg-1:#0a0c0f; --bg-2:#0b0d10;
      --panel:#15181c; --panel-2:#1c2127; --text:#e7eaee; --muted:#9aa4af; --line:#232931;
      --primary:#dc2626; --primary-700:#b91c1c;
    }

    /* === Responsive Top Nav === */
    .topnav{position:sticky; top:0; z-index:1000; backdrop-filter:saturate(120%) blur(6px); background:color-mix(in oklab, var(--bg-2) 85%, transparent); border-bottom:1px solid var(--line)}
    .topnav .nav-inner{display:flex; align-items:center; justify-content:space-between; position:relative}
    .topnav .brand{font-weight:800; letter-spacing:.02em; color:var(--text); text-decoration:none}
    .topnav .links{display:flex; align-items:center}
    .topnav .links a{color:var(--muted); text-decoration:none; margin:0 10px}
    .topnav .links a:hover{color:var(--text)}
    .menu-toggle{display:none; align-items:center; justify-content:center; width:40px; height:40px; border-radius:8px; border:1px solid var(--line); background:var(--panel-2); color:var(--text)}
    .theme-toggle{border-radius:8px}
    .nav-actions{display:flex; align-items:center; gap:8px; margin-left:12px}

    @media (max-width: 880px){
      .menu-toggle{display:inline-flex}
      .topnav .links{position:absolute; top:100%; left:0; right:0; display:none; flex-direction:column; align-items:flex-start; padding:12px 24px 16px; gap:6px; background:var(--panel); border-bottom:1px solid var(--line)}
      .topnav .links.open{display:flex}
      .topnav .links a{margin:0; padding:8px 2px}
    }
 
 
.flip-clock-wrapper{

   display: inline-flex;
  align-items: center;
   overflow: hidden;
  
 

}
.flip-clock-dot{background-color: #b91c1c;}
/* Ensure single line inside the block and center it */
.ag-flipclock-block{
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  overflow-x: auto; /* never wraps; scrolls if absolutely needed */
  -webkit-overflow-scrolling: touch;
  overflow: hidden;
       padding: 0px;
 
 
}

.ag-flipclock-block .flip-clock-wrapper { 
  display: inline-flex !important; 
  align-items: center; 
  gap: 6px; 
  white-space: nowrap; 
  float: none !important; 
}

.ag-flipclock-block .flip-clock-wrapper ul,
.ag-flipclock-block .flip-clock-divider{
  display: inline-block;
  float: none !important;
  vertical-align: middle;
}

  @media (max-width: 780px){
  .flip-clock-wrapper{
        scale: 80%;

    }
  
  }.ag-flipclock-block{
    max-height: 200px;
  }

   @media (max-width: 640px){
  .flip-clock-wrapper{
        scale: 60%;

    }
  
  }.ag-flipclock-block{
    max-height: 70px;
  }

  
   @media (max-width: 580px){
  .flip-clock-wrapper{
        scale: 40%;

    }
  
  }.ag-flipclock-block{
    max-height: 70px;
  }
  /* Make logo images white in dark mode using CSS filter */
 .logo_is_img img{
  filter: none;
  transition: filter .2s ease;
}

:root[data-theme='dark']  .logo_is_img img{
  filter: brightness(0) invert(1);
}

 /* ===== PROGRAM (tabs) ===== */
.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.tab{cursor:pointer;padding:8px 12px;border-radius:10px;border:1px solid var(--line);background:var(--panel-2);color:var(--text)}
.tab.active{border-color:var(--primary);outline:2px solid color-mix(in oklab,var(--primary) 40%, transparent)}
.tabpanes .tabpane{display:none}.tabpanes .tabpane.active{display:block}
.session{border-left:4px solid var(--primary);padding:10px 12px;margin:10px 0;background:var(--panel-2);border-radius:10px}
.session .t{font-weight:700}
/* ===== SPEAKERS & GUESTS ===== */
/* ===== SPEAKERS & GUESTS ===== */
.gallery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media(min-width:800px){.gallery-grid{grid-template-columns:repeat(4,1fr)}}
.gallery-grid a{display:block;position:relative;border-radius:12px;overflow:hidden;border:1px solid var(--line);cursor:pointer}
.gallery-grid img{width:100%;height:160px;object-fit:cover;display:block;transition:transform .3s ease}
.gallery-grid a:hover img{transform:scale(1.04)}
.gallery-grid .title-overlay{position:absolute;left:0;right:0;bottom:0;padding:10px 8px;background:linear-gradient(to top,rgba(0,0,0,.7),transparent);color:#fff;font-weight:600;text-align:center}
/* ===== LIGHTBOX SLIDER ===== */
 
  /* --- Lightbox --- */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 9999;
}
#lightbox.open { display: flex; }

#lightbox .lb-figure {
  max-width: min(90vw, 1200px);
  max-height: 80vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#lbImg {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}
#lightbox button {
  position: absolute;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  padding: 8px 12px;
  user-select: none;
}
#lightbox .lb-close { top: 12px; right: 16px; }
#lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
#lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
#lbCap { color: #ddd; margin-top: 8px; text-align: center; font-size: .95rem; }

#lbDots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  max-width: 90vw;
  justify-content: center;
}
#lbDots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: #666;
  opacity: .85;
}
#lbDots button.active { background: #fff; opacity: 1; }

 
 
  /* ====== SM25 SLIDER (uniquely namespaced) ====== */
.sm25-slider {
  --sm25-gap: 12px;
  --sm25-cols: 2;           /* default on small screens */
  --sm25-item-h: 160px;
  position: relative;
  width: 100%;
}

@media (min-width: 800px) {
  .sm25-slider { --sm25-cols: 4; }
}

.sm25-viewport {
  overflow: hidden; /* hide overflow; we drive with scrollLeft */
  width: 100%;
}

.sm25-track {
  display: flex;
  gap: var(--sm25-gap);
  padding: 2px; /* tiny breathing room for focus rings */
  scroll-behavior: smooth;
  /* Optional: allow manual swipe/drag via native scroll if you prefer */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.sm25-item {
  position: relative;
  display: block;
  flex: 0 0 calc((100% - (var(--sm25-cols) - 1) * var(--sm25-gap)) / var(--sm25-cols));
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line, #e5e7eb);
  cursor: pointer;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  user-select: none;
  -webkit-user-drag: none;
}

.sm25-item img {
  width: 100%;
  height: var(--sm25-item-h);
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.sm25-item:hover img { transform: scale(1.04); }

.sm25-item .title-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 8px;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  color: #fff; font-weight: 600; text-align: center;
}

/* Nav buttons */
.sm25-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 2;
  border: none;
  background: rgba(0,0,0,0.55);
  color: #fff; font-size: 20px; line-height: 1;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  transition: opacity .2s ease, background .2s ease;
}
.sm25-nav:hover { background: rgba(0,0,0,0.75); }
.sm25-prev { left: 6px; }
.sm25-next { right: 6px; }

/* Dots (pages) */
.sm25-dots {
  display: flex; justify-content: center; gap: 6px; margin-top: 10px;
}
.sm25-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0;
  background: #c7c7c7; opacity: .8; cursor: pointer;
}
.sm25-dots button[aria-current="true"] { background: #333; opacity: 1; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sm25-track { scroll-behavior: auto; }
  .sm25-item img { transition: none; }
}

         
 
        
        .slider-container {
            position: relative;
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .gallery-slider {
            overflow: hidden;
            width: 100%;
        }
        
        .slider-track {
            display: flex;
            transition: transform 0.5s ease;
        }
        
        .slide {
            flex: 0 0 calc(100% / 4 - 15px);
            margin: 0 7.5px;
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .slide:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }
        
        .slide img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
            transition: transform 0.3s ease;
        }
        
        .slide:hover img {
            transform: scale(1.05);
        }
        
        .title-overlay {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            padding: 12px 10px;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            color: #fff;
            font-weight: 600;
            text-align: center;
        }
        
        .slider-nav {
            background: var(--primary-700);;
            border: none;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }
        
        .slider-nav:hover {
            background: #e74c3c;
            transform: scale(1.1);
        }
        
        .slider-nav.prev {
            margin-right: 15px;
        }
        
        .slider-nav.next {
            margin-left: 15px;
        }
        
        .slider-nav:disabled {
            background: #bdc3c7;
            cursor: not-allowed;
            transform: scale(1);
        }
        
        .slider-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-top: 15px;
        }
        
        .play-pause {
            background: #2ecc71;
            border: none;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }
        
        .play-pause:hover {
            background: #27ae60;
            transform: scale(1.1);
        }
        
        .slider-dots {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 15px;
        }
        
        .slider-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #ddd;
            cursor: pointer;
            transition: background 0.3s ease, transform 0.3s ease;
        }
        
        .slider-dot.active {
            background: #e83b14;
            transform: scale(1.2);
        }
        
        /* Lightbox Styles */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .lightbox.active {
            display: flex;
            opacity: 1;
        }
        
        .lightbox-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
        }
        
        .lightbox-content img {
            max-width: 100%;
            max-height: 80vh;
            border-radius: 8px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
        }
        
        .lightbox-caption {
            color: #fff;
            text-align: center;
            margin-top: 15px;
            font-size: 18px;
            font-weight: 500;
        }
        
        .lightbox-close {
            position: absolute;
            top: -40px;
            right: -10px;
            color: white;
            background: #e74c3c;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 20px;
            transition: all 0.3s ease;
        }
        
        .lightbox-close:hover {
            background: #c0392b;
            transform: rotate(90deg);
        }
        
        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            background: #e74c3c;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 20px;
            transition: all 0.3s ease;
            border: none;
        }
        
        .lightbox-nav:hover {
            background: #e74c3c;
            transform: translateY(-50%) scale(1.1);
        }
        
        .lightbox-prev {
            left: 20px;
        }
        
        .lightbox-next {
            right: 20px;
        }
        
        /* Responsive adjustments */
        @media (max-width: 992px) {
            .slide {
                flex: 0 0 calc(100% / 3 - 15px);
            }
        }
        
        @media (max-width: 768px) {
            .slide {
                flex: 0 0 calc(100% / 2 - 15px);
            }
            
            .slider-nav, .play-pause {
                width: 35px;
                height: 35px;
            }
        }
        
        @media (max-width: 480px) {
            .slide {
                flex: 0 0 calc(100% - 15px);
            }
            
            .slider-nav, .play-pause {
                width: 30px;
                height: 30px;
            }
            
            h2 {
                font-size: 24px;
            }
            
            .container {
                padding: 15px;
            }
        }