/* ===== Neuro Synergy 2026 - styles ===== */
:root {
  --navy: #0a2a5c;
  --navy-deep: #06204a;
  --ink: #0b2447;
  --muted: #182638;
  --teal: #14b8a6;
  --teal-dark: #0f9e8e;
  --ice: #e9f5fb;
  --ice-2: #dff0f7;
  --line: #cfe3ec;
  --white: #ffffff;
  --neuron-img: url("neuron.png");
  --font: "Montserrat", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.15;
  text-wrap: balance;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

svg {
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--teal);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  border: 0;
  border-radius: 999px;
  padding: 12px 28px;
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: var(--teal-dark);
}

.btn.small {
  padding: 9px 15px;
  font-size: 0.85rem;
}

.btn.big {
  padding: 16px 38px;
  font-size: 1.1rem;
  margin-top: 30px;
}

.btn.ghost {
  background: transparent;
  color: var(--teal-dark);
  border: 2px solid var(--teal);
  margin-top: 18px;
}

.btn.ghost:hover {
  background: var(--teal);
  color: #fff;
}

/* ===== Header ===== */
header.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding-block: 8px;
}

/* .brand {
  width: auto;
  display: block
} */

.brand .logo1 {
  width: auto;
  height: 60px;
}
.brand .logo2 {
  width: auto;
  height: 30px;
}

nav.links {
  display: flex;
  gap: 26px;
  margin: 0 auto;
  font-size: 1rem;
  font-weight: 600;
}

nav.links a {
  text-decoration: none;
  color: var(--navy);
  padding-block: 4px;
}

nav.links a.active,
nav.links a:hover {
  color: var(--teal-dark);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ice);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("banner.png") right center / auto 100% no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(233, 245, 251, 0.96) 0%,
    rgba(233, 245, 251, 0.88) 34%,
    rgba(233, 245, 251, 0) 62%
  );
}

.hero .wrap {
  position: relative;
  z-index: 1;
  padding-block: 56px 64px;
}

.hero-text {
  max-width: 600px;
}

.dept {
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy);
  line-height: 1.6;
}

.inv {
  color: var(--muted);
  margin-top: 4px;
  font-size: 1rem;
}

.hero h1 {
  font-size: clamp(2.7rem, 7.4vw, 4.7rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-top: 12px;
}

.hero h1 span {
  display: block;
  color: var(--teal);
}

.tag {
  display: inline-block;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-weight: 500;
  color: var(--navy);
  margin-top: 18px;
  padding-bottom: 16px;
  position: relative;
}

.tag::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 78px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  margin-top: 28px;
}

.fact {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}

.fact i {
  flex: none;
  width: 32px;
  text-align: center;
  font-size: 28px;
  color: var(--navy);
  margin-top: 2px;
}

.fact b {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.3;
}

.fact span {
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.3;
  display: block;
}

/* ===== About ===== */
.about {
  background: linear-gradient(180deg, #f2fafd, #e9f5fb);
}

.about .wrap {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: center;
  padding-block: 56px;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}

.about p {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
}

.about p + p {
  margin-top: 12px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pillar {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 8px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

.pillar i {
  display: block;
  margin: 0 auto 12px;
  font-size: 34px;
  color: var(--teal);
}

/* ===== Chairman ===== */
.chair {
  background: var(--ice-2);
}

.chair .wrap {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-block: 40px;
  flex-wrap: wrap;
}

.photo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--teal);
  background: #fff;
  flex: none;
}

.chair .label {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}

.chair h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  margin-top: 4px;
}

.chair .role {
  font-weight: 600;
  color: var(--navy);
  margin-top: 8px;
  font-size: 1.05rem;
}

.chair .dept2 {
  font-weight: 500;
  color: var(--ink);
  margin-top: 14px;
  font-size: 0.9rem;
}

/* ===== Highlights ===== */
.hl {
  position: relative;
  overflow: hidden;
  background: #f6fbfd;
}

.hl::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(42%, 480px);
  background: var(--neuron-img) center right / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0, #000 45%);
}

.hl .wrap {
  position: relative;
  z-index: 1;
}

.hl .wrap {
  padding-block: 44px 52px;
}

.hl h2 {
  font-size: 1.9rem;
  margin-bottom: 26px;
}

.hl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 780px;
}

.hl-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.hl-item .ic {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.15);
}

.hl-item i {
  font-size: 32px;
  color: var(--navy);
}

.hl-item span {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
  line-height: 1.4;
}

/* ===== Registration ===== */
.reg {
  background: linear-gradient(
    90deg,
    var(--navy) 0%,
    var(--navy) 70%,
    var(--navy-deep) 70%,
    var(--navy-deep) 100%
  );
  color: #fff;
}

.reg .wrap {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 0;
  padding-inline: 0;
  max-width: 1120px;
}

.reg-form {
  padding: 48px 40px 52px max(16px, env(safe-area-inset-left, 0px));
}

.reg-side {
  padding: 48px max(16px, env(safe-area-inset-right, 0px)) 52px 24px;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background: var(--navy-deep);
}

.reg h2 {
  color: #fff;
  font-size: 1.9rem;
}

.reg .sub {
  margin: 12px 0 26px;
  font-size: 0.88rem;
  color: #dbe8f7;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.f {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.f.full {
  grid-column: 1/-1;
}

label {
  font-size: 0.75rem;
  font-weight: 600;
}

input,
select,
textarea {
  font: inherit;
  font-size: 0.88rem;
  background: #fff;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 12px;
  width: 100%;
  min-width: 0;
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: #ff7a7a;
}

.err {
  color: #ff9d9d;
  font-size: 0.75rem;
  min-height: 1em;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 400;
}

.consent input {
  width: 16px;
  height: 16px;
  flex: none;
  padding: 0;
}

.btn.submit {
  width: 100%;
  margin-top: 18px;
  padding: 15px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.ok {
  display: none;
  background: #d6f1ee;
  color: var(--navy);
  border-radius: 12px;
  padding: 22px;
}

.ok.show {
  display: block;
}

.ok b {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.side-img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

.perks {
  list-style: none;
  margin-top: 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.perks li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 500;
}

.perks i {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
}

/* ===== Venue ===== */
.venue {
  background: linear-gradient(180deg, #f2fafd, #e9f5fb);
}

.venue .wrap {
  padding-block: 40px 48px;
}

.venue h2 {
  font-size: 1.9rem;
  margin-bottom: 22px;
}

.venue-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 44px;
  align-items: center;
}

.venue-img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(10, 42, 92, 0.18);
  background: var(--ice-2);
}

.venue-info {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.venue-info .pin {
  flex: none;
  font-size: 30px;
  color: var(--navy);
  margin-top: 4px;
  width: 30px;
  text-align: center;
}

.venue-info h3 {
  font-size: 1.4rem;
  line-height: 1.3;
}

/* ===== Footer ===== */
footer {
  background: #fff;
  border-top: 1px solid var(--line);
}

footer .wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 32px;
  padding-block: 34px;
  align-items: center;
}

footer h3 {
  font-size: 0.95rem;
  margin-bottom: 14px;
}

footer p {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

footer a {
  text-decoration: none;
}

footer .dot {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}

footer .dot i {
  font-size: 13px;
  color: #fff;
}

footer .web {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}

footer .web i {
  flex: none;
  width: 20px;
  text-align: center;
  font-size: 18px;
  color: var(--navy);
}

footer .logo img {
  height: 70px;
  width: auto;
  display: block;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  nav.links {
    display: none;
  }

  .nav .btn.small {
    margin-left: auto;
  }

  .hero::before {
    background-position: 70% center;
    background-size: cover;
  }

  .hero::after {
    background: linear-gradient(
      180deg,
      rgba(233, 245, 251, 0.92) 0%,
      rgba(233, 245, 251, 0.8) 60%,
      rgba(233, 245, 251, 0.35) 100%
    );
  }

  .about .wrap,
  .venue-grid {
    grid-template-columns: 1fr;
  }

  .reg {
    background: var(--navy);
  }

  .reg .wrap {
    grid-template-columns: 1fr;
  }

  .reg-form {
    padding: 40px max(16px, env(safe-area-inset-left, 0px));
  }

  .reg-side {
    padding: 32px max(16px, env(safe-area-inset-right, 0px));
    flex-direction: column;
  }

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

  .hl::before {
    width: 70%;
    opacity: 0.5;
  }

  footer .wrap {
    grid-template-columns: 1fr;
  }

  footer .web {
    border-left: 0;
    padding-left: 0;
  }
}

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

  .pillars {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.pdf-section {
  padding: 70px 20px;
  background: #f5f8fc;
}

.pdf-section .wrap {
  max-width: 1200px;
  margin: auto;
}

.pdf-heading {
  text-align: center;
  margin-bottom: 35px;
}

.pdf-heading h2 {
  color: #142d4e;
  font-size: 34px;
  margin-bottom: 10px;
}

.pdf-heading p {
  color: #64748b;
}

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

.pdf-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.pdf-card h3 {
  color: #142d4e;
  font-size: 18px;
  margin: 0 0 15px;
}

.pdf-card iframe {
  width: 100%;
  height: 380px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  display: block;
}

.pdf-card a {
  display: block;
  margin-top: 15px;
  padding: 12px;
  text-align: center;
  background: #147d9b;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

.pdf-card a:hover {
  background: #105e78;
}

@media (max-width: 900px) {
  .pdf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .pdf-card iframe {
    height: 420px;
  }

  .pdf-heading h2 {
    font-size: 28px;
  }
}

/* Equal Size Cards */
.pdf-card {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

/* Equal Heading Height */
.pdf-card h3 {
  min-height: 38px;
  font-size: 15px;
  margin-bottom: 10px;
}

/* Poster Images */
.pdf-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Video Same Height as Posters */
.video-container {
  width: 100%;
  height: 323px;
  overflow: hidden;
  border-radius: 5px;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Register Button */
.pdf-btn {
  margin-top: 10px;
  width: 100%;
  text-align: center;
  display: block;
  padding: 10px;
  box-sizing: border-box;
  margin-top: auto;
}

/* Responsive */
@media (max-width: 767px) {
  .pdf-card {
    height: 100%;
  }
}

/* Equal Size Cards */
.pdf-card {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

/* Equal Heading Height */
.pdf-card h3 {
  min-height: 38px;
  font-size: 15px;
  margin-bottom: 10px;
}

/* Poster Images */
.pdf-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Video Same Height as Posters */
.video-container {
  margin-top: 20px;
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: 5px;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Register Button */
.pdf-btn {
  margin-top: 10px;
  width: 100%;
  text-align: center;
  display: block;
  padding: 10px;
  box-sizing: border-box;
  margin-top: auto;
}

/* Responsive */
@media (max-width: 767px) {
  .pdf-card {
    height: 430px;
  }
}
@media (max-width: 520px) {
  .brand .logo1 {
    width: auto;
    height: 35px;
  }
  .brand .logo2 {
    width: auto;
    height: 18px;
  }
  footer .logo img {
    height: 40px !important;
  }
  footer .logo .logo2 {
    width: 110px;
  }
}

.d-flex {
  display: flex;
  align-items: center;
}
.logo2 {
  width: 100px;
}
footer .logo .logo2 {
  height: 45px;
}
.upcommit-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 340px;
  max-width: calc(100vw - 30px);
  background: linear-gradient(135deg, #07172d, #132e50);
  color: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  z-index: 999999;
  font-family: Arial, sans-serif;
  overflow: hidden;
  animation: upcommitAppear .7s ease;
}

.upcommit-float::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  top: -90px;
  right: -70px;
}

.upcommit-dismiss {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 25px;
  cursor: pointer;
  z-index: 2;
  opacity: .7;
}

.upcommit-dismiss:hover {
  opacity: 1;
}

.upcommit-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.upcommit-logo {
  background: #fff;
  color: #102445;
  border-radius: 10px;
  min-width: 92px;
  padding: 12px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.upcommit-logo span {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
}

.upcommit-logo strong {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.3;
}

.upcommit-heading {
  padding-right: 18px;
}

.upcommit-label {
  font-size: 9px;
  color: #ffc94d;
  letter-spacing: 2px;
  font-weight: 700;
}

.upcommit-heading h3 {
  color: #fff;
  font-size: 18px;
  margin: 5px 0;
}

.upcommit-heading p {
  font-size: 12px;
  color: #cbd5e1;
  margin: 0;
}

.upcommit-date {
  border-top: 1px solid rgba(255,255,255,.15);
  border-bottom: 1px solid rgba(255,255,255,.15);
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.upcommit-date span {
  font-size: 10px;
  color: #cbd5e1;
  letter-spacing: 1px;
}

.upcommit-date strong {
  font-size: 13px;
  color: #ffc94d;
}

.upcommit-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.upcommit-time {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 10px 4px;
  text-align: center;
}

.upcommit-time strong {
  display: block;
  font-size: 23px;
  color: #fff;
  line-height: 1.2;
}

.upcommit-time span {
  display: block;
  color: #ffc94d;
  font-size: 9px;
  margin-top: 5px;
  letter-spacing: 1px;
}

.upcommit-ended {
  text-align: center;
  font-size: 13px;
  padding: 12px;
  color: #ffc94d;
}

.upcommit-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffc94d;
  color: #102445 !important;
  padding: 13px 15px;
  border-radius: 8px;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: .3s;
}

.upcommit-link:hover {
  background: #fff;
  color: #102445 !important;
}

.upcommit-link span {
  font-size: 18px;
}

@keyframes upcommitAppear {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media(max-width:576px) {
  .upcommit-float {
    left: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 16px;
  }

  .upcommit-heading h3 {
    font-size: 16px;
  }

  .upcommit-time strong {
    font-size: 20px;
  }
}