/* PROGRAMMES POPUP STYLES */

.programme-popup {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.1);
  display: grid;
  place-content: center;
  z-index: -1;
  opacity: 0;
  transition: all 0.3s ease;
}

.programme-popup.active {
  z-index: 1000;
  opacity: 1;
}

.programme-popup section {
  background: var(--BG-COLOR);
  width: 800px;
  padding: 2rem;
  border: 3px solid var(--THEME-COLOR);
  border-radius: 20px;
}

.programme-popup section div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.programme-popup section div p {
  font-family: var(--MAIN-FONT);
  font-size: 2rem;
  color: var(--THEME-COLOR);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.programme-popup section div button {
  height: 50px;
  width: 150px;
  font-family: var(--MAIN-FONT);
  background: var(--THEME-COLOR);
  font-size: 1.3rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 20px;
}

.popup-content {
  font-family: var(--MAIN-FONT);
  font-size: 1.2rem;
  line-height: 1.7;
}

/* PROGRAMME POPUP RESPONSIVE DESIGN */

@media screen and (max-width: 810px) {
  .programme-popup section {
    width: 100vw;
  }

  .programme-popup section div button {
    height: 45px;
    width: 120px;
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 625px) {
  .programme-popup section div p {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 550px) {
  .programme-popup section div {
    gap: 1rem;
    flex-direction: column-reverse;
  }
}

@media screen and (max-width: 410px) {
  .programme-popup section {
    padding: 1rem;
  }

  .popup-content {
    font-size: 1rem;
  }
}

@media screen and (max-width: 365px) {
  .programme-popup section div {
    margin-bottom: 0.5rem;
    gap: 0.5rem;
  }

  .programme-popup section div p {
    font-size: 1.5rem;
  }

  .programme-popup section div button {
    height: 40px;
    width: 100px;
    font-size: 1rem;
  }
}

/* INTRO STYLES */

#intro {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  padding: 2rem;
  padding-top: 8rem;
}

#intro::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50%;
  background: #d9d9d9;
  border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.intro-left {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  align-items: flex-start;
}

.intro-left a:any-link {
  cursor: pointer;
}

.intro-left a:any-link:hover .arrow-down {
  transform: translateY(10px);
  background: var(--THEME-COLOR);
}

.intro-left a:any-link:hover svg {
  color: white;
}

.intro-head h1,
.intro-head p {
  font-family: var(--MAIN-FONT);
}

.intro-head p {
  font-size: 2.5rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 0.6rem;
}

.intro-head p span {
  font-family: var(--MAIN-FONT);
  color: var(--THEME-COLOR);
}

.intro-head h1 {
  margin-top: 0.3rem;
  font-size: 4.5rem;
  font-weight: 500;
}

.arrow-down {
  height: 70px;
  width: 70px;
  border: 2px solid var(--THEME-COLOR);
  border-radius: 50%;
  display: grid;
  place-content: center;
  transition: all 0.3s ease;
}

.arrow-down svg {
  transition: all 0.3s ease;
}

.about-images {
  z-index: 10;
}

.about-images img {
  width: 420px;
  height: 420px;
  border: 2px solid var(--THEME-COLOR);
  border-radius: 20px;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.2);
}

.about-images {
  display: flex;
  gap: 2rem;
}

.about-images div {
  display: flex;
  gap: 1.2rem;
  flex-direction: column;
}

.about-images div img {
  width: 200px;
  height: 200px;
}

/* ABOUT US PAGE INTRO SECTION RESPONSIVE DESIGN */

@media screen and (max-width: 1230px) {
  .about-images img {
    width: 380px;
    height: 380px;
  }
}

@media screen and (max-width: 1170px) {
  .about-images img {
    width: 320px;
    height: 320px;
  }
}

@media screen and (max-width: 1100px) {
  #intro {
    padding: 1rem;
    padding-top: 8rem;
    border: 1px solid;
    overflow: hidden;
  }

  .intro-head p {
    font-size: 2rem;
  }

  .intro-head h1 {
    margin-top: 0;
    font-size: 4rem;
  }

  .arrow-down {
    height: 65px;
    width: 65px;
  }

  .arrow-down svg {
    width: 40px;
    height: 40px;
  }

  .about-images img {
    width: 300px;
    height: 300px;
  }

  .about-images {
    gap: 1rem;
  }

  .about-images div {
    gap: 1rem;
  }

  .about-images div img {
    width: 200px;
    height: 200px;
  }
}

@media screen and (max-width: 940px) {
  .about-images div {
    display: none;
  }

  .about-images img {
    width: 350px;
    height: 350px;
  }
}

@media screen and (max-width: 780px) {
  .intro-head p {
    font-size: 1.5rem;
  }

  .intro-head h1 {
    font-size: 3.5rem;
  }

  .about-images img {
    width: 300px;
    height: 300px;
  }
}

@media screen and (max-width: 675px) {
  .intro-head p {
    font-size: 1.2rem;
  }

  .intro-head h1 {
    font-size: 3rem;
  }

  .about-images img {
    width: 300px;
    height: 300px;
  }
}

@media screen and (max-width: 630px) {
  #intro {
    position: relative;
  }

  .about-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    filter: blur(2px);
    -webkit-filter: blur(2px);
    filter: brightness(50%);
    -webkit-filter: brightness(50%);
  }

  .intro-left {
    z-index: 100;
  }

  #intro .intro-head {
    color: white;
  }

  .arrow-down {
    background: var(--THEME-COLOR);
    border: 1.5px solid white;
  }

  .arrow-down svg {
    color: white;
  }
}

/* ABOUT US PAGE SECTION 2 - TEXT */

#about-us-text {
  min-height: 100vh;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-direction: column;
}

#about-us-text div {
  height: 40px;
  width: 40px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  border: 1px solid var(--THEME-COLOR);
}

#about-us-text p {
  font-family: var(--MAIN-FONT);
  font-size: 1.4rem;
  line-height: 1.6;
  background: var(--THEME-COLOR);
  padding: 1rem 1.2rem;
  color: white;
  border: 2px solid white;
  border-radius: 20px;
}

/* ABOUT US TEXT RESPONSIVE DESIGN */

@media screen and (max-width: 990px) {
  #about-us-text {
    padding: 1rem;
    gap: 1rem;
  }

  #about-us-text div {
    height: 30px;
    width: 30px;
  }

  #about-us-text p {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 670px) {
  #about-us-text {
    gap: 0.5rem;
  }

  #about-us-text div {
    height: 25px;
    width: 25px;
  }

  #about-us-text p {
    font-size: 1rem;
  }
}

/* ABOUT IS PAGE SECTION 3 - OUR MISSION */

#our-mission {
  min-height: 100vh;
  padding: 2rem;
}

#our-mission .intro-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.mission-cards {
  display: flex;
  justify-content: space-between;
}

.mission-cards article {
  width: 380px;
  display: flex;
  gap: 1rem;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.1);
  padding: 1rem;
}

.mission-cards article h2 {
  font-family: var(--MAIN-FONT);
  height: 40px;
  width: 40px;
  background: var(--THEME-COLOR);
  display: grid;
  place-content: center;
  color: white;
  border-radius: 50%;
  padding: 1.5rem;
  font-weight: 500;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.mission-cards article p {
  font-family: var(--MAIN-FONT);
  font-size: 1.2rem;
  line-height: 1.5;
}

/* MISSION CARDS RESPONSIVE DESIGN */

@media screen and (max-width: 990px) {
  #our-mission {
    padding: 1rem;
  }

  .mission-cards {
    display: flex;
    justify-content: space-between;
    padding: 0;
  }

  .mission-cards article {
    width: 30vw;
    gap: 1rem;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
    padding: 1rem;
  }

  .mission-cards article p {
    font-size: 1rem;
    line-height: 1.7;
  }
}

@media screen and (max-width: 800px) {
  .intro-head {
    margin-bottom: 1.5rem !important;
  }

  .mission-cards {
    gap: 2rem;
    flex-wrap: wrap;
  }

  .mission-cards article {
    width: 100%;
  }
}

@media screen and (max-width: 675px) {
  .intro-head {
    margin-bottom: 0.8rem !important;
  }
}

@media screen and (max-width: 430px) {
  .intro-head h1 {
    font-size: 2.5rem;
  }

  .intro-head p {
    font-size: 1rem;
  }
}

/* ABOUT US PAGE SECTION 3 - PROGRAMMES */

#programmes {
  padding: 2rem;
  min-height: 100vh;
}

#programmes .intro-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.programme-cards {
  display: flex;
  justify-content: space-between;
}

.programme-cards article {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  align-items: center;
  background: #d9d9d9;
  padding: 1.1rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 20px;
}

.programme-cards article h2 {
  font-size: 1.4rem;
  font-weight: 600;
  font-family: var(--MAIN-FONT);
  border-bottom: 1.4px solid rgba(0, 0, 0, 0.15);
  padding-bottom: 0.7rem;
}

.programme-cards article button {
  background: var(--THEME-COLOR);
  border: 1.5px solid white;
  font-family: var(--MAIN-FONT);
  height: 50px;
  width: 180px;
  font-size: 1.2rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.programme-cards article button:hover {
  background-color: #cc9b31;
}

/* PROGRAMMES RESPONSIVE DESIGN */

@media screen and (max-width: 990px) {
  #programmes {
    padding: 1rem;
  }

  #programmes .intro-head {
    margin-bottom: 2em;
  }

  .programme-cards {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 680px) {
  .programme-cards article {
    padding: 0.8rem;
  }

  .programme-cards article h2 {
    font-size: 1.2rem;
    padding-bottom: 0.5rem;
  }

  .programme-cards article button {
    height: 50px;
    width: 130px;
    font-size: 1.05rem;
  }
}

@media screen and (max-width: 560px) {
  .programme-cards {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ABOUT US PAGE SECTION 4 - FOUNDERS */

#founders {
  max-width: 100vw;
  padding-bottom: 3rem;
}

#founders .intro-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 3rem;
  padding-left: 1rem;
}

.founders {
  display: flex;
  justify-content: space-evenly;
}

.founders figure {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.founders figure figcaption ul {
  font-size: 1.8rem;
  display: flex;
  gap: 0.2rem;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
}

.founders figure figcaption ul li {
  font-family: var(--MAIN-FONT);
}

.founders figure figcaption ul li:last-child {
  opacity: 0.7;
  font-size: 1.5rem;
}

.founders figure img {
  width: 40vw;
  border: 2px solid var(--THEME-COLOR);
  border-radius: 10px;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 790px) {
  .founders figure figcaption ul {
    font-size: 1.5rem;
  }

  .founders figure figcaption ul li:last-child {
    font-size: 1.2rem;
  }

  .founders figure img {
    width: 45vw;
  }
}

@media screen and (max-width: 565px) {
  .founders {
    padding: 1rem;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .founders figure img {
    width: 100%;
  }

  .founders figure figcaption ul {
    font-size: 1.2rem;
  }

  .founders figure figcaption ul li:last-child {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .founders {
    grid-template-columns: repeat(1, 1fr);
  }
}
