:root {
  --primary-color: #c9191e;
  /* INRIA red: rgb(201, 25, 30) */
  --accent-color: #a01419;
  /* Darker shade for accents */
  --bg-color: #f8f9fa;
  --text-color: #333;
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;
}

html,
body {
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--bg-color);
  font-size: 16px;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-weight: 700;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

/* Navigation Styles */
.nav-pills .nav-link {
  background-color: transparent !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 15px;
  transition: all 0.3s ease;
  margin: 0 5px;
}

.nav-pills .nav-link:hover,
.nav-pills .nav-link.active {
  background-color: var(--primary-color) !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
  transform: translateY(-2px);
}

/* Banner Styles */
.banner {
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
  /* Space for jumbotron overlap */
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  padding-top: 20px;
  color: white;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/team-banner.png");
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  z-index: 0;
}

.banner > .container,
.banner * {
  position: relative;
  z-index: 1;
}

.banner h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  color: var(--primary-color);
}

/* Main Content Styles */
.main-body {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: 15px;
  margin-bottom: 25px;
}

/* Custom Jumbotron (since BS5 removed it) */
.jumbotron {
  background-color: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: -30px;
  border: none;
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
}

/* Utility Classes */
.lang-dropdown > li > button {
  background: none;
  border: none;
  cursor: pointer;
}

.lang-dropdown > li > button:hover {
  background: #5553;
  border-radius: 12px;
}

.person {
  font-style: italic;
  color: green;
}

.title {
  color: blue;
  display: block;
}

.pause {
  color: blueviolet;
  display: block;
}

td {
  text-align: center;
  vertical-align: middle !important;
}

.hour {
  color: brown;
}

table tr td:first-child {
  line-break: normal;
}

/* Card Styles */
.card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}
