:root {
  --main-color: #879ed2;
  --hover-color: #c3cfea;
  --text-hover-color: #7a97d7;
  --text-color: #212529;
  --header-color: #495057;
  --bs-secondary-color: #6c757d;
  --bs-background-color: #ffff;
  
  --font-weight-regular: 400;
  --font-weight-bold: 700;
}

.logo-container {
  width: 52.5mm; /* 1/4 of A4 page width */
  display: none !important;
  visibility: hidden !important;
}

.logo-container img {
  width: 100%;
  height: auto;
}

/* General Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: white; /* Ensure this rule has enough specificity */
}

a, .nav-tabs .nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: var(--font-weight-regular);
  transition: all 0.2s ease-in-out;
}

#nav-talent {
  width: 82px;
}

a:hover, .text-muted-link:hover, .navbar-nav .nav-link:hover {
  color: var(--main-color);
}

hr {
  margin-top: 5px;
}

h1 {
  font-size: 50px;
  text-transform: uppercase;
  font-weight: 150;
  color: var(--header-color);
}

h2 {
  font-size: 2rem;
  font-weight: 250;
  text-transform: uppercase;
}

h3, h4 {
  font-size: 1.3rem;
  font-weight: 200;
}

.text-muted-link {
  color: var(--bs-secondary-color);
  cursor: pointer;
}

.flag-icon {
  margin-left: 0.4em;
  width: 30px !important;
  height: 30px !important;
}


/* Navbar */
.nav-link, .dropdown-item {
  transition: all 0.2s ease-in-out;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show, .dropdown-item.active, .dropdown-item:hover, .dropdown-item:focus, .lang-btn.active {
  color: var(--main-color);
  font-weight: var(--font-weight-bold);
}

.dropdown-item.active, .dropdown-item:hover, .dropdown-item:focus {
  background-color:var(--bs-background-color) ; 
}

.navbar-nav .nav-link:hover {
  color: var(--main-color);
}

/* Buttons */
.pdf-button {
  background-color: var(--main-color) !important;
  border: none !important;
  color: white !important;
  padding: 8px 5px !important;
  text-align: center !important;
  display: inline-block !important;
  font-size: 16px !important;
  border-radius: 50px !important;
  border: 2px solid var(--main-color) !important;
  text-decoration: none;
}

.pdf-button:hover {
  background-color: var(--hover-color) !important;
  color: var(--text-hover-color) !important;
  border: 2px solid var(--hover-color) !important;
}

/* Talent Page */
.talent-title {
  padding-top: 40px;
  padding-bottom: 40px;
}

.talent-title h1 {
  font-size: 50px;
  text-transform: uppercase;
  font-weight: 100!important;
  color: var(--header-color);
  margin-bottom:0px;
}





.talent-title a, .talent-title a:hover::after {
  text-decoration: none;
}

.talent-title a:hover::after {
  background-color: var(--main-color);
}

.talent-photos img, .aa-banner, .video-container iframe {
  border-radius: 0.5rem;
  margin: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* CV Page */
.talent-bio ul > li {
  padding-bottom: 15px;
  list-style-type: disc;
}

.talent-bio ul > li > ul > li {
  padding-top: 5px;
  padding-bottom: 0;
  list-style-type: circle;
}

/* Cards */
.card {
  margin-bottom: 30px;
}

.card-title, .card-title a {
  font-weight: 100 !important;
  font-size: 1.6rem;
  margin-bottom: 0;
  text-align: center !important;
  text-transform: uppercase;
}

.card-img-top {
  object-fit: cover;
  height: 481px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.card:hover .card-img-top {
  opacity: 0.7;
}

.card-shadow {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.terms-content-en, .terms-content-fr, .cookies-content-en, .cookies-content-fr {
  display: none !important;
}

.share-btn {
  font-size: 1.5rem;
  padding: 0.25rem;
  color: var(--bs-secondary-color);
  transition: filter 0.3s; /* Smooth transition for the filter */
}

.share-btn:hover {
  color: var(--main-color);
}

.fixed-bottom {
  margin-top: auto;
  width: 100%;
  position: fixed;
  bottom: 0;
  padding: 20px; /* Optional: Adjust the padding as needed */
  text-align: center; /* Optional: Center align the text */
}

.dropdown-menu {
  min-width:300px;
}


/* Mobile-specific styles */
@media (max-width: 991.98px) {
  .dropdown-menu {
    transform: none; /* Remove transform to prevent it from going off-screen */
    left: auto; /* Reset left positioning */
    right: 0; /* Align dropdown to the right of the screen */
    width: 100%; /* Full width within the collapsed navbar */
    white-space: normal; /* Allow text to wrap on small screens */
  }

  .navbar-collapse {
    width: 100%; /* Full width on smaller screens */
    position: relative; /* Ensure proper context for absolute positioning */
  }
}
