.msg-carousel-btn-container {
  gap: 16px;
}

@media(min-width: 768px) {
  .msg-carousel-btn-container {
    padding-bottom: 50px !important;
  }
}

.msg-carousel-btn {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 4px;
  text-align: center;
  max-width: 200px;
}

.msg-carousel-btn > img {
  max-width: 100%;
  height: auto;
  margin: 0;
}

.carousel-indicators [data-bs-target] {
  box-sizing: content-box;
  flex: 0 1 auto;
  width: 1em;
  height: 1em;
  border-radius: 100%;
  padding: 0;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: var(--bs-secondary);
  background-clip: padding-box;
  border: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: .5;
  transition: opacity .6s ease;
}

.carousel-indicators {
  position: relative;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 0;
  margin-right: 15%;
  margin-bottom: 1rem;
  margin-left: 15%;
  list-style: none;
}

.carousel-indicators .active {
  opacity: 1;
  background-color: var(--bs-primary);
}

.chairman-carousel, .ceo-carousel {
  min-height: 600px;
}

/* CEO AND CHAIRMAN MESSAGES */

#messages .speech-title {
  font-size: 1.25rem;
  line-height: 30px;
}

@media (min-width: 768px) {
  #messages .speech-title {
    font-size: 1.5rem;
  }
}

.message-header > img {
  transform: scaleX(-1);
}

.message-header-small {
  height: 250px;
  width: 100%;
  background: linear-gradient(180deg, #FFF 0%, #CAEBFB 100%);
  background-position: 0px 50px;
  background-repeat: no-repeat;
  color: #2F2F2F;
}

.message-header-small > div > div {
  margin-top: 80px;
}

#chairman-small-header {
  height: 250px;
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  background-position: right -60px center;
  justify-content: flex-start;
  justify-content: space-between;
  align-items: center; 
  overflow: hidden;
  flex-direction: row;
  background-image: url("../img/chairmanSmall.webp");
}

@media (min-width: 400px) {
  #chairman-small-header {
    background-position: right 1% bottom;
  }
}

#chairmans-message .message-header-large {
  background: url("../img/chairmanLarge.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left -60px bottom;
}

@media (min-width: 992px) and (max-width: 1200px) {
  .msg-section.inner-section {
    padding-right: 24px;
  }

  #chairmans-message .message-header-large {
    background-size: cover;
    background-position: left -50px bottom;
  }
}

@media (min-width: 1200px) and (max-width: 1350px) {
  #chairmans-message .message-header-large {
    background-size: cover;
  }
}

@media (min-width: 1350px) {
  #chairmans-message .message-header-large {
    background-size: contain;
    background-position: center bottom;
  }
}

#ceos-message, #chairmans-message {
  padding-top: 52px;
  padding-bottom: 52px;
  padding-left: 0px !important;
  padding-right: 0px !important;
}

@media (min-width: 998px) {
  #ceos-message, #chairmans-message {
    padding-top: 82px;
    padding-bottom: 0px;
  }
}

#ceo-small-header {
  height: 250px;
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  background-position: right -50px center;
  justify-content: flex-start;
  justify-content: space-between;
  align-items: center; 
  overflow: hidden;
  flex-direction: row;
  background-image: url("../img/ceoSmall.webp");
}

@media (min-width: 400px) {
  #ceo-small-header {
    background-position: right 1% bottom;
  }
}

#ceos-message .message-header-large {
  background: url("../img/ceoLarge.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right -100px bottom;
}

#ceo-small-header .inner-section {
  max-width: 65%;
}

@media (min-width: 992px) and (max-width: 1200px) {
  #ceos-message .msg-section.inner-section {
    padding-left: 24px;
    padding-right: 112px;
  }

  #ceos-message .message-header-large {
    background-size: cover;
    background-position: right -10px bottom;
  }
}

@media (min-width: 1200px) and (max-width: 1300px) {
  #ceos-message .message-header-large {
    background-position: right -10px bottom;
  }
}

@media (min-width: 1300px) and (max-width: 1350px) {
  #ceos-message .message-header-large {
    background-size: contain;
    background-position: right -10px bottom;
  }
}

@media (min-width: 1350px) {
  #ceos-message .message-header-large {
    background-size: contain;
    background-position: center bottom;
  }
}

.msg-section.inner-section {
  padding-top: 16px;
  padding-bottom: 16px;
}

.msg-section div:nth-child(1) {
  padding-bottom: 26px;
}

.executive-message-title {
  color: #2F2F2F;
  font-size: 1.5rem;
  font-weight: 900;
}

.message-header-small .executive-message-title {
  font-size: 1.25rem;
}

.executive-message-title .normal-font-weight {
  font-weight: 300;
}

.honorific-name {
  font-size: 1rem;
  font-weight: 500;
}

.message-header-small .honorific-name {
  font-size: 0.875rem;
}

.executive-position {
   font-weight: 300;
}

.message-header-small .executive-position{
  font-size: 0.75rem;
}

#chairmans-message > div,
#ceos-message > div {
  width: 100%;
}

@media (min-width: 992px) {
  #chairmans-message > div,
  #ceos-message > div {
    width: 50%;
  }
}

@media (min-width: 992px) {
  #chairmans-message {
    background: linear-gradient(180deg, #FFF 0%, #CAEBFB 100%);
  }

  #ceos-message {
    background: linear-gradient(180deg, #CBEBFB 0%, #FFF 100%);
  }
}

.message {
  color: #2E2E2E;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.section-title {
  font-weight: 700;
}