#agent_profile_section {
  padding: 3rem;
  background-color: #295943; 
  color: #EAEEFB;
  clip-path: polygon(51% 0, 70% 0, 100% 0, 100% 100%, 70% 100%, 50% 88%, 30% 100%, 0 100%, 0 0, 30% 0);
}

.agent_profile_container {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  align-items: center; 
  margin-bottom: 7rem;
  gap: 2rem; 
}



.agent_image {
  display: flex;
  justify-content: center;
  align-items: center;
  border-left: 1px solid white;
  padding-left: 2rem; 
  width: fit-content;
  padding-left: 5rem;
}

#home-agent-info-header{
    font-family: "Antic Didone";
    font-weight: 400;
    font-style: normal;
    letter-spacing: .5rem;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0;
}

.home-agent-info-text{
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-family: "Albert Sans", sans-serif;
    font-weight: 100;
    font-style: normal;
    color: white;
}
.agent_image img {
  width: 100%;
  max-width: 300px; 
  border: 10px solid #EAEEFB;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 900px) {
  .agent_profile_container {
      grid-template-columns: 1fr;
  }

  .agent_image {
    width: 100%;
      border-left: none; 
      padding-left: 0; 
      padding-top: 1rem; 
      padding-left:0;
  }

  .agent_info {
      text-align: center; 
      grid-row:2;
  }

  .home-agent-info-text{
    text-align: left;
  }
}


@media (max-width: 750px) {
  #agent_profile_section {
    clip-path: none;
  }
  .agent_profile_container {
    margin-bottom: 0;
}
}
