/* ==========================================================================
  UGLOBAL — Landing Page
   ========================================================================== */

:root {
  --primary: #054275;
  --secondary: #e0201d;
  --secondary-600: #e0201d;
  --secondary-700: #be1a17;
  --gray-500: #717680;
  --gray-600: #535862;
  --gray-700: #414651;
  --white: #fff;
  --black: #1a1a1a;

  /* Color — Primary (blue) */
  --primary-950: #042f58;
  --primary-900: #054275;
  --primary-700: #005dac;
  --primary-600: #0075d5;
  --primary-300: #74caff;
  --primary-200: #b5e0ff;
  --primary-100: #deefff;
  --primary-50: #eff8ff;

  /* Color — Secondary (red) */
  --secondary-700: #be1a17;
  --secondary-600: #e0201d;
  --secondary-200: #ffc9c8;
  --secondary-100: #ffe1e1;
  --secondary-50: #fef2f2;

  /* Color — Neutral */
  --gray-950: #0a0d12;
  --gray-900: #181d27;
  --gray-600: #535862;
  --gray-500: #717680;
  --gray-400: #a4a7ae;
  --gray-300: #d5d7da;
  --gray-200: #e9eaeb;
  --gray-100: #f5f5f5;
  --gray-50: #fafafa;
  --gray-blue-50: #f8f9fc;
  --gray-blue-200: #d5d9eb;
  --white: #ffffff;

  /* Surfaces used across sections */
  --bg-hero: var(--gray-blue-50);
  --bg-manifesto: var(--gray-blue-50);
  --bg-stories: #fffafa;
  --bg-capabilities: var(--gray-blue-50);
  --bg-catalog: #fffafa;
  --bg-alumni: var(--gray-blue-50);

  /* Typography */
  --font-display: "Outfit", sans-serif;
  --font-body: "Manrope", sans-serif;
  --font-alt: "Inter", sans-serif;

  /* Fluid display type scale (mobile -> desktop) */
  --fs-display-2xl: clamp(2.5rem, 1.6rem + 4.2vw, 4.5rem); /* hero heading */
  --fs-display-xl: clamp(2.25rem, 1.85rem + 2vw, 3.75rem); /* metric numbers */
  --fs-display-lg: clamp(2.25rem, 1.8758rem + 1.3304vw, 3rem); /* section headings */

  --fs-display-md: clamp(1.5rem, 1.3rem + 1vw, 2.25rem); /* bento / cta headings */
  --fs-display-sm: clamp(1.375rem, 1.25rem + 0.6vw, 1.875rem); /* step numbers */
  --fs-display-xs: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem); /* card titles */

  --max-width: 1280px;
  --section-pad-y: clamp(3.5rem, 3rem + 2vw, 6rem);
  --section-pad-x: clamp(1.25rem, -0.5rem + 6vw, 7.5rem);
}
/* ==========================================================================
   Reset
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-500);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -2%;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
button,
input,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--primary-600);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* ==========================================================================
   Layout helpers
   ========================================================================== */

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, -0.5rem + 6vw, 2rem);
  width: 100%;
}

.section {
  /* padding-block: var(--section-pad-y);
  padding-inline: var(--section-pad-x); */
}

.section__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  width: 100%;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 48rem;
}

.section-header--split {
  max-width: none;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.section-header__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-header--split .section-header__text {
  max-width: 48rem;
  flex: 1 1 320px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 16px;
  border: 1px solid var(--secondary-200);
  background: var(--secondary-50);
  color: var(--secondary-700);
  font-size: 0.875rem;
  line-height: 1.43;
  font-weight: 500;
}

.eyebrow strong {
  font-weight: 700;
}

.eyebrow--light {
  border-color: var(--primary-200);
  background: var(--primary-50);
  color: var(--primary-700);
}

.section-heading {
  font-size: var(--fs-display-lg);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--primary-900);
}

.section-heading--light {
  color: var(--white);
}

.section-subtext {
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 42rem;
}

.section-subtext--light {
  color: var(--gray-50);
}

.accent {
  color: var(--secondary-600);
}

.accent--light {
  color: #ffa3a2;
}
/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  border-radius: 0.75rem;
  padding: 0.625rem 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--secondary-600);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 3px 3px -1.5px rgba(10, 13, 18, 0.04),
    0 7px 8px 0 rgba(224, 32, 29, 0.15);
}

.btn--primary:hover {
  background: var(--secondary-700);
}

.btn--secondary {
  background: var(--white);
  color: var(--gray-600);
  border-color: var(--gray-300);
}

.btn--secondary:hover {
  background: var(--gray-50);
}

.btn--on-dark {
  background: var(--gray-50);
  color: var(--gray-950);
  border-color: var(--gray-100);
}

.btn--on-dark:hover {
  color: var(--gray-700);
  background: var(--white);
}

.btn--outline-on-dark {
  background: transparent;
  color: var(--gray-50);
  border-color: var(--gray-50);
}

.btn--outline-on-dark:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn--small {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

.btn--link {
  padding: 0;
  border: none;
  background: none;
  color: var(--gray-600);
  font-size: 1rem;
}

.btn--link:hover {
  color: var(--secondary-600);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 12px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: all 0.3s;
  text-align: center;
  cursor: pointer;
}
.text-red {
  color: var(--Secondary-600, #e0201d);
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.header {
  background-color: #fafafa;
  position: sticky;
  top: 0;
  z-index: 11;
}
.header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 16px;
  position: relative;
}

.header__logo img {
  vertical-align: middle;
}
.header__logo img,
.nav__logo img {
  width: 154px;
  height: auto;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  background-color: none;
  outline: 0;
}

.header__nav {
  position: fixed;
  right: -100%;
  top: 0;
  padding: 58px 40px;
  transition: right 0.3s ease-in-out;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  min-width: 320px;
  border-radius: 10px 0 0 10px;
  min-height: 100svh;
  max-height: 100svh;
  overflow-y: auto;
  background-color: white;
}

.header__nav--active {
  right: 0;
}

.nav__list {
  list-style: none;
  border-bottom: 1px solid #e6e6e6;
  width: 100%;
  padding-top: 56px;
  padding-bottom: 56px;
}

.nav__item {
  padding: 4px 8px;
  margin-top: 22px;
}

.nav__link {
  text-decoration: none;
  color: #1e1715;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-alt);
  color: var(--gray-700);
}
.nav__cta {
  color: #fff;
  font-size: 14px;
  line-height: 20px; /* 142.857% */
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: var(--secondary);
  margin-top: 30px;
}
.nav__logo {
  margin-bottom: 30px;
}

/* .nav__login-btn {
  margin-top: 30px;
} */
/* Overlay styles */
.header__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgb(26, 26, 26, 0.89);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
  z-index: 5;
}

/* When the overlay is active (menu is open) */
.header__overlay--active {
  opacity: 1;
  visibility: visible;
}

/* Disable body scroll when the menu is open */
.body--menu-open {
  overflow: hidden;
}

/* Desktop View */

@media (min-width: 1024px) {
  html {
    scroll-padding-top: 7rem;
  }
  .header__wrapper {
    max-width: 1352px;
    padding: 18px 40px;
    margin-left: auto;
    margin-right: auto;
    position: static;
  }

  .hamburger {
    display: none;
  }

  .header__nav {
    background-color: transparent;
    position: static;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    width: auto;
    padding: 0;
    gap: 30px;
    min-height: auto;
    overflow-y: visible;
    text-align: left;
  }

  .nav__list {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    border-bottom: 0;
    margin-left: 16px;
  }
  .nav__item {
    margin-top: 0;
  }
  .nav__cta {
    margin-top: 0;
  }

  /* .nav__login-btn {
    min-width: fit-content;
    margin-top: 0;
  } */
  .nav__logo {
    display: none;
  }
  .header__overlay--active {
    opacity: 0;
    visibility: hidden;
  }
}

.container {
  padding: 0 16px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1024px) {
  .container {
    max-width: 1352px;
    padding: 0 40px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--primary-950);
  color: var(--gray-200);
  padding: 48px 0;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer__brand img {
  width: 190px;
  height: 55px;
}

.footer__brand p {
  color: var(--primary-200);
  max-width: 320px;
}

.footer__links {
  flex: 2 1 480px;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer__col {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__col h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary-300);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__col a,
.footer__col span {
  color: var(--primary-200);
  font-weight: 600;
  font-size: 1rem;
}

.footer__bottom {
  border-top: 1px solid var(--primary-600);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap-reverse;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-alt);
  font-size: 1rem;
  color: var(--primary-200);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (min-width: 768px) {
  .site-footer {
    padding: 64px 0 48px;
  }
  .footer__brand {
    gap: 2rem;
    flex: 1.5;
  }
  .footer__links {
    flex: 2;
  }
  .footer__top {
    padding-bottom: 4rem;
  }
  .footer__top,
  .footer__bottom {
    margin: 0 32px;
  }
}
