:root {
  --color-bg: #ecf3fa;
  --color-primary: #185785;
  --color-text: #181818;
  --color-white: #ffffff;
  --color-btn-primary-hover: #14476b;
  --color-btn-shadow: rgba(24, 87, 133, 0.1);
  --color-btn-primary-shadow: rgba(24, 87, 133, 0.15);
  font-family: "Inter Variable", Inter, sans-serif;
}

/* Container */
.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 1rem 2rem;
  width: 100%;
  box-sizing: border-box;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1002;
  border-bottom: 0.4px solid #C7C7C7;
  background: rgba(249, 252, 255, 0.90);
  backdrop-filter: blur(10px);
  position: relative;
}

/* Logo Section */
.logo-wrapper {
  max-height: 50px;
  z-index: 101;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-wrapper img {
  max-height: 50px;
  width: auto;
}

.brand {
  margin-left: 7px;
  font-variant-numeric: ordinal slashed-zero;
  font-feature-settings: 'case' on;
  font-family: "Inter Display", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  text-transform: capitalize;
}

.my {
  color: #185785;
}

.medi {
  color: #098289;
}

.scribe {
  color: #21B767;
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  line-height: 24px;
  font-size: 15px;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.2s, color 0.2s;
  padding-bottom: 6px;
}

nav a:hover,
nav a:focus {
  border-bottom: 2px solid var(--color-primary);
  color: var(--color-primary);
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding-inline: 42px;
  padding-block: 14px;
}

.btn--secondary {
  border: 1px solid var(--color-primary);
  background-color: var(--color-white);
  color: var(--color-primary);
  padding-inline: 28px;
  padding-block: 14px;
}

.btn:hover,
.btn:focus {
  filter: brightness(0.95);
  box-shadow: 0 2px 8px 0 var(--color-btn-shadow);
  outline: none;
  transition: filter 0.2s, box-shadow 0.2s;
}

.btn--primary:hover,
.btn--primary:focus {
  background-color: var(--color-btn-primary-hover);
  filter: brightness(1.05);
  box-shadow: 0 4px 16px 0 var(--color-btn-primary-shadow);
  transition: background 0.2s, filter 0.2s, box-shadow 0.2s;
}

.auth-buttons {
  display: flex;
  gap: 0.8rem;
}

.coming-soon-badge {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 16px;
  display: inline-block;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  margin: 0 auto;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  z-index: 1004;
  position: relative;
  margin-right: 1rem;
}

.mobile-menu-toggle img {
  width: 24px;
  height: 24px;
}

.mobile-menu-toggle img[src*="cross"] {
  display: none;
}

.mobile-menu-toggle.active img[src*="menu"] {
  display: none;
}

.mobile-menu-toggle.active img[src*="cross"] {
  display: block;
}

/* Overlay for mobile menu */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1001;
}

/* Responsive Styles */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }

  nav {
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
    flex-direction: row;
    width: auto;
    display: flex;
  }

  nav ul {
    flex-direction: row;
    margin: 0;
  }

  .auth-buttons {
    flex-direction: row;
    width: auto;
    margin-top: 0;
  }

  .coming-soon-badge {
    margin: 0;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }

  .container {
    padding: 1rem 1rem;
  }

  nav.active {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: auto;
    background-color: var(--color-white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 0px 20px 30px;
    box-shadow: 0 10px 15px -10px rgba(0, 0, 0, 0.1);
    z-index: 1003;
    text-align: center;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    margin: 1.5rem 0;
    gap: 1rem;
    text-align: left;
  }

  nav ul li {
    margin-bottom: 10px;
    font-weight: 600;
  }

  nav a {
    font-size: 18px;
    padding-bottom: 10px;
  }

  .auth-buttons {
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
  }

  .auth-buttons .btn {
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
  }

  .coming-soon-badge {
    margin: 15px auto 5px;
    padding: 8px 16px;
    font-size: 14px;
  }
}

/* Responsive container adjustments */
@media (max-width: 1200px) and (min-width: 992px) {
  .container {
    max-width: 1100px;
    padding: 1rem 2.5rem;
  }
}

@media (width: 1024px) {
  .container {
    padding: 0 3rem;
    max-width: 960px;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .container {
    max-width: 900px;
    padding: 1rem 2rem;
  }
}

/* Body scroll control for mobile menu */
body.no-scroll {
  overflow: hidden;
}