* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  font-family: "Rubik", sans-serif;
  scroll-behavior: smooth;
}

body {
  font-size: 1.8rem;
  color: #555555;
}

a {
  color: #fff;
  text-decoration: none;
}

h1 {
  color: #fff;
  font-size: 7.6rem;
  line-height: 1.2;
  width: 85rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-weight: lighter;
  text-align: center;
  letter-spacing: -0.5px;
}

ul {
  list-style-type: none;
}

i {
  color: #fff;
}

/* GENERAL REUSABLE COMPONENTS*/

.secondary-header {
  font-weight: 700;
  color: #333;
  letter-spacing: -0.5px;
  font-size: 4.4rem;
  line-height: 1.2;
  margin-bottom: 9.6rem;
}

.subheading {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  color: #076448;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  letter-spacing: 1px;
}

.grid {
  display: grid;
  gap: 3.2rem;
}

.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.flex {
  display: flex;
  justify-content: center;
  gap: 4.8rem;
}

.flexbox-testimonial {
  width: 90rem;
  margin: 3.2rem auto;
  padding: 3.2rem 4.8rem 3.2rem 4.8rem;
  position: relative;
  display: flex;
  gap: 6.4rem;
}

.padding {
  padding: 3.2rem 9.6rem;
}

.padding-bottom {
  padding-bottom: 3.2rem;
}

.tertiary-header {
  font-size: 2.1rem;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

/* NOTIFICATION BAR */

.notification-bar {
  font-size: 1.2rem;
  padding: 1.2rem 0;
  color: #fff;
  background-color: #db4949;
  text-align: center;
  display: block;
}

.notification-bar span {
  text-transform: uppercase;
  font-weight: 700;
}

/* HEADER */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2rem 4rem;
  height: 8rem;
}

.logo {
  height: 6rem;
}

.main-nav-list {
  font-size: 1.8rem;
  display: flex;
  gap: 1.2rem;
  text-transform: uppercase;
}

.main-nav-link:link,
.main-nav-link:visited {
  text-decoration: none;
}

.main-nav-link:hover,
.main-nav-link:active {
  text-decoration: underline;
  text-underline-position: under;
}

.btn-contact:link,
.btn-contact:visited {
  padding: 1.6rem 2.4rem;
  border-radius: 30rem;
  border: 1px solid #fff;
  background-color: transparent;
  color: #fff;
  text-decoration: none;
}

.btn-contact:hover,
.btn-contact:active {
  text-decoration: none;
  background-color: #fff;
  color: #555;
}

.scrolled {
  top: 0;
  left: 0;
  z-index: 2;
  position: fixed;
  width: 100%;
  margin: 0;
  padding: 2rem 4rem;
  height: 10rem;
  background-color: rgba(12, 166, 120, 0.95);
  transition: background-color 0.3s linear;
}

/* HERO */

.container-hero {
  height: 100vh;
  position: relative;
  background-image: linear-gradient(rgba(12, 166, 120, 0.4), rgba(12, 166, 120, 0.2));
  overflow: hidden;
}

.underlined {
  position: relative;
}

.underline-clip:after {
  content: '';
  position: absolute;
  top: 90%;
  width: 150%;
  aspect-ratio: 3 / 1;
  left: 50%;
  transform: translate(-50%, 0);
  border-radius: 50%;
  border: 5px solid hsl(130 80% 50%);
  clip-path: polygon(0 0, 50% 50%, 100% 0);
}

.btn-learn-more:link,
.btn-learn-more:visited {
  position: absolute;
  left: 50%;
  top: 85%;
  transform: translate(-50%, -50%);
  padding: 1.6rem 3.2rem;
  background-color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  border-radius: 0.9rem;
  color: #555;
  transition: all 0.3s;
}

.btn-learn-more:hover,
.btn-learn-more:active {
  border: 1px solid #fff;
  background-color: transparent;
  color: #fff;
}

.background-clip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background-size: cover;
  width: 100%;
}

/* PARTNERS */

.section-partners {
  position: relative;
  padding: 4.8rem 0;
}

.partners-heading {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 2.4rem;
  color: #888;
}

.logos {
  overflow: hidden;
  white-space: nowrap;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 1;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), #fff);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
}

.logos-slide {
  display: inline-block;
  animation: 20s slide infinite linear;
}

.logos-slide img {
  height: 8.2rem;
  filter: brightness(0);
  opacity: 50%;
  padding-right: 9.6rem;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* ABOUT US */

.text {
  line-height: 1.9;
  width: 50%;
}

/* GALLERY */

.gallery {
  width: 95%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin: 0 auto;
}

.gallery-item img {
  display: block;
  width: 100%;
  transition: all 0.4s;
}

.gallery-item img:hover {
  transform: scale(1.4);
}

/* SERVICES */

.grid > li,
div.grid div,
div.container-testimonial {
  margin: 2.4rem auto;
  font-size: 1.8rem;
  width: 26rem;
  height: 32rem;
  box-shadow: 1.2rem 2rem rgba(0, 0, 0, 0.025);

  border-radius: 9px 9px 0 0;
  padding: 1.4rem;
  background-color: rgba(231, 246, 242, 0.5);
}

div.container-testimonial {
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.2);

  border-radius: 9px 9px 0 0;
  background-color: #fff;
}

.grid > li i,
div.grid div i {
  color: #0ca678;
  font-size: 2.4rem;
  margin-bottom: 2.4rem;
}

details ul {
  font-size: 1.6rem;
}

details ul span {
  text-decoration: underline;
}

/* TESTIMONIAL */

.testimonial {
  padding: 0 9.6rem;
}

.testimonial__title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2.2rem;
}

.container-testimonial {
  width: 80rem;
  height: 30rem;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;

}

.img-testimonial {
  border-radius: 50%;
  height: 7rem;
  margin: 0 0;
}


.author-testimonial {
  margin: 0.8rem 0 0.4rem 0;
  font-weight: 500;
  display: flex;
  justify-content: center;
  color: #495057;
}

.author-testimonial-2 {
  margin: 0.8rem 0 0.4rem 0;
  font-weight: 300;
  display: flex;
  justify-content: center;
  color: #6c747a;
  font-size: 1.4rem;
}

.text-testimonial {
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 3.2rem;
  text-align: center;
}

.btn-testimonial {
  background-color: #0ca678;
  border: none;
  height: 4rem;
  width: 4rem;
  border-radius: 50%;
  position: absolute;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn--left, .btn--prev {
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
}

.btn--right, .btn--next {
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
}

/* VISIT US */

.img-facade,
.map {
  border: 4px solid #eaeaea;
}

.img-facade {
  width: 35%;
}

.map {
  width: 60%;
}

/* FOOTER */

.footer {
  color: #fff;
  font-size: 1.4rem;
}

.footer-container {
  background-color: #0ca678;
  padding: 4.8rem;
  display: flex;
  justify-content: space-evenly;
}

.footer-header {
  margin-bottom: 1.2rem;
  font-weight: 700;
  font-size: 1.4rem;
}

.social-links,
.address {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.address {
  font-style: normal;
}

.copyright {
  background-color: #000;
  padding: 2rem 0;
  font-size: 1.2rem;
  text-align: center;
  display: block;
}

/* WHATSAPP BUTTON */

.whatsapp-btn,
.whatsapp-btn:after,
.whatsapp-btn:before {
  position: fixed;
  bottom: 3.2rem;
  right: 3.2rem;
  width: 6rem;
  height: 6rem;
  background-color: #25d366;
  border-radius: 50%;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.whatsapp-btn:after,
.whatsapp-btn:before {
  content: "";
  z-index: -1;
  opacity: 0.7;
}

.whatsapp-btn:before {
  animation: pulse 2s ease-out infinite;
}

.whatsapp-btn:after {
  animation: pulse 2s 1s ease-out infinite;
}

@keyframes pulse {
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}
