
/* *{
  outline: 1px red solid;
} */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1 0 auto;
}

.footer {
  flex-shrink: 0;
}
.container {
  width: 100%;
}
.logo {
  width: 100px;
  height: auto;
}

.logo2 {
  position: absolute;
  img {
    height: 35px;
  }
  left: 120px;
  top: 10px;
}

.navbar-nav-right{
  display:flex;
  flex-direction: row !important;
  gap:10px;
  align-items:start;
  justify-content: left;
}
@media (max-width: 768px) {
  .logo2 {
    position:unset;
    img {
     width: 100%;
     height: auto;
    }
  }
}
.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, 0.1);
  border: solid rgba(0, 0, 0, 0.15);
  border-width: 1px 0;
  box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1),
    inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -0.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
  --bd-violet-bg: #712cf9;
  --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: #6528e0;
  --bs-btn-hover-border-color: #6528e0;
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: #5a23c8;
  --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
  z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}

.breadcrumb-chevron {
  --bs-breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  gap: 0.5rem;
}
.breadcrumb-chevron .breadcrumb-item {
  display: flex;
  gap: inherit;
  align-items: center;
  padding-left: 0;
  line-height: 1;
}
.breadcrumb-chevron .breadcrumb-item::before {
  gap: inherit;
  float: none;
  width: 1rem;
  height: 1rem;
}

.breadcrumb-custom .breadcrumb-item {
  position: relative;
  flex-grow: 1;
  padding: 0.75rem 3rem;
}
.breadcrumb-custom .breadcrumb-item::before {
  display: none;
}
.breadcrumb-custom .breadcrumb-item::after {
  position: absolute;
  top: 50%;
  right: -25px;
  z-index: 1;
  display: inline-block;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  content: '';
  background-color: var(--bs-tertiary-bg);
  border-top-right-radius: 0.5rem;
  box-shadow: 1px -1px var(--bs-border-color);
  transform: scale(0.707) rotate(45deg);
}
.breadcrumb-custom .breadcrumb-item:first-child {
  padding-left: 1.5rem;
}
.breadcrumb-custom .breadcrumb-item:last-child {
  padding-right: 1.5rem;
}
.breadcrumb-custom .breadcrumb-item:last-child::after {
  display: none;
}


.nav-link:hover {
  text-decoration: underline;
}

/* Footer Project Link Styling */
.footer-project-link {
  color: #324693;
  text-decoration: none;
  font-weight: 500;
  padding: 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  display: inline-block;
}

.footer-project-link:hover {
  color: #283a7a;
  text-decoration: none;
  border-bottom: 1px solid #324693;
  transform: translateX(2px);
}

.footer-project-link:focus {
  color: #283a7a;
  outline: 2px solid #324693;
  outline-offset: 2px;
  text-decoration: none;
}

.footer-project-link:active {
  color: #1e2d5a;
}

/* Responsive behavior for footer link on very small screens */
@media (max-width: 380px) {
  .footer-project-link {
    white-space: normal;
    line-height: 1.3;
  }
}

/* Mobile Carbon Survey Navigation Item */
.navbar-nav .nav-item a[href*="/carbon-footprint-calculator/"] {
  background: linear-gradient(135deg, rgba(50, 70, 147, 0.1), rgba(74, 91, 163, 0.1));
  border-radius: 8px;
  margin: 0.25rem 0;
  padding: 0.75rem !important;
  border-left: 3px solid #324693;
}

.navbar-nav .nav-item a[href*="/carbon-footprint-calculator/"]:hover {
  background: linear-gradient(135deg, rgba(50, 70, 147, 0.15), rgba(74, 91, 163, 0.15));
  transform: translateX(2px);
}

.navbar-nav .nav-item a[href*="/carbon-footprint-calculator/"] .text-primary {
  color: #324693 !important;
}
