.custom-div {
      background-color: #f2f7f8;
      width: 100%;
      height: 300px;
      padding-left: 15rem;
      padding-right: 15rem;
      transition: background-color 0.3s ease; 
      margin-top:10px;
    }

    .subHead{
      font-size: 1.25rem;
      font-weight: bold;
      margin: 10px 0;
    }

    .custom-div:hover {
      background-color: #e1eef0; 
    }

    .anchor {
      font-size: .82rem;
      line-height: 46px;
      color: #006e74;
      font-weight: 700;
      text-decoration: none;
      transition: color 0.3s ease, transform 0.3s ease; 
    }

    .anchor:hover {
      color: #004e54;
      transform: scale(1.05); 
    }

    .name {
      font-size: 2.5rem;
      transition: font-size 0.3s ease; 
      color:black;
    }

    .name:hover {
      font-size: 2.8rem; 
    }

    .designation {
      font-size: 1.25rem;
    }

    .additional-info {
      padding-top: 1rem;
    }


    .container-layout {
    
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 4rem 0;
      opacity: 0;
      animation: fadeIn 1s forwards; 
    }

    .text-content p {
      margin-top: 0;
      background-color: #f7f7f1;
      padding: 15px;
    }

    .text-content {
      max-width: 50%;
      margin-right: 60px; 
      opacity: 0;
      animation: slideInLeft 0.8s forwards; 
    }

    .text-content h1 {
      font-size: 2.5rem;
      margin-top: 0;
    }

    .text-content p {
      font-size: 1.15rem;
      text-align: justify;
      margin-top: 0;
    }
    .text-content ul {
      font-size: 1.15rem;
      text-align: justify;
     
      margin-top: 0;
       padding: 15px;
    }

    .image-content {
      opacity: 0;
      animation: slideInRight 0.8s forwards; 
    }

    .image-content img {
      max-width: 100%;
      height: 550px;
      transform: scale(0.9);
      transition: transform 0.3s ease; 
    }

  

    @keyframes fadeIn {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }

    @keyframes slideInLeft {
      from {
        transform: translateX(-30px);
        opacity: 0;
      }
      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

    @keyframes slideInRight {
      from {
        transform: translateX(30px);
        opacity: 0;
      }
      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

    @media (max-width: 768px) {
      .custom-div {
        padding-left: 2rem;
        padding-right: 2rem;
      }

      .text-content {
        max-width: 100%;
        margin-right: 0;
        padding-top: 31px;
      }

      .container-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem; 
      }

      .image-content {
        order: -1; 
      }

      .image-content img {
        max-width: 100%;
        height: auto;
      }
    }

    @media (max-width: 576px) {
      .name {
        font-size: 2.5rem;
      }

      .designation {
        font-size: 1.5rem;
      }

      .anchor {
        font-size: 0.79rem;
      }
    }
          .read-more {
            display: flex;
            align-items: center;
            font-size: 18px;
            color: #006e74;
            cursor: pointer;
            font-weight: bold;
            text-decoration: none; 
                margin-left: 32px;
                
        }
        
        .read-more:hover {
            color: #006e74; 
            text-decoration: none;
        }
        
        .read-more::after {
            content: "→";
            font-weight: bold;
            margin-left: 10px;
            font-weight: normal;
            transition: margin-left 0.3s ease-in-out, font-weight 0.3s ease-in-out;
        }
        
        .read-more:hover::after {
            margin-left: 20px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
            font-weight: bold;
        }