@import "normalize.css";

:root {
  --yellow: #ffcd05;
  --black: #0a0500;
  --grey: #f7f7f7;
  --white: #fff;
}

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4 {
  font-family: "Sen", sans-serif;
  font-weight: 900;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a:active,
a:visited,
a:link {
  text-decoration: none;
  color: var(--black);
}

a:hover {
  color: var(--yellow);
  text-decoration: none;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 100%;
  margin: 0;
  padding: 0;
  line-height: 1.65;
  color: var(--black);
  background-color: var(--white);
  position: relative;
}

/* HEADER */
.header {
  width: 90rem;
  padding: 1rem 2rem;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background-color: var(--white);
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.header .navbar a {
  text-decoration: none;
  padding: 1.1rem 1rem;
}

.header a:first-child {
  background-color: var(--yellow);
}

.logo {
  width: 10rem;
}

.phone-search {
  display: flex;
  gap: 1rem;
}

/* WRAPPER */

.wrapper {
  margin: 0 auto;
  max-width: 90rem;
}

/* HERO */

.hero {
  height: 55rem;
}

.hero-image {
  filter: brightness(0.5);
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-content {
  height: 100vh;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  color: white;
  z-index: 1;
  width: 80%;
  margin: 0 auto;
  text-align: center;
}

.hero-content p {
  font-size: 1.2rem;
}

.hero-content h3 {
  font-size: 4.5rem;
}

.hero-space {
  background-color: black;
  height: 40rem;
  width: 100%;
  position: absolute;
  left: 0;
  top: 57rem;
  z-index: -1;
}

/* APPOINTEMENT */

.appointment {
  background-color: var(--white);
  padding: 4rem 0;
}

.appointment-form {
  display: flex;
  padding: 1rem;
  gap: 1rem;
  border: none;
  outline: none;
}

.appointment-form legend {
  text-align: center;
  font-weight: bold;
  font-size: 1.1em;
  margin: 0 auto;
  padding: 0 1rem;
}

.appointment-form input,
.appointment-form select,
.appointment-form button {
  width: 100%;
  padding: 1rem;
  background-color: var(--grey);
  border: none;
  outline: none;
}

.appointment-form button {
  background-color: var(--black);
  color: var(--white);
  border: none;
  cursor: pointer;
}

.appointment-form button:hover {
  background-color: var(--black);
}

/* SERVICES */

.services-wrapper {
  padding: 5rem 0;
  text-align: center;
}

.services {
  width: 50%;
  margin: 0 auto 5rem;
}

.services-top-heading,
.services-top-content {
  color: var(--white);
}

.services-top-heading {
  font-size: 2rem;
}

.services-cards {
  display: flex;
  gap: 1rem;
}

.service-card {
  background-color: var(--white);
  border: solid 1px var(--grey);
  display: flex;
  flex-flow: column wrap;
  justify-content: space-evenly;
  align-items: center;
  padding: 4rem;
}

.service-card img {
  width: 40%;
}

.service-card-price {
  font-weight: bold;
}

.services-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.services-cta button {
  padding: 1rem 3rem;
  border: none;
  cursor: pointer;
}

.services-cta-all-services {
  background-color: var(--black);
  color: var(--white);
  border: solid 2px var(--white) !important;
}

.services-cta-contact {
  background-color: var(--white);
  color: var(--black);
  border: solid 2px var(--black) !important;
}

/* SERVICES LEADERS */
.row {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.row-reverse {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-around;
  align-items: center;
}

.row,
.row-reverse {
  margin-bottom: 5rem;
}

.service-leaders-content,
.service-eco-content,
.service-pro-content {
  width: 80%;
  display: flex;
  flex-direction: column;
  padding: 5rem;
}

.service-leaders-content h3,
.service-eco-content h3,
.service-pro-content h3 {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.service-leaders-image,
.service-eco-image,
.service-pro-image {
  width: 100%;
}

.service-leaders-liste {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-leaders-liste li {
  font-weight: 700;
  margin: 1rem 0;
}

.fa-circle-check {
  margin-right: 0.2rem;
}

.service-eco-btn,
.service-pro-btn {
  width: 50%;
  padding: 1rem 3rem;
  border: none;
  cursor: pointer;
  background-color: var(--black);
  color: var(--white);
  margin-top: 2rem;
}

.service-pro-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 12px solid currentColor;
  display: inline-block;
  margin-left: 0.8rem;
}

/* SERVICES HOW 
   REVIEWS
*/

.service-how,
.reviews {
  margin-top: 5rem;
}

.service-how-header,
.reviews-header {
  margin-top: 2rem;
  text-align: center;
}

.service-how-header p,
.reviews-header p {
  font-weight: 600;
}

.service-how-header h2,
.reviews-header h2 {
  font-weight: 900;
  font-size: 2rem;
}

.service-how-cards,
.reviews-cards {
  display: flex;
  gap: 2rem;
}

.service-how-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex: 1;
}

.service-how-card,
.reviews-card {
  border: solid 1px var(--grey);
}

.service-how-card img {
  width: 20%;
}

.reviews-card {
  padding: 6rem 2rem 2rem;
}

.reviews-card p {
  font-size: 1rem;
}

.reviews-card img {
  width: 10%;
}

.reviews-card {
  position: relative;
}

.quote {
  display: block;
  color: var(--yellow);
  position: absolute;
  top: 0;
  left: 0;
}

.reviews-card-avatar {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 2rem;
}

.reviews-card-avatar img {
  width: 15%;
}

.reviews-card-avatar-name p:nth-child(1) {
  font-weight: 900;
}

.reviews-card-avatar-name p {
  margin: 0;
}

/* PARTNERS */

.partners {
  margin-top: 5rem;
  display: flex;
  justify-content: space-between;
  gap: 5rem;
}

.partners img {
  width: 10%;
}

/* CONTACT */

.contact {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  margin-top: 5rem;
  position: relative;
}

.contact-image {
  filter: brightness(0.5);
}

.contact-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90rem;
  margin: 0 auto;
  z-index: 1;
}

.contact-cta {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-wrapper p,
.contact-wrapper h3 {
  color: var(--white);
}

.contact-wrapper p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.contact-wrapper h3 {
  font-size: 4rem;
}

.contact-cta-btn {
  width: 15%;
  padding: 1rem 1.5rem;
  border: none;
  cursor: pointer;
  background-color: var(--grey);
  color: var(--black);
  margin-top: 2rem;
}

/* FOOTER */

.footer {
  background-color: var(--grey);
  padding-top: 5rem;
}


.footer-main {
  max-width: 90rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5rem;
}

.footer-wrapper {
  display: grid;
  grid-template-columns: 30% 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  align-items:start;
  gap: 2rem;
}

.footer-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-about img {
  width: 15rem;
  margin: 1.5rem 0 4rem 0;
}

.footer-about,
.footer-quick-link,
.footer-services,
.footer-contact-info
{
   padding: 0;
}

[class^="footer-contact-info-"] h5,
[class^="footer-contact-info-"] p {
  margin: 0;
  padding: 0;
}

[class^="footer-contact-info-"] h5 {
  margin-top: 2rem;
}

.footer-about-brands {
  margin-top: 2rem;
}

.footer-about-brands a {
 margin-right: 1.1rem;
 padding: 0.5rem;
 border-radius: 50%;
 background-color: var(--grey);
}

.footer-copyright {
  margin-top: 5rem;
  text-align: center;
}
