@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-text: #fff;
  --cta-text-dark: #f1e6e6;
  --cta-hover-bg: #005bb5;
  --border-color: #eaeaea;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: var(--body-bg);
  color: var(--text-color);
}

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;

}

.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(--text-color);
  display: flex;
  align-items: center;
}

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

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

.main-nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  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);
  font-weight: 500;
  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;
  font-weight: 600;
  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;
  font-weight: 600;
}

/* 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;
}

/* Footer */
footer {
  background-color: var(--header-bg);
  border-top: 1px solid var(--border-color);
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--text-color);
  font-size: 0.95em;
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.05);
}

#mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-color);
}

/* 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;
  }

  .main-nav,
  .cta-button {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
  }

  .main-nav.open,
  .cta-button.open {
    display: flex;
  }

  .main-nav a,
  .cta-button a {
    text-align: center;
    width: auto;
  }

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

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

