@import url("/css/typography.css?v=20261001-1");

/* style.css */
:root {
  --background: #ffffff;
  --foreground: #214f49;
  --muted: #315f59;
  --card: #f1f1f1;
  --card-foreground: #17352f;
  --border: #d8e5e1;
  --primary: #05a39e;
  --primary-foreground: #ffffff;
  --accent: #04d179;
  --accent-foreground: #10231f;
  --gold: #f2c84b;
  --clay: #d76f4f;
  --topbar-height: 64px;
  --navbar-height: 70px;
  --page-chrome-height: calc(var(--topbar-height) + var(--navbar-height));


}

a {
  color: var(--primary);
  text-decoration: none;
  background-color: transparent;
}
/* Include any specific styles that Bootstrap does not cover */
nav {
  color: var(--foreground);

  text-transform: uppercase;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1.2px;
}
.dropdown {
  position: relative;
  display: inline-block;
  padding: 3%;
  color: var(--foreground);
  font-size: 16px;
}
.btn-primary {
  background-color: #05a39e;
  border-color: #05a39e;
  color: var(--primary-foreground);
}
.btn-custom,
.btn-secondary {
  background-color: #04d179;
  color: var(--accent-foreground);
  border-color: #04d179;
  font-weight: 700;
}
.navbar-light .navbar-nav .nav-link {
  color: var(--foreground) !important;
}

.dropdown-item:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.navbar-light .navbar-nav .btn {
  margin-left: 10px;
}

.navbar-light .form-control {
  margin-left: 10px;
}

.custom-navbar {
  position: fixed;
  top: 64px !important;
  left: 0;
  width: 100%;
  z-index: 1020;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  background-color: #e7f5f2 !important;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 26px rgba(16, 35, 31, 0.08);
}

body {
  padding-top: var(--page-chrome-height) !important;
  background: var(--background);
  color: var(--foreground);
}

.custom-search-wrapper {
  position: sticky !important;
  top: var(--page-chrome-height) !important;
}

.custom-search-wrapper + br,
.custom-search-wrapper + br + br {
  display: none;
}

.container-fluid {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.navbar-brand {
  padding: 0 10px;
}

.navbar-brand img {
  width: auto;
  height: 80px; /* Adjust the height to make the logo smaller */
}
.constructed-topbar {
  align-items: center;
  background: #05a39e;
  display: flex;
  height: 64px;
  justify-content: center;
  left: 0;
  padding: 8px 18px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
}

.constructed-topbar-logo {
  align-items: center;
  display: inline-flex;
  height: 100%;
  justify-content: center;
}

.constructed-topbar-logo img {
  display: block;
  height: 46px;
  max-width: min(280px, 88vw);
  width: auto;
}

@media (max-width: 991.98px) {
  .custom-navbar {
    min-height: 64px;
  }

  .custom-navbar .container-fluid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
  }

  .custom-navbar .navbar-brand {
    display: flex;
    align-items: center;
    width: auto;
    min-width: 0;
    max-width: 100%;
    padding-right: 0;
    margin-right: 0;
  }

  .custom-navbar .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    align-self: center;
    margin-left: 0;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(4, 209, 121, 0.18);
    border-radius: 16px;
    background: linear-gradient(135deg, #14332b 0%, #1b4b40 100%);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(20, 51, 43, 0.18);
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  }

  .custom-navbar .navbar-toggler-icon {
    width: 20px;
    height: 14px;
    position: relative;
    background-image: none;
  }

  .custom-navbar .navbar-toggler-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
  }

  .custom-navbar .navbar-toggler:hover {
    background: linear-gradient(135deg, #0f2721 0%, #143c33 100%);
    box-shadow: 0 14px 28px rgba(20, 51, 43, 0.24);
    transform: translateY(-1px);
  }

  .custom-navbar .navbar-toggler[aria-expanded="true"] {
    background: linear-gradient(135deg, #04d179 0%, #05a39e 100%);
    color: #14332b;
    border-color: rgba(5, 163, 158, 0.3);
    box-shadow: 0 14px 28px rgba(4, 209, 121, 0.22);
  }

  .custom-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(5, 163, 158, 0.18);
  }

  .custom-navbar .navbar-toggler:focus:not(:focus-visible) {
    box-shadow: 0 10px 22px rgba(20, 51, 43, 0.18);
  }

  .custom-navbar .navbar-brand img {
    display: block;
    max-height: 54px !important;
    max-width: min(100%, 280px);
    width: auto;
  }

  .custom-navbar .navbar-collapse {
    grid-column: 1 / -1;
    flex-basis: 100%;
    width: 100%;
    padding: 12px 0 18px;
    margin-top: 8px;
    border-top: 1px solid rgba(33, 79, 73, 0.12);
    background: #e7f5f2;
  }

  .custom-navbar .navbar-nav,
  .custom-navbar .ms-auto,
  .custom-navbar .d-flex {
    width: 100%;
  }

  .custom-navbar .navbar-nav {
    gap: 4px;
    padding-right: 0 !important;
  }

  .custom-navbar .nav-item.dropdown,
  .custom-navbar .nav-item {
    width: 100%;
    padding: 0;
  }

  .custom-navbar .nav-link,
  .custom-navbar .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 10px 0 !important;
  }

  .custom-navbar .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    margin: 0 0 8px;
    border: 1px solid rgba(33, 79, 73, 0.08);
    box-shadow: none;
  }

  .custom-navbar .navbar-nav.mx-auto {
    margin: 0 !important;
  }

  .custom-navbar .ms-auto {
    margin-top: 6px;
  }

  .custom-navbar ul.navbar-nav[style] {
    padding-right: 0 !important;
  }
}

@media (max-width: 700px) {
  :root {
    --topbar-height: 60px;
  }

  .custom-navbar {
    top: 60px !important;
  }

  body {
    padding-top: var(--page-chrome-height);
  }

  .constructed-topbar {
    height: 60px;
  }

  .constructed-topbar-logo img {
    height: 40px;
  }
}
.nav-link-no-caret::after {
  content: none; /* Removes the caret (arrow) */
}
/* Hover effect for dropdowns */
.navbar-nav li.dropdown:hover .dropdown-menu {
  display: block;
}

/* Maintain accessibility with keyboard navigation */
.navbar-nav li.dropdown:focus-within .dropdown-menu {
  display: block;
}
.auth-buttons {
  margin-right: 5%; /* Adjust this value if you need more precise positioning */
}
#background-svg-back {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: -2; /* Set z-index lower to ensure it's behind the front image */
  transition: bottom 2s ease-out; /* Optional: smooth transition for movement */
}

#background-svg-front {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: -1; /* Ensure the front image is above the back image but still behind other content */
  transition: bottom 2s ease-out; /* Optional: smooth transition for movement */
}
