body {
    overflow-x: hidden;
}


.director {
    display: flex;
}
@media only screen and (max-width:768px) {
    .director {
        flex-direction: column;
    }
}
@media only screen and (max-width:428px) {
    .director {
        flex-direction: column;
    }
}
.director img {
    margin-right: 20px; 
}

.director h3 {
    margin: 0;
}

.director p {
    font-size: 18px;
} 
.organization h4 {
    color: #0A54C4;
}
.section .container h3{
    position: relative;
    background-color: #00a4e3;
}
.srikanth {
    height: 40vh;
    width: 100%;
    background-repeat: no-repeat;
}
@media only screen and (max-width:768px) {
    .srikanth {
        height: 30vh;
        width: 100%;
        background-repeat: no-repeat;
        background-size: cover;
        background-repeat: no-repeat;
    }
}
section .container li {
    margin-bottom: 1rem;
}
section .container h3 {
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
}
section .container h3::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 90px;
    height: 5px;
    background-color: #00a4e3;
    border-radius: 4px;
}


/* Tree */

:root {
    --level-1: #0A54C4;
    --level-2: #3373c4;
    --level-3: #92B8F1;
    --level-4: #92B8F1;
    --black: black;
}
#director ol {
    list-style: none;
}
#director {
    max-width: 1000px;
    padding: 0 5px;
    margin: 0 auto;
    text-align: center;
}

#director h1 {
    font-size: 20px;
    color: #fff;
}

#director h2 {
    font-size: 18px;
    color: #fff;
}

#director h4 {
    font-size: 15px;
}

.rectangle {
    position: relative;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

  /* LEVEL-1 STYLES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
.level-1 {
    width: 20%;
    margin: 0 auto 40px;
    background: var(--level-1);
    border-radius: 3px;
}
#Deputy {
  width: 30%;
  margin: 0 auto 40px;
  background: var(--level-1);
  border-radius: 3px;
}

@media only screen and (max-width:768px){
  #Deputy {
    width: 100%;
  }
}

.level-1::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: var(--black);
}

/* LEVEL-2 STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.level-2-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.level-2-wrapper::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 15.2%;
    width: 66%;
    height: 2px;
    background: var(--black);
}

.level-2-wrapper::after {
    display: none;
    content: "";
    position: absolute;
    left: -20px;
    bottom: -20px;
    width: calc(100% + 20px);
    height: 2px;
    background: var(--black);
}

.level-2-wrapper li {
    position: relative;
}

.level-2-wrapper > li::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: var(--black);
}

.level-2-wrapper > li:last-child:before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 0;
  background: var(--black);
}


.level-2 {
    width: 70%;
    margin: 0 auto 40px;
    background: var(--level-2);
}

/* .level-2::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: var(--black);
} */

.level-2::after {
    display: none;
    content: "";
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-100%, -50%);
    width: 20px;
    height: 2px;
    background: var(--black);
}

  /* LEVEL-3 STYLES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  /* .level-3-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 10px;
    width: 100%;
    margin: 0 auto;
  }
  
  .level-3-wrapper::before {
    content: "";
    position: absolute;
    top: -20px;
    left: calc(25% - 5px);
    width: calc(50% + 10px);
    height: 2px;
    background: var(--black);
  }
  
  .level-3-wrapper > li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    width: 2px;
    height: 20px;
    background: var(--black);
  }
  
  .level-3 {
    margin-bottom: 20px;
    background: var(--level-3);
  } */
  /* LEVEL-4 STYLES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .level-4-wrapper {
    position: relative;
    width: 80%;
    margin-left: auto;
  }
  
  .level-4-wrapper::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -20px;
    width: 2px;
    height: calc(100% + 40px);
    background: var(--black);
  }
  .Interim::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 2px;
    height: calc(100% + 40px);
    background: var(--black);
  }


  .level-4-wrapper li + li {
    margin-top: 20px;
  }
  
  .level-4 {
    font-weight: normal;
    background: var(--level-4);
  }
  
  .level-4::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-100%, -50%);
    width: 50px;
    height: 2px;
    background: var(--black);
  }
  
  /* MQ STYLES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  @media screen and (max-width: 700px) {
    .rectangle {
      padding: 20px 10px;
    }
  
    .level-1,
    .level-2 {
      width: 100%;
    }
  
    .level-1 {
      margin-bottom: 20px;
    }
  
    .level-1::before,
    .level-2-wrapper > li::before {
      display: none;
    }
    
    .level-2-wrapper,
    .level-2-wrapper::after,
    .level-2::after {
      display: block;
    }
  
    .level-2-wrapper {
      width: 90%;
      margin-left: 10%;
    }
  
    .level-2-wrapper::before {
      left: -5px;
      width: 2px;
      height: calc(100% + 40px);
    }
  
    .level-2-wrapper > li:not(:first-child) {
      margin-top: 50px;
    }
  }


  /* Branches */

#Branches {
  display: flex;
  column-gap: 20px;
}
#Branches a {
  text-decoration: none;
  /* border: 1px solid rgba(0, 0, 0, 0.5); */
  padding: 20px;
  font-weight: 600;
  color: black;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.5);
}
#Branches a:hover {
  background-color: #0A54C4;
  color: #fff;
}

#Our-Branches h3 {
  position: relative;
  margin-bottom: 30px;
}
#Our-Branches h3::before{
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 90px;
  height: 5px;
  background-color: #00a4e3;
  border-radius: 4px;
}


