body,
h1, h2, h3, h4, h5, h6,
p, span, li,
.passion-text,
.section-sub-title,
.focus-intro,
.focus-list li,
.contribution-text,
.btn-linkedin-custom {
  font-family: "Lucida Sans", "Lucida Sans Unicode", "Lucida Grande", Geneva, sans-serif !important;
}

.navbar a {
  color: #212529; 
}

.custom-link.active {
  color: #800000 !important;
  border-radius: 12px !important;
}

.navbar .custom-link:hover:not(.active) {
  opacity: 0.6;
}

@media (max-width: 767.98px) {
  .navbar-nav {
    gap: 10px; 
  }
}

p a:visited, 
p a:link {
  text-decoration: none;
  color: #800000;
}

.academic-profile-box {
  margin-top: 10px;
}

.vertical-line {
  margin-bottom: 25px;
  padding-left: 15px;
  border-left: 4px solid #800000; 
}

.passion-text {
  font-size: 20px !important;
  line-height: 1.6;
  color: #113649 !important;
}

.highlight {
  color: #800000 !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 5px;
}

.section-sub-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #800000 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.focus-intro {
  font-size: 16px;
  color: #800000;
  margin-bottom: 15px;
}

.focus-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.focus-list li {
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.bullet-badge {
  background-color: #800000;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.contribution-box {
  background-color: #f8f9fa;
  border-left: 4px solid #800000;
  padding: 15px 20px;
  border-radius: 0 8px 8px 0;
}

.contribution-text {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.highlight-inline {
  color: #800000 !important;
  font-weight: 600;
}

.btn-linkedin-custom {
  background-color: #0077b5 !important;
  color: #ffffff !important;
  border: none !important;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: all 0.2s ease-in-out !important;
}

.btn-linkedin-custom:hover {
  background-color: #ff9d00 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.btn-outline-success {
  border-color: #800000 !important;
  color: #800000 !important;  
}

.btn-outline-success:hover {
  background-color: transparent !important;
  border-color: #800000 !important;
  color: #800000 !important;
  opacity: 0.8;
}

#table-former-body {
  border-collapse: separate;
}

.former-category-header td {
  background: transparent !important;
}

.former-row {
  transition: background-color 0.15s ease-in-out;
  border-bottom: 1px solid #f1f3f5 !important;
}

.former-row:nth-of-type(even) {
  background-color: #fafbfc;
}

.former-row:hover {
  background-color: #f4f6f8 !important;
}

.current-pos-text {
  display: inline-block;
  font-style: italic;
  position: relative;
  padding-left: 12px;
}

.project-card, .cifre-box {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover, .cifre-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 .4rem .8rem rgba(0,0,0,.08) !important;
}

.img-container {
  height: 85px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}

.text-maroon { color: #800000 !important; }
.btn-maroon { background-color: #800000; color: white; }
.btn-maroon:hover { background-color: #600000; color: white; }
.border-maroon { border-color: #800000 !important; }

.custom-card,
.rounded-iframe {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.custom-card {
  border: none;
}

.rounded-iframe {
  overflow: hidden;
}

.access-step {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
}

.access-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  background-color: #800000;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: bold;
}