#profile {
  background: linear-gradient(to right, #f4f6fb, #e9ecf5);
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  font-family: 'Segoe UI', sans-serif;
  min-height: 400px;
}

.profile-container {
  display: flex;
  flex-direction: row;
  background: #fff;
  max-width: 1100px;
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  gap: 30px;
  padding: 40px;
}

.profile-container:hover {
  transform: translateY(-5px);
}

.profile-image-wrapper {


  width: 260px;
  height: 320px;
  position: sticky;
  top: 10px;


}

.profile-image {
  width: 260px;
  height: 320px;
  object-fit: cover;
   position: sticky;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);

}

.profile-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.profile-name {
  font-size: 2rem;
  font-weight: 700;
  color:navy;
  margin-bottom: 10px;
}

.profile-title {
  font-size: 15px;
  color: #5b5d5e;
 font-weight: bold;
  margin-bottom: 20px;
}

.profile-intro,
.profile-summary {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 15px;
  font-weight: 500;
}

.highlight {
  font-weight: 700;
  color: navy;
}

.read-more-button {

  display: inline-block;
  color: white;
  background-color: red;
  font-weight: 600;
  transition: color 0.3s ease;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  text-decoration: none;
  border-radius: 7px;
  margin-left: 0px;
  width: 200px;
  height: 50px;
  padding: 10px;
  border: none;
 
}

  
.modal-dialog-cus
{
  padding: 10px;
  margin-top: 50px;
  
 
}
.modal-body-cus{
  height: 400px;
  overflow: auto;
}
.modal-dialog-cus::-webkit-scrollbar {
  display: none; 
}

   

@media only screen and (min-width: 576px) and (max-width:1340px) {
    .modal-dialog-cus {
       min-width: 70% !important;
    }
  }

  .modal-dialog-cus{
      min-width: 70% !important;

  }

.modal-content{
  border: 2px solid navy;
  border-radius: 20px;
}

.close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 32px;
  color:red;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
}

#closebutton
{
  color:white;
  background-color: red;
}
#closebutton:hover
{
  color:white;
  background-color: red;
}

/* Bio Content Styling */
.bio-content {
  max-width: 700px;
  margin: 0 auto;
  
}

.bio-content h3 {
  font-size: 17px;
  margin-top: 20px;
  color: navy;
  font-weight: 500;
}

.bio-content p {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 15px;
  font-weight: 500;
}

.bio-content .italic {
  font-style: italic;
  color: red;
}



@media (max-width: 768px) {
  #profile
  {
     margin-top: 100px;
  }
  .profile-container {
    flex-direction: column;
    padding: 20px;
    width: 90%;
  }

  .profile-image {
    width:300px;
    height:350px;
   
  }

  .profile-content {
    padding-top: 20px;
  }
}
@media (min-width: 1199px) {
  .section-header p {
    max-width: 60%;
  }
}
