:root {
  --navy: #0b3d59;
  --blue: #1b75bb;
  --white: #fff;
  --pale: #edf7fc;
  --ink: #092c42;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  background: var(--white);
}
a {
  color: inherit;
  text-decoration: none;
}
.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 20;
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}
.skip-link:focus {
  top: 1rem;
}
.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem);
  border-bottom: 1px solid #d7e8f2;
  position: relative;
  z-index: 5;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}
.menu-toggle {
  display: none;
}
.wordmark {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.08em;
  font-size: 1.6rem;
  color: var(--navy);
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}
.wordmark small {
  letter-spacing: 0.08em;
  font-size: 0.56rem;
  color: var(--blue);
}
nav {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  gap: clamp(0.7rem, 1.3vw, 1.4rem);
  overflow: visible;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
  color: #31586c;
}
nav a {
  transition: color 0.2s ease;
}
nav a:hover {
  color: var(--blue);
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a span {
  display: inline-block;
  margin-left: 0.2rem;
  transition: transform 0.2s ease;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  display: grid;
  min-width: 178px;
  padding: 0.5rem;
  border: 1px solid #d5e8f2;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 34px rgba(11, 61, 89, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -0.4rem);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.dropdown-menu a {
  padding: 0.65rem 0.7rem;
  border-radius: 0.45rem;
  white-space: nowrap;
  font-size: 0.72rem;
}
.dropdown-menu a:hover {
  background: #eaf7fd;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-dropdown:hover > a span,
.nav-dropdown:focus-within > a span {
  transform: rotate(180deg);
}
.header-cta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
}
.header-cta span {
  font-size: 1.1rem;
  margin-left: 0.25rem;
}
.hero {
  position: relative;
  min-height: calc(100svh - 84px);
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 7vw, 8rem)
    clamp(5rem, 7vw, 7rem);
  background: radial-gradient(circle at 82% 30%, #e2f5ff 0, transparent 24%),
    linear-gradient(115deg, #fff 0%, #f5fbff 61%, #dff2ff 100%);
}
.hero-copy {
  max-width: 650px;
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
  color: #507184;
  letter-spacing: 0.16em;
  font-size: 0.67rem;
  font-weight: 700;
}
.eyebrow span {
  width: 30px;
  height: 2px;
  background: var(--blue);
}
.eyebrow.blue {
  color: var(--blue);
}
h1,
h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  letter-spacing: -0.075em;
  margin: 0;
}
h1 {
  font-size: clamp(3.7rem, 7vw, 7.2rem);
  line-height: 0.88;
  color: var(--navy);
}
h1 em,
h2 em {
  font-style: normal;
  color: var(--blue);
}
.hero-description {
  max-width: 430px;
  margin: 2rem 0 2.25rem;
  color: #496879;
  font-size: 1.04rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.button {
  border-radius: 999px;
  padding: 0.9rem 1.3rem;
  font-size: 0.83rem;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.button:hover {
  transform: translateY(-3px);
}
.button-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 25px rgba(27, 117, 187, 0.25);
}
.button-primary span {
  margin-left: 0.45rem;
}
.button-ghost {
  border: 1px solid #a8cde3;
  color: var(--navy);
}
.data-stage {
  min-height: 540px;
  position: relative;
  transform: translateX(4%);
}
.stage-label {
  position: absolute;
  top: 5%;
  right: 11%;
  z-index: 2;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.13em;
}
.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #17a270;
  border-radius: 50%;
  margin-right: 0.35rem;
  box-shadow: 0 0 0 0 rgba(23, 162, 112, 0.5);
  animation: pulse 2s infinite;
}
.map-disc {
  width: min(35vw, 510px);
  aspect-ratio: 1;
  position: absolute;
  top: 5%;
  left: 4%;
  isolation: isolate;
  animation: float 6s ease-in-out infinite;
}
.map-disc:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 18%;
  border-radius: 50%;
  background: rgba(90, 187, 232, 0.17);
  filter: blur(32px);
}
.network-globe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 27px 28px rgba(11, 61, 89, 0.18));
}
.grid-lines {
  stroke: #1b75bb;
  stroke-opacity: 0.28;
  stroke-width: 1;
}
.network-route {
  stroke: #0b3d59;
  stroke-width: 2.2;
  stroke-dasharray: 7 9;
  fill: none;
  animation: route 5s linear infinite;
}
.route-two {
  animation-delay: -1.7s;
}
.route-three {
  animation-delay: -3.2s;
}
.data-nodes circle {
  fill: #1b75bb;
  stroke: #fff;
  stroke-width: 3;
  transform-origin: center;
  animation: nodePulse 2.8s ease-in-out infinite;
}
.data-nodes circle:nth-child(2) {
  animation-delay: -0.6s;
}
.data-nodes circle:nth-child(3) {
  animation-delay: -1.4s;
}
.data-nodes circle:nth-child(4) {
  animation-delay: -2.1s;
}
.satellites circle {
  fill: #1b75bb;
}
.orbit {
  position: absolute;
  inset: -3%;
  z-index: -1;
  border: 1px solid rgba(27, 117, 187, 0.19);
  border-radius: 50%;
}
.orbit-a {
  transform: rotate(-28deg) scaleX(1.08);
}
.orbit-b {
  transform: rotate(37deg) scaleY(0.72);
}
.orbit-c {
  inset: 7%;
  border-style: dashed;
  opacity: 0.72;
  animation: spin 18s linear infinite;
}
.globe-caption {
  position: absolute;
  z-index: 3;
  bottom: 10%;
  left: 16%;
  margin: 0;
  color: #0b3d59;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.globe-caption span {
  color: #1b75bb;
  font-size: 1rem;
  vertical-align: -0.12rem;
}
.data-card {
  position: absolute;
  z-index: 2;
  padding: 1rem 1.1rem;
  min-width: 137px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(148, 201, 230, 0.65);
  border-radius: 0.8rem;
  box-shadow: 0 16px 35px rgba(11, 61, 89, 0.12);
  backdrop-filter: blur(10px);
  animation: cardFloat 6s ease-in-out infinite;
}
.data-card b {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  color: var(--blue);
  font-size: 1.75rem;
  letter-spacing: -0.08em;
  line-height: 1;
}
.data-card span {
  display: block;
  margin-top: 0.4rem;
  color: #557284;
  font-size: 0.63rem;
  line-height: 1.35;
  font-weight: 700;
}
.card-countries {
  top: 17%;
  left: 0;
  animation-delay: -1s;
}
.card-students {
  top: 9%;
  right: 0;
  animation-delay: -3s;
}
.card-organisations {
  right: 1%;
  bottom: 19%;
  animation-delay: -4.5s;
}
.card-volunteers {
  left: 11%;
  bottom: 7%;
  animation-delay: -2s;
}
.globe-orbit {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(27, 117, 187, 0.14);
  border-radius: 50%;
  z-index: -1;
}
.orbit-one {
  width: 75vw;
  height: 75vw;
  right: -40vw;
  top: -15vw;
}
.orbit-two {
  width: 55vw;
  height: 55vw;
  right: -29vw;
  top: -3vw;
}
.dot-field {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  z-index: -1;
  background-image: radial-gradient(#7ebee5 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 42%, #000 100%);
}
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: clamp(1.25rem, 7vw, 8rem);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #658392;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.scroll-cue span {
  width: 25px;
  height: 1px;
  background: var(--blue);
  animation: scrollLine 1.7s ease-in-out infinite;
}
.source-note {
  position: absolute;
  bottom: 2rem;
  right: clamp(1.25rem, 7vw, 8rem);
  margin: 0;
  font-size: 0.59rem;
  color: #7595a6;
}
.intro-section {
  max-width: 1320px;
  padding: 8rem clamp(1.25rem, 7vw, 8rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 8vw, 10rem);
  align-items: start;
}
.intro-section h2 {
  margin-bottom: 1.8rem;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.91;
  color: var(--navy);
}
.metu-copy > p {
  max-width: 485px;
  margin: 0;
  line-height: 1.75;
  color: #537182;
  font-size: 1.03rem;
}
.text-link {
  display: inline-flex;
  gap: 0.6rem;
  margin-top: 2rem;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 700;
}
.text-link span {
  font-size: 1.15rem;
}
.metu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 3.5rem;
}
.metu-tags span {
  border: 1px solid #b9dced;
  color: #456b80;
  padding: 0.5rem 0.65rem;
  border-radius: 99px;
  letter-spacing: 0.07em;
  font-size: 0.57rem;
  font-weight: 700;
}
.next-section {
  min-height: 33vh;
  padding: 4rem clamp(1.25rem, 7vw, 8rem);
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--blue);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}
.next-section p {
  max-width: 660px;
}
footer {
  padding: 3.8rem clamp(1.25rem, 7vw, 8rem) 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: #071f31;
  color: #fff;
}
.footer-main p {
  max-width: 340px;
  margin: 1.3rem 0 0;
  color: #a9cbe0;
  font-size: 0.82rem;
  line-height: 1.65;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}
.footer-logo img {
  display: block;
  width: auto;
  height: 30px;
  max-width: 130px;
  object-fit: contain;
}
.footer-contact {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  color: #b7d3e4;
  font-size: 0.77rem;
}
.footer-contact a {
  color: #fff;
  font-weight: 700;
}
.footer-contact .footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
}
.footer-social img {
  width: 1.15rem;
  height: 1.15rem;
  object-fit: contain;
}
.footer-label {
  margin: 0 0 0.35rem;
  color: #66c5f6;
  letter-spacing: 0.14em;
  font-size: 0.59rem;
  font-weight: 700;
}
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #81a5bb;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}
@keyframes route {
  to {
    stroke-dashoffset: -100;
  }
}
@keyframes float {
  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}
@keyframes cardFloat {
  50% {
    transform: translateY(-9px);
  }
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 9px rgba(23, 162, 112, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(23, 162, 112, 0);
  }
}
@keyframes scrollLine {
  50% {
    transform: scaleX(0.35);
    transform-origin: left;
  }
}
@keyframes nodePulse {
  50% {
    transform: scale(1.32);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 850px) {
  .site-header {
    height: 69px;
  }
  .site-header {
    gap: 0;
  }
  .site-header nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    padding: 0 1.25rem;
    overflow: hidden;
    border-bottom: 1px solid transparent;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 28px rgba(11, 61, 89, 0.08);
    transition:
      max-height 0.3s ease,
      padding 0.3s ease;
  }
  .site-header.menu-open nav {
    max-height: calc(100svh - 69px);
    padding: 0.75rem 1.25rem 1.25rem;
    border-bottom-color: #d7e8f2;
    overflow-y: auto;
  }
  .site-header nav > a,
  .site-header nav .nav-dropdown > a {
    padding: 0.65rem 0;
    font-size: 0.85rem;
  }
  .nav-dropdown {
    display: grid;
  }
  .dropdown-menu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0 0 0.35rem 0.8rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: transparent;
  }
  .dropdown-menu a {
    padding: 0.45rem 0;
    font-size: 0.78rem;
  }
  .menu-toggle {
    display: grid;
    gap: 0.28rem;
    width: 2.45rem;
    margin-left: auto;
    padding: 0.55rem;
    border: 0;
    border-radius: 0.55rem;
    background: #eaf7fd;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--navy);
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }
  .site-header.menu-open .menu-toggle span:first-child {
    transform: translateY(0.31rem) rotate(45deg);
  }
  .site-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .site-header.menu-open .menu-toggle span:last-child {
    transform: translateY(-0.31rem) rotate(-45deg);
  }
  .hero {
    min-height: unset;
    grid-template-columns: 1fr;
    padding-top: 5rem;
  }
  .data-stage {
    min-height: 440px;
    margin-top: 2rem;
    transform: none;
  }
  .map-disc {
    width: min(77vw, 410px);
    left: 50%;
    transform: translateX(-50%);
  }
  .stage-label {
    right: 0;
  }
  .card-countries {
    left: 0;
  }
  .card-students {
    right: 0;
  }
  .card-organisations {
    right: 0;
    bottom: 8%;
  }
  .card-volunteers {
    left: 0;
    bottom: 2%;
  }
  .scroll-cue,
  .source-note {
    display: none;
  }
  .hero h1 {
    font-size: clamp(3.35rem, 14vw, 5.2rem);
  }
  .intro-section {
    padding-top: 7rem;
    padding-bottom: 7rem;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  footer {
    grid-template-columns: 1fr;
  }
  .footer-contact {
    justify-self: start;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.55rem;
  }
}
@media (max-width: 480px) {
  .header-cta {
    font-size: 0.7rem;
  }
  .wordmark {
    font-size: 1.35rem;
  }
  .data-card {
    padding: 0.75rem 0.8rem;
    min-width: 117px;
  }
  .data-card b {
    font-size: 1.4rem;
  }
  .data-card span {
    font-size: 0.57rem;
  }
  .data-stage {
    min-height: 370px;
  }
  .card-countries {
    top: 10%;
  }
  .card-students {
    top: 4%;
  }
  .card-organisations {
    bottom: 13%;
  }
  .card-volunteers {
    bottom: 5%;
  }
  .map-disc {
    top: 12%;
  }
  footer {
    flex-direction: column;
    gap: 0.8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
