html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', sans-serif;
}
body.font-avenir {
  font-family: 'Nunito Sans', 'Avenir', 'Avenir Next', sans-serif;
}
body.font-gothic {
  font-family: 'Gothic A1', sans-serif;
}
body.font-source {
  font-family: 'Source Sans Pro', sans-serif;
}
.signal-animation-wrapper {
  position: relative;
  overflow: hidden;
  background: #fff;
  /*height: 100%;*/
  /*width: 100%;*/
  background: linear-gradient(to right, #fff7f0, #fbeedb);
  /*background-image: url('imgs/hero/1.jpeg');*/
}
.glass-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.glass-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 40px rgba(31, 38, 135, 0.15);
  background: rgba(255, 255, 255, 0.2);
}
.neu-card {
  background: #f2f3f5;
  border-radius: 16px;
  box-shadow:
    8px 8px 16px #d1d9e6,
    -8px -8px 16px #ffffff;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.neu-card:hover {
  box-shadow:
    inset 4px 4px 10px #d1d9e6,
    inset -4px -4px 10px #ffffff;
}
.signal-animation-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  border: 3px solid rgba(255, 0, 0, 0.2);
  border-radius: 50%;
  z-index: 0;

  /* Set the visual start state */
  transform: translate(-50%, -50%) scale(4);
  opacity: 0.5;

  animation: rippleFullscreen 2.5s ease-out forwards;
  animation-iteration-count: 1;
}
@keyframes rippleFullscreen {
  0% {
      transform: translate(-50%, -50%) scale(4);
      opacity: 0.5;
  }
  100% {
      transform: translate(-50%, -50%) scale(7);
      opacity: 0;
  }
}

@media (max-width: 767.98px) {
  .signal-animation-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    border: 3px solid rgba(255, 0, 0, 0.2);
    border-radius: 50%;
    z-index: 0;

    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;

    animation: rippleMobile 2.5s ease-out forwards;

    animation-iteration-count: 1;
  }

  @keyframes rippleMobile {
    0% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0.5;
    }
    100% {
      transform: translate(-50%, -50%) scale(2.5);
      opacity: 0;
    }
  }
}

.highlight {
  /*background-color:rgb(188,18,42);*/
  /*background-color:rgb(252,245,237);*/

  /*background-color:rgb(252,246,239);*/
  /*background: linear-gradient(to right, #fff7f0, #fbeedb);*/
  background: linear-gradient(to right, #fff4ec, #fef2e6);
  /*background: linear-gradient(to right, #fff8f2 20%, #fbe3cf 80%);*/
  
  /*background-color:rgb(250,248,243);*/
  border-color: rgb(170,117,43);

  font-weight: bold;
  display: inline-block;
  padding: .2em;
  border-radius: 4px;
  font-size:20px;

  border-style: solid;
  border-width: 0px;
}
.tooltip-inner {
  max-width: 400px;
  white-space: normal;
  text-align: left;
  font-size:20px;

  padding: 20px 24px;
}

/* Optional: only apply to tooltips triggered by .wide-tooltip */
.wide-tooltip[data-bs-toggle="tooltip"] ~ .tooltip .tooltip-inner {
  max-width: 400px;
}
.tooltip-indicator {
  text-decoration: underline;
  text-decoration-style: dashed;
  text-decoration-color: rgb(180,43,54); /* Your custom underline color */
  text-underline-offset: 3px;
  /*cursor: crosshair;*/
  text-decoration-thickness: 2px;
  transition: color 0.2s ease;
}

.tooltip-indicator:hover {
  color: rgb(180,43,54); /* Optional: Bootstrap primary blue for hover effect */
}
.pub-img {
  width:100%; 
  float: left
}
.altbg {
  /*background-color:rgb(252,246,239);*/
  /*background: linear-gradient(to right, #fff7f0, #fbeedb);*/
  background-image: url('imgs/cmu.jpg');
  background-size: cover;        /* Scales image to cover the area */
  background-repeat: no-repeat;  /* Prevents tiling */
  background-position: center;   /* Centers the image */
  /*background: linear-gradient(to right, #fff4ec, #fef2e6);*/
  /*background: linear-gradient(to right, #fff8f2 20%, #fbe3cf 80%);*/
  /*background-color:rgb(246,246,246);*/
}
.altbg2 {
    background: linear-gradient(to right, #fff7f0, #fbeedb);
}
.nolink {
  color: #c9170b;
}
.scroll-offset {
  scroll-margin-top: 10px; /* account for sticky navbar height */
}

@media (max-width: 767.98px) {
  .scroll-offset {
    scroll-margin-top: 10px; /* account for sticky navbar height on mobile */
  }
}
.lift-on-hover {
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  display: inline-block;
}
.lift-on-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.nav-underline-hover {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.nav-underline-hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: rgb(188,18,42);
  transition: width 0.3s ease;
}
.nav-underline-hover:hover::after {
  width: 100%;
}

.underline-over-text {
  position: relative;
  display: inline-block;
  z-index: 0;
}
.underline-over-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.1em; /* adjust to raise/lower the line */
  width: 100%;
  height: 0.1em;  /* thickness of the underline */
  background-color: #c0392b;  /* choose your color */
  z-index: 2;
}
.inline-underline-over {
  background-image: linear-gradient(to top, #c0392b 3px, transparent 2px);
  background-repeat: repeat-x;
  background-size: 100% 1em;
  background-position: 0 100%;
}
.lab-title-highlight {
  /*background: linear-gradient(120deg, #ffe8d2 0%, #fbe0c3 100%);*/
  /*display: inline;*/
  /*padding: 0.2em 0.4em;*/
  /*border-radius: 0.3em;*/
  /*color:rgb(185,30,45);*/
  font-weight:bold;
  
  white-space: nowrap;
  /*font-size: clamp(1.2rem, 5vw, 2rem); /* responsive sizing */*/
}
a {
  color:#c9170b;
  -o-transition:.5s;
  -ms-transition:.5s;
  -moz-transition:.5s;
  -webkit-transition:.5s;
  transition:.2s;
  outline: 0;
  text-decoration: none;
}
input::-moz-focus-inner { 
  border: 0; 
}
a:hover {
  color: #a5a5a7;
  text-decoration: none;
}
.card-animate {
  opacity: 0;
  transform: scale(0.98) translateY(20px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.card-animate.appear {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.card-lift {
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.card-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.pub_img {
  width: 50%;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .pub_img {
    width: 20%;
  }
}

.ptitle {
  /*font-family: Avenir, Helvetica Neue, Helvetica, Arial;*/
  color:black;
  font-size:13pt;
  font-weight: bold;
}
.auth2,
.auth2 a {
  /*font-family: Avenir, Helvetica Neue, Helvetica, Arial;*/
  /*font-family: Times;*/
  font-weight: bold;
  font-style: italic;
  text-decoration: underline;
  font-size: 12pt
}
.auth1,
.auth3,
.auth1 a,
.auth3 a {
  /*font-family: Avenir, Helvetica Neue, Helvetica, Arial;*/
  /*font-family: Times;*/
  font-size: 12pt;
  color:black;
}
.auth1 a:hover,
.auth3 a:hover {
  color: #a5a5a7;
  text-decoration: none;
}