* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --sky: #dceafa;
  --blue: #a9d0fb;
  --ink: #303032;
  --muted: #4f5d6b;
}

.service,
.event,
.news-card,
.info-card,
.about-card,
.partner,
main > section {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.service.is-visible,
.event.is-visible,
.news-card.is-visible,
.info-card.is-visible,
.about-card.is-visible,
.partner.is-visible,
main > section.is-visible {
  opacity: 1;
  transform: none;
}
body {
  background: var(--sky);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(22px, 6vw, 60px);
  background: var(--blue);
  box-shadow: 0 2px 10px rgba(48, 48, 50, 0.1);
  position: relative;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  transition: transform 0.2s ease;
}
.brand:hover {
  transform: translateY(-4px) scale(1.06);
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: contain;
}
.brand-name {
  font-size: 18px;
  line-height: 0.95;
}
.brand-name b {
  display: block;
}
nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 3vw, 34px);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s ease;
}
.nav-dropdown:hover > a::after,
.nav-dropdown:focus-within > a::after {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 10;
  display: none;
  min-width: 220px;
  transform: translateX(-50%);
  background: var(--blue);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(48, 48, 50, 0.16);
}
.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  font-family: inherit;
  font-size: inherit;
  white-space: nowrap;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}
nav a:hover,
nav a.active {
  color: #59636d;
}
nav > a,
.nav-dropdown > a {
  display: inline-block;
  transition: transform 0.2s ease;
}
nav > a:hover,
.nav-dropdown > a:hover {
  transform: translateY(-4px) scale(1.08);
}
main {
  max-width: 900px;
  min-height: 380px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}
.collab-tag {
  display: inline-block;
  margin-bottom: 4px;
  padding: 6px 14px;
  background: #245b99;
  color: white;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
h1 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 54px);
}
p {
  color: var(--muted);
  font-family: "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.info-grid {
  clear: both;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 6px 0 28px;
}
.info-card {
  padding: 16px 20px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 4px 10px rgba(48, 48, 50, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(48, 48, 50, 0.22);
}
.info-card h3 {
  margin-bottom: 6px;
  font-family: "helvetica-w01-bold", Helvetica, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #245b99;
}
.info-card p {
  margin-bottom: 0;
  color: var(--ink);
  font-family: "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.5;
}
.info-card .note {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

/* Poster placeholder styled toward BxSci ML Club's own look
   rather than the site's beige/blue palette — swap for the
   final designed poster once it's ready. */
.poster-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 220px;
  margin-bottom: 28px;
  border-radius: 12px;
  border: 2px dashed #62f2c4;
  background:
    linear-gradient(
      135deg,
      rgba(98, 242, 196, 0.08) 25%,
      transparent 25%,
      transparent 50%,
      rgba(98, 242, 196, 0.08) 50%,
      rgba(98, 242, 196, 0.08) 75%,
      transparent 75%,
      transparent
    ),
    linear-gradient(135deg, #0d1b2a, #10263f 60%, #14324f);
  background-size:
    28px 28px,
    100% 100%;
  color: #eaf6ff;
  text-align: center;
  padding: 30px;
}
.poster-placeholder .poster-title {
  font-family: "helvetica-w01-bold", Helvetica, Arial, sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0.5px;
}
.poster-placeholder .poster-sub {
  max-width: 420px;
  color: #9fd8ff;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
.poster-placeholder .poster-badge {
  padding: 5px 14px;
  border: 1px solid #62f2c4;
  color: #62f2c4;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.poster-image {
  float: right;
  width: min(320px, 42%);
  height: auto;
  margin: 4px 0 20px 28px;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(48, 48, 50, 0.18);
}
@media (max-width: 700px) {
  .poster-image {
    float: none;
    width: 100%;
    margin: 0 0 24px;
  }
}

.cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 22px;
  background: #4078bd;
  color: white;
  font-family: "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
}
.form-button:hover {
  background: #245b99;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 16px rgba(48, 48, 50, 0.22);
}
.form-button:active {
  transform: translateY(-1px) scale(0.99);
}
.cta-note {
  margin: 0;
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}
footer {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.7fr 0.9fr;
  gap: 30px;
  padding: 45px 8vw 30px;
  background: #9fc8f6;
}
footer h4 {
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--ink);
}
footer p {
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  margin-bottom: 0;
}
.footer-links,
.footer-legal {
  display: flex;
  flex-direction: column;
  justify-self: start;
  gap: 10px;
}
.footer-links a,
.footer-legal a {
  color: var(--muted);
  font-weight: 400;
}
.footer-links a:hover,
.footer-legal a:hover {
  color: var(--ink);
}
.footer-connect-contact {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.footer-contact-link {
  position: relative;
  z-index: 0;
  display: inline-block;
  margin-top: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  overflow: hidden;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.3s ease;
}
.footer-contact-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.footer-contact-link:hover {
  color: #ffffff;
}
.footer-contact-link:hover::before {
  transform: scaleX(1);
}
.social {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.social a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--ink);
}
.social img {
  width: 22px;
  height: 22px;
}
.copyright {
  grid-column: 1/-1;
  padding-top: 18px;
  border-top: 1px solid rgba(48, 48, 50, 0.18);
  font-size: 13px;
}
@media (max-width: 700px) {
  .topbar {
    flex-wrap: wrap;
    padding: 14px 18px;
  }
  nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 15px;
    font-size: 12px;
  }
  main {
    padding: 35px 22px 55px;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .poster-placeholder {
    min-height: 200px;
  }
  footer {
    display: block;
    padding: 45px 25px 25px;
  }
  footer > * {
    margin-bottom: 28px;
  }
  .footer-links,
  .footer-legal {
    align-items: flex-start;
  }
}
