* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Titillium Web', sans-serif;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}


/* Mission and Vision Section */
.mission,
.history,
.history-continued {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #000000;
}

.more-content,
.videos {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #000000;
}

.mission {
  background: url(/res/img/backgrounds/bg3.png) no-repeat center center / cover;
  position: relative;
  min-height: 100vh;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0;
  flex-direction: column;
  margin-top: -130px;
  scroll-margin-top: 145px;
  background-size: cover;
  z-index: 1;
}

.mission h1 {
  font-family: "Bree Serif", serif;
  font-size: 2rem;
  font-weight: bold;
  margin-top: 70px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
  animation: fadeInUp 1s ease-in-out;
}

.line-mission {
  margin-bottom: 30px;
}

.mission-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  animation: fadeInUp 1s ease-in-out;
}

.middle-line {
  background-color: #cda757;
  opacity: 60%;
  border: none;
  height: 15px;
  width: 100%;
  position: absolute;
  margin-top: 150px;
}

.top-line {
  margin: 0 auto;
  background-color: #cda757;
  opacity: 100%;
  border: none;
  height: 3px;
  width: 50%;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-in-out;
}

.mission-content .left {
  background: url(/res/img/about_us/left.png) no-repeat center center / cover;
  padding: 20px;
  height: 350px;
  width: 350px;
  z-index: 50;
}

.mission-content .middle {
  background: url(/res/img/about_us/middle.png) no-repeat center center / cover;
  padding: 20px;
  height: 350px;
  width: 350px;
  z-index: 50;
}

.mission-content .middlef {
  background: url(/res/img/about_us/middlef.png) no-repeat center center / cover;
  padding: 20px;
  height: 350px;
  width: 350px;
  z-index: 50;
}

.mission-content .right {
  background: url(/res/img/about_us/right.png) no-repeat center center / cover;
  padding: 20px;
  height: 350px;
  width: 350px;
  z-index: 50;
}

.mission-content .icon-target {
  width: auto;
  height: auto;
  max-width: 70px;
  max-height: 70px;
  object-fit: contain;
  z-index: 50;
}

.mission-content .icon-eye {
  margin-top: 10px;
  margin-bottom: 10px;
  width: auto;
  height: auto;
  max-width: 80px;
  max-height: 100px;
  object-fit: contain;
  z-index: 50;
}

.mission-content .icon-scale {
  margin-bottom: 10px;
  width: auto;
  height: auto;
  max-width: 80px;
  max-height: 100px;
  object-fit: contain;
  z-index: 50;
}

.mission-content h2 {
  font-family: "Bree Serif", serif;
  font-size: 1.8rem;
  z-index: 50;
  color: #122348;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.mission-content p {
  font-family: 'Titillium Web', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  z-index: 50;
  color: #122348;
  text-align: center;
  padding-left: 25px;
  padding-right: 25px;
}

.mission-content .icon-target,
.mission-content .icon-eye,
.mission-content .icon-scale {
  margin-top: 20px;
  max-width: 55px;
  max-height: 70px;
}

@media screen and (min-width: 1601px) {
  .mission h1 {
    font-size: 3rem;
  }

  .mission-content .left,
  .mission-content .middle,
  .mission-content .middlef,
  .mission-content .right {
    width: 100%;
    max-width: 420px;
    height: 380px;
    background-size: cover;
    padding: 15px;
  }

  .mission-content .icon-target,
  .mission-content .icon-eye,
  .mission-content .icon-scale {
    margin-top: 20px;
    max-width: 55px;
    max-height: 70px;
  }
}

@media screen and (max-width: 1349px) {
  .mission h1 {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 1200px) {
  .mission {
    height: auto;
    padding: 30px 10px;
  }

  .mission {
    height: auto;
    margin-top: -130px;
    padding: 60px 15px;
    text-align: center;
  }

  .mission h1 {
    font-size: 2.5rem;
  }

  .middle-line {
    height: 10px;
    width: 100%;
    margin-top: 150px;
  }

  .mission-content {
    align-items: center;
    gap: 20px;
  }

  .mission-content .left,
  .mission-content .middle,
  .mission-content .middlef,
  .mission-content .right {
    width: 100%;
    max-width: 650px;
    height: 350px;
    background-size: cover;
    padding: 15px;
  }

  .mission-content .icon-target,
  .mission-content .icon-eye,
  .mission-content .icon-scale {
    margin-top: 20px;
    max-width: 55px;
    max-height: 70px;
  }
}

@media screen and (max-width: 1024px) {
  .mission {
    height: auto;
    padding: 30px 10px;
  }

  .mission {
    height: auto;
    margin-top: -130px;
    padding: 60px 15px;
    text-align: center;
  }

  .mission h1 {
    font-size: 2rem;
    margin-top: 100px;
  }

  .middle-line {
    height: 10px;
    width: 100%;
    margin-top: 150px;
  }

  .mission-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .mission-content .left,
  .mission-content .middle,
  .mission-content .middlef,
  .mission-content .right {
    width: 100%;
    max-width: 650px;
    height: 350px;
    background-size: cover;
    padding: 15px;
  }

  .mission-content .icon-target,
  .mission-content .icon-eye,
  .mission-content .icon-scale {
    margin-top: 20px;
    max-width: 70px;
    max-height: 70px;
  }

  .mission-content h2 {
    font-size: 2rem;
  }

  .mission-content p {
    font-size: 1.1rem;
    padding: 15px;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .mission {
    height: auto;
    padding: 30px 10px;
  }

  .mission {
    height: auto;
    margin-top: -130px;
    padding: 60px 15px;
    text-align: center;
  }

  .mission h1 {
    font-size: 2rem;
    margin-top: 100px;
  }

  .middle-line {
    height: 10px;
    width: 100%;
    margin-top: 150px;
  }

  .mission-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .mission-content .left,
  .mission-content .middle,
  .mission-content .middlef,
  .mission-content .right {
    width: 100%;
    max-width: 420px;
    height: 350px;
    background-size: cover;
    padding: 15px;
  }

  .mission-content .icon-target,
  .mission-content .icon-eye,
  .mission-content .icon-scale {
    margin-top: 20px;
    max-width: 70px;
    max-height: 70px;
  }

  .mission-content h2 {
    font-size: 2rem;
  }

  .mission-content p {
    font-size: 1.1rem;
    padding: 15px;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .mission {
    height: auto;
    padding: 30px 10px;
  }

  .mission {
    height: auto;
    margin-top: -130px;
    padding: 60px 15px;
    text-align: center;
  }

  .mission h1 {
    font-size: 1.5rem;
    margin-top: 100px;
  }

  .middle-line {
    height: 10px;
    width: 100%;
    margin-top: 100px;
  }

  .mission-content {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .mission-content .left,
  .mission-content .middle,
  .mission-content .middlef,
  .mission-content .right {
    width: 100%;
    max-width: 280px;
    height: 350px;
    background-size: cover;
    padding: 15px;
  }

  .mission-content .icon-target,
  .mission-content .icon-eye,
  .mission-content .icon-scale {
    margin-top: 20px;
    max-width: 50px;
    max-height: 70px;
  }

  .mission-content h2 {
    font-size: 1.5rem;
  }

  .mission-content p {
    font-size: 0.9rem;
    padding: 10px;
    text-align: center;
  }
}

/*__________HISTORY_________*/
.history {
  background: url('../res/img/backgrounds/bg5.png') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  margin-top: -220px;
  min-height: 100vh;
  color: white;
  flex-direction: column;
  background-size: cover;
}

.history-content {
  color: white;
  width: 55%;
  position: absolute;
  right: 10%;
  bottom: 30%;
  transform: translateY(10%);
  padding-top: 800px;
}

.history-content h2 {
  font-family: "Bree Serif", serif;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: 3px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.history-content p {
  font-family: 'Titillium Web', sans-serif;
  text-align: justify;
  margin-top: 50px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
  margin-bottom: 30px;
}

.btn {
  font-family: 'Titillium Web', sans-serif;
  background: transparent;
  color: white;
  font-size: 1rem;
  padding: 12px 40px;
  border: 2px solid white;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
}

@media screen and (max-width: 1200px) {
  .history {
    margin-top: 0px;
  }

  .history-content {
    width: 100%;
    padding-top: 0;
    right: 0%;
    padding: 20px;
  }

  .history-content h2 {
    padding-top: 100px;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
  }

  .history-content p {
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
  }
}

@media screen and (max-width: 1024px) {
  .history {
    margin-top: 0px;
  }

  .history-content {
    width: 100%;
    padding-top: 0;
    right: 0%;
    padding: 20px;
  }

  .history-content h2 {
    padding-top: 100px;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
  }

  .history-content p {
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
  }
}

@media screen and (max-width: 768px) {
  .history {
    margin-top: 0px;
  }

  .history-content {
    width: 100%;
    padding-top: 0;
    right: 0%;
    padding: 20px;
  }

  .history-content h2 {
    padding-top: 100px;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
  }

  .history-content p {
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
  }
}

@media screen and (max-width: 480px) {
  .history {
    margin-top: 0px;
  }

  .history-content {
    width: 100%;
    padding-top: 0;
    right: 0%;
    padding: 20px;
  }

  .history-content h2 {
    padding-top: 100px;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
  }

  .history-content p {
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
  }
}

/* MORE HISTORY */
#more-history {
    background: url('../res/img/backgrounds/bg6.png') no-repeat center/cover;
    padding: 60px 20px;
    color: #000000;
    text-align: center;
}

.history-container {
    max-width: 85%;
    margin: 0 auto;
}

#more-history p {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 10px;
    text-align: justify;
}

.photo-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.photo-item {
    max-width: 300px;
}

.photo-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.photo-item h3 {
    margin-top: 10px;
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.3rem;
    color: #122348;
}


/*__________HISTORY BOTTOM_________*/
.history-bottom {
  background: url(/res/img/backgrounds/bg8.png) no-repeat center center / cover;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: #fff;
  min-height: 50vh;
}

.history-continued-content-left {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  margin-left: 80px;
  animation: fadeInUp 1s ease-in-out;
}

.history-continued-content-left .img-loc1 {
  width: 300px;
  height: 200px;
  animation: fadeInUp 1s ease-in-out;
}

.history-continued-content-left .img-loc2 {
  width: 300px;
  height: 300px;
  animation: fadeInUp 1s ease-in-out;
}

.left-right {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 33% 67%;
  animation: fadeInUp 1s ease-in-out;
}

.history-continued-content-right {
  color: #000000;
  padding-right: 40px;
  text-align: justify;
}

.history-continued-content-right .top {
  margin-bottom: 20px;
}

.history-continued-content-right .bottom {
  margin-top: 20px;
}

.history-continued-content-right .line-bottom {
  margin: 0 auto;
  background-color: #cda757;
  opacity: 100%;
  border: none;
  height: 3px;
  width: 70%;
}

@media screen and (min-width: 1601px) {
  .left-right {
    margin-top: 150px;
  }

  .history-continued-content-left .img-loc1 {
    width: 400px;
    height: 300px;
    position: relative;
    margin-right: 20px;
  }

  .history-continued-content-left .img-loc2 {
    width: 300px;
    height: 300px;
    position: relative;
    margin-top: 20px;
  }
}

@media screen and (max-width: 1200px) {
  .left-right {
    grid-template-columns: 45% 55%;
  }
}

@media screen and (max-width: 1024px) {
  .history-bottom {
    min-height: 100vh;
  }

  .history-continued-content-left {
    display: block;
    margin: 0;
    text-align: center;
    padding: 20px;
  }

  .history-continued-content-left .img-loc1 {
    width: 400px;
    height: 300px;
    position: relative;
    margin-right: 20px;
  }

  .history-continued-content-left .img-loc2 {
    width: 300px;
    height: 300px;
    position: relative;
    margin-top: 20px;
  }

  .left-right {
    display: block;
  }

  .history-continued-content-right {
    padding: 0px;
  }

  .history-continued-content-right .top,
  .bottom {
    position: relative;
    padding: 50px;
    text-align: justify;
  }

  .history-continued-content-right .line-bottom {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .history-bottom {
    min-height: 100vh;
  }

  .history-continued-content-left {
    display: block;
    margin: 0;
    text-align: center;
    padding: 20px;
  }

  .history-continued-content-left .img-loc1 {
    width: 400px;
    height: 300px;
    position: relative;
  }

  .history-continued-content-left .img-loc2 {
    width: 300px;
    height: 300px;
    position: relative;
    margin-top: 20px;
  }

  .left-right {
    display: block;
  }

  .history-continued-content-right {
    padding: 0px;
  }

  .history-continued-content-right .top,
  .bottom {
    position: relative;
    padding: 50px;
    text-align: justify;
  }

  .history-continued-content-right .line-bottom {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .history-bottom {
    min-height: 100vh;
  }

  .history-continued-content-left {
    display: block;
    margin: 0;
    text-align: center;
    padding: 20px;
  }

  .history-continued-content-left .img-loc1 {
    width: 300px;
    height: 200px;
    position: relative;
  }

  .history-continued-content-left .img-loc2 {
    width: 300px;
    height: 300px;
    position: relative;
    margin-top: 20px;
  }

  .left-right {
    display: block;
  }

  .history-continued-content-right {
    padding: 0px;
  }

  .history-continued-content-right .top,
  .bottom {
    position: relative;
    padding: 50px;
    text-align: justify;
  }

  .history-continued-content-right .line-bottom {
    display: none;
  }
}

/*__________MORE CONTENT_________*/
.more-content {
  display: block;
  margin-top: 50px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.more-content h2 {
  font-family: "Bree Serif", serif;
  letter-spacing: 5px;
  font-size: 1.8rem;
  color: #122348;
  animation: fadeInUp 1s ease-in-out;
}

.content {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.more-content-content {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(270px, 1fr));
  margin-top: 30px;
  animation: fadeInUp 1s ease-in-out;
  gap: 10px;
  justify-items: center;
  align-items: center;
}

.more-content-content .more-content-overlay {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: left;
  width: 370px;
  height: 300px;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
}

.media {
  position: relative;
  width: 370px;
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 1s ease-in-out;
}

.more-content-overlay h3,
.more-content-overlay a {
  margin: 5px 0;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
  color: white;
  animation: fadeInUp 1s ease-in-out;
}

.more-content-overlay h3 {
  font-family: "Bree Serif", serif;
  letter-spacing: 3px;
  font-size: 2rem;
  margin-bottom: 110px;
  animation: fadeInUp 1s ease-in-out;
  line-height: 2.2rem;
}

@media screen and (max-width: 1200px) {
  .more-content {
    margin-top: 0px;
    height: auto;
  }

  .more-content h2 {
    margin-top: 40px;
  }

  .more-content-content {
    padding: 20px;
    display: block;
    position: relative;
    top: 0%;
    left: 5%;
    width: 90%;
  }

  .more-content-content .more-content-overlay {
    width: 100%;
    height: 350px;
    padding: 20px;
  }

  .media {
    width: 100%;
    height: 350px;
    margin-bottom: 20px;
  }

  .more-content-overlay h3 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 1024px),
(max-width: 768px),
(max-width: 480px) {
  .more-content {
    margin-top: 0px;
    height: auto;
  }

  .more-content-content {
    padding: 20px;
    display: block;
    position: relative;
    top: 0%;
    left: 5%;
    width: 90%;
  }

  .more-content-content .more-content-overlay {
    width: 100%;
    height: 350px;
    padding: 20px;
  }

  .media {
    width: 100%;
    height: 350px;
    margin-bottom: 20px;
  }

  .more-content-overlay h3 {
    font-size: 1.5rem;
  }
}

/*__________VIDEOS_________*/
.videos {
  display: block;
}

.videos .title h2 {
  font-family: "Bree Serif", serif;
  letter-spacing: 5px;
  font-size: 1.8rem;
  color: #122348;
  text-align: center;
  margin-top: 20px;
}

.videos-content {
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-left: 20px;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 400px);
  gap: 50px;
}

.video-text {
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 400px);
  gap: 50px;
  font-family: "Bree Serif", serif;
  letter-spacing: 5px;
  color: #122348;
  margin-bottom: 40px;
}

@media screen and (max-width: 1349px) {
  .videos-content {
    margin-left: 0px;
    margin-top: 20px;
    display: block;
  }

  .videos-content iframe {
    margin-bottom: 20px;
    width: 650px;
    height: 400px;
  }

  .video-text {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  .videos-content {
    margin-left: 0px;
    margin-top: 20px;
    display: block;
  }

  .videos-content iframe {
    margin-bottom: 20px;
    width: 650px;
    height: 400px;
  }

  .video-text {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .videos-content {
    margin-left: 0px;
    margin-top: 20px;
    display: block;
  }

  .videos-content iframe {
    margin-bottom: 20px;
    width: 400px;
    height: 215px;
  }

  .video-text {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .videos-content {
    margin-left: 0px;
    margin-top: 20px;
    display: block;
  }

  .videos-content iframe {
    margin-bottom: 20px;
    width: 400px;
    height: 215px;
  }

  .video-text {
    display: none;
  }
}
