/* director_message coding */

#director_message{
    width:100%;
    height:100%;
    /* background-color: violet; */
    padding:10px 20px;
    margin-top: 100px;
}

#director_message .container{
    width:100%;
    height:100%;
    /* background-color: #654654;  */
}

#director_message .container .image-container img{
    width:100%;
    height:100%;
    border-radius: 12px;
    object-fit: cover;
}

#director_message .container .content{
    width:100%;
    height:100%;
    /* background-color: #2563EB; */
    padding:20px 80px 0 80px;
    display: flex;
}

#director_message .container .content .left{
    width:50%;
    height:60%;
    /* background-color: teal; */
}

#director_message .container .content .left img{
    width:100%;
    height:60%;
    border-radius: 12px;
    object-fit: cover;
}

#director_message .container .content .right{
    width:50%;
    height:100vh;
    /* background-color: rgb(4, 56, 56); */
    padding:20px 40px;
}

#director_message .container .content .right p,
#director_message .container .details p{
    color:#000;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.4;
}

#director_message .container .details{
    width:100%;
    height:100%;
    /* background-color: #2563EB; */
    padding:20px 80px 0 80px;
    /* display: flex; */
}

#director_message .container .valves_details{
    /* background-color: yellowgreen; */
    width:100%;
    padding:20px 40px;
}
#director_message .container .valves_details h4{
    color:#000;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
}

#director_message .container .valves_details ul li{
    color:#000;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
}

#director_message .container .content .left .name{
    width:100%;
    height:100%;
    /* background-color: #9563EB; */
    padding:50px 0 0 0;
}

#director_message .container .content .left .name p{
    color:#2563EB;
    font-size: 2.6rem;
    font-weight: 400;
}

#director_message .container .company-details{
    width:100%;
    height:100%;
    /* background-color: #8593EB; */
    padding:80px 80px 0 80px;
}

#director_message .container .company-details h2{
    color:#2563EB;
    font-size: 2.6rem;
    font-weight: 400;
    text-transform: uppercase;
}

#director_message .container .company-details .goals{
    width:100%;
    height:100%;
    /* background-color: #0022ff; */
    /* padding:80px 80px 0 0px; */
}

.page6-elem{
    margin-top: 3vh;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    /* background-color: #0DA34E; */
    border-top: 2px solid #ccc;
    padding-top: 3vh;
    padding-bottom: 5vh;
    position: relative;
    overflow: hidden;
    transition: all cubic-bezier(0.19, 1, 0.22, 1) 0.5s;
}

.page6-elem h3{
    font-size: 2rem;
    font-weight: 400;
    color: #000;
    position: relative;
    z-index: 8;
    /* padding: 1vw 1.5vw; */
    transition: all cubic-bezier(0.19, 1, 0.22, 1) 0.5s;
}

.page6-elem p{
    width: 60%;
    margin-left: 10px;
    font-size: 1.4rem;
    font-weight: 350;
    color: #000;
    position: relative;
    z-index: 8;
    /* padding: 1vw 1.5vw; */
    /* background-color: violet; */
    transition: all cubic-bezier(0.19, 1, 0.22, 1) 0.5s;
}

.page6-elem i{
    font-size: 1.5rem;
    color: #000;
    position: relative;
    z-index: 8;
    /* padding: 1vw 1.5vw; */
    transition: all cubic-bezier(0.19, 1, 0.22, 1) 0.5s;
}

.over6{
    height: 100%;
    width:100%;
    position: absolute;
    background-color: #ddd;
    top: 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: all cubic-bezier(0.19, 1, 0.22, 1) 0.5s;
}

.page6-elem:hover h3{
    margin-left: 1vw;
}

.page6-elem:hover p{
    margin-right: 1vw;
}

.page6-elem:hover .over6{
    transform: translateY(0);
    opacity: 0.8;
}

.page6-elem:hover{
    border-top: 2px solid #111;
}


.overlay-text {
    position: absolute;
    top: 50%; /* Adjust this to position the text vertically */
    left: 50%; /* Adjust this to position the text horizontally */
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.6rem;
    position: relative;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.5); /* Optional: background for better contrast */
    padding: 10px 20px;
    border-radius: 16px;
  }

.overlay-text h2{
    color: #ffffff;
    /* text-align: center;
    display: flex;
    align-items: center; */
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    /* position: absolute; */
    font-size: 2.6rem;
  }

  button{
    background-color:#2563EB;
    color: #fff;
    border: none;
    padding:10px 20px;
    border-radius: 8px;
  }

  button a{
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
  }

  /* -------------------------------
   Responsive Styles - Director Message Section
--------------------------------*/

/* Tablets and small laptops */
@/media (max-width: 1024px) {
  #director_message .container .content {
    padding: 20px 40px 0 40px;
  }

  #director_message .container .content .right {
    padding: 20px;
    height: auto;
  }

  #director_message .container .details {
    padding: 20px 40px 0 40px;
  }

  #director_message .container .company-details {
    padding: 60px 40px 0 40px;
  }

  .page6-elem {
    flex-direction: column;
    gap: 10px;
  }

  .page6-elem p {
    width: 100%;
    font-size: 1.2rem;
  }

  .page6-elem h3 {
    font-size: 1.6rem;
  }
}

/* Mobile devices */
@/media (max-width: 768px) {
  #director_message {
    padding: 10px;
    margin-top: 60px;
  }

  #director_message .container .content {
    flex-direction: column;
    padding: 10px;
  }

  #director_message .container .content .left,
  #director_message .container .content .right {
    width: 100%;
    height: auto;
  }

  #director_message .container .content .left img {
    height: auto;
  }

  #director_message .container .content .left .name p {
    font-size: 2rem;
    text-align: center;
  }

  #director_message .container .content .right p,
  #director_message .container .details p {
    font-size: 1rem;
  }

  #director_message .container .details {
    padding: 10px;
  }

  #director_message .container .valves_details {
    padding: 10px;
  }

  #director_message .container .valves_details h4 {
    font-size: 1.2rem;
  }

  #director_message .container .valves_details ul li {
    font-size: 0.95rem;
  }

  #director_message .container .company-details {
    padding: 40px 10px 0 10px;
  }

  #director_message .container .company-details h2 {
    font-size: 2rem;
    text-align: center;
  }

  .page6-elem {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 10px;
  }

  .page6-elem h3 {
    font-size: 1.4rem;
  }

  .page6-elem p {
    font-size: 1rem;
    width: 100%;
  }

  .overlay-text {
    font-size: 1.6rem;
    padding: 8px 16px;
  }

  .overlay-text h2 {
    font-size: 1.8rem;
  }

  button {
    padding: 8px 16px;
    font-size: 1rem;
  }

  button a {
    font-size: 1rem;
  }
}

/* Very small devices (phones) */
@/media (max-width: 480px) {
  .overlay-text {
    font-size: 1.2rem;
    padding: 6px 12px;
  }

  .overlay-text h2 {
    font-size: 1.4rem;
  }

  button {
    padding: 6px 12px;
  }

  button a {
    font-size: 0.9rem;
  }

  #director_message .container .content .left .name p {
    font-size: 1.5rem;
  }

  #director_message .container .company-details h2 {
    font-size: 1.5rem;
  }

  .page6-elem h3 {
    font-size: 1.2rem;
  }

  .page6-elem p {
    font-size: 0.9rem;
  }
}
