#page-2 .page-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 2rem;
  width: 100%;
  height: 100%;
  font-family: "Arial", sans-serif;
}

.diagram img {
  background-color: #1674af;
}

.left-section {
  flex: 1;
  grid-column: 1 / 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  transition: all 0.3s ease;
  height: 75vh;
}

.left-section h2 {
  font-size: clamp(1.5rem, 2vw, 2.5rem);
  font-weight: 700;
  background: linear-gradient(
    45deg,
    #ce8d00,
    #d8a600,
    #ffa639,
    #1674af,
    #1983c0,
    #1978ac,
    #3b8fbd,
    #0873a8,
    #c98a46,
    #1e7db8,
    #d89400,
    #2a8bc4
  );
  padding: 1rem;
  background-size: 400% 400%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  animation: meshGradient 32s ease-in-out infinite;
}

.left-section p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
  padding: 1rem;
  margin-bottom: 2vh;
  opacity: 0.95;
}

.right-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-column: 2 / 3;
  overflow-y: scroll;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  transition: all 0.3s ease;
  height: 75vh;
}

.diagram-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  height: 50%;
  max-width: 1000px;
}

.right-section h1 {
  width: 100%;
  text-align: center;
  top: 0;
}

.diagram {
  position: relative;
  width: 100%;
  padding-top: 100%;
}

.central-oval {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #2f5597b2;
  backdrop-filter: blur(30px);
  border: 2px solid rgb(212, 175, 55);
  color: white;
  text-align: center;
  padding: 2rem;
  border-radius: 50% / 40%;
  z-index: 0;
  font-size: clamp(10px, 1.2vw, 2.5vh);
}

.surrounding-oval {
  position: absolute;
  background-color: #4a87e8c4;
  backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  padding: clamp(1.2rem, 1.2vw, 2rem);
  border: 2px solid rgb(212, 175, 55);
  border-radius: 50% / 40%;
  font-size: clamp(7px, 1.2vw, 1.5vh);
}

.surrounding-oval.top {
  top: 25%;
  left: 48%;
  transform: translateX(-50%);
}

.surrounding-oval.top-right {
  top: 32%;
  right: 4%;
}

.surrounding-oval.bottom-right {
  top: 50%;
  right: 3%;
}

.surrounding-oval.bottom {
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
}

.surrounding-oval.bottom-left {
  top: 50%;
  left: 2%;
}

.surrounding-oval.top-left {
  top: 34%;
  left: 11%;
}

.people-row {
  display: flex;
  justify-content: center;
  gap: 4vw;
  flex-wrap: wrap;
  width: 100%;
  padding-left: 2px;
  padding-right: 2px;
  max-width: 1000px;
}

.person p {
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  margin-top: 1rem;
  text-align: center;
}

.person {
  align-items: center;
}

.hod {
  font-weight: 800;
}

.hodp {
  margin-left: 18px;
}

.person img {
  width: 150px;
  height: 200px;
  border-radius: 50% / 40%;
  left: 50%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .main-container {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    height: 100vh;
  }

  .left-section {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
  }

  .right-section {
    grid-row: 2 / 3;
    grid-column: 1 / 3;
    overflow-y: scroll;
  }

  .coordinator-node {
    font-size: 0.65em;
    padding: 8px 12px;
    min-width: 80px;
    max-width: 100px;
  }

  .person img {
    width: 100px;
    height: 150px;
  }

  .central-oval {
    top: 37%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(10px, 1.2vw, 20px);
  }

  .surrounding-oval {
      font-size: clamp(7px, 1.2vw, 18px);
  }

  .diagram {
    height: 50%;
  }

  .surrounding-oval.top {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
  }

  .surrounding-oval.top-right {
    top: 15%;
    right: 2%;
  }

  .surrounding-oval.bottom-right {
    top: 42%;
    right: 2%;
  }

  .surrounding-oval.bottom {
    top: 55%;
    left: 50%;
    transform: translateX(-50%);
  }

  .surrounding-oval.bottom-left {
    top: 40%;
    left: 2%;
  }

  .surrounding-oval.top-left {
    top: 15%;
    left: 5%;
  }
}
