/* Logo */
.hint-logo {
  width: 10px;
  height: 10px;
  object-fit: contain;
  filter: drop-shadow(0 0 3px rgba(0,0,0,0.5));
}

.creator {
  opacity: 0.8;
}
 
 
.topbar {
  min-height: 64px;

  background: rgba(8, 12, 17, 0.88);

  border-bottom: 1px solid rgba(255,255,255,.08);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  z-index: 9999;
}


/* LOGO */

.topbar-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}


/* BRAND */

.topbar-subtitle {

  display: block;

  margin-top: 2px;

  color: rgba(255,255,255,.45);

  font-size: 9px;

  letter-spacing: 1.2px;

  text-transform: uppercase;
}


/* NAVIGATION */

.topbar-link {

  margin: 0 10px;

  color: rgba(255,255,255,.65);

  font-size: 12px;

  text-decoration: none;

  transition: .25s ease;
}

.topbar-link:hover {

  color: #E31B3B;

}


/* ICON */

.topbar-icon {

  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;

  margin-left: 6px;

  padding: 0;

  border: 0;

  background: transparent;

  color: rgba(255,255,255,.7);

  font-size: 17px;

  transition: .25s ease;
}

.topbar-icon:hover {

  color: #E31B3B;

  transform: translateY(-1px);

}


/* MOBILE */

@media (max-width: 991px) {

  .topbar {

    min-height: 58px;

  }

  .topbar-logo {

    height: 36px;

  }

  .topbar-subtitle {

    display: none;

  }

}

/* =====================================================
   BIMWORKS ABOUT MODAL
===================================================== */

.bimworks-about-modal {

  position: fixed;

  inset: 0;

  display: none;

  align-items: center;

  justify-content: center;

  padding: 25px;

  z-index: 999999;

}


/* ACTIVE */

.bimworks-about-modal.active {

  display: flex;

}


/* OVERLAY */

.bimworks-about-overlay {

  position: absolute;

  inset: 0;

  background: rgba(0,0,0,.78);

  backdrop-filter: blur(8px);

}


/* DIALOG */

.bimworks-about-dialog {

  position: relative;

  z-index: 2;

  width: min(900px, 100%);

  max-height: 90vh;

  overflow-y: auto;

  background: #0b1016;

  border: 1px solid rgba(255,255,255,.12);

  border-radius: 20px;

  box-shadow:
    0 40px 120px rgba(0,0,0,.7);

  color: #fff;

  animation: bimworksModalIn .25s ease;

}


@keyframes bimworksModalIn {

  from {

    opacity: 0;

    transform: translateY(20px) scale(.97);

  }

  to {

    opacity: 1;

    transform: translateY(0) scale(1);

  }

}


/* CLOSE */

.bimworks-about-close {

  position: absolute;

  top: 18px;

  right: 18px;

  z-index: 5;

  width: 38px;

  height: 38px;

  border: 1px solid rgba(255,255,255,.12);

  border-radius: 50%;

  background: rgba(255,255,255,.05);

  color: #fff;

  cursor: pointer;

}

.bimworks-about-close:hover {

  color: #E31B3B;

  border-color: #E31B3B;

}


/* HEADER */

.bimworks-about-header {

  padding: 35px 40px 15px;

}


.bimworks-about-label {

  margin-bottom: 8px;

  color: #E31B3B;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 2px;

}


.bimworks-about-header h2 {

  margin: 0;

  font-size: 36px;

  font-weight: 300;

}


.bimworks-about-header h2 span {

  color: #E31B3B;

  font-weight: 700;

}


/* BODY */

.bimworks-about-body {

  padding: 15px 40px 30px;

}


.bimworks-about-body p {

  color: rgba(255,255,255,.55);

  line-height: 1.8;

}


.bimworks-about-lead {

  font-size: 18px;

  color: rgba(255,255,255,.9) !important;

}


/* CARD */

.bimworks-about-card {

  height: 100%;

  display: flex;

  gap: 14px;

  padding: 17px;

  border: 1px solid rgba(255,255,255,.07);

  border-radius: 12px;

  background: rgba(255,255,255,.025);

}


.bimworks-about-card > i {

  flex-shrink: 0;

  color: #E31B3B;

  font-size: 22px;

}


.bimworks-about-card h5 {

  margin: 0 0 5px;

  font-size: 14px;

}


.bimworks-about-card p {

  margin: 0;

  font-size: 12px;

  line-height: 1.6;

}


/* FOOTER */

.bimworks-about-footer {

  display: flex;

  gap: 10px;

  align-items: center;

  padding: 10px 40px 30px;

}


.bimworks-about-button {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 11px 18px;

  border-radius: 8px;

  background: #E31B3B;

  color: #fff;

  font-weight: 600;

  text-decoration: none;

}


.bimworks-about-secondary {

  padding: 11px 18px;

  border-radius: 8px;

  border: 1px solid rgba(255,255,255,.2);

  background: transparent;

  color: #fff;

  cursor: pointer;

}


/* MOBILE */

@media (max-width: 575px) {

  .bimworks-about-modal {

    padding: 10px;

  }

  .bimworks-about-dialog {

    max-height: 94vh;

  }

  .bimworks-about-header {

    padding: 28px 22px 10px;

  }

  .bimworks-about-body {

    padding: 15px 22px 20px;

  }

  .bimworks-about-footer {

    padding: 10px 22px 22px;

    flex-wrap: wrap;

  }

  .bimworks-about-header h2 {

    font-size: 28px;

  }

}

/* =========================================
   PROJECTS DROPDOWN
========================================= */

.Projects-dropdown {
  position: relative;
  display: inline-block;
}

.Projects-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.Projects-toggle i {
  font-size: 10px;
  transition: transform 0.25s ease;
}

.Projects-dropdown.active .Projects-toggle i {
  transform: rotate(180deg);
}

.Projects-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;

  min-width: 180px;

  background: #ffffff;
  border-radius: 5px;

  padding: 5px;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.15);

  border: 1px solid rgba(0, 0, 0, 0.08);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);

  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;

  z-index: 9999;
}

.Projects-dropdown.active .Projects-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.Projects-menu a {
  display: flex;
  align-items: center;

  padding: 11px 13px;

  color: #333;
  text-decoration: none;

  border-radius: 5px;

  font-size: 10px;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.Projects-menu a:hover {
  background: #f3f3f3;
  color: #8b1e1e;
}

.Projects-menu i {
  width: 18px;
  text-align: center;
}

/* =========================================
   ecosystem DROPDOWN
========================================= */

.ecosystem-dropdown {
  position: relative;
  display: inline-block;
}

.ecosystem-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.ecosystem-toggle i {
  font-size: 10px;
  transition: transform 0.25s ease;
}

.ecosystem-dropdown.active .ecosystem-toggle i {
  transform: rotate(180deg);
}

.ecosystem-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;

  min-width: 180px;

  background: #ffffff;
  border-radius: 5px;

  padding: 5px;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.15);

  border: 1px solid rgba(0, 0, 0, 0.08);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);

  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;

  z-index: 9999;
}

.ecosystem-dropdown.active .ecosystem-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ecosystem-menu a {
  display: flex;
  align-items: center;

  padding: 11px 13px;

  color: #333;
  text-decoration: none;

  border-radius: 5px;

  font-size: 10px;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.ecosystem-menu a:hover {
  background: #f3f3f3;
  color: #8b1e1e;
}

.ecosystem-menu i {
  width: 18px;
  text-align: center;
}
