:root {
  --primary-color: #6200ea;
  --secondary-color: #0b57d0;
  --border-light: #f1f1f2;
  --background-color: #f8fafd;
  --background-secondary: #e9f0fe;
  --border-radius-hero: 1.5rem;
  --text-color: #202124;
  --text-secondary: #696d6f;
  --text-header: #2d4770;
  --text-purple: #a033bf;
  --text-link: 0, 73, 209;
  --text-link-hover: 0, 52, 150;
  --shadow-secondary: rgba(0, 0, 0, 0.08);
  --black-color: 0, 0, 0;
  --white-color: 255, 255, 255;
}

body {
  background-color: var(--background-color);
  margin-bottom: 3rem;
}

* {
  color: var(--text-color);
}

.logo-section a {
  display: flex;
  align-items: center;
  color: var(--text-color);
  gap: 0.75rem; /* Space between avatar and name */
  height: 3.75rem;
  text-decoration: none;
}

.name {
  font-size: 1rem;
  font-weight: 700;
}

.navbar {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.nav-links a {
  align-content: center;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  height: 60px;
  padding: 8px 10px;
  text-align: center;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
}

.underline-button {
  position: relative;
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1.2;
  padding: 10px 20px;
  cursor: pointer;
  outline: none;
}

.underline-button::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 3px;
  background-color: var(--primary-color);
  transition: width 0.3s ease, left 0.3s ease;
}

.underline-button:hover::after,
.underline-button.active::after {
  width: 100%;
  left: 0;
}

.ripple-button {
  position: relative;
  overflow: hidden;
  background-color: var(--primary-color);
  color: rgba(var(--white-color), 1);
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}

.ripple-button .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(var(--white-color), 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.avatar {
  margin-bottom: 3.8rem;
}

.avatar img {
  background-color: rgba(var(--white-color), 1);
  border-radius: 50%;
  margin-top: 3rem;
  margin-bottom: 2rem;
  height: 6.25rem;
  width: 6.25rem;
}

.avatar h1 {
  margin-bottom: 1rem;
}

.avatar p {
  margin-bottom: 2rem;
}

.pano-link {
  display: inline-flex;
  align-items: start;
  gap: 8px;
  color: rgba(var(--text-link), 1);
  border-radius: 3rem;
  padding: 0.2rem 0.6rem;
  text-decoration: none;
  border: 0;
  border-style: none;
  text-align: left;
  background-color: rgba(var(--text-link), 0);
}

.pano-link:hover {
  text-decoration: underline;
  color: rgba(var(--text-link-hover), 1);
  background-color: rgba(var(--text-link), 0.1);
  text-decoration: none;
}

.bottom-gap-sm {
  margin-bottom: 0.5rem;
}

.bottom-gap-md {
  margin-bottom: 2rem;
}

.bottom-gap-lg {
  margin-bottom: 4rem;
}

.left-gap-sm {
  margin-left: 1rem;
}

.full-width,
.modal-body img {
  max-width: 100%;
}

.modal-header {
  border-bottom: 0;
}

.modal-footer {
  border-top: 0;
}

.table {
  --bs-table-bg: transparent;
}

.img-radius {
  border-radius: var(--border-radius-hero);
}

.img-title p {
  font-size: 1rem;
  font-weight: 400;
  margin-top: 1.2rem;
  margin-left: 1rem;
}

.heading-purple {
  color: var(--text-purple);
  font-weight: 700;
}

.thumbnail {
  border-radius: 0.5rem;
  background-color: rgba(var(--white-color), 1);
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: left;
  text-decoration: none;
  color: inherit;
  width: 100%;
  min-height: 120px;
  height: auto;
  border: 2px solid var(--border-light);
  box-shadow: 0px 0px 24px 0px var(--shadow-secondary);
}

.thumbnail {
  display: flex;
  justify-content: space-evenly;
}

.thumbnail:hover {
  border: 2px solid var(--primary-color);
}

.thumbnail h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.thumbnail img,
.thumbnail p {
  margin: 0;
}

.lnkd-element {
  padding-top: 3rem;
  padding-bottom: 2.2rem;
}

.lnkd-element,
.lnkd-element > * {
  display: inline-flex;
  gap: 8px;
  color: var(--text-link);
  font-weight: 600;
}

.testimonial h4 {
  font-size: 1rem;
  font-weight: 600;
}
.testimonial {
  text-align: left;
  margin-bottom: 2rem;
}

.testimonial p {
  color: #5e5e5e;
}

.page-section {
  padding-bottom: 4rem;
}

.page-section li {
  margin-bottom: 0.75rem;
}

.page-section h2 {
  margin-bottom: 2rem;
}

.page-section h4 {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.page-section h4 b {
  color: var(--primary-color);
}

.page-section h5 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.study-header {
  padding-top: 8rem;
  padding-bottom: 3rem;
}

.study-header-sm {
  padding-top: 4rem;
  padding-bottom: 2.5rem;
}

.study-header h1 {
  color: var(--text-header);
}

.study-header h2 {
  font-weight: 300;
}

ul.remove-bullets {
  list-style: none;
  padding-left: 0;
}

ul.list-gap {
  list-style: disc;
  list-style-position: outside;
  padding: 0 1rem;
}

.arrow-list li {
  position: relative;
  padding-left: 0;
  margin-bottom: 0.5rem;
}

.results {
  padding-right: 3rem;
  padding-bottom: 0.5rem;
}

.results li:nth-child(1) {
  color: var(--text-header);
  font-size: 5.25rem;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.results-sm li:nth-child(1) {
  color: var(--text-header);
  font-size: 4.2rem;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.results-sm li:nth-child(2),
.results li:nth-child(2) {
  font-size: 1.2rem;
  line-height: 1.6;
}

.case-study {
  background: var(--background-secondary);
  border-radius: 1.5rem;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
  margin-bottom: 2rem;
  position: relative;
  text-decoration: none;
  border: 3px solid var(--background-secondary);
}

.case-study:hover {
  border: 3px solid var(--secondary-color);
}

.case-study img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.case-study-text h5 {
  margin-bottom: 6px;
  color: var(--text-header);
}

.cta {
  align-self: flex-end;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--secondary-color);
}

.cta img {
  width: 100%;
  height: 100%;
  padding: 0.5rem;
  border: none;
}

.navbar {
  margin-left: 0;
  margin-right: 0;
}

.nav-gap {
  margin-top: 4rem;
}

.navbar-shadow-trigger {
  height: 1px;
}

.navbar.shadow-visible {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.2s ease-in-out;
}

.fab-back {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%; /* Circle */
  background-color: #007bff;
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, transform 0.2s;
  z-index: 9999;
}

.fab-back:hover {
  background-color: #0056b3;
  transform: scale(1.1); /* subtle pop on hover */
}
