:root{
  --brand:#0d6efd;
  --brand-ink:#0b5ed7;
  --ink:#0f172a;
  --muted:#64748b;
  --surface:#ffffff;
  --line:#e5e7eb;
  --bg:#f6f8fc;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:var(--bg)}
img{max-width:100%;display:block}

.section{scroll-margin-top:84px; padding:48px 0}
.section.alt{background:#ffffff}
.container{max-width:1100px;margin:0 auto;padding:0 20px}

.site-header{
  position:sticky; top:0; z-index:1000;
  background:#ffffffcc; backdrop-filter:saturate(180%) blur(8px);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex; min-height:64px;width}
/*.brand{font-weight:700; font-size:1.05rem; text-decoration:none; color:var(--ink);margin-left: 10px;}*/
.nav{display:flex; gap:18px; align-items:center}
.nav a{color:var(--ink); text-decoration:none; font-weight:500}
.nav .cta{padding:8px 12px; border-radius:10px; background:var(--brand); color:white !important}
.hamburger{display:none; border:0; background:transparent; width:40px; height:40px; position:relative}
.hamburger span{position:absolute; left:8px; right:8px; height:2px; background:var(--ink); transition:.3s}
.hamburger span:nth-child(1){top:12px}
.hamburger span:nth-child(2){top:19px}
.hamburger span:nth-child(3){top:26px}

.hero{background:linear-gradient(135deg,#e8f1ff 0%,#f6f8fc 50%, #ffffff 100%); padding:10px 0 80px}
.hero-inner{display:grid; grid-template-columns:1.1fr .9fr; gap:30px; align-items:center}
.hero-copy h1{font-size:2.4rem; margin:.2rem 0 1rem}
.lead{color:#334155; font-size:1.075rem}
.meta{color:#475569}
.hero-cta{display:flex; gap:12px; margin-top:16px; justify-content: center; flex-wrap: wrap}
.btn{display:inline-block; padding:10px 16px; border-radius:10px; text-decoration:none; border:1px solid #cbd5e1; margin-bottom: 16px;}
.btn.primary{background:var(--brand); color:white; border-color:var(--brand)}
.btn.ghost{background:white}
.btn:hover{transform:translateY(-1px)}

.cards{display:flex; flex-wrap: wrap; justify-content: center; gap:20px; margin:24px 0 0}
.card{flex: 1 1 280px; max-width: 500px; background:#fff; border:1px solid var(--line); border-radius:16px; padding:20px; box-shadow:0 6px 20px rgba(2,6,23,.04)}
.card h3{margin-top:0}

.content h2{margin-top:0}
.bullets{padding-left:18px}

.download-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin:10px 0 24px}
.download{display:block; background:#fff; border:1px solid var(--line); border-radius:12px; padding:12px 14px; text-decoration:none; color:var(--ink)}
.download:hover{border-color:#94a3b8}

.submit-form{background:#fff; border:1px solid var(--line); border-radius:16px; padding:20px; box-shadow:0 6px 20px rgba(2,6,23,.04)}
.submit-form label{display:block; font-weight:600; margin:12px 0 8px}
.submit-form input, .submit-form textarea, .submit-form select{
  width:100%; padding:10px; border:1px solid #cbd5e1; border-radius:10px; font:inherit
}
.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.actions{display:flex; gap:12px; margin-top:10px}

.awards-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.award-card{background:#fff; border:1px solid var(--line); border-radius:12px; padding:16px}

.team-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:16px; padding:10px 0}
.person{background:#cce8ff; border:5px solid var(--line) #0e72cf; border-radius:16px; padding:30px; text-align:center; width: 280px}
.person-int{background:#cce8ff; border:5px solid var(--line) #0e72cf; border-radius:16px; padding:30px; text-align:center; width: 240px}
.person-int img{width: 100%; image-rendering: auto; max-width: 400px; aspect-ratio:1/1; object-fit:cover; border-radius:999px; display:block; margin:0px auto 5px;  
  padding: 6px; /* spacing between image and border */
  border: 3px solid #0055a5; /* adjust color and thickness */
  background-color: #cce8ff;}
.person img{width: 100%; image-rendering: auto; max-width: 400px; aspect-ratio:1/1; object-fit:cover; border-radius:999px; display:block; margin:0px auto 5px;  
  padding: 6px; /* spacing between image and border */
  border: 3px solid #0055a5; /* adjust color and thickness */
  background-color: #cce8ff;}


.proceedings-list{padding-left:18px}
.note{color:var(--muted)}
.muted{color:var(--muted)}

.site-footer{margin-top:40px; background:#0b1020; color:#dbeafe}
.site-footer a{color:#a5b4fc}
.footer-grid{display:grid; grid-template-columns:2fr 1fr 1fr; gap:20px; padding:28px 0}
.footer-grid h4{margin:0 0 8px; color:#fff}
.footer-bottom{border-top:1px solid #1f2937; padding:12px 0; color:#94a3b8;}

.hero-art img{width:100%; max-width:420px}

/* Responsive */
@media (max-width: 960px){
  .hero-inner{grid-template-columns:1fr; text-align:center}
  .cards{grid-template-columns:1fr}
  .awards-grid{grid-template-columns:1fr}
  .team-grid{grid-template-columns:repeat(2,1fr)}
  .grid-2{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .nav{display:none; position:absolute; right:16px; top:64px; background:#fff; border:1px solid var(--line); border-radius:12px; padding:12px; flex-direction:column; min-width:220px}
  .hamburger{display:block}
  .nav.open{display:flex}
}

/* 0) Never let anything cause horizontal scroll */
html, body { overflow-x: hidden; }
img, video, canvas, svg { max-width: 100%; height: auto; }

/* Long words / links won’t blow the layout */
*, *::before, *::after { word-wrap: break-word; overflow-wrap: anywhere; }

/* 1) Make the nav collapse earlier (when window is not maximized) */
@media (max-width: 1200px){
  .nav{
    display:none; 
    position:absolute; 
    right:16px; top:64px; 
    background:#fff; 
    border:1px solid var(--line); 
    border-radius:12px; 
    padding:12px; 
    flex-direction:column; 
    min-width:220px;
    box-shadow:0 10px 24px rgba(2,6,23,.08);
  }
  .nav.open{ display:flex; }
  .hamburger{ display:block; }
}

/* 2) Ease the layout sooner on medium widths */
@media (max-width: 1200px){
  .hero-inner{ grid-template-columns: 1fr 1fr; }
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .awards-grid{ grid-template-columns: repeat(2, 1fr); }
  .team-grid{ grid-template-columns: repeat(3, 1fr); }
}

/* 3) Tablet and below: stack to single column */
@media (max-width: 768px){
  .hero-inner{ grid-template-columns: 1fr; text-align: center; }
  .cards,
  .awards-grid{ grid-template-columns: 1fr; }
  .team-grid{ grid-template-columns: repeat(2, 1fr); }
  .grid-2{ grid-template-columns: 1fr; }
}

/* 4) Small phones: make everything comfortable */
@media (max-width: 480px){
  .header-inner{ padding: 0 8px; }
  .brand{ font-size: 1rem; }
  .hero-copy h1{ font-size: 1.9rem; }
  .btn{ padding: 9px 14px; }
  .container{ padding: 0 16px; }
}

@media (max-width: 1180px) {
  nav.nav {
    display: none;
  }
}

@media (max-width: 1180px) {
  .nav {
    display: none !important;
  }
}



.hero-banner img {
  margin-top: 0;
  display: block;
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-bottom: 1px solid #e5e7eb;
}

.hero-inner.stacked {
  display: block;
  text-align: center;
  padding-top: 30px;
}

.timeline-wrapper {
  position: relative;
  margin: 0 auto 40px auto; /* Horizontally center */
  padding-left: 2px;
  border-left: 2px solid #e5e7eb;
  max-width: 600px;
  
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 20px;
}

.timeline-dot {
  position: absolute;
  left: -10px;
  top: 4px;
  width: 14px;
  height: 14px;
  background-color: #080051; /* Dark maroon */
  border-radius: 50%;
  z-index: 1;
  border: 2px solid white;
  box-shadow: 0 0 0 2px #080051;
}

.timeline-content p {
  margin: 0;
  color: #0f766e;
  font-weight: 600;
  font-size: 0.9rem;
}

.timeline-content del {
  color: #94a3b8;
}

.timeline-content h3 {
  margin: 6px 0 0;
  font-size: 1.1rem;
  color: #02142c; /* amber-700 */
  font-weight: 700;
}

#timeline .container {
  display: block;
  text-align: center; /* Optional for heading */
}

.countdown {
  margin: 5px 0;
  text-align: center;
}
.countdown-title {
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #475569;
}
#countdown-timer {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.time-box {
  background: #0b1020;
  color: #ffffff;
  font-family: 'Courier New', monospace;
  padding: 14px;
  border-radius: 6px;
  width: 90px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  height: 70px;
}
.time-box span {
  font-size: 2rem;
  display: block;
}
.time-box small {
  font-size: 0.75rem;
  color: #d1d5db;
}

details {
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 0.75rem 1rem;
  background-color: #f7f8fa;
}

details summary {
  position: relative;
  padding-right: 2rem; /* Add space for arrow */
}

details summary::-webkit-details-marker {
  display: none; /* Hide default triangle */
}

details summary::after {
  content: '▾'; /* Unicode down arrow */
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #333;
  transition: transform 0.2s ease;
}

/* Rotate the arrow when open */
details[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.bullets {
  margin-top: 0.5rem;
  margin-left: 1.5rem;
  list-style-type: disc;
  color: #333;
}

.template-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.template-card {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.template-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #222;
}

.template-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

.template-card .btn {
  display: inline-block;
  margin-top: 0.5rem;
}

.footer-logos {
  margin-top: 0.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-logo {
  height: 100px;
  object-fit: contain;
  margin: 0;      /* Remove default margin if present */
  padding: 0;     /* Remove padding */
}

.speakers-section {
  background-color: #f7f9fc;
  padding: 60px 20px;
}

.speaker-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.speaker-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 20px;
  width: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.speaker-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.speaker-header img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.speaker-header h4 {
  font-size: 1.2rem;
  margin: 0 0 4px 0;
}

.speaker-header p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

.speaker-bio {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  justify-content: center;
  margin-bottom: 1rem;
}

.team-grid.single-row {
  justify-content: center;
}

.team-grid.two-cols {
  justify-content: space-around;
}

.person-duo {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.person {
  width: 200px;
  text-align: center;
}

.person h3 {
  line-height: 1.6; /* or any value like 1.8, 2, etc. */
}

.track-block {
  margin-bottom: 30px;
}

.track-block h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #444;
}



.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: bold;
  font-size: 1.3rem;
  color: #000000;
  text-decoration: none;
  margin-right: auto;
  width:200px;
}

.nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.cta {
  background-color: #007bff;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  text-decoration: none;
}

.menu-toggle-wrapper {
  position: relative;
  margin-left: 2rem;
}

.hamburger {
  display: inline-block;
  flex-shrink: 0;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.3rem;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #000;
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* Dropdown menu */
.hamburger-menu {
  display: none;
  position: absolute;
  top: 40px;
  right: 0;
  background: white;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  flex-direction: column;
  z-index: 1000;
}

.hamburger-menu a {
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  color: #333;
  white-space: nowrap;
}

.hamburger-menu a:hover {
  background-color: #f3f3f3;
}

/* Show menu when hamburger is clicked */
.hamburger.active + .hamburger-menu,
#hamburger-menu.show {
  display: flex;
}

.author-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: bold;
  margin: 6rem 0 1rem 0;
}

.author-title::before,
.author-title::after {
  content: "";
  display: block;
  height: 2px;
  background-color: #333; /* adjust line color */
  width: 100%;
  margin: 1rem auto;
}

.author1-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 6rem 0 1rem 0;
}

.template-btn {
  background-color: #0055a5; /* Change to your desired color */
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  transition: background-color 0.3s ease;
  margin-bottom: 16px;
  margin-right: 15px;
  /*margin: 2rem 2rem 0rem 0;*/
}

.template-btn:hover {
  background-color: #003d7a; /* Darker on hover */
  color: #fff;
}

.keynote-section {
  background: #e5e7eb; /* black background */
  padding: 60px 20px;
  text-align: center;
}

.section-title {
  font-size: 36px;
  color: #0055a5; /* gold */
  font-weight: bold;
  margin-bottom: 40px;
  border-top: 2px solid #0055a5;
  border-bottom: 2px solid #0055a5;
  display: inline-block;
  padding: 10px 20px;
}

.keynote-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 80px;
}

.keynote-card {
  background-color: #111;
  border: 2px solid #0055a5;
  border-radius: 20px;
  padding: 30px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease;
}

.keynote-card:hover {
  transform: translateY(-8px);
}

.keynote-card img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #0055a5; /* blue border */
  margin: 0 auto 20px auto;   /* Center horizontally + bottom spacing */
  background: #fff;
  display: block;             /* Required for margin auto to work */
}
.keynote-name {
  background-color: #0055a5;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 20px;
}

.read-more-btn {
  display: inline-block;
  background-color: transparent;
  color: #0055a5;
  border: 1px solid #0055a5;
  padding: 8px 20px;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s ease;
}

.read-more-btn:hover {
  background-color: #0055a5;
  color: #fff;
}

.brand-logo {
  height: 30px; /* adjust as needed */
  width: auto;
  display: block;
  margin-left: 10px;
}

/* Author guidelines section */
section ul li {
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Wrapper for submenu */
.submenu-wrapper {
  position: relative;
  padding: 15px 0px 15px 0px;
}

/* Hide submenu by default */
.submenu {
  display: none;
  flex-direction: column;
  position: absolute;
  right: 100%; /* Position it to the left */
  top: 0;
  background: white;
  border: 1px solid #ccc;
  padding: 0.5rem;
  z-index: 10;
  border-radius: 6px;
  padding: 12px 0px 12px 0px;
}

/* Show submenu on hover */
.submenu-wrapper:hover .submenu {
  display: flex;
}

/* Optional: Styling submenu links */
.submenu a {
  padding: 10px 10px;
  color: #333;
  white-space: nowrap;
}

.submenu a:hover {
  background-color: #f0f0f0;
}

.profile-link {
  margin-left: 8px;
  font-size: 0.9em;
  text-decoration: none;
  color: inherit;
}

.profile-link:hover {
  color: #0055a5; /* Adjust to match your theme */
}


.register-highlight {
  margin-top: 1.2em;
  text-align: center;
}

.register-highlight a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #d63447; /* Bright red or your theme color */
  color: #fff;
  font-weight: 600;
  font-size: 1.05em;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.register-highlight a:hover {
  background-color: #a82834;
  transform: translateY(-2px);
}

.registration-table-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.registration-table {
  border-collapse: collapse;
  width: 80%;
  max-width: 600px;
  text-align: center;
  font-size: 1rem;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.registration-table th,
.registration-table td {
  border: 1px solid #ccc;
  padding: 12px 16px;
}

.registration-table th {
  background-color: #004466;
  color: #fff;
  font-weight: 600;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1rem;
}

.payment-method {
  background-color: #f5f5f5;
  padding: 1.5rem 2rem;
  border-left: 6px solid #004466;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.payment-method h3 {
  color: #004466;
  margin-bottom: 0.5rem;
}

.payment-method p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.register-cta {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem 0;
  background-color: #f9f9f9;
  border-top: 2px solid #e0e0e0;
  border-bottom: 2px solid #e0e0e0;
}

.register-cta p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.register-cta .btn.primary {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background-color: #004466;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}

.register-cta .btn.primary:hover {
  background-color: #006080;
}

.alert-banner {
  background-color: #fff3cd;
  border-left: 6px solid #ffcc00;
  padding: 20px;
  margin: 20px auto;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: #856404;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  max-width: 800px;
  text-align: center;
}

.alert-banner .highlight-postponed {
  font-weight: bold;
  color: #d9534f;
}
