.profile-container {
  display: flex;
  max-width: 1000px;
  margin: 50px auto;
  background: rgba(3, 9, 82, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.profile-image {
  flex: 0 0 250px;
  position: relative;
  padding: 20px;
}

.profile-image::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: -10px;
  right: 10px;
  top: 10px;
  /* border: 2px solid rgba(0, 150, 136, 0.3); */
  border-radius: 15px;
  z-index: -1;
}

.profile-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.profile-content {
  flex: 1;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0 20px 20px 0;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.profile-name {
  font-size: 36px;
  margin: 0 0 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.profile-nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0 0 30px;
  border-left: 3px solid rgba(255, 255, 255, 0.2);
}

.profile-nav li {
  padding: 5px 0 5px 20px;
}

.profile-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-weight: normal;
  transition: color 0.3s ease;
}

.profile-nav .active a {
  color: #009688;
  font-weight: bold;
}

.profile-info h2 {
  font-size: 24px;
  color: #009688;
  margin: 0 0 20px;
}

.profile-info p {
  line-height: 1.6;
  text-align: justify;
  color: rgba(255, 255, 255, 0.9);
}

/* Additional styles */
body {
  min-height: 100vh;
  font-family: 'Arial', sans-serif;
  position: relative;
}

body::before {
  content: '';
  background-image: url('/assets/images/backgrounds/staffback-3.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.9;
  z-index: -1;
}

.profile-content {
  display: flex;
  flex-direction: column;
}

.profile-nav {
  order: -1;
}

.profile-name {
  order: 0;
}

.profile-info {
  order: 1;
}

.profile-text {
  overflow: hidden;
  transition: height 0.3s ease-out;
}

.hidden {
  height: 0;
  padding: 0;
  margin: 0;
}

.show-more-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  color: #ffffff;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
}

.show-more-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Media Query for Responsive Design */
@media (max-width: 768px) {
  .profile-container {
    flex-direction: column;
    margin: 20px;
  }

  .profile-image {
    flex: 0 0 auto;
  }

  .profile-content {
    border-radius: 0 0 20px 20px;
  }
}

/* .staff_section-title {
  margin-bottom: 1.5rem;
  padding: 1rem;
} */

.staff_section-title__title {
  position: relative;
  font-size: 2.5rem;
  font-family: 'DM Sans', sans-serif;
  text-transform: capitalize;
  color: #ffffff;
  margin: 0;
  letter-spacing: 2px;
  /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); */
  display: inline-block;
}

.staff_section-title__title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

.staff_section-title__title::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  animation: slide 3s ease-in-out infinite;
}

@keyframes slide {
  0% {
    left: 30%;
  }
  50% {
    left: 70%;
  }
  100% {
    left: 30%;
  }
}
