:root {
  --primary-colour: #004854;
  --text-colour-dark: #000;
  --text-colour-light: #fefefe;
  --text-colour-grey: #e5e5e5;
  --text-colour-green-light: #d6e7af;
  --text-colour-green-medium: #61ce70;
  --text-colour-green-dark: #044751;
  --bg-colour-dark: #272629;
}

/* Header */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-colour);
  /* background-color: transparent; */
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.2);

  /* Because we want header to be sticky later */
  height: 8rem;

  position: sticky;
  top: 0;
  z-index: 2000;
}

/* STICKY NAVIGATION */
.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: var(--primary-colour);
  z-index: 999;
  /* box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03); */
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.2);
}

.sticky .main-slider {
  margin-top: 8rem;
}

.logo {
  /* height: 5.6rem;
  height: 7.2rem; */
  height: 6.4rem;
  padding-left: 4.8rem;
}

.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  /* gap: 10.8rem; */
  gap: 16rem;
  padding-right: 7.2rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: var(--text-colour-light);
  /* font-weight: 500; */
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: 1px;
  /* letter-spacing: 0.5px; */
  /* text-shadow: 0.5px 0.5px 2px rgba(00, 00, 00, 0.8); */
  text-transform: capitalize;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  text-decoration: underline;
  /* color: #0284c7; */
}

.current-page {
  display: inline-block;
  text-decoration: underline;
  color: var(--text-colour-light);
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: 1px;
  text-transform: capitalize;
  transition: all 0.3s;
}

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

  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: var(--text-colour-light);
}

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

/* hero section */
.hero-img {
  height: calc(100vh - 8rem);
  object-fit: cover;

  /* background-size: cover; */
  /* animation: heroImage 1s ease-out; */
  /* position: relative; */
  width: 100%;
  filter: brightness(50%);
}

.hero-default picture {
  position: relative;
}

.hero-text-container {
  position: absolute;
  color: var(--text-colour-light);
  width: 50%;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}

.hero-heading {
  font-family: "Inter", sans-serif;

  color: var(--text-colour-green-light);
  font-size: 9rem;
  font-weight: 800;
}

.hero-text {
  color: var(--text-colour-light);
  font-size: 1.8rem;
  font-weight: 200;
  line-height: 1.75;
  padding-top: 2rem;
}

.default-btn,
.default-btn:link,
.default-btn:visited {
  display: inline-block;
  text-decoration: none;
  padding: 1.5rem 3rem;
  color: var(--text-colour-light);
  font-size: 1.8rem;
  font-weight: 400;

  margin-top: 3rem;
  margin-bottom: 3rem;
  margin: 3rem auto;
  transition: 0.2s;
  border: none;
  /* justify-self: center; */
  border-radius: 30px;
  text-transform: capitalize;
  background-color: transparent;
  border: 1px solid var(--text-colour-light);
}

.default-btn:hover,
.default-btn:active {
  cursor: pointer;
  /* color: var(--text-colour-light); */
  /* text-decoration: underline; */
  /* background-color: var(--btn-hover); */
  background-color: var(--text-colour-light);
  color: var(--text-colour-dark);
}

/* main section with background image */
.main-section-bg-img {
  background-image: url("../img/home/bg-img-optimised-2.jpg");
  background-size: cover;
  margin-top: -0.2rem;
  padding-bottom: 15rem;
}

/* .test {
  height: 300rem;
} */

/* section process */
.section-process {
  padding: 16rem 8rem;
}

.secondary-heading {
  font-size: 4.2rem;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--text-colour-green-medium);
}

.process-container {
  /* display: flex; */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 6rem;
  gap: 6.4rem;
}

.process-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  /* align-items: baseline; */
}

.process-number {
  font-size: 14rem;
  font-weight: 200;
  color: var(--text-colour-green-light);
  line-height: 1;
  transform: translateY(-0.1em);
}

.process-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tertiary-heading {
  text-transform: capitalize;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.25;
}

.process-description {
  font-family: "Inter", sans-serif;

  font-size: 1.6rem;
  font-weight: 200;
  line-height: 1.5;
}

/* section community - products*/
.section-community {
  padding: 0 8rem 25rem;
}

.community-heading-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.all-products-btn,
.all-products-btn:link,
.all-products-btn:visited {
  display: inline-block;
  text-decoration: none;
  padding: 1.5rem 3rem;
  color: var(--text-colour-green-light);
  font-size: 1.6rem;
  font-weight: 500;

  margin-top: 3rem;
  margin-bottom: 3rem;
  margin: 3rem auto;
  border: none;
  /* justify-self: center; */
  border-radius: 30px;
  text-transform: capitalize;
  background-color: transparent;
  border: 1px solid var(--text-colour-green-light);
  /* transition: 0.5s; */
  /* transition: all 0s; */
  transition: all 0.2s;
}

.all-products-btn:hover,
.all-products-btn:active {
  cursor: pointer;
  /* color: var(--text-colour-light); */
  /* text-decoration: underline; */
  /* background-color: var(--btn-hover); */
  background-color: var(--text-colour-green-light);
  color: var(--text-colour-green-dark);
}

.home-products-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8rem;
}

.home-products-item {
  display: grid;
  grid-template-rows: 30rem 35rem;
  grid-template-columns: 1fr;
}

.home-products-item picture {
  width: 100%;
  object-fit: cover;
}

.home-products-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.home-products-text-container {
  background-color: var(--bg-colour-dark);
  padding: 4rem;
  width: 100%;
}

.home-products-text-heading {
  font-size: 3.2rem;
  font-weight: 600;
}

.home-products-text-description {
  font-family: "Inter", sans-serif;

  font-size: 1.6rem;
  font-weight: 300;
  color: var(--text-colour-grey);
  line-height: 1.5;
  padding-top: 2rem;
}

/* section - sliding animation */
.main-slider {
  /* background-color: var(--primary-colour); */
  position: relative;
  /* padding-bottom: 20rem; */
}

@keyframes imgFadeInSlide {
  0% {
    /* opacity: 0.8; */
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes zoomOut {
  0% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1.05);
  }
}

.slider {
  /* height: calc(100vh - 8rem); */
  height: 80vh;
  width: 100vw;

  overflow: hidden;
  /* z-index: 9999; */
  /* padding-bottom: 20rem; */
}
.slide {
  height: 100%;
  width: 100%;

  /* position: absolute;
  top: 0; */
  display: none;
  /* z-index: -1; */
  z-index: 1;

  position: absolute;
  top: 0;
  overflow: hidden;
  /* background-color: var(--primary-colour); */
}

.slide__active {
  display: block;
  animation: imgFadeInSlide 2s;
  /* background-color: var(--primary-colour); */
}

.slide__active img {
  /* animation: zoomOut 9s; */
  animation: zoomOut 7s;
}

.slide__img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: relative;
  transition: transform 3s;
}

.slide__img__active {
  transform: scale(1.4);
}

.slide-text-container {
  position: absolute;
  color: var(--text-colour-light);
  width: 50%;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 999;
}

.slide-heading {
  font-family: "Inter", sans-serif;

  color: var(--text-colour-green-medium);
  /* font-size: 6.4rem; */
  font-size: 5.2rem;
  font-weight: 600;
  text-shadow: 0.5px 0.5px 2px rgba(00, 00, 00, 0.8);
}

.slide-text {
  color: var(--text-colour-light);
  font-size: 1.8rem;
  font-weight: 200;
  line-height: 1.75;
  padding-top: 2rem;
  /* text-shadow: 0.5px 0.5px 2px rgba(00, 00, 00, 0.8); */
  text-shadow: 1px 1px 2px rgba(00, 00, 00, 0.8);
}

/* footer */

.footer {
  background-color: var(--bg-colour-dark);
}

.footer-container-1 {
  /* display: flex;
  justify-content: space-between;
  padding: 6rem;
  padding-top: 10rem; */

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 6rem;
  padding-top: 10rem;
}

.footer-logo {
  /* width: 15rem; */
  width: 25rem;
  /* width: 35rem; */
  /* height: 20rem; */
  justify-self: center;
}

.footer-logo-img {
  /* width: 25rem; */
  /* width: 100%; */
  width: 70%;
}

.social {
  display: flex;

  gap: 4.2rem;
  align-items: center;
}

.social-icon {
  color: var(--text-colour-grey);
  /* height: 4rem;
  width: 4rem; */
  /* height: 5rem;
  width: 5rem; */
  height: 4rem;
  width: 4rem;
}

.social-icon:hover {
  cursor: pointer;
}

.footer-social-logo {
  height: 4rem;
  fill: var(--text-colour-grey);
  cursor: pointer;
  width: 4rem;
}

.facebook:hover {
  fill: #4267b2;
}

/* .line:hover {
  fill: #06c755;
}

.twitter:hover {
  color: #00acee;
} */

/* .youtube:hover {
  color: #ff0000;
} */

.instagram:hover {
  color: #d62976;
}

.whatsapp:hover {
  color: #25d366;
}

.footer-contact {
  color: var(--text-colour-grey);
  justify-self: center;
}

.footer-sms-text {
  /* font-family: "Inter", sans-serif; */

  color: var(--text-colour-grey);
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  align-self: center;
  /* padding-top: 2rem; */
  border-bottom: 1px solid var(--text-colour-light); /* custom underline */
  padding-bottom: 0.5rem; /* space between text and line */
  transition: all 0s; /* smooth hover */
}

.footer-sms-text:hover {
  cursor: pointer;
  /* text-decoration: underline; */
  border-color: var(--text-colour-green-medium);
}

.footer-tel {
  padding-top: 5rem;
}

.footer-contact {
  width: 25rem;
  /* width: 35rem; */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.copyright {
  text-align: center;
  color: var(--text-colour-light);
  font-size: 1.4rem;
  font-weight: 200;
  padding-top: 6rem;
  padding-bottom: 2rem;
  letter-spacing: 0.5px;
  align-self: flex-end;
  justify-self: center;
}

.footer-item-container-1 {
  justify-self: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-sub-heading {
  font-family: "Inter", sans-serif;

  font-size: 2rem;
  font-weight: 600;
}

.footer-text {
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.5;
}

.footer-contact-link,
.footer-contact-link:link,
.footer-contact-link:visited {
  display: inline-block;
  width: fit-content;
  color: var(--text-colour-light);
  font-size: 1.4rem;
  font-weight: 600;
  transition: 0.2s;
  text-decoration: none;
  /* outline: 2px solid var(--text-colour-green-dark); */
  padding-bottom: 0.5rem; /* space between text and line */
  border-bottom: 1px solid currentColor; /* custom underline */
  transition: border-color 0.2s, color 0.2s; /* smooth hover */
}

.footer-contact-link:hover,
.footer-contact-link:active {
  cursor: pointer;
  border-color: var(--text-colour-green-medium);
}

/* Animation */

@keyframes moveFromLeftHome {
  0% {
    transform: translate(80%, -0.1em);
    /* transform: translateY(-0.1em); */
    opacity: 0;
  }
  100% {
    transform: translate(0, -0.1em);
    opacity: 1;
  }
}

.move-left-home {
  /* animation: moveFromLeft 1.5s ease-out; */
  animation: moveFromLeftHome 1s ease-out;
}

/* contact - page */

.hero-img-pages {
  height: calc(100vh - 8rem);
  object-fit: cover;

  /* background-size: cover; */
  animation: heroImage 1s ease-out;
  /* position: relative; */
  width: 100%;
}

@keyframes heroImage {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }

  80% {
    transform: translate(0);
  }

  100% {
    opacity: 1;
    transform: translate(0);
  }
}

.heading-pages {
  /* letter-spacing: 5px; */
  /* background-color: hsla(0, 0%, 7%, 0.5); */
  padding: 2rem 4rem;

  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  z-index: 10;
  text-shadow: 1px 1px 1px rgba(00, 00, 00, 0.8);
  text-align: center;

  display: none;
  white-space: nowrap;

  font-family: "Inter", sans-serif;

  color: var(--text-colour-green-light);
  font-size: 9rem;
  font-weight: 800;
}

.heading-commitment {
  background-color: hsla(0, 0%, 7%, 0.5);
}

.text--active {
  display: block;
  animation: heroText 1.5s ease-out;
}

@keyframes heroText {
  0% {
    opacity: 0;
    /* transform: translateX(-200%); */
    transform: translateX(-300%);
  }

  95% {
    transform: translateX(-50%);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%);
  }
}

/* contact - page  */

.page-heading {
  text-transform: capitalize;
  text-align: center;
  padding-top: 8rem;
  font-size: 4.8rem;
  font-weight: 600;
}

.contact-section {
  /* background-color: var(--primary-colour); */
  margin-top: -2rem;
  padding-bottom: 12rem;

  display: flex;
  flex-direction: column;
  gap: 12rem;

  background-image: url("../img/home/bg-img-optimised-2.jpg");
  background-size: cover;
  margin-top: -0.2rem;
  padding-bottom: 15rem;
}

.contact-phone-address-email-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.contact-details-container {
  color: var(--text-colour-light);
  font-size: 2rem;
  font-weight: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.8rem;
}

.contact-icon {
  height: 8rem;
  width: 8rem;
}

/* .location-icon {
  fill: var(--text-colour-light);
} */

.contact-heading {
  color: var(--text-colour-light);
  font-size: 2.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: capitalize;
  border-bottom: 1px solid var(--text-colour-light);
  margin-top: -2rem;
}

.contact-social-heading {
  border-bottom: none;
  margin-top: 0;
}

.contact-tel-number-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-emails-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.contact-sms-text {
  color: var(--text-colour-light);
  text-decoration: none;
  letter-spacing: 0.5px;
  padding-bottom: 0.1rem;
  transition: all 0.1s;
}

.contact-sms-text:hover {
  cursor: pointer;
  border-bottom: 1.5px solid var(--text-colour-green-medium); /* custom underline */
}

.contact-text {
  text-align: center;
  line-height: 1.25;
  margin-top: -0.5rem;
}

.contact-text span {
  font-weight: 500;
}

.contact-social-media-links-icons {
  padding-top: 2rem;
  display: flex;
  gap: 4.8rem;
}

.contact-map-social-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  /* column-gap: 8rem; */
}

.contact-map-container {
  justify-self: right;
  /* padding-right: 8rem; */
}

.contact-social-media-container {
  justify-self: left;
  padding-left: 12rem;
}

/* commitment page */

.text-container {
  width: 80%;
  margin: 0 auto;
  padding-top: 12rem;
  padding-bottom: 5.2rem;
}

.standard-text {
  font-size: 2rem;
  font-weight: 200;
  line-height: 1.5;
}

.bold-text {
  font-weight: 600;
}

.feature-details {
  width: 90%;
  margin-top: 8rem;
  margin: 8rem auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 8rem;
  justify-items: center;
  align-items: center;
  padding-top: 4rem;
}

.feature-details picture {
  width: 100%;
  display: block;
  text-align: center;
  z-index: 100;
}

.features-img {
  width: 90%;
  /* width: 100%; */
  /* height: 35rem; */
  height: 45rem;
  object-fit: cover;
  z-index: 100;
  /* animation: moveFromLeft 1.5s ease-out; */
}

.move-left {
  animation: moveFromLeft 1.5s ease-out;
}

.feature-box {
  /* position: relative; */
  /* width: 80%; */
  width: 100%;

  /* margin: 6rem auto 8rem; */

  /* background-color: var(--bg-colour); */

  padding: 4rem 6rem;
  /* transform: translateX(-20%); */
  /* border: 2px solid black; */
  overflow: hidden;
  /* display: flex;
  flex-direction: column; */
  /* justify-content: center;
  align-items: center; */
  z-index: 1;
  /* animation: moveFromRight 1.5s ease-out; */
}

.feature-box-right {
  padding-right: 2rem;
}

.move-right {
  animation: moveFromRight 1.5s ease-out;
}

/* .description-box:nth-child(3) {
  transform: translateX(20%);
} */

.feature-text {
  font-size: 2rem;
  /* font-weight: 300; */

  letter-spacing: 0.5px;

  color: var(--text-colour-light);
  z-index: 2000;

  /* display: flex; */
  /* justify-content: center;
  align-items: center; */

  font-weight: 200;
  line-height: 1.5;
}

@keyframes moveFromLeft {
  0% {
    transform: translateX(-80%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes moveFromRight {
  0% {
    transform: translateX(80%);
  }
  100% {
    transform: translateX(0);
  }
}

.certificate-container {
  display: flex;
  justify-content: center;
  gap: 8rem;
  /* padding-top: 8rem; */
}

.certificate-img {
  height: 15rem;
  /* width: 20rem;
  width: auto; */
  object-fit: contain;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  transition: all 0.5s;
}

/* .gap-logo {
  height: 20rem;
} */

.certificate-img:hover {
  filter: grayscale(0);
  -webkit-filter: grayscale(0);
}

.certificate-img-colour {
  filter: grayscale(0);
  -webkit-filter: grayscale(0);
}

/* about-page */
/* features */
.index-features {
  position: relative;
  background-color: var(--bg-colour-white);
}

.index-features-heading-container {
  /* padding-top: 4.8rem;
  padding-bottom: 4.8rem; */
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-color: var(--bg-colour-white);
}

.primary-heading {
  /* font-family: "Cormorant", serif; */
  color: var(--text-colour-dark);
  font-size: 8rem;
  /* font-size: 80rem; */
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.3;
  text-align: center;
  text-transform: capitalize;
}

.index-feature-img-container {
  position: sticky;

  top: 85px;
  top: 80px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 8rem);
  z-index: 0; /* Ensures images are behind text */
  overflow: hidden;
}

.index-feature-img {
  height: 100%;
  width: 100%;
  object-fit: cover;

  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: -1;
  filter: brightness(50%);
}

.index-feature-img.active {
  opacity: 1;
  z-index: 1500;
  display: block;
  animation: imgFadeInSlide 1s;
  animation: imgFadeInSlide 0.2s;
}

/* Animation */
@keyframes imgFadeInSlide {
  0% {
    /* opacity: 0.5; */
    opacity: 0.9;
  }
  100% {
    opacity: 1;
  }
}

.index-feature-text-container {
  background: transparent;

  width: 100vw;
  position: relative;

  display: flex;
  flex-direction: column;

  padding-left: 12rem;

  z-index: 1500;

  color: var(--text-colour-white);
  text-shadow: 1px 1px 2px rgba(00, 00, 00, 0.8);
  margin-bottom: calc(100vh - 8.5rem);
}

.index-feature-text-container:last-child {
  margin-bottom: 0;
}

.index-feature-text {
  width: 80%;
  padding-top: 3rem;
  font-size: 2.6rem;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 1px;
  font-style: italic;
  z-index: 1000;
  white-space: wrap;
}

.index-feature-text-line-break {
  display: none;
}

.green-text {
  color: var(--text-colour-green-light);
}

.about-certificate-images-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, auto);
  gap: 0.5rem;
  padding-top: 6rem;
}

.about-certificate-img-container {
  overflow: hidden;
}

.about-certificate-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  transition: all 0.5s;
  transition: filter 2s, transform 12s ease-out;
}

.about-certificate-img:hover {
  transform: scale(1.4);
  filter: grayscale(0);
  -webkit-filter: grayscale(0);
}

.photo-grid-item:hover .text-img-effect {
  transform: translate(-50%, -50%);
  left: 50%;
}

.products-section {
  padding-top: 6rem;
  padding-bottom: 4rem;
  /* border-top: 1px solid var(--text-colour-green-light); */
}

.products-heading-container {
  display: flex;
  justify-content: center;
}

.products-heading {
  font-family: "Inter", sans-serif;
  font-size: 3rem;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  color: var(--text-colour-light);
}

.products-items-grid {
  padding: 8rem;
  padding-top: 6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  justify-items: center;
  align-items: start;
  justify-content: center;
}

.products-section:last-child .products-items-grid {
  padding-bottom: 0;
}

.products-item {
  aspect-ratio: 1 / 1;
  position: relative;
  transition: all 0.5s;
}

.products-item picture {
  width: 100%;
}

.products-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s;
}

.product-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.6rem;
  color: var(
    --text-colour-light
  ); /* z-index: 3000; */ /* opacity: 0; visibility: hidden; transition: opacity 0.3s ease; */
  text-transform: capitalize;
  white-space: nowrap;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.products-item:hover .product-name {
  opacity: 1;
  transform: translate(-50%, 0);
}

.products-item:hover .products-img {
  filter: brightness(50%);
}

.products-category-section {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.program-selection-container {
  display: flex;
  gap: 3rem;
  align-items: center;
  padding-left: 4rem;
}

.program-selection-link:link,
.program-selection-link:visited {
  font-family: "Inter", sans-serif;
  display: inline-block;
  text-decoration: none;
  color: var(--text-colour-light);
  border: 1px solid var(--text-colour-light);
  border-radius: 30px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  width: 18rem;
  text-align: center;
  font-weight: 600;
  font-size: 2.4rem;
  transition: all 0.3s;
}

.program-selection-link:hover,
.program-selection-link:active {
  background-color: var(--text-colour-green-light);
  color: var(--text-colour-green-dark);
}

.catalogue-container {
  padding-right: 4rem;
}

.products-catalogue-btn,
.products-catalogue-btn:link,
.products-catalogue-btn:visited {
  font-family: "Inter", sans-serif;

  display: inline-block;
  text-decoration: none;
  padding: 0.5rem 3rem;
  padding-bottom: 1rem;
  color: var(--text-colour-light);
  font-size: 2.2rem;
  font-weight: 300;

  margin-top: 3rem;
  margin-bottom: 3rem;
  margin: 3rem auto;
  border: none;
  border-radius: 30px;
  text-transform: capitalize;
  background-color: transparent;
  border: 1px solid var(--text-colour-light);

  transition: all 0.2s;
}

.products-catalogue-btn:hover,
.products-catalogue-btn:active {
  cursor: pointer;
  background-color: var(--text-colour-green-light);
  color: var(--text-colour-green-dark);
}

.products-section-bg-img {
  background-image: url("../img/products/products-bg-img.jpg");
  position: relative;
  background-size: contain;
  background-repeat: repeat;
  background-position: center top;
  margin-top: -0.2rem;
  padding-bottom: 15rem;
}

/* dark overlay */
.products-section-bg-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5); /* 50% dim */
  z-index: 1;
}

/* ensure content stays above overlay */
.products-section-bg-img > * {
  position: relative;
  z-index: 2;
}

/* hero - products section */
.hero-products-img {
  height: 40rem;
  object-fit: cover;
  width: 100%;
  filter: brightness(45%);
}

.hero-products {
  position: relative;
}

.hero-text-products-pages {
  font-family: "Inter", sans-serif;
  color: var(--text-colour-light);
  font-size: 4rem;
  font-weight: 700;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.heading-pages-products {
  text-align: center;
  white-space: nowrap;
}

.hero-text {
  color: var(--text-colour-light);
  font-size: 1.8rem;
  font-weight: 200;
  line-height: 1.75;
  padding-top: 2rem;
}
