@import url('https://cdn-uicons.flaticon.com/3.0.0/uicons-solid-chubby/css/uicons-solid-chubby.css');
@import url('https://cdn-uicons.flaticon.com/3.0.0/uicons-bold-rounded/css/uicons-bold-rounded.css');


:root {
  --body-bg: #fdfdfd;
  --header-bg: #ffffff;
  --text-color: #222;
  --link-hover: #005bb6;
  --cta-bg: #0073e6;
  --cta-bg2: rgb(52, 154, 255);
  --cta-text: #fff;
  --cta-text-dark: #f1e6e6;
  --cta-hover-bg: #005bb5;
  --border-color: #eaeaea;

  --dark-blue: #002f5f;

  --error-bg: #FDECEA;
  --error-border: 1px solid #F5C2C0;
  --error-text: #B42318;
}

/* Other stuff */
.horizontal-bar {
  border-left: 1px solid rgb(219, 211, 211);
}

html, body {
  overflow-x: hidden;
}

/* -------------------------
   HERO
-------------------------- */
.page-hero--header {
  background: linear-gradient(135deg, #0b1f3a, #0e2a4f);
  color: white;
  padding: 5rem 2rem;
}

.page-hero--header .container .eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: #7dd3fc;
}

.page-hero--header .container h1 {
  font-size: 3rem;
  margin: 0.5rem 0 1rem;
  color: white;
}

.page-hero--header .container p {
  max-width: 600px;
  color: #cbd5e1;
}

body {
  /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
  font-family: "Manrope", sans-serif;
  margin: 0;
  padding: 0;
  background: var(--body-bg);
  color: var(--text-color);
  overflow-x: hidden;
}

section {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, #logo {
  letter-spacing: 0.01em;
  font-weight: 900;
}

header {
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 999;
}

.home-page-header {
  top: -77.8px;
  animation: slideInHeader 0.25s linear;
  animation-fill-mode: forwards;
}

@keyframes slideInHeader {
  from {
    top: -77.8px;
  }

  to {
    top: 0;
  }
}


.header-container {
  max-width: 90vw;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Logo */
#logo img {
  height: 45px;
  width: auto;
}

#logo a {
  text-decoration: none;
  color: var(--dark-blue);
  display: flex;
  align-items: center;
  /* gap: 10px; */
}

#logo a div {
  padding-left: 0.5em;
  font-size: 1.2em;
}

/* Navigation Links */
.main-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-left: 3rem;
  margin-top: 3px;
  flex-grow: 1;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.2s ease;
  /* border-bottom: 0.5px solid transparent; */
}

.main-nav a:hover {
  border-color: var(--cta-bg);
  transition: 0.5s;
}

.main-nav a {
  position: relative;
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.2s ease;
  padding-bottom: 2px;
  /* optional: space for underline */
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--cta-bg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.main-nav a:hover::after {
  transform: scaleX(100%);
}

.main-nav a:hover {
  color: var(--link-hover);
}


/* CTA Button */
.cta-button {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cta-button .btn-primary {
  padding: 0.6rem 1.2rem;
  background-color: var(--cta-bg);
  color: var(--cta-text);
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.cta-button .btn-primary:hover {
  background-color: var(--cta-hover-bg);
}

#login {
  display: flex;
  align-items: center;
}

.cta-button #login {
  text-decoration: none;
  color: var(--cta-bg);
}

.cta-button img {
  width: 25px;
  height: 25px;
  border-radius: 5px;
}

.cta-button a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  padding: 5px;
  transition: .5s;
}

.cta-button a:hover {
  transition: .5s;
}

/* Section code */
section {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section:not(.hero) {
  margin-top: 30px;
}

.reg-link {
  color: var(--cta-hover-bg);
  text-decoration: none;
}

/* Page Headers */
.page-hero {
  background-color: #d0e3ff;
  border: 1px solid #d0e3ff;
  padding: 4rem 2rem 2rem 2rem;
  text-align: center;
  color: var(--text-color);
}

.page-hero a {
  color: var(--cta-bg);
  text-decoration: none;
}

.page-hero a:hover {
  text-decoration: underline;
}

.page-hero h1 {
  font-size: 3rem;
  color: #202020;
  margin-bottom: 0.5rem;
}

.page-hero p {
  font-size: 1.2rem;
  color: #202020;
  max-width: 600px;
  margin: 0 auto;
}

/* ===============================
   MAIN FOOTER
================================= */

.main-footer {
  background-color: var(--header-bg);
  border-top: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 60px 20px 25px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 50px;
}

.footer-col h4 {
  margin-bottom: 15px;
  font-size: 1rem;
}

.footer-brand h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.footer-tagline {
  font-weight: 500;
  margin-bottom: 10px;
}

.footer-description {
  opacity: 0.8;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.footer-col ul a:hover {
  color: #4f6ef7;
}

.footer-col .social-icons .instagram-gradient:hover {
  background: linear-gradient(
    45deg,
    #f58529,
    #dd2a7b,
    #8134af,
    #515bd4
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: black;
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

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

  .footer-badge iframe {
    width: 100%;
    max-width: 320px;
  }

  .social-icons {
    justify-content: flex-start;
  }
}

/* Social Icons */

.social-icons {
  margin-top: 15px;
  display: flex;
  gap: 15px;
}

.social-icons a {
  font-size: 1.2rem;
  color: var(--text-color);
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  color: #4f6ef7;
  transform: translateY(-3px);
}

/* Stripe Badge */

.footer-badge iframe {
  margin-top: 10px;
}

/* Bottom Bar */

.footer-bottom {
  border-top: 1px solid var(--border-color);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

#mobile-menu-toggle {
  display: none;
}

/* Effects */
@keyframes slideOpenMenu {
  from {
    top: -100px;
  }

  to {
    top: 0;
  }
}

.mobile-menu {
  display: contents; /* acts like it doesn't exist */
}

@media (max-width: 600px) {
  section {
    padding: 2rem 1rem;
  }
}

/* Mobile menu */
@media (max-width: 1000px) {
  .header-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  #logo {
    flex: 1;
  }

  #mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--cta-hover-bg);
    cursor: pointer;
  }

  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    background: var(--header-bg);
    padding: 1.25rem 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;

    transition:
      opacity 250ms ease,
      transform 250ms ease;

    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    transition: none;
  }

  .mobile-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    transition: 0.25s;
  }

  .cta-button {
    flex-direction: column;
    gap: .75rem;
  }

  #logo a {
    flex-direction: row;
    align-items: center;
  }

  .main-nav {
    margin-left: 0rem;
  }

  footer {
    flex-direction: column;
  }
}