.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    margin-top: 0;
    border-radius: 0 !important;
    background-color: rgba(255, 255, 255, 0.9);
}

.nav-item.dropdown:hover .dropdown-item.active {
    color: #d6b3ff;
    background-color: unset !important;
}

.nav-item.dropdown {
    cursor: pointer;
}


.dropdown-item.active, .dropdown-item:active {
    color: #d6b3ff;
    background-color: unset !important;
}

.dropdown-item:focus,
.dropdown-item:hover {
    color: #d6b3ff;
    background-color: unset !important;
}

/* === TEAM SECTION === */
.team {
  margin-bottom: 80px;
}
.team .team-item {
  height: 420px;
  max-height: 420px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 16px 10px 12px 10px;
  margin-bottom: 30px;
  overflow: visible;
}
.team .team-item img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  object-position: center top;
  border-radius: 50%;
  margin-bottom: 10px;
  background: #f5f5f5;
  display: block;
}
.team .down-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 0;
}
.team .down-content h4 {
  margin-bottom: 2px;
  font-size: 1.08rem;
  font-weight: bold;
  text-align: center;
  width: 100%;
}
.team .down-content span {
  font-size: 0.97rem;
  color: #800080;
  margin-bottom: 6px;
  text-align: center;
  width: 100%;
}
.team .down-content p {
  font-size: 0.90rem;
  text-align: center;
  margin-bottom: 0;
  line-height: 1.2;
  max-height: none;
  overflow: visible;
  text-overflow: unset;
}

/* === SERVICES SECTION === */
.service-item {
  min-height: 320px;
}

/* === SERVICES CARDS ALIGNMENT === */
.services .row {
  display: flex;
  flex-wrap: wrap;
}
.services .service-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 340px;
  background: #f7f7f7;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  margin-bottom: 0;
  padding-bottom: 0;
  box-sizing: border-box;
}
.services .service-item .down-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.services .service-item .down-content a {
  margin-top: auto;
  align-self: flex-start;
}

/* === CONTACT CARDS ALIGNMENT === */
.contact-information .row {
  display: flex;
  flex-wrap: wrap;
}
.contact-information .contact-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 260px;
  background: #f7f7f7;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  margin-bottom: 0;
  padding: 20px 10px;
  box-sizing: border-box;
}

/* === JA CONSULTING LOGO IN NAVBAR === */
.navbar-logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 50px;
}
.navbar-logo-group img {
  max-height: 50px;
  height: 50px;
  width: auto;
  display: block;
}
.navbar .navbar-brand {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0;
}
.navbar .navbar-brand h2 {
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 24px;
  display: flex;
  align-items: center;
  height: 50px;
}
.navbar-logo {
  max-height: 100px;
  height: 100px;
  width: auto;
  display: block;
}
@media (max-width: 991.98px) {
  .navbar-logo-group h2 {
    font-size: 1.2rem;
  }
  .navbar-logo {
    max-height: 80px;
    height: 80px;
  }
}
@media (max-width: 575.98px) {
  .navbar-logo-group {
    gap: 8px;
  }
  .navbar-logo {
    max-height: 56px;
    height: 56px;
  }
  .navbar-logo-group h2 {
    font-size: 1rem;
  }
}

/* === STYLES FROM ABOUT.HTML === */
.team .team-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.portrait-cercle {
  width: 220px !important;
  height: 220px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
  margin: 0 auto !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
}
