:root {
  --primary: #0b3c5d;
  --secondary: #8b0000;
  --accent: #d4af37;
  --bg: #f6f8fa;
  --surface: #ffffff;
  --text: #1f2933;
  --muted: #5b6570;
  --line: #d8e0e8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
  background: #fff;
  border: 2px solid #000;
  padding: 8px 10px;
  z-index: 9999;
}

/* Glassmorphism Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  position: relative;
}

.navbar.container {
  width: min(1380px, 98%);
}

.nav-brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-brand .brand-text {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

/* Nav Links & CTA */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 14px;
  align-items: center;
}

.nav-links a {
  font-family: 'Poppins', 'Open Sans', sans-serif;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-links a:not(.btn-register)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover:not(.btn-register),
.nav-links a.active:not(.btn-register) {
  color: var(--primary);
}

.nav-links a:hover:not(.btn-register)::after,
.nav-links a.active:not(.btn-register)::after {
  width: 100%;
}

.btn-register {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(11, 60, 93, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 60, 93, 0.3);
}

/* Hamburger Menu CSS Hack */
.menu-checkbox {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.hamburger .bar {
  width: 26px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.page-container {
  min-height: 72vh;
}

.hero {
  position: relative;
  min-height: 30vh;
  display: grid;
  place-items: center;
  background: url("../images/hero-campus.png") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(42, 42, 43, 0.7), rgba(0, 0, 0, 0.7)), url('https://res.cloudinary.com/dv7jsvmit/image/upload/v1776610422/image_eu8hnz.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #f5f5f5; /* soft white instead of pure white */
  text-align: center;
  padding: 30px 0;
}

.hero-content h1 {
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  color: #e0e0e0;
}

.hero-content .highlight {
  color: #f4c542; /* golden accent (matches your buttons) */
}


.hero h1 {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 10px 0;
}

.hero-subtitle {
  max-width: 780px;
  margin: 0 auto;
}

.cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  padding: 10px 16px;
  font-weight: 600;
}

.btn.primary {
  color: #222;
  background: var(--accent);
  border-color: var(--accent);
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: #ebf1f7;
}

.section-title {
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--primary);
  margin: 0 0 20px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(10, 48, 73, 0.06);
}

/* Page Banner */
.page-banner {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
  background: url("../images/hero-campus.png") center/center/cover no-repeat;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.page-banner-content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
}

.page-banner h1 {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 3.2rem;
  margin: 0;
  font-weight: 700;
}

.title-underline {
  height: 4px;
  width: 60px;
  background-color: #0b5394;
  margin: 8px auto 0;
}

.banner-lg {
  min-height: 450px;
}

.banner-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.btn-banner {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 40px;
  transition: all 0.25s ease;
}

.btn-banner.solid {
  background-color: #077a7f;
  color: #fff;
  border: 2px solid #077a7f;
}

.btn-banner.solid:hover {
  background-color: #066b6f;
  border-color: #066b6f;
}

.btn-banner.outline {
  background-color: transparent;
  color: #fff;
  border: 2px solid #077a7f;
}

.btn-banner.outline:hover {
  background-color: #077a7f;
}

/* Speaker Cards */
.speaker-card {
  text-align: center;
}

.speaker-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 2px;
}

.speaker-card h3 {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 1.15rem;
  margin: 0 0 6px;
}

.speaker-card h3 a {
  color: #0b5394;
  text-decoration: underline;
  font-weight: 600;
}

.speaker-card .role {
  font-style: italic;
  font-size: 0.95rem;
  margin: 0 0 8px;
  color: #333;
  line-height: 1.4;
}

.speaker-card .affiliation {
  font-weight: bold;
  font-style: italic;
  font-size: 0.85rem;
  margin: 0;
  color: #111;
  line-height: 1.4;
}

/* About ICRAME Section */
.about-section {
  padding: 60px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content {
  color: #333;
  line-height: 1.7;
  font-size: 1.05rem;
}

.about-title {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.4rem;
  text-transform: uppercase;
  color: #1a202c;
  margin-top: 0;
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.about-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-logo-card {
  background: var(--surface);
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
  width: 100%;
  max-width: 350px;
}

.about-logo-card img {
  width: 80%;
  height: auto;
  margin-bottom: 8px;
}

.about-logo-card .logo-note {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

/* Venue Details Section */
.venue-details {
  padding: 10px 0;
}

.venue-title {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #2c2c2c;
  margin-bottom: 20px;
  line-height: 1.3;
}

.venue-text {
  font-size: 1.25rem;
  color: #555;
  margin: 0 0 10px 0;
  line-height: 1.5;
}

.venue-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  font-size: 1.25rem;
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
}

.venue-map-link span {
  color: #e62050;
  /* A pink-red shade for the pin */
  font-size: 1.4rem;
}

.venue-map-link:hover {
  text-decoration: underline;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--primary);
  background: #f1f6fb;
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline-item {
  border: 1px solid var(--line);
  border-left: 5px solid var(--primary);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
}

.timeline-item span {
  display: block;
  color: var(--secondary);
  font-weight: 700;
}

/* Important Dates List */
.important-dates-content {
  padding: 10px 0;
}

.dates-list {
  list-style-type: disc;
  padding-left: 30px;
  color: #333;
  font-size: 1.1rem;
  line-height: 2.4;
  margin: 0;
}

.dates-list li {
  margin-bottom: 12px;
}

.dates-list li::marker {
  color: #444;
}

/* Proceedings Publication */
.pub-section {
  padding: 60px 0;
}

.pub-title {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #1a202c;
  margin-top: 0;
  margin-bottom: 20px;
}

.pub-desc {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 50px;
  max-width: 1050px;
}

.pub-subtitle {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0b3c5d;
  margin-bottom: 25px;
}

.pub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pub-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding: 25px 25px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pub-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pub-img-wrap {
  width: 100%;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}

.pub-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pub-card-title {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  color: #0b3c5d;
  font-size: 1.1rem;
  margin: 0;
}

/* Committee Section */
.committee-title {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #1a202c;
  margin-top: 0;
  margin-bottom: 10px;
}

.committee-divider {
  border: 0;
  height: 3px;
  background-color: #a4b5b5;
  margin-bottom: 30px;
}

.committee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.committee-column {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.committee-block h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a202c;
  margin: 0 0 10px 0;
}

.committee-block ul {
  list-style-type: none;
  /* Changed based on image styling, or disc, but image had tiny bullets */
  padding-left: 0;
  margin: 0;
}

.committee-block ul li {
  position: relative;
  padding-left: 15px;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 8px;
}

.committee-block ul li::before {
  content: "•";
  color: #444;
  position: absolute;
  left: 0;
}

.committee-block ol {
  list-style-type: decimal;
  padding-left: 20px;
  margin: 0;
}

.committee-block ol li {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 8px;
}

.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  /* cards natural height — no bleed into sibling sections */
  width: 100%;
}

.about-cards-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.note {
  color: var(--muted);
}

.footer {
  background: #082b43;
  color: #c9dae7;
  padding: 22px 0;
}

.footer a {
  color: #c9dae7;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 4%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 0 20px;
    width: 250px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
  }

  .nav-links {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    margin: 20px 0;
  }

  /* Checkbox Hack Logic */
  .menu-checkbox:checked~.nav-menu {
    max-height: 500px;
    opacity: 1;
    padding: 10px 20px;
  }

  .menu-checkbox:checked~.hamburger .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-checkbox:checked~.hamburger .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-checkbox:checked~.hamburger .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 900px) {

  .grid.two,
  .grid.three,
  .grid.four,
  .gallery-grid,
  .about-grid,
  .pub-grid,
  .committee-grid {
    grid-template-columns: 1fr;
  }
}

/* Tri-About Cards Section */
.tri-about-section {
  padding: 80px 0;
  background-color: var(--bg);
}

.tri-about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tri-card {
  position: relative;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tri-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.tri-card-accent {
  height: 6px;
  width: 100%;
  background: var(--primary);
}

.tri-accent--gold {
  background: var(--accent);
}

.tri-accent--red {
  background: var(--secondary);
}

.tri-card-inner {
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tri-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.tri-icon-primary {
  background-color: rgba(11, 60, 93, 0.1);
  color: var(--primary);
}

.tri-icon-dark {
  background-color: rgba(31, 41, 51, 0.1);
  color: var(--text);
}

.tri-card-icon svg {
  width: 28px;
  height: 28px;
}

.tri-card-title {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.25;
}

.tri-card-text {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 25px;
  flex-grow: 1;
}

.tri-card-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.tri-card-list li {
  position: relative;
  padding-left: 25px;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 12px;
}

.tri-card-list li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  top: -2px;
}

.tri-card--hero {
  border: 1px solid var(--line);
}

@media (max-width: 1024px) {
  .tri-about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ...existing code... */

.countdown-section {
  padding: 3rem 1rem 2rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.18), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(99, 102, 241, 0.16), transparent 35%),
    linear-gradient(135deg, #0f172a, #1e293b);
  color: #e2e8f0;
}

.countdown-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.countdown-eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
  color: #93c5fd;
  margin-bottom: 0.4rem;
}

#countdown-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  font-weight: 800;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  gap: 0.9rem;
  max-width: 700px;
  margin: 0 auto;
}

.time-card {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 1rem 0.8rem;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.28);
}

.time-card span {
  display: block;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1;
  font-weight: 800;
  color: #ffffff;
}

.time-card small {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.countdown-message {
  margin-top: 1rem;
  color: #bfdbfe;
  font-weight: 600;
  min-height: 1.2em;
}

@media (max-width: 640px) {
  .countdown-grid {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
  }
}