#about-hero-div > img:last-child {
  width: 97%;
  box-shadow: 1.5rem -1.5rem var(--bs-primary);
  border-radius: 2px;
  padding-left: initial;
}

section {
  padding: 4rem 0;
}

.love-span {
  background: linear-gradient( 99deg, var(--bs-primary) 53.02%, var(--bs-secondary) 110.88% );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Permanent Marker";
  font-size: 69px;
  font-style: normal;
  font-weight: 400;
  line-height: 65px;
  padding-right: 10px;
}

#about-heading {
  font-family: Heebo;
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: 74px;
}

#heading-div {
  width: 42%;
  position: relative;
  padding: 0;
}

.row.d-flex {
  display: flex;
  align-items: start;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: flex-end;
  justify-content: space-between;
  z-index: 10;
  width: 100%;
}

#about-hero-div {
  width: 58%;
  padding-left: 5%;
  position: relative;
}

#pastors-section, #francophone-section {
  background-color: white;
  padding-top: 48px;
  padding-bottom: 10px;
  position: relative;
  top: 0;
}

#about-intro-section {
  padding-bottom: 0;
  padding-top: 0;
  z-index: 10;
}

p {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 2.2rem;
  font-family: "Lato";
}

#heading-div > p {
  text-align: justify;
  padding-bottom: 18px;
  padding-top: 10px;
}

#hor-div, #hor-div-1, #hor-div-2, #hor-div-3, #hor-div-4, #hor-div-5, #hor-div-6 {
  background-image: linear-gradient( to right, var(--bs-primary), var(--bs-secondary) );
  height: 3px;
  margin-bottom: 10px;
}

#about-after-hero-col {
  display: none;
}

.meet-pastors {
  text-align: center;
  font-family: Heebo;
  font-size: 44px;
  font-style: normal;
  font-weight: 700;
  line-height: 91px;
}

.pastors-span {
  background: linear-gradient( 91deg, var(--bs-primary) 15%, var(--bs-secondary) 108.74% );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Permanent Marker";
  font-size: 47px;
  font-style: normal;
  font-weight: 400;
}

#pastor-details > img {
  width: 100%;
  border-radius: 5px;
}

#pastor-row > div > h4 {
  color: #000;
  font-family: Heebo;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 41px;
  text-transform: uppercase;
  width: 110%;
}

#pastor-row > div:last-of-type > h4 {
  width: 100%;
}

#pastor-row > div > h4 > span:last-child, #pastor-row > div > p:last-child {
  color: #0057c1;
}

#pastor-details {
  padding-right: 1rem;
}

#pastor-row {
  padding-bottom: 16px;
}

#department-section {
  padding: 60px 0;
}

.card-rectangle {
  background-color: white;
  width: 80%;
  float: right;
  position: relative;
  bottom: 40px;
  border-top-left-radius: 32px;
  padding: 5px 20px;
  border-radius: 17px 0px 0px 0px;
  background: #fff;
  box-shadow: 0px 0px 19px 5px rgba(0, 0, 0, 0.25);
}

.card-rectangle > h6 {
  font-family: "Permanent Marker";
  font-size: 1rem;
  font-weight: 400;
  line-height: 29px;
}

.card-rectangle > h6 > span:last-child {
  font-family: Heebo;
  font-size: 1rem;
  font-weight: 600;
}

.card-rectangle > p {
  color: var(--bs-primary);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
  margin-top: -14px;
  margin-bottom: 10px;
}

.dept {
  margin-bottom: 0;
}

.dept > div:first-child {
  background-size: cover;
  border-radius: 10px;
  height: 260px;
}

#welfare {
  background-image: url("../../assets/img/about%20page/sanitation.webp");
}

#kitchen {
  background-image: url("../../assets/img/about%20page/448795057_417045447992482_7271563490238152731_n.webp");
}

#sanitation {
  background-image: url("../../assets/img/about%20page/436345113_369698439393850_2771217386471732332_n.webp");
}

#ushering {
  background-image: url("../../assets/img/about%20page/467655829_525038243859868_6339874038903117212_n.webp");
}

#technical {
  background-image: url("../../assets/img/about%20page/458988561_470626079301085_5733548874136566083_n.webp");
}

#choir {
  background-image: url("../../assets/img/about%20page/425886423_330688663294828_5415283213142643716_n.webp");
}

#media {
  background-image: url("../../assets/img/about%20page/467855248_525035347193491_4879151383186643851_n.webp");
}

#youths {
  background-image: url("../../assets/img/about%20page/428442246_339560335740994_1427789452007211428_n.webp");
}

#children {
  background-image: url("../../assets/img/about%20page/children.webp");
}

.full-height {
  height: fit-content;
  padding-top: 2rem;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  align-content: center;
  align-items: center;
  padding: 5rem 0 4rem;
  width: 100%;
  justify-content: center;
  gap: 0;
}

.here-container > a {
  margin: auto;
}

#about-section-blue-square {
  position: absolute;
  z-index: -10;
  top: -7%;
  left: -1%;
  height: 96px;
}

#about-section-blue-grid {
  position: absolute;
  z-index: -10;
  width: 100%;
  top: -8%;
  left: 0%;
}

.pillar-divs {
  background-color: var(--bs-info);
  display: flex;
  flex-direction: column;
  align-content: center;
  padding: 30px 35px;
  border-radius: 2%;
}

.pillar-divs > img {
  height: 16%;
  width: 100%;
}

.pillar-divs h4 {
  font-family: "Permanent Marker";
  color: var(--bs-primary);
  font-size: 32px;
  padding-top: 10px;
}

.pillar-divs p {
  font-weight: 600;
  font-size: 18px;
  line-height: 33px;
}

#pillars-section .row {
  justify-content: space-between;
}

#prayer-pillar {
  width: 40%;
}

#acceptance-pillar {
  width: 30%;
}

#faith-pillar {
  width: 30%;
}

.minister-image {
  background-color: var(--bs-info);
  background-position: top;
  background-size: cover;
  background-blend-mode: multiply;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

#pastor-charles {
  background-image: url("../../assets/img/pastor%20charles.webp");
}

.bro-ben {
  background-image: url("../../assets/img/about%20page/Ministers/Bro%20Ben.webp");
}

.sis-rachel-media {
  background-image: url("../../assets/img/about%20page/Ministers/Sis%20Rachel%20Media.webp");
}

#bro-samson {
  background-image: url("../../assets/img/about%20page/Ministers/Bro%20Samson.webp");
}

.sis-rachel-diasivi {
  background-image: url("../../assets/img/about%20page/Ministers/Sis%20Rachel%20Diasivi.webp");
}

.mrs-chibulu {
  background-image: url("../../assets/img/about%20page/Ministers/Mrs%20Chibulu.webp");
}

#lydia-muindi {
  background-image: url("../../assets/img/about%20page/Ministers/Sis%20Lydia.webp");
}

#hod-section .exec-div {
  padding: 6px;
}

#esther-musesa {
  background-image: url("../../assets/img/about%20page/HODs/Mrs%20Musesa.webp");
}

#bro-julius {
  background-image: url("../../assets/img/about%20page/HODs/julius.jpg");
}

#bro-david {
  background-image: url("../../assets/img/about%20page/HODs/david.jpg");
}

#sis-tosin {
  background-image: url("../../assets/img/about%20page/HODs/Sis%20Tosin.webp");
}

.longer-minister > span {
  font-size: 0.9rem;
}

footer p {
  font-family: "Open Sans";
  font-weight: 600;
  line-height: initial;
}

#activities-section {
  padding-bottom: 2rem;
}

#youth-hero-section h1 {
  line-height: 4.1rem;
  font-family: Heebo;
  font-size: 4rem;
  font-style: normal;
  font-weight: 700;
  width: 120%;
}

.together-span {
  background: linear-gradient( 99deg, var(--bs-primary) 53.02%, var(--bs-secondary) 110.88% );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Lato";
  font-size: 4.2rem;
  font-style: normal;
  font-weight: 600;
  line-height: 66px;
  padding-bottom: 2px;
  width: 120%;
  padding-top: 2px;
  text-transform: uppercase;
  letter-spacing: -2px;
}

#youth-hero-section p {
  line-height: 2.1rem;
  margin-bottom: 0;
  text-align: justify;
}

#contact-icons #church-location-icon {
  height: 30px;
  margin-top: -24px;
}

#button-container img {
  transform: rotate(270deg);
}

.youth-img-bg {
  fill: #98c2e3;
}

footer {
  background: #ffffff;
  position: relative;
  z-index: 1000;
}

#header-title-div {
  width: 50%;
}

#header-p-button-div {
  width: 40%;
  padding-bottom: 1rem;
}

#header-dots-div {
  margin-bottom: -1rem;
}

#header-dots-div > div {
  align-items: baseline;
  gap: 0.4rem;
  font-family: "Heebo";
  margin: 0;
  padding: 0;
}

#header-dots-div img {
  width: 14px;
}

#header-dots-div h6 {
  font-family: "Heebo";
  font-weight: 500;
  font-size: 1.2rem;
  line-height: initial;
}

#pastor-jean-philippe {
  background-image: url("../../assets/img/about%20page/francophone%20pastor.webp");
}

.card-rectangle > .longer-minister > span:last-child {
  font-size: 0.9rem;
}

#francophone {
  background-image: url("../../assets/img/about%20page/484804236_609880035375688_3825127964350389123_n.webp");
}

#men-of-valor {
  background-image: url("../../assets/img/about%20page/men%20of%20valor.webp");
}

#women-of-zion {
  background-image: url("../../assets/img/about%20page/471305261_548297821533910_7498029551317962549_n.webp");
}

.subtext-p {
  font-family: "Lato";
  font-size: 1.2rem;
  line-height: 1.7rem;
  text-align: justify;
  font-weight: 400;
}

#groups-section .card-rectangle > h6, #department-section .card-rectangle > h6 {
  font-size: 1.2rem;
}

@media (min-width: 1200px) and (max-width: 1400px) {
  #about-section-blue-square {
    top: -6%;
  }
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .pillar-divs {
    padding: 25px 30px;
  }
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .card-rectangle > h6, .card-rectangle > h6 > span:last-child {
    font-size: 1rem;
  }
}

@media (min-width: 1200px) and (max-width: 1400px) {
  #groups-section .card-rectangle > h6, #department-section .card-rectangle > h6 {
    font-size: 1.1rem;
  }
}

@media (max-width: 1200px) {
  .card-rectangle > .longer-minister > span, .card-rectangle > .longer-hod > span, .card-rectangle > .longer-hod > span:last-child {
    font-size: 0.7rem;
  }
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .card-rectangle > .longer-minister > span, .card-rectangle > .longer-hod > span, .card-rectangle > .longer-hod > span:last-child {
    font-size: 0.9rem;
  }
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .card-rectangle > p {
    font-size: 14px;
  }
}

@media (min-width: 1200px) and (max-width: 1400px) {
  #jean-philippe-name > span {
    font-size: 0.75rem;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  p {
    font-size: 1.1rem;
    line-height: 1.7rem;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  h3 {
    line-height: 80px;
    margin-bottom: 0;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .meet-pastors {
    line-height: 80px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  #about-hero-div > img:nth-of-type(2) {
    width: 90%;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  #about-intro-section {
    padding-top: 1.5rem;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .pillar-divs {
    padding: 22px 25px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  #about-section-blue-square {
    top: -4%;
    height: 14%;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .love-span {
    font-size: 57px;
    line-height: 58px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  #youth-hero-section h1 {
    font-size: 3rem;
    line-height: 3.1rem;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  #about-hero-div {
    margin-left: 1%;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  #heading-div > p {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.5px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  #pillars-section {
    padding: 4rem 0;
    padding: 3rem 0;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  #about-section-blue-grid {
    top: -12%;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  #heading-div > p {
    font-size: 0.95rem;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  #pastor-row > div > h4 {
    font-size: 26px;
    line-height: 26px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  #pastor-row > div > p {
    font-size: 1.1rem;
    line-height: 1.7rem;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  #pastor-row > div > p:last-of-type {
    margin-bottom: 0;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  #pastor-details {
    padding-right: 12px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .full-height {
    height: fit-content;
    padding: 56px 10px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .subtext-p {
    font-size: 0.95rem;
    line-height: 1.6rem;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .card-rectangle {
    padding: 4px 14px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  #groups-section .card-rectangle > h6, #department-section .card-rectangle > h6 {
    font-size: 0.9rem;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .card-rectangle > h6 {
    font-size: 0.8rem;
    line-height: 22px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .card-rectangle > h6 > span:last-child {
    font-size: 0.75rem;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .card-rectangle.exec-page {
    padding: 2px 0 2px 14px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  #jean-philippe-name > span {
    font-size: 0.76em;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  #hod-section .exec-div {
    padding: 4px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .card-rectangle > h6 > span:last-child {
    font-size: 0.8rem;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .card-rectangle > .longer-minister > span:last-child, .longer-minister > span {
    font-size: 0.8rem;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .card-rectangle > p {
    font-size: 11px;
    margin-top: -17px;
    margin-bottom: 6px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .longer-hod > span, .card-rectangle > .longer-hod > span:last-child {
    font-size: 0.7rem;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .dept {
    padding: 0;
    width: 32.5%;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .dept > div:first-child {
    height: 200px;
  }
}

/* @media (min-height: 800px) and (max-width: 991px) {
  #about-head-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 8%;
  }
}

@media (min-height: 800px) and (max-width: 991px) {
  .full-height {
    max-height: none;
    height: auto;
  }
}

@media (min-height: 800px) and (max-width: 991px) {
  #about-head-row {
    padding-top: 3%;
  }
}

@media (min-height: 800px) and (max-width: 991px) {
  #about-head-row > div {
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }
}

@media (min-height: 800px) and (max-width: 991px) {
  #about-heading {
    width: 100%;
    text-align: center;
  }
}

@media (min-height: 800px) and (max-width: 991px) {
  #about-heading > span {
    display: inline;
    width: fit-content;
  }
}

@media (min-height: 800px) and (max-width: 991px) {
  #about-heading > span:last-child {
    display: block;
    width: 100%;
    height: 64px;
    padding: 0px 0px 0 0;
    text-align: center;
    position: relative;
  }
}

@media (min-height: 800px) and (max-width: 991px) {
  #heading-div > p {
    line-height: 24px;
    padding: 0 5% 0 5%;
  }
}

@media (min-height: 800px) and (max-width: 991px) {
  #about-hero-div > img {
    width: 75%;
    margin-left: -18px;
    margin-top: 5%;
    margin-bottom: 20px;
  }
}

@media (min-height: 800px) and (max-width: 991px) {
  .love-span:nth-child(1) {
    animation-delay: 0s;
  }
}

@media (min-height: 800px) and (max-width: 991px) {
  #about-heading {
    padding-bottom: 0;
  }
}

@media (min-height: 800px) and (max-width: 991px) {
  #about-heading > span:last-child {
    height: 62px;
    padding: 0x 0px 0px 0;
    align-items: start;
  }
}

@media (min-height: 800px) and (max-width: 991px) {
  #scroll-container {
    display: inline-block;
    width: max-content;
    vertical-align: bottom;
  }
}

@media (min-height: 800px) and (max-width: 991px) {
  #full-scroll-container {
    width: max-content;
    display: inline-flex;
    align-items: center;
    align-self: center;
  }
}

@media (min-height: 800px) and (max-width: 991px) {
  .card-rectangle > .longer-hod {
    font-size: 13px;
    padding-bottom: 1px;
    padding-top: 1px;
  }
} */

@media (max-width: 991px) {
  .love-span {
    font-size: 46px;
    line-height: 50px;
  }
}

@media (max-width: 991px) {
  #about-heading {
    font-size: 45px;
    line-height: 48px;
  }
}

@media (max-width: 991px) {
  #heading-div {
    padding: 0;
  }
}

@media (max-width: 991px) {
  .row.d-flex {
    width: 100%;
  }
}

@media (max-width: 991px) {
  #about-hero-div {
    width: 58%;
  }
}

@media (max-width: 991px) {
  #heading-div > p {
    font-size: 13px;
    line-height: 19px;
    padding-bottom: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 991px) {
  .full-height {
    padding: 40px 0;
    height: fit-content;
    justify-content: center;
  }
}

@media (max-width: 991px) {
  .meet-pastors {
    font-size: 36px;
    line-height: 64px;
  }
}

@media (max-width: 991px) {
  .pastors-span {
    font-size: 40px;
  }
}

@media (max-width: 991px) {
  #pastor-row > div > h4 {
    font-size: 22px;
    line-height: 28px;
  }
}

@media (max-width: 991px) {
  #pastor-row > div > p {
    font-size: 12px;
    margin-bottom: 6px;
  }
}

@media (max-width: 991px) {
  #pastor-details {
    padding-right: 2px;
    padding-left: 0px;
  }
}

@media (max-width: 991px) {
  #pastor-row > div:last-child {
    padding-right: 0;
  }
}

@media (max-width: 991px) {
  #pastors-section > div:nth-child(2) {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 991px) {
  #pastor-row > div > h4 {
    font-size: 20px;
    line-height: 23px;
    margin-bottom: 2px;
  }
}

@media (max-width: 991px) {
  #pastor-row {
    padding-bottom: 8px;
  }
}

@media (max-width: 991px) {
  .dept {
    padding: 0;
    width: 32.3%;
  }
}

@media (max-width: 991px) {
  .row.alternating-slides {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 991px) {
  #department-container {
    justify-content: center;
    display: flex;
  }
}

@media (max-width: 991px) {
  #department-container > .row.alternating-slides {
    justify-content: space-between;
  }
}

@media (max-width: 991px) {
  .dept > div:first-child {
    height: 150px;
  }
}

@media (max-width: 991px) {
  .card-rectangle > p {
    font-size: 12px;
    margin-bottom: 4px;
  }
}

@media (max-width: 991px) {
  .card-rectangle > h6 {
    font-size: 15px;
    line-height: 22px;
  }
}

@media (max-width: 991px) {
  #groups-section .card-rectangle > h6, #department-section .card-rectangle > h6 {
    font-size: 0.8rem;
  }
}

@media (max-width: 991px) {
  .card-rectangle > p {
    font-size: 9px;
  }
}

@media (max-width: 991px) {
  .card-rectangle > h6 > span:last-child {
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  .card-rectangle {
    width: 77%;
    bottom: 24px;
    padding: 3px 12px;
    border-radius: 14px 0px 0px 0px;
  }
}

@media (max-width: 991px) {
  .card-rectangle > .longer-hod {
    font-size: 10px;
  }
}

@media (max-width: 991px) {
  #department-section {
    padding-top: 60px;
    padding-bottom: 40px;
  }
}

@media (max-width: 991px) {
  section#pillars-section {
    background-color: white;
    position: relative;
    z-index: 1000;
  }
}

@media (max-width: 991px) {
  section {
    padding: 4rem 0 2rem;
  }
}

@media (max-width: 991px) {
  #about-intro-section {
    padding-bottom: 2rem;
  }
}

@media (max-width: 991px) {
  #about-section-blue-square {
    top: -5%;
    height: 16%;
  }
}

@media (max-width: 991px) {
  #about-section-blue-grid {
    top: -13%;
  }
}

@media (max-width: 991px) {
  .pillar-divs {
    padding: 12px 16px;
  }
}

@media (max-width: 991px) {
  .pillar-divs h4 {
    font-size: 1.4rem;
    padding-top: 6px;
    margin-bottom: 1px;
  }
}

@media (max-width: 991px) {
  .pillar-divs p {
    font-size: 0.8rem;
    line-height: 1.1rem;
    margin-bottom: 8px;
  }
}

@media (max-width: 991px) {
  .longer-minister > span {
    font-size: 0.55rem;
  }
}

@media (max-width: 991px) {
  .card-rectangle > .longer-minister > span:last-child {
    font-size: 0.6rem;
  }
}

@media (max-width: 991px) {
  #about-hero-div {
    margin-left: 2%;
  }
}

@media (max-width: 991px) {
  .full-height {
    padding: 8rem 0 2rem;
  }
}

@media (max-width: 991px) {
  #about-hero-div > img:first-child {
    box-shadow: 0;
  }
}

@media (max-width: 991px) {
  #about-hero-div > img:last-child {
    width: 94%;
    box-shadow: 24px -24px var(--bs-primary);
  }
}

@media (max-width: 991px) {
  #pastor-row {
    padding-bottom: 0;
  }
}

@media (max-width: 991px) {
  .row.alternating-slides {
    justify-content: start;
    gap: 1.5%;
    padding: 0;
    margin: 0;
  }
}

@media (max-width: 991px) {
  .card-rectangle.exec-page > .longer {
    font-size: 0.65rem;
    margin-top: -13px;
  }
}

@media (max-width: 991px) {
  .card-rectangle > h6 {
    font-size: 0.7rem;
  }
}

@media (max-width: 991px) {
  .card-rectangle > h6 > span:last-child {
    font-size: 0.7rem;
  }
}

@media (max-width: 991px) {
  .not-home > #mainNav {
    border-top: 2px solid var(--bs-primary);
    border-bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.25);
  }
}

@media (max-width: 991px) {
  p {
    font-size: 1rem;
    line-height: 1.4rem;
  }
}

@media (min-width: 768px) and (max-width: 993px) {
  #pastor-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  #about-heading {
    font-size: 2.75rem;
    line-height: 3rem;
  }
}

@media (max-width: 767px) {
  #about-head-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 8%;
  }
}

@media (max-width: 767px) {
  .full-height {
    max-height: none;
    height: auto;
  }
}

@media (max-width: 767px) {
  #about-head-row {
    padding-top: 0%;
  }
}

@media (max-width: 767px) {
  #about-head-row > div {
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  #about-heading {
    width: 100%;
    text-align: center;
    padding-bottom: 0;
    margin: 0;
  }
}

@media (max-width: 767px) {
  #about-heading > span {
    display: inline;
    width: fit-content;
  }
}

@media (max-width: 767px) {
  #about-heading > span:last-child {
    display: block;
    width: 100%;
    height: 64px;
    padding: 0px 0px 0 0;
    text-align: center;
    position: relative;
  }
}

@media (max-width: 767px) {
  #heading-div > p {
    display: none;
  }
}

@media (max-width: 767px) {
  #about-hero-div > img {
    width: 90%;
    margin-left: 0;
    margin-top: 0%;
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .love-span:nth-child(1) {
    animation-delay: 0s;
  }
}

@media (max-width: 767px) {
  #about-heading > span:last-child {
    height: 62px;
    padding: 0x 0px 0px 0;
    align-items: start;
  }
}

@media (max-width: 767px) {
  #scroll-container {
    display: inline-block;
    width: max-content;
    vertical-align: bottom;
  }
}

@media (max-width: 767px) {
  #full-scroll-container {
    width: max-content;
    display: inline-flex;
    align-items: center;
    align-self: center;
  }
}

@media (max-width: 767px) {
  .card-rectangle > .longer-hod {
    font-size: 13px;
    padding-bottom: 1px;
    padding-top: 1px;
  }
}

@media (max-width: 767px) {
  #about-after-hero-col {
    display: block;
  }
}

@media (max-width: 767px) {
  #about-after-hero-p {
    line-height: 22px;
    font-size: 1.35rem;
    padding: 0;
    text-align: justify;
    display: block;
  }
}

@media (max-width: 767px) {
  #about-hero-div > img {
    width: 90%;
  }
}

@media (max-width: 767px) {
  #pastor-details {
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  #pastor-row > div:last-child {
    padding: 10px 0px 0px 0px;
  }
}

@media (max-width: 767px) {
  #pastor-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .dept {
    width: 49%;
  }
}

@media (max-width: 767px) {
  .card-rectangle > .longer-hod {
    font-size: 11px;
    padding-bottom: 0px;
    padding-top: 0px;
  }
}

@media (max-width: 767px) {
  #groups-section .card-rectangle > p, #department-section .card-rectangle > p {
    font-size: 0.7rem;
    line-height: 14px;
    margin-bottom: 4px;
  }
}

@media (max-width: 767px) {
  .card-rectangle > h6 {
    font-size: 16px;
    line-height: 20px;
  }
}

@media (max-width: 767px) {
  .card-rectangle > h6 > span:last-child {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  #pastor-details > img {
    height: 310px;
    object-fit: cover;
    object-position: top;
  }
}

@media (max-width: 767px) {
  h6#jean-philippe-name > span {
    font-size: 0.55rem;
  }
}

@media (max-width: 767px) {
  #department-container .card-rectangle > h6 > span {
    font-size: 0.75rem;
  }
}

@media (max-width: 767px) {
  .pillar-divs p {
    font-weight: 400;
  }
}

@media (max-width: 767px) {
  .meet-pastors {
    line-height: 40px;
    margin-top: 1rem;
    margin-bottom: 0.8rem;
  }
}

@media (max-width: 767px) {
  #about-section-blue-square {
    display: none;
  }
}

@media (max-width: 767px) {
  #about-section-blue-grid {
    top: -12%;
  }
}

@media (max-width: 767px) {
  .pillar-divs {
    padding: 10px 14px;
  }
}

@media (max-width: 767px) {
  .pillar-divs h4 {
    font-size: 1.1rem;
  }
}

@media (max-width: 767px) {
  .longer-minister > span {
    font-size: 0.7rem;
  }
}

@media (max-width: 767px) {
  .card-rectangle > .longer-minister > span:last-child {
    font-size: 0.7rem;
  }
}

@media (max-width: 767px) {
  #about-hero-div {
    margin-left: 0;
    margin: 4rem 0 3rem;
  }
}

@media (max-width: 767px) {
  .full-height {
    padding: 4rem 0 0rem;
  }
}

@media (max-width: 767px) {
  p {
    line-height: 1.35rem;
  }
}

@media (max-width: 767px) {
  #about-hero-div > img:last-child {
    width: 96%;
    margin-left: -6%;
    margin-bottom: 0px;
    margin-top: -4%;
  }
}

@media (max-width: 767px) {
  #about-after-hero-p {
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 400;
    font-family: "Lato";
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  #about-hero-div > img {
    width: 100%;
  }
}

@media (max-width: 767px) {
  #pastor-row > div > p {
    font-size: 0.85rem;
  }
}

@media (max-width: 767px) {
  .card-rectangle > .longer-hod {
    font-size: 0.65rem;
  }
}

@media (max-width: 767px) {
  .card-rectangle > h6 {
    font-size: 0.75rem;
  }
}

@media (max-width: 767px) {
  .card-rectangle > h6 > span:last-child {
    font-size: 0.65rem;
  }
}

@media (max-width: 767px) {
  .card-rectangle.exec-page {
    padding: 2px 0 2px 10px;
  }
}

@media (max-width: 767px) {
  #about-intro-section #about-heading > span {
    display: inline;
  }
}

@media (max-width: 767px) {
  #about-intro-section #about-heading > span:last-child {
    display: block;
  }
}

@media (max-width: 767px) {
  #ministers-section .card-rectangle > p, #hod-section .card-rectangle > p {
    font-size: 0.65rem;
    margin-bottom: 4px;
  }
}

@media (max-width: 767px) {
  .subtext-p {
    font-size: 0.85rem;
  }
}

@media (max-width: 767px) {
  .card-rectangle.exec-page > .longer {
    margin-top: -15px;
  }
}

@media (max-width: 767px) {
  #pastor-row > div > p {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  #about-after-hero-col {
    display: none !important;
  }
}

@media (max-width: 575px) {
  #about-hero-div {
    margin-left: 0;
  }
}

@media (max-width: 575px) {
  #about-heading > span {
    display: block;
  }
}

@media (max-width: 575px) {
  #about-heading > span:last-child {
    text-align: left;
  }
}

@media (max-width: 575px) {
  #heading-div > p {
    padding: 0;
  }
}

@media (max-width: 575px) {
  #about-hero-div {
    padding: 0;
  }
}

@media (max-width: 575px) {
  #pastors-section > div:nth-child(2) {
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  #pastor-row {
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  #about-intro-section {
    padding-bottom: 1rem;
    padding-top: 3.8rem;
  }
}

@media (max-width: 575px) {
  #about-hero-div > img:first-child {
    width: 100%;
  }
}

@media (max-width: 575px) {
  #about-hero-div > img:last-child {
    box-shadow: 18px -18px var(--bs-primary);
    width: 86%;
    margin-left: 0;
    align-self: flex-start;
    margin: 0 auto;
    margin-top: 0;
  }
}

@media (max-width: 575px) {
  #about-hero-div > img {
    margin-top: 2%;
  }
}

@media (max-width: 575px) {
  #heading-div > p {
    font-size: 0.95rem;
    color: rgba(33, 33, 33, 0.8);
    font-weight: 600;
    line-height: 1.3rem;
    display: block;
  }
}

@media (max-width: 575px) {
  #about-heading > span {
    text-transform: uppercase;
  }
}

@media (max-width: 575px) {
  #about-hero-div {
    margin: 10% 0;
  }
}

@media (max-width: 575px) {
  .love-span {
    text-transform: capitalize;
    text-align: left;
  }
}

@media (max-width: 575px) {
  #pastors-section > div:nth-child(2) {
    justify-items: center;
    font-size: 25px;
    line-height: 26px;
  }
}

@media (max-width: 575px) {
  .dept {
    width: 49.3%;
  }
}

@media (max-width: 575px) {
  #pastor-row {
    justify-self: center;
    align-self: center;
  }
}

@media (max-width: 575px) {
  #pastor-row > div > h4 > span {
    display: block;
  }
}

@media (max-width: 575px) {
  #pastor-details > img {
    border-radius: 16px;
    padding: 6px 0 8px;
  }
}

@media (max-width: 575px) {
  #pastor-row > div > h4 {
    font-size: 24px;
    line-height: 27px;
    width: 100%;
  }
}

@media (max-width: 575px) {
  #pastor-row > div > p {
    font-style: normal;
    text-align: justify;
    font-size: 14px;
    line-height: 24px;
  }
}

@media (max-width: 575px) {
  #pastor-row > div:last-child {
    padding-left: 0;
  }
}

@media (max-width: 575px) {
  .dept > div:first-child {
    height: 130px;
  }
}

@media (max-width: 575px) {
  .card-rectangle {
    width: 88%;
  }
}

@media (max-width: 575px) {
  .card-rectangle > .longer-hod {
    font-size: 9px;
  }
}

@media (max-width: 575px) {
  .meet-pastors {
    font-size: calc(0.5rem + 5vw);
  }
}

@media (max-width: 575px) {
  .pastors-span {
    font-size: calc(0.5rem + 5vw);
  }
}

@media (max-width: 575px) {
  #about-heading {
    font-size: calc(2rem + 1.5vw);
    line-height: 3rem;
  }
}

@media (max-width: 575px) {
  .executives-column {
    width: 49%;
    margin-bottom: 1%;
  }
}

@media (max-width: 575px) {
  #about-intro-section > .container.full-height {
    width: 100%;
    padding: 0;
  }
}

@media (max-width: 575px) {
  #heading-div {
    padding: 0 7%;
  }
}

@media (max-width: 575px) {
  .row.alternating-slides {
    justify-content: space-between;
  }
}

@media (max-width: 575px) {
  h6#jean-philippe-name > span, #department-container .card-rectangle > h6 > span, .longer-minister > span, .card-rectangle > .longer-minister > span:last-child, .card-rectangle > h6, .card-rectangle > h6 > span:last-child {
    font-size: 0.85rem;
  }
}

@media (max-width: 575px) {
  .dept {
    width: 49%;
    margin-bottom: -1%;
  }
}

@media (max-width: 575px) {
  .card-rectangle > .longer-hod {
    font-size: 0.85rem;
  }
}

@media (max-width: 460px) {
  #about-heading {
    font-size: calc(2rem + 1vw);
    line-height: 2.5rem;
  }
}

@media (max-width: 460px) {
  .love-span {
    text-transform: uppercase;
    font-size: calc(2rem + 1vw);
    line-height: 2.7rem;
  }
}

@media (max-width: 460px) {
  #groups-section .card-rectangle > p, #department-section .card-rectangle > p {
    font-size: 0.5rem;
  }
}

@media (max-width: 575px) {
  .pastors-span.hod {
    font-size: calc(0.4rem + 5vw);
  }
}

@media (max-width: 400px) {
  #about-heading {
    font-size: calc(1.5rem + 4.5vw);
    line-height: 46px;
    margin-bottom: 0;
  }
}

@media (max-width: 400px) {
  .love-span {
    font-size: calc(1.5rem + 4.5vw);
  }
}

@media (max-width: 400px) {
  #about-intro-section {
    padding-top: 120px;
  }
}

@media (max-width: 400px) {
  #about-hero-div > img {
    box-shadow: 10px -10px var(--bs-primary);
    width: calc(100% - 10px);
  }
}

@media (max-width: 400px) {
  #heading-div > p {
    font-size: calc(0.3rem + 2vw);
    line-height: normal;
    letter-spacing: 0px;
  }
}

@media (max-width: 400px) {
  #about-hero-div {
    clip-path: inset(0px 0px 40px 0);
  }
}

@media (max-width: 400px) {
  .card-rectangle {
    padding: 2px 10px;
  }
}

@media (max-width: 400px) {
  #pastor-details > img {
    aspect-ratio: 365/322;
    object-fit: cover;
  }
}

@media (max-width: 400px) {
  #pastor-row > div > p {
    font-size: 13px;
    line-height: 20px;
  }
}

@media (max-width: 400px) {
  .card-rectangle > .longer-hod {
    font-size: 7px;
  }
}

@media (max-width: 400px) {
  .meet-pastors {
    font-size: calc(0.5rem + 6vw);
    text-transform: uppercase;
  }
}

@media (max-width: 400px) {
  .pastors-span {
    font-size: calc(0.5rem + 6.5vw);
    text-transform: capitalize;
  }
}

@media (max-width: 400px) {
  .card-rectangle {
    border-radius: 10px 0px 0px 0px;
  }
}

@media (max-width: 400px) {
  .dept > div:first-child {
    height: auto;
    aspect-ratio: 176/124;
  }
}

@media (max-width: 400px) {
  .card-rectangle {
    padding: 2px 4%;
  }
}

@media (max-width: 400px) {
  .meet-pastors {
    line-height: calc(0.5rem + 7vw);
  }
}

#ministers-section .exec-div {
  border-color: var(--bs-primary);
  padding: 0px;
}

#ministers-section {
  padding: 4rem 0 2rem;
}

.tiny-button {
  display: none;
}

@media (max-width: 575px) {
  .tiny-button {
    display: block;
    background-color: var(--bs-info);
    color: var(--bs-primary) !important;
    padding: 1% 2%;
    border-radius: 5px;
    margin-bottom: 2%;
  }
}

.tiny-button p {
  width: fit-content;
  font-weight: 800;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.tiny-div {
  display: none;
}

@media (max-width: 575px) {
  .tiny-div {
    display: block;
    height: 1.5px;
    width: 100%;
    background-color: rgba(33, 33, 33, 0.8);
    margin: 2.5rem 0 1rem;
  }
}

.tiny-button p {
  color: var(--bs-primary) !important;
}

@media (max-width: 575px) {
  #mobile-youth-hero-images {
    display: flex;
  }
}

@media (max-width: 530px) {
  .pillar-divs {
    flex-direction: row;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 530px) {
  .pillar-divs p {
    font-weight: 600;
  }
}

@media (max-width: 530px) {
  .pillar-divs > img {
    width: 25%;
    margin-right: 1rem;
  }
}

@media (max-width: 530px) {
  #pillars-section .row {
    flex-direction: column;
  }
}

@media (max-width: 530px) {
  #prayer-pillar, #faith-pillar, #acceptance-pillar {
    width: 100%;
  }
}

@media (max-width: 530px) {
  #heading-div > p {
    font-size: 0.85rem;
  }
}

@media (max-width: 530px) {
  h6#jean-philippe-name > span, #department-container .card-rectangle > h6 > span, .longer-minister > span, .card-rectangle > .longer-minister > span:last-child, .card-rectangle > h6, .card-rectangle > h6 > span:last-child {
    font-size: 0.75rem;
  }
}

#mobile-youth-row-3 {
  width: 100%;
  padding: 0;
}

#park-2 {
  margin-bottom: 2rem;
}

@media (max-width: 430px) {
  #department-container .card-rectangle > h6 > span, .longer-minister > span, .card-rectangle > .longer-minister > span:last-child, .card-rectangle > h6, .card-rectangle > h6 > span:last-child, .card-rectangle > .longer-hod {
    font-size: 0.75rem;
  }
}

@media (max-width: 430px) {
  h6#jean-philippe-name > span {
    font-size: 0.65rem;
  }
}

@media (max-width: 430px) {
  .meet-pastors {
    font-size: calc(0.5rem + 4vw);
    margin-bottom: 0rem;
  }
}

.minister-image.temitope {
  background-image: url("../../assets/img/about%20page/HODs/temi.png");
}

.mum-bishop {
  background-image: url("../../assets/img/about%20page/HODs/mummy%20bishop.jpg");
}

.augustine-usher {
  background-image: url("../../assets/img/about%20page/HODs/augustine.jpg");
}

.shekania {
  background-image: url("../../assets/img/about%20page/HODs/shekania.jpg");
}

#mummy-doris {
  background-image: url("../../assets/img/about%20page/HODs/mummy%20doris.jpg");
}

#mrs-simasiku {
  background-image: url("../../assets/img/about%20page/HODs/mrs%20simasiku.jpg");
}

