/**************************/
/* HEADER */
/**************************/
.header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  background-color: #114e2e;
  /* Because we want header to be sticky later */
  padding: 16px 30px;
  position: relative;
}

.card {
  height: 100%;
}

.card-header {
  height: 350px; /* fixed height for all images */
  overflow: hidden;
}

.card-header img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* keeps images neat */
}

/**************************/
/* NAVIGATION */
/**************************/
.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s;
}

.link {
  transition: all 0.3s ease;
  padding: 10px 20px;
}

.link:visited,
.link:hover {
  background-color: #114e2e !important;
  border-radius: 50px;
  transform: scale(1.1);
}

.link:active,
.link:focus {
  background-color: #197242 !important;
  color: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  transform: scale(1);
}

/* MOBILE */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.icon-mobile-nav {
  height: 40px;
  width: 40px;
  color: #fff;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/* STICKY NAVIGATION */
.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 80px;
  padding-top: 0;
  padding-bottom: 0;
  background-color: transparent;
  z-index: 999;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.03);
}

.sticky .section-hero {
  margin-top: 94px;
}

.nav-link {
  border-radius: 50px;
  margin-left: 10px;
}

.link {
  transition: all 0.3s ease;
}

.link:visited,
.link:hover {
  color: #fff;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

.link:active,
.link:focus {
  color: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  transform: scale(1);
}

nav .active {
  background-color: #114e2e;
  color: #fff;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

.review .card-text {
  margin-top: 90px !important;
}

.m-full-size {
  margin-top: 170px !important;
}

.sm-box-shadow {
  box-shadow: 0 8px 6px rgba(0, 0, 0, 0.1) !important;
}

/**************************/
/* HERO SECTION */
/**************************/
.hero-section {
  height: fit-content;
  padding-bottom: 30px !important;
}

.hero-img-box {
  width: 80%;
  display: flex;
  justify-content: end;
  overflow: hidden;
}
.hero-img-box img {
  border-radius: 10px;
}

.gallery {
  background-color: #f9f7f6;
  display: grid;
  /*grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(7, 5vw);*/
  grid-template: repeat(7, 10vw) / repeat(8, 1fr);
  grid-gap: 15px;
  padding: 15px;
}

.gallery .gallery__item {
  overflow: hidden;
}

.gallery .gallery__img {
  transition: 0.3s all;
}

.gallery .gallery__img:hover {
  transform: scale(1.1);
}
@media (max-width: 750px) {
  .gallery {
    grid-template: repeat(7, 10vw) / repeat(8, 1fr);
    grid-gap: 3px;
    padding: 8px;
  }
}

.gallery__item--1 {
  grid-row: 1 / span 2;
  grid-column: 1 / span 2;
}

.gallery__item--2 {
  grid-row: 1 / span 3;
  grid-column: 3 / span 3;
}

.gallery__item--3 {
  grid-row: 1 / span 2;
  grid-column: 6/7;
}

.gallery__item--4 {
  grid-row: 1 / span 2;
  grid-column: 7/-1;
}

.gallery__item--5 {
  grid-row: 3 / span 3;
  grid-column: 1 / span 2;
}

.gallery__item--6 {
  grid-row: 4 / span 2;
  grid-column: 3 / span 2;
}

.gallery__item--7 {
  grid-row: 4/5;
  grid-column: 5/6;
}

.gallery__item--8 {
  grid-row: 3 / span 2;
  grid-column: 6 / span 2;
}

.gallery__item--9 {
  grid-row: 3 / span 3;
  grid-column: 8/-1;
}

.gallery__item--10 {
  grid-row: 6 / span 2;
  grid-column: 1/2;
}

.gallery__item--11 {
  grid-row: 6 / span 2;
  grid-column: 2 / span 2;
}

.gallery__item--12 {
  grid-row: 6 / span 2;
  grid-column: 4/5;
}

.gallery__item--13 {
  grid-row: 5 / span 3;
  grid-column: 5 / span 3;
}

.gallery__item--14 {
  grid-row: 6 / span 2;
  grid-column: 8/-1;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/**************************/
/* MEDIA QUERY */
/**************************/
@media screen and (min-width: 1000px) {
  .CTA_IMG_BOX img {
    width: 70% !important;
  }
}
@media screen and (max-width: 1250px) {
  .section-hero .container-fluid {
    padding-bottom: 60px !important;
    margin-bottom: 60px;
  }
  .section-hero .negative-margin {
    margin-top: -130px !important;
  }
  .section-hero .section {
    margin: 140px 0 0 0 !important;
  }
  .hero-img-box {
    width: 100%;
    height: 70% !important;
    display: flex;
    justify-content: end;
    overflow: hidden;
  }
  .hero-img-box img {
    border-radius: 10px;
  }
}
@media (max-width: 750px) {
  h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
  }
  p {
    font-size: 14px !important;
  }
  .section {
    margin: 140px 0 0 0 !important;
  }
  .section-hero .hero-img-content {
    justify-content: center !important;
  }
  .negative-margin {
    margin-top: -150px !important;
  }
  .hero-img-box {
    width: 80%;
    height: 80%;
    height: 100% !important;
    display: flex;
    justify-content: end;
    overflow: hidden;
  }
  .hero-img-box img {
    border-radius: 10px;
  }
  h1 {
    font-size: 32px !important;
  }
  p {
    font-size: 16px !important;
    text-align: justify !important;
  }
  .CTA_IMG_BOX {
    width: 100% !important;
  }
  .negative-margin {
    margin-top: -60px !important;
  }
  .cta-section {
    margin: 40px 0 0 0 !important;
  }
  .cta-section .container {
    width: 100% !important;
    height: 100% !important;
  }
  .text-full-size {
    font-size: 28px !important;
    margin: 0 !important;
  }
  .CTA-text {
    font-size: 12px !important;
  }
  .CTA-btn {
    font-size: 12px !important;
    margin: 0 !important;
    padding: 6px 16px !important;
  }
  .section {
    margin: 150px 0 0 0 !important;
  }
  .card-text {
    font-size: 12px !important;
    line-height: 1.5;
    text-align: justify;
  }
  .px-6 {
    padding: 10px 10px !important;
  }
  .negative-margin {
    margin: 0 !important;
  }
  .hero-content {
    display: flex !important;
    justify-content: start !important;
    flex-direction: column !important;
  }
  .section-hero .container {
    padding: 10px;
    top: 50% !important;
  }
  .section-hero .w-100 {
    max-width: 100% !important;
  }
  nav .nav-link {
    margin-top: 10px !important;
    padding: 12px 12px !important;
  }
  .section-hero .hero-btns {
    display: flex !important;
    flex-direction: row !important;
  }
  .section-hero .hero-btns .btn {
    font-size: 16px !important;
    padding: 10px 20px !important;
    align-self: self-start;
  }
  .p-6 {
    padding: 3rem !important;
  }
  .gap-3 {
    gap: 1rem !important;
  }
  .mb-5 {
    margin-bottom: 1.5rem !important;
  }
  .text-small {
    font-size: 12px !important;
  }
  .section-What_we_do p {
    text-align: justify !important;
    width: 100%;
  }
  .text-justify {
    text-align: justify !important;
    width: 100% !important;
    padding: 0 !important;
  }
  .CTA-heading {
    font-size: 22px !important;
  }
  .CTA-text {
    font-size: 12px !important;
  }
  .CTA-btn {
    font-size: 12px !important;
    padding: 6px 6px !important;
  }
  .SVG {
    margin-top: -70px !important;
  }
}
@media screen and (max-width: 450px) {
  .section-hero .row {
    padding: 0 10px !important;
  }
  .section-hero .py-5 {
    padding: 0 !important;
  }
  h1 {
    font-size: 28px !important;
    margin-bottom: 20px !important;
  }
  h2,
  h3 {
    font-size: 24px;
  }
  h4,
  h5,
  h6 {
    font-size: 22px;
    text-decoration: underline;
  }
  p {
    font-size: 16px !important;
    text-align: justify !important;
  }
  .hero-img-box {
    width: 80%;
    height: 60%;
    padding: 0 0 60px 0 !important;
    display: flex;
    justify-content: center;
    overflow: hidden;
  }
  .hero-img-box img {
    border-radius: 10px;
  }
  .negative-margin {
    margin-top: -200px !important;
  }
  .course-section .hero-btns .btn {
    font-size: 12px !important;
  }
}
@media screen and (max-width: 1068px) {
  /* MOBILE NAVIGATION */
  .btn-mobile-nav {
    display: block;
    z-index: 9999;
    border-radius: 0 !important;
  }
  .main-nav {
    background-color: rgba(109, 124, 255, 0.9);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-in;
    z-index: 99;
    border-radius: 0 !important;
    /* Hide navigation */
    /* Allows NO transitions at all */
    /* display: none; */
    /* 1) Hide it visually */
    opacity: 0;
    /* 2) Make it unaccessible to mouse and keyboard */
    pointer-events: none;
    /* 3) Hide it from screen readers */
    visibility: hidden;
  }
  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(0);
    background-color: #197242 !important;
  }
  .nav-open .icon-mobile-nav[name="close-outline"] {
    display: block;
  }
  .nav-open .icon-mobile-nav[name="menu-outline"] {
    display: none;
  }
  .main-nav-list {
    flex-direction: column;
    gap: 24px;
  }
  .main-nav-link:link,
  .main-nav-link:visited {
    font-size: 16px;
  }
}
