.programs a i {
  margin-left: 5px;
}

.programs ul li a {
  font-size: 1rem;
  line-height: 1.5;
}

#clusters-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container {
  width: 100%;
  max-width: 1320px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 5rem;
  padding-bottom: 15rem;
}
.school-wrapper {
  width: 100%;
}

.school-header-container {
  text-align: center;
  padding: 40px 0;
  margin: 0 auto;
  width: 100%;
}

.divider-line {
  border-top: 2px solid #eeeeee;
  margin: 0 auto 100px auto;
  width: 100%;
  /* max-width: 1320px; */
}

.school-prefix {
  font-family: "EB Garamond", sans-serif;
  font-style: italic;
  /* text-transfor */
  font-size: 1.8rem;
  font-weight: 700;
  color: #c3a12a;
  margin: 0 0 25px 0;
}

.school-title {
  font-family: "Open Sans", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: rgb(47, 53, 144);
  margin: 0 0 30px 0;
  line-height: 1.1;
}

.school-description {
  font-size: 1rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.6;
  width: 100%;
  /* max-width: 1280px; */
  margin: 0 auto;
}

.cluster-card-wrapper {
  margin-top: 30px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 4px 16px 5px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cluster-card-wrapper:hover {
  transform: scale(1.03);
  box-shadow: 0px 6px 20px 7px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cluster-card {
  display: flex;
  align-items: flex-start;
  color: white;
  background: linear-gradient(to right, #8b0000, #00008b);
  border-radius: 20px;
  /* width: 1320px; */
  width: 100%;
  height: 100%;
  padding: 28px 40px;
  box-sizing: border-box;
  cursor: pointer;
}

.logo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #d9d9d900;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  margin: auto 0;
}

.content {
  margin-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.content h2 {
  font-size: 1.75rem;
  margin: 0px 0 10px 0;
  font-weight: 600;
  align-self: flex-start;
}

.content p {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  font-weight: 300;
  text-align: justify;
}

.programs {
  background-color: white;
  padding: 0px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease, max-height 0.3s ease, padding 0.5s;
}

.programs.show {
  opacity: 1;
  max-height: 1000px;
  padding: 50px;
}

.programs ul {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.programs li {
  margin-bottom: 10px;
}

.chevron-icon {
  margin-left: 1.2rem;
  align-self: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.4s ease, color 0.3s ease;
  /* padding-left: 20px; */
}

.cluster-card:hover .chevron-icon {
  color: #ffffff;
}

.cluster-card-wrapper.open .chevron-icon {
  transform: rotate(180deg);
}

@media (max-width: 1100px) {
  .container {
    padding-top: 3rem;
    padding-bottom: 8rem;
  }
  
  .school-header-container {
    padding: 20px 0;
  }
  
  .logo {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 850px) {
  .cluster-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 35px 25px;
  }

  .logo {
    margin: 0 auto 25px auto;
    width: 100px;
    height: 100px;
  }

  .content {
    margin-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .content h2 {
    align-self: center;
    text-align: center;
  }

  .content p {
    text-align: center;
  }

  .programs.show {
    padding: 30px 20px;
  }
  
  .chevron-icon {
    margin-left: 0;
    margin-top: 25px;
    align-self: center;
  }
}

@media (max-width: 650px) {
  .school-title {
    font-size: 2.8rem;
  }
  
  .cluster-card-wrapper {
    border-radius: 15px;
  }
  
  .cluster-card {
    border-radius: 15px;
  }
}

@media (max-width: 480px) {
  .school-title {
    font-size: 2.2rem;
  }
  
  .logo {
    width: 80px;
    height: 80px;
  }
  
  .programs.show {
    padding: 20px 15px;
  }
}