@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

:root {
  /* colors */
  --black: #000;
  --white: #fff;
  --extra-light-gray: rgba(196, 196, 207, 0.1);
  --light-gray: #464646;
  --primary-color: #96c541;
  --primary-color-bright: #aee44b;
  --primary-color-hover: rgb(107, 141, 45);
  --secondary-dark: #192227;

  /* Margin */
  --mb-1: 1rem;
  --mb-2: 2rem;
  --mb-3: 3rem;
  --mb-4: 4rem;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-wrap: pretty;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  position: relative;
}

img {
  height: auto;
  width: 100%;
}

p {
  color: var(--light-gray);
  font-size: 1.2rem;
}

.overlay {
  position: absolute;
  inset: 0;
  background-color: var(--black);
  opacity: 0.35;
  z-index: 1;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: #fff;
}

section {
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.flex {
  display: flex;
}

.btn {
  display: block;
  background-color: var(--black);
  max-width: 15rem;
  text-align: center;
  padding: 20px 10px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 250ms;
  box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.25);
  letter-spacing: 1.5px;
  font-size: 1.3rem;
}

.btn-primary {
  background-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-color-hover);
  box-shadow: 0px 2px 11px 0px rgba(0, 0, 0, 0.5);
}

.btn-small {
  font-size: 1.1rem;
  padding: 15px 5px;
  max-width: 12.5rem;
}

.two-col-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 3rem;
}

.section-heading {
  color: var(--primary-color);
  letter-spacing: 5px;
  margin-bottom: var(--mb-1);
  font-size: 1.2rem;
}

.section-sub-heading {
  color: var(--light-gray);
  margin-bottom: var(--mb-1);
  max-width: 25rem;
  font-size: 2.5rem;
}

.section-text {
  margin-bottom: var(--mb-1);
  max-width: 30rem;
}

.last-paragrapgh {
  margin-bottom: var(--mb-4);
}

.information-right {
  width: 50%;
}

.information-left {
  width: 50%;
}

.information-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.deco-image {
  width: 50%;
}

.white {
  color: var(--white);
}

.flex-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  padding: var(--mb-3) 0;
  gap: 5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 33%;
}

.service-description {
  max-width: 18rem;
}

/* Quote Section */

#quote {
  background-color: rgba(196, 196, 207, 0.1);
}

#quote .container {
  margin: 4rem auto;
}

#quote .section-sub-heading {
  color: var(--light-gray);
  max-width: 50rem;
}
#quote .btn {
  padding: 20px 30px;
}

/* Footer */
footer {
  background-color: var(--secondary-dark);
  border-top: 3px solid var(--primary-color);
}

footer .container {
  display: flex;
  justify-content: space-between;

  padding: 2rem 1rem;
}

footer img {
  height: auto;
  width: 15rem;
}

footer h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

footer p {
  color: var(--white);
}

.footer-contact a {
  transition: all 250ms;
}

.footer-contact a:hover {
  color: var(--primary-color);
  cursor: pointer;
}

.footer-telephone {
  margin-bottom: 1rem;
}

.footer-socials {
  margin-top: 1rem;
}

.footer-socials a {
  margin: 0 1rem;
}

.contact-location {
  margin-top: 0.5rem;
}

/* Media Queries */

@media (max-width: 850px) {
  .two-col-flex {
    flex-direction: column;
  }

  .section-heading {
    font-size: 1.2rem;
  }

  .section-sub-heading {
    font-size: 2rem;
  }

  .flex-grid {
    flex-direction: column;
  }

  .service-card {
    min-width: 100%;
  }

  .service-description {
    max-width: 50rem;
  }
}

@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    align-items: center;
  }
  .footer-logo,
  .footer-address {
    margin-bottom: 2rem;
  }

  footer h2 {
    text-align: center;
  }
}
