/**************************/
/* GENRAL REUSABLE COMPONENTS */
/**************************/

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  /* font-size: 10px; */
  /* 10px / 16px = 0.625 = 62.5% */
  /* Percentage of user's browser font-size setting */
  font-size: 62.5%;
  /* scroll-behavior: smooth; java script instead*/
}

body {
  font-family: "Rubik", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #333;
  background-color: #fff;
  background-image: url(pg-bkg.jpg);
  background-position: top left;
  background-repeat: repeat;
}
.head-container {
  width: 70%;
  margin: 0 auto;
}

.header {
  margin: 2rem auto;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(85, 85, 85, 0.6);
  border-radius: 12px;
  border: 2px solid rgb(187, 186, 186);
}
.logo {
  width: 100%;
  height: auto;
  padding-left: 3rem;
}

.nav {
  padding: 2rem;
  border-radius: 12px;
}
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-link:link,
.nav-link:visited {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  font-variant: small-caps;
  color: #fff;
  font-weight: 500;
  font-size: 1.8rem;
  transition: all 0.3s;
  margin: 0 1rem;
  align-items: center;
}

.nav-link:hover,
.nav-link:active {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/**************************/
/* main section container */
/**************************/

.body-container {
  width: 70%;
  background-color: #fff;
  margin: 0 auto;
  height: auto;
  border-radius: 12px;
}
/**************************/
/* HERO */
/**************************/

.hero-container {
  width: 100%;
  position: relative;
  background-color: #fff;
  background-image: url(banner_large.jpg);
  background-position: center center;
  background-image: cover;
  background-repeat: no-repeat;
  height: 214px;
  border-radius: 12px;
  overflow: hidden;
  border-bottom: none;
  border-top: 1px solid rgb(187, 186, 186);
  border-left: 1px solid rgb(187, 186, 186);
  border-right: 1px solid rgb(187, 186, 186);
}
.at-bottom {
  color: #fff;
  font-size: 2.5rem;
  display: block;
  position: absolute;
  top: 9rem;
  left: 8rem;
  padding: 1rem;
  font-weight: 700;
  text-align: center;
  background-color: rgba(16, 133, 243, 0.6);
  border-radius: 12px;
}
.call {
  display: block;
  position: absolute;
  top: 2rem;
  left: 8rem;
  font-weight: 600;
}
.btn--hero:link,
.btn--hero:visited {
  font-size: 2rem;
  margin-bottom: 1rem;
  background-color: rgba(201, 155, 90, 0.7);
  color: #000;
  text-align: center;
  text-decoration: none;
  padding: 2rem 2rem;
  border-radius: 12px;
}

.btn--hero:hover,
.btn--hero:active {
  background-color: #555;
  color: #fff;
}
/**************************/
/* TAGLINE */
/**************************/
.tagline {
  background-color: #c99b5a;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 2;
  text-align: center;
  letter-spacing: 1px;
  color: #333;
  width: 100%;
}
/**************************/
/* TEXT */
/**************************/
h1 {
  font-size: 2.2em;
  margin: 0px 0px 0.5em 0px;
  font-weight: bold;
  text-align: center;
  padding-right: 2em;
  line-height: 45px;
}
h2 {
  font-size: 2rem;
  margin: 2rem 2rem 1rem 0;
  padding-right: 4rem;
  padding-left: 3rem;
  line-height: 2;
}
h3 {
  font-size: 1.25rem;
  margin: 0em 0px 0.25rem 0px;
}
h4 {
  font-size: 1.5em;
  line-height: 2;
}
p {
  margin: 0px 0px 1em 0px;
  font-size: 1.2rem;
  color: #000;
  font-weight: bold;
  padding: 1rem;
  line-height: 25px;
}

/**************************/
/* Section Main */
/**************************/
.section-main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin: 0 2rem;
  background-color: #fff;
}
.main-left-section {
  text-align: left;
  color: #555;
}
.questions {
  text-align: left;
  color: #555;
}
.main-description {
  text-align: left;
  color: #555;
}

/**************************/
/* Aside */
/**************************/

.aside {
  margin-top: 3rem;
  background-image: linear-gradient(to top, #fff, #1290da);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2.4rem 4.8rem rgba(6, 95, 136, 0.075);
  height: auto;
  display: block;
}
.chad img {
  width: 100%;
}

figcaption {
  font-size: 1.3rem;
  padding-top: 0.5rem;
  line-height: 1.5;
  color: #333;
  text-align: center;
}

.aside-paragraphs p {
  color: #222;
  font-size: 1.6rem;
}
.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 12px;

  /* Only necessary for .btn */
  border: none;
  cursor: pointer;
  font-family: inherit;

  /* Put transition on original "state" */
  /* transition: background-color 0.3s; */
  transition: all 0.3s;
}

.btn--aside:link,
.btn--aside:visited {
  background-color: #c99b5a;
  color: #000;
  text-align: center;
  display: block;
  text-decoration: none;
}

.btn--aside:hover,
.btn--aside:active {
  background-color: #555;
  color: #fff;
}
/**************************/
/* TESTIMONIALS */
/**************************/
.section-testimonials {
  position: relative;
}

.testimonials-container {
  width: 100%;
  background-image: linear-gradient(to bottom, #fff, #f0bc74);
  padding: 9.6rem;
}

.subheading {
  font-size: 2rem;
  margin-top: 0;
}
.testimonials {
  row-gap: 4rem;
  column-gap: 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}


.testimonial-name {
  font-size: 1.6rem;
  color: #6f6f6f;
}

.testimonial-text {
  font-size: 1.5rem;
  padding: 1rem;
  line-height: 1.5;
}
/**************************/
/* Who We Are */
/**************************/
.about-us-section {
  margin: 8rem auto 2rem auto;
  width: 100%;
}
.who {
  padding: 0 6rem;
  color: #555;
}

/**************************/
/* Gallery */
/**************************/
.gallery-section {
  margin-top: 0rem;
  position: relative;
  padding: 1.6rem;
  background-image: linear-gradient(to top, #fff, #000);
}

.gallery-head-text h2 {
  font-size: 4rem;
  padding: 2rem 6rem 2rem 6rem;
  text-align: center;
  color: #f0bc74;
  font-variant: small-caps;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  padding: 1.6rem;
  background-color: 000;
}

.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  display: block;
  width: 100%;
  transition: all 0.4s;
}

.gallery-item img:hover {
  transform: scale(1.1);
}
/**************************/
/* Footer */
/**************************/
.footer {
  margin-bottom: 5rem;
  padding-bottom: 3rem;
}

.footer--wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
  gap: 3rem;
  align-content: top;
  background-image: linear-gradient(to top, #fff, #555);
  padding: 4rem 4rem;
}

.footer-nav {
  grid-column: 1 / 2;
  padding-left: 8rem;
}

.footer-nav-list {
  list-style: none;
  margin-top: 2rem;
}

.logo-footer-link {
  display: block;
  width: 290px;
  height: 75px;
}

.btn--footer:link,
.btn--footer:visited {
  background-color: #c99b5a;
  color: #000;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  margin-left: 2rem;
  font-size: 2rem;
}

.btn--footer:hover,
.btn--footer:active {
  background-color: #555;
  color: #fff;
}
.footer-link:link,
.footer-link:visited {
  display: inline-block;
  padding: 1rem 4rem;
  text-decoration: none;
  font-size: 2rem;
  color: #000;
  font-variant: small-caps;
}
.footer-link:last-child {
  margin-bottom: 2rem;
}

.footer-link:active,
.footer-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact {
  grid-column: 2 / 3;
  padding-top: 2rem;
  padding-left: 4rem;
}

.contact h2 {
  padding-left: 4rem;
}

.contact p {
  font-size: 1.5rem;
  color: #333;
  line-height: 1.5;
  letter-spacing: 1px;
  font-variant: small-caps;
  padding-left: 4rem;
}

.contact p:last-child {
  margin-top: 2.5rem;
  margin-bottom: 4rem;
}
