:root{
  --bg: #f7f8fc;
  --bg2: #ffffff;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: rgba(15,23,42,.12);
  --radius: 18px;
  --shadow: 0 10px 28px rgba(15,23,42,.12);
  --max: 1200px;

  /* Accent gradient used for buttons/marks */
  --accent1: #a42912; /* red-600 */
  --accent2: #D22B43; /* rose-500 */ 
}

@font-face {
  font-family: 'MyStarTrekFont';
  src: url('final-frontier-old-style-font/FinalFrontierOldStyle-8Pg.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color:var(--text);
  background: linear-gradient(180deg, #ffffff, var(--bg));
  line-height:1.5;
}

body::after {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.3; /* Adjust transparency (0 to 1) */
    pointer-events: none; /* Allows clicks to pass through the watermark to the content underneath */
    z-index: -1; /* Ensures the watermark stays behind all other content */
    display: flex; /* Centers the text */
    align-items: center; /* Centers the text */
    justify-content: center; /* Centers the text */
    font-size: 10vw; /* Makes the text scale with the viewport width */
    transform: rotate(-30deg); /* Rotates the watermark */
    color: #ccc; /* Text color */
    user-select: none; /* Prevents text selection */
}

.brand-logo {
  height: 100px;
  width: auto;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.wrap{
  width:min(var(--max), calc(100% - 2rem));
  margin-inline:auto;
  animation: fadeIn 0.3s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-wrap{
  width:min(var(--max), calc(100% - 2rem));
  margin-inline:auto;
  margin-top: -7ch;
}

.skip{
  position:absolute; left:-999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:1rem; top:1rem; width:auto; height:auto;
  background:var(--card); padding:.6rem .8rem; border-radius:10px;
  outline:2px solid rgba(99,102,241,.35);
}

.menubar {  
  display: flex;
  flex-direction: row;
  gap: 0.3rem;
  z-index: 100;
}

.menubar a {
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  color: var(--text);
  transition: background 0.2s;
}

.menubar a:hover {
  background: rgba(15, 23, 42, 0.05);
  text-decoration: none;
}

/* Header */
.site-header{
  position:sticky; top:0; z-index:10;
  background: rgb(255, 255, 255);
  backdrop-filter: blur(8px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:.9rem 0;
  gap:1rem;
}
.brand{ display:flex; align-items:center; gap:.6rem; font-weight:800; }
.brand-text{ letter-spacing:-0.01em; }
.brand-mark{
  width:14px; height:14px; border-radius:6px;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  box-shadow: 0 0 0 4px rgba(99,102,241,.10);
}

.nav a{ color:var(--muted); }
.nav a:hover{ color:var(--text); text-decoration:none; }

.nav-desktop{ display:flex; gap:1.2rem; align-items:center; }
.nav-mobile{ display:none; }
.nav-mobile summary{
  cursor:pointer;
  padding:.5rem .7rem;
  border:1px solid var(--line);
  border-radius:12px;
  list-style:none;
  background: var(--card);
}
.nav-mobile summary::-webkit-details-marker{ display:none; }
.nav-mobile nav{
  margin-top:.6rem;
  display:flex; flex-direction:column; gap:.6rem;
  padding:.8rem;
  border:1px solid var(--line);
  border-radius:14px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.nav .btn {
  color: #ffffff;
}

/* Buttons */
.btn{
  display:inline-block;
  padding:.85rem 1.1rem;
  border-radius: 14px;
  border:1px solid rgba(15,23,42,.12);
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(15,23,42,.14);
  text-decoration:none;
}
.btn:hover{ text-decoration:none; filter: brightness(1.03); }

.btn-ghost{
  background: transparent;
  color: var(--text);
  border:1px solid rgba(15,23,42,.14);
  box-shadow:none;
}

.btn-small{ padding:.55rem .8rem; border-radius:12px; }
.btn-wide{ width:100%; text-align:center; }

/* Hero */
.hero{ 
  position: relative;
  overflow: hidden;
  padding: 4rem 0 5rem; 
  animation: fadeIn 0.3s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}
.hero-copy {
  width: 100%;
}

.hero-title-bg{
  width: 100%;
  background-image: url("photos/SummitCover.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 180px;
  margin-top: -100px;
  position: relative;
}

/* gradient overlay */
.hero-title-bg::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, transparent 0%, transparent 50%, black 100%);
  pointer-events: none; 
  z-index: 1;
}

.hero-title-bg h1 {
  position: relative;
  z-index: 2;
}

h1{
  font-family: 'MyStarTrekFont', sans-serif;
  font-size: clamp(13rem, 8vw, 15rem);
  line-height: 0.9;
  margin: 0;
  font-weight: 800;
  text-align: right;
  letter-spacing: -0.03em;
  color: white;

  padding: 4rem 6vw;
}
.kicker{
  color: rgba(255, 255, 255, 0.9); 
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.85rem;
  margin:0 0 1rem;
}
.lede{
  color:var(--muted);
  margin: 5rem 0 3rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cta-row{ 
  display:flex; gap:.8rem; flex-wrap:wrap; margin-bottom:1.2rem; 
  margin-top: 2rem;
  justify-content: center;
}
.meta{
  list-style:none; padding:0; margin:0;
  display:grid; gap:.4rem;
  color:var(--muted);
  font-size: 2rem;
}
.meta strong{ color:var(--text); font-weight:700; }

.meta2{
  list-style:none; padding:0; margin:0;
  display:grid; gap:.2rem;
  color:var(--muted);
  font-size: 1.5rem;
}
.meta2 strong{ color:var(--text); font-weight:700; }

/* Countdown Timer */
.countdown-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin: 6rem 0 1.5rem;
  width: 100%;
}

.countdown-header {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0;
  text-align: center;
  letter-spacing: 0.5ch;
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  flex-wrap: wrap;
  width: 100%;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 1.2rem 1.2rem;
  min-width: 90px;

}

.countdown-number {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--accent1);
  text-shadow: 0 2px 8px rgba(164, 41, 18, 0.2);
  margin-bottom: 0.25rem;
}

.countdown-label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin: 0;
}

/* Sections */
.section{ padding: 3.2rem 0; }
.section-alt{
  background: #f1f5f9;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-cta{
  background: linear-gradient(180deg, #ffffff, #f1f5f9);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}


h2{
  grid-area: h2;
  font-size: clamp(5.5rem, 7vw, 4rem);
  line-height:1.1;
  margin:0 0 .8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  align-self: center;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  border-radius: 4px;
}

.section-head {
  margin-bottom: 3rem;  
}

.title{
  grid-area: h3;
  position: relative;
  font-size: clamp(3rem, 4vw, 2rem);
  line-height:1.1;
  margin:0 0 .8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3ch;
}

.wrap-sponsors{
grid-area: h3;
  position: relative;
  color:var(--muted);
  line-height:1.1;
  max-width: 110ch;
  margin:0 0 1.8rem;  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: justify;
  margin: 0 auto;
  animation: fadeIn 0.3s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section-lede{
  color:var(--muted);
  max-width: 110ch;
  margin:0 0 1.8rem;
}

/* Cards & grids */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
  padding-top: 0.5rem;
  padding-bottom: 1.5rem;
  
  /* Add animation */
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}



.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(164, 41, 18, 0.15);
  border-color: var(--accent1);
}
.card-title{ margin:0 0 .7rem; font-size:1.2rem; }

.grid-3{
  display:grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Definition list */
.dl{ margin:0 0 1rem; }
.dl div{
  display:flex; justify-content:space-between; gap:1rem;
  padding:.55rem 0;
  border-bottom:1px solid var(--line);
}
.dl dt{ color:var(--muted); }
.dl dd{ margin:0; font-weight:700; }

/* Timeline */
.timeline{ display:grid; gap:.8rem; }
.slot{
  display:grid;
  grid-template-columns: 90px 1fr;
  gap:1rem;
  padding: .9rem .8rem;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.75);
}
.time{ color:var(--muted); font-variant-numeric: tabular-nums; }
.what h3{ margin:.1rem 0 .25rem; }
.what p{ margin:0; }

/* CTA / form */
.cta{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.4rem;
  align-items:start;
}
.form{
  display:grid;
  gap:.8rem;
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}
label{ display:grid; gap:.35rem; color:var(--muted); font-size:.95rem; }
input, textarea{
  width:100%;
  padding:.75rem .8rem;
  border-radius: 12px;
  border:1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.9);
  color: var(--text);
}
input:focus, textarea:focus{
  outline: 2px solid rgba(99,102,241,.25);
  border-color: rgba(99,102,241,.35);
}

/* Fine print */
.fineprint{ color:var(--muted); font-size:.95rem; margin:.1rem 0 0; }

/* Partners Section */
.partners-section {
  padding: 4rem 0;
  background: #f8f9fa;
  border-top: 1px solid var(--line);
}

.partners-title {
  text-align: center;
  margin: 0 0 3rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--text);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.partner-logo {
  width: 100%;
  max-width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.partner-logo img {
  width: 150%;
  height: 170%;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 900px){
  .hero-inner{ grid-template-columns:1fr; }
  .cta{ grid-template-columns:1fr; }
  .grid-3{ grid-template-columns:1fr; }
  .grid-2{ grid-template-columns:1fr; }
}
@media (max-width: 800px){
  .nav-desktop{ display:none; }
  .nav-mobile{ display:block; }
  .grid-speakers{ grid-template-columns: 1fr; }
}

/* Schedule Tabs */
.tab-buttons {
  display: flex;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.9rem 2rem;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 550;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text);
}

.tab-btn:hover {
  background: rgba(164, 41, 18, 0.05);
  border-color: var(--accent1);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  color: white;
  border-color: transparent;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0.5; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-pane h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent1);
  padding-bottom: 0.5rem;
}


/* Sponsors Page Styling */
.sponsors-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.sponsors-main-title {
  font-family: sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  color: #0f172a;
  margin: 0 0 1rem;
  font-weight: 800;
  text-align: center;
}

/* About Section Styles */

/* Section Lede Styles */
.about-wrap .section-lede {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(to right, rgba(164, 41, 18, 0.03), transparent);
  border-left: 4px solid var(--accent1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.about-wrap .section-lede:hover {
  background: linear-gradient(to right, rgba(164, 41, 18, 0.06), transparent);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(164, 41, 18, 0.1);
}

.about-wrap h3.section-lede {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent1);
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(164, 41, 18, 0.08), rgba(210, 43, 67, 0.08));
  border: none;
  border-radius: 16px;
  margin: 3rem 0;
  box-shadow: 0 8px 24px rgba(164, 41, 18, 0.12);
}

/* 2x2 Grid for Main Sections */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-grid .about-card {
  background: linear-gradient(135deg, #ffffff, #fafbfc);
  border: 2px solid rgba(164, 41, 18, 0.1);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-grid .about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.about-grid .about-card:hover::before {
  transform: scaleX(1);
}

.about-grid .about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(164, 41, 18, 0.15);
  border-color: var(--accent1);
}

.about-grid .about-card h3 {
  font-size: 1.4rem;
  color: var(--accent1);
  margin-bottom: 1rem;
  font-weight: 700;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid rgba(164, 41, 18, 0.1);
}

.about-grid .about-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}

/* 3-Column Grid for Why It Matters */
.about-wrap .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.about-wrap .card {
  background: linear-gradient(135deg, #ffffff, #fafbfc);
  border: 2px solid rgba(164, 41, 18, 0.1);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: auto;
  display: flex;
  flex-direction: column;
}

.about-wrap .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.about-wrap .card:hover::before {
  transform: scaleX(1);
}

.about-wrap .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(164, 41, 18, 0.15);
  border-color: var(--accent1);
}

.about-wrap .card h3 {
  font-size: 1.6rem;
  color: var(--accent1);
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
}

.about-wrap .card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

.about-wrap .card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.about-wrap .card ul li {
  padding: 0.6rem 0 0.6rem 2rem;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  transition: all 0.2s ease;
}

.about-wrap .card ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent1);
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.2s ease;
}

.about-wrap .card ul li:hover {
  padding-left: 2.5rem;
  color: var(--accent1);
}

.about-wrap .card ul li:hover::before {
  left: 0.5rem;
}

.about-wrap .card ul ul {
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

.about-wrap .card ul ul li {
  font-size: 1rem;
  padding: 0.4rem 0 0.4rem 1.5rem;
}

.about-wrap .card ul ul li::before {
  content: '◦';
  font-size: 1rem;
}

/* CTA Card */
.about-wrap .about-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(164, 41, 18, 0.08), rgba(210, 43, 67, 0.08));
  border: 2px solid rgba(164, 41, 18, 0.2);
  margin-top: 2rem;
}

.about-wrap .about-cta h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: none;
  padding-bottom: 0;
}

.about-wrap .about-cta .section-lede {
  font-size: 1.3rem;
  margin-bottom: 0;
  padding: 0;
  background: none;
  border-left: none;
}

.section-title-highlight {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: var(--text);
  margin: 3rem 0;
  padding: 1rem;
  letter-spacing: -0.02em;
  position: relative;
  display: block;
}

.section-title-highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  border-radius: 2px;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .about-wrap .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-wrap .section-lede {
    font-size: 1.05rem;
    padding: 1rem;
  }
  
  .about-wrap h3.section-lede {
    font-size: 1.5rem;
    padding: 1.5rem;
  }
  
  .about-wrap .card {
    padding: 1.5rem;
  }
  
  .about-wrap .card h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .about-wrap .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #000000 0%, #2d2d2d 100%);
  color: #ffffff;
  border-top: 4px solid;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  width: 350px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent2);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.footer-address {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.footer-contact {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0.5rem 0 0;
}

.footer-contact strong {
  color: #ffffff;
  font-weight: 600;
}

.footer-contact a,
.footer-social a {
  color: var(--accent2);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover,
.footer-social a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-social li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-social strong {
  color: #ffffff;
  font-weight: 600;
  margin-right: 0.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.footer-bottom nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-bottom nav a:hover {
  color: var(--accent2);
  text-decoration: none;
}

.footer-separator {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 0.3rem;
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom nav {
    justify-content: center;
  }
}

.presentations-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.presentation-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.presentation-item:hover {
  border-color: var(--accent1);
  box-shadow: 0 4px 16px rgba(164, 41, 18, 0.10);
}

.presentation-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 0.85rem 1.1rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  font-family: inherit;
  line-height: 1.4;
  transition: background 0.15s ease;
}

.presentation-btn:hover {
  background: rgba(164, 41, 18, 0.04);
}

.presentation-btn[aria-expanded="true"] {
  background: rgba(164, 41, 18, 0.06);
  color: var(--accent1);
}

.presentation-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(164, 41, 18, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.2s ease;
}

.presentation-btn[aria-expanded="true"] .presentation-chevron {
  transform: rotate(180deg);
  background: var(--accent1);
  color: #fff;
}

.presentation-chevron svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: color 0.2s ease;
}

.presentation-btn[aria-expanded="true"] .presentation-chevron svg {
  color: #fff;
}

.presentation-desc {
  display: none;
  padding: 0 1.1rem 1.1rem;
  animation: descFadeIn 0.25s ease;
  border-top: 1px solid rgba(164, 41, 18, 0.08);
}

.presentation-desc.open {
  display: block;
}

@keyframes descFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.presentation-desc p {
  margin: 0.9rem 0 0.5rem;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

.speaker-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0.4rem 0.8rem;
  background: rgba(164, 41, 18, 0.06);
  border: 1px solid rgba(164, 41, 18, 0.18);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent1);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.speaker-tag:hover {
  background: var(--accent1);
  color: #fff;
  text-decoration: none;
}

.speaker-tag svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.slot .what .presentations-list {
  margin-top: 0.5rem;
}

.time {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}
.time-end {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
}

.committee-members {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.committee-members-header {
  display: flex;
  align-items: baseline;
  gap: 6rem;
  margin-bottom: 2rem;
}

.committee-members-header h3 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.02em;
}

.committee-members-header .member-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent1);
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  letter-spacing: 0.02em;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
 
.member-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem; 
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.4s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.member-pill:hover {
  border-color: rgba(164, 41, 18, 0.3);
  box-shadow: 0 4px 14px rgba(164, 41, 18, 0.08);
  transform: translateY(-2px);
}

.member-info {
  min-width: 0;
}
 
.member-name {
  margin: 0 0 6px 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1e293b;
}

.member-dept {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}
 
@media (max-width: 900px) {
  .members-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .members-grid {
    grid-template-columns: 1fr;
  }
}

.sponsor-section {
  margin: 4rem 0;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding-bottom: 3rem;
}

.sponsor-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.sponsor-text {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.sponsor-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--accent1);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 3rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sponsor-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.sponsors-list {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.sponsors-heading {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text);
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 2rem;
}

.sponsor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  padding: 1.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-color: rgba(164, 41, 18, 0.25);
}

.sponsor-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.sponsor-logo img {
  max-height: 100%;
  max-width: 140px;
  object-fit: contain;
}

.sponsor-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}





.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  overflow: auto;
}

.modal.show {
  display: block;
}

.modal-content {
  background: #ffffff;
  margin: 3% auto;
  padding: 2.5rem;
  width: 90%;
  max-width: 750px;
  border-radius: 20px;
  position: relative;
  animation: modalFadeIn 0.3s ease;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Custom scrollbar for modal content */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--accent1);
  border-radius: 10px;
}

.modal-close {
  position: absolute;
  right: 24px;
  top: 20px;
  font-size: 32px;
  font-weight: 300;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
  line-height: 1;
  z-index: 10;
}

.modal-close:hover {
  color: var(--accent1);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal.show {
  display: block;
}

/* Modal body typography - matching screenshot */
.modal-body h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}

.modal-body h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
  border-bottom: none;
}

.modal-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent1);
  margin: 0 0 1.5rem 0;
  padding-bottom: 0;
  border-bottom: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-body h2::after,
.modal-body h3::after,
.modal-body #modal-name::after,
.modal-body #modal-about::after {
  display: none !important;
}

.modal-body p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.2rem;
}

/* Optional: Add a subtle separator line */
.modal-body hr {
  margin: 1.5rem 0;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(164, 41, 18, 0.2), transparent);
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .modal-content {
    margin: 5% auto;
    padding: 1.8rem;
    width: 95%;
  }
  
  .modal-body h1 {
    font-size: 1.6rem;
  }
  
  .modal-body h2 {
    font-size: 1.1rem;
  }
  
  .modal-body p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* Modal image styling */
.modal-image {
  width: auto;
  height: 200px;
  object-fit: cover;
  margin: 0 0 1rem 0;
  display: block;
  align-items: left;
  text-align: left;
}

/* Different sizes for different screens */
@media (max-width: 768px) {
  .modal-image {
    width: 90px;
    height: 90px;
  }
}

/* ── Speaker grid ── */

.grid-speakers{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
  animation: fadeIn 0.3s ease;
}

@media (max-width: 1024px) {
  .grid-speakers { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .grid-speakers { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .grid-speakers { grid-template-columns: repeat(2, 1fr); }
}

/* ── Individual speaker card ── */
/* Speakers */
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}

.speaker {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.speaker:hover {
  transform: translateY(-4px);
}

.avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #ddd;
  margin-bottom: 1rem;
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ── Speaker text ── */
.speaker-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.speaker-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

.speaker-about {
  margin: 0;
  font-size: 0.82rem;
  color: #475569;
  font-weight: 400;
  line-height: 1.4;
}

.speaker-details-link {
  display: none; /* hidden — clicking the whole card opens modal */
}

.modal-speaking {
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  background: #f1f5f9;
  border-radius: 8px;
  font-size: 0.88rem;
  width: 100%;
  text-align: left;
}
.speaking-title { margin-right: 0.4rem; }
.speaking-link { color: #2563eb; text-decoration: underline; }
