@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  /**
     * colors
     */

  --sefety-orange_10: hsla(24, 100%, 50%, 0.1);
  --sefety-orange: hsl(342, 100%, 50%);
  --sonic-silver: hsl(220, 1%, 48%);
  --gunmetal_10: hsla(217, 21%, 16%, 0.1);
  --davys-gray: hsl(220, 2%, 31%);
  --light-gray: hsl(0, 0%, 80%);
  --gunmetal: hsl(217, 21%, 16%);
  --cultured: hsl(0, 0%, 95%);
  --black_40: hsla(0, 0%, 0%, 0.4);
  --black_25: hsla(0, 0%, 0%, 0.25);
  --black_15: hsla(0, 0%, 0%, 0.15);
  --white: hsl(0, 0%, 100%);
  --snow: hsl(345, 20%, 96%);
  --space-cadet: hsl(224, 48%, 22%);
  --red-crayola: hsl(342, 100%, 50%);
  --black-coral: hsl(219, 13%, 44%);
  --blue-ryb: hsl(244, 86%, 59%);
  --cultured: hsl(0, 0%, 96%);
  --violet-blue-crayola: hsla(234, 50%, 64%, 1);
  --dark-cornflower-blue_a7: hsla(214, 88%, 27%, 0.07);
  --white: hsla(0, 0%, 100%, 1);
  --white_a3: hsla(0, 0%, 100%, 0.03);
  --white_a8: hsla(0, 0%, 100%, 0.08);
  --white_a12: hsla(0, 0%, 100%, 0.12);
  --white_a70: hsla(0, 0%, 100%, 0.7);
  --cultured: hsla(220, 20%, 97%, 1);
  --lavender-web: hsla(233, 52%, 94%, 1);
  --cadet-blue-crayola: hsla(220, 12%, 70%, 1);
  --cadet-blue-crayola_a20: hsla(222, 23%, 71%, 0.2);
  --charcoal: hsla(218, 22%, 26%, 1);
  --raisin-black: hsla(216, 14%, 14%, 1);
  --light-gray: hsla(0, 0%, 79%, 1);
  --blue-crayola: hsla(219, 72%, 56%, 1);
  --black-coral: hsla(220, 12%, 43%, 1);


  /**
     * typography
     */

  --ff-jost: "poppins", sans-serif;

  --fs-1: 3.8rem;
  --fs-2: 2.2rem;
  --fs-3: 2rem;
  --fs-4: 1.8rem;
  --fs-5: 1.4rem;

  --fw-600: 600;
  --fw-500: 500;

  /**
     * spacing
     */

  --section-padding: 80px;

  /**
     * shadow
     */

  --shadow-1: 0px 2px 15px hsla(0, 0%, 0%, 0.05);
  --shadow-2: -10px 10px 40px -2px hsla(217, 21%, 16%, 0.05);

  /**
     * border radius
     */

  --radius-pill: 500px;
  --radius-circle: 50%;
  --radius-4: 4px;

  /**
     * transition
     */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
}

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

li {
  list-style: none;
}

a,
img,
span,
button,
ion-icon {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  height: auto;
}

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

ion-icon {
  pointer-events: none;
}

html {
  font-family: var(--ff-jost);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--davys-gray);
  font-size: 1.6rem;
  line-height: 1.7;
}

body.active {
  overflow: hidden;
}

:focus-visible {
  outline-offset: 4px;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: hsl(0, 0%, 98%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(0, 0%, 80%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(0, 0%, 70%);
}

.container {
  padding-inline: 15px;
}

.section {
  padding-block: var(--section-padding);
}

.h1,
.h2,
.h3,
.h4 {
  color: var(--gunmetal);
  line-height: 1.3;
}

.h1,
.h2 {
  font-size: var(--fs-1);
}

.h3 {
  font-size: var(--fs-2);
}

.h3,
.h4 {
  font-weight: var(--fw-600);
}

.h4 {
  font-size: var(--fs-3);
}

.btn {
  background-color: var(--bg, var(--gunmetal));
  color: var(--color, var(--white));
  padding: var(--padding, 10px 20px);
  border: 2px solid var(--border-color, var(--gunmetal));
  border-radius: var(--radius-4);
  transition: var(--transition-1);
}

.btn-primary {
  --bg: var(--sefety-orange);
  --color: var(--white);
  --border-color: var(--sefety-orange);
}

.btn-primary:is(:hover, :focus) {
  --bg: transparent;
  --color: var(--sefety-orange);
}

.btn-secondary:is(:hover, :focus) {
  --bg: var(--sefety-orange);
  --border-color: var(--sefety-orange);
}

.btn-outline {
  --bg: transparent;
  --color: var(--sefety-orange);
  --border-color: var(--sefety-orange);
  --padding: 10px 28px;
  font-weight: var(--fw-500);
}

.btn-outline:is(:hover, :focus) {
  --color: var(--white);
  --bg: var(--sefety-orange);
}

.has-shape {
  position: relative;
  z-index: 1;
}

.shape {
  position: absolute;
  z-index: -1;
}

.w-100 {
  width: 100%;
}

.title-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-block-end: 60px;
}

.grid-list {
  display: grid;
  gap: 30px;
}

.card-text {
  font-size: var(--fs-4);
}

.btn-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gunmetal);
  font-weight: var(--fw-500);
  transition: var(--transition-1);
}

.btn-link:is(:hover, :focus) {
  color: var(--sefety-orange);
}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-2);
}

.hover\:underline {
  display: inline;
  background-image: linear-gradient(to right, var(--gunmetal), var(--gunmetal));
  background-repeat: no-repeat;
  max-width: max-content;
  background-position-y: bottom;
  background-size: 0 2px;
  transition: var(--transition-2);
}

.hover\:underline:is(:hover, :focus) {
  background-size: 100% 2px;
}

/*-----------------------------------*\
    #HEADER
  \*-----------------------------------*/

.header .btn {
  display: none;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 2px;
  z-index: 4;
}

.logo img {
  width: 120px;
  height: 60px;
}

.header.active {
  position: fixed;
  background-color: var(--white);
  box-shadow: var(--shadow-1);
  transform: translateY(-100%);
  animation: slideIn 0.5s ease forwards;
}

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

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.nav-open-btn {
  background-color: var(--gunmetal_10);
  color: var(--gunmetal);
  font-size: 20px;
  padding: 10px;
  height: 35px;
  width: 35px;
  border-radius: var(--radius-circle);
  transition: var(--transition-1);
}

.nav-open-btn i {
  display: flex;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  margin-top: -2px;
}

.nav-open-btn:is(:hover, :focus) {
  background-color: var(--sefety-orange);
  color: var(--white);
}

.navbar {
  position: fixed;
  top: 0;
  left: -450px;
  width: calc(100% - 70px);
  max-width: 450px;
  height: 100vh;
  background-color: var(--cultured);
  z-index: 1;
  visibility: hidden;
  transition: 0.25s var(--cubic-in);
}

.navbar.active {
  transform: translate(450px);
  visibility: visible;
  transition: 0.5s var(--cubic-out);
}

.navbar-title {
  color: var(--black_40);
  text-align: center;
  padding: 12px;
  border-block-end: 1px solid var(--black_15);
}

.navbar-item {
  border-block-end: 1px solid var(--black_15);
}

.navbar-link {
  color: var(--gunmetal);
  padding: 15px 30px;
  transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus) {
  color: var(--sefety-orange);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--black_25);
  opacity: 0;
  transition: var(--transition-1);
  pointer-events: none;
}

.overlay.active {
  pointer-events: all;
  opacity: 1;
}

/*-----------------------------------*\
    #HERO
  \*-----------------------------------*/

.hero {
  padding-block-start: calc(var(--section-padding) + 90px);
  margin-top: -8rem;
  background: linear-gradient(
    to bottom,
    rgba(245, 71, 72, 0.1),
    rgba(245, 71, 72, 0)
  );
}

.hero .container {
  display: grid;
  gap: 40px;
}

.hero .section-text {
  margin-block: 25px 40px;
}

.hero-banner .w-100 {
  max-width: 80%;
  margin-inline: auto;
  width: 500px;
}

.hero .shape {
  bottom: -10px;
  left: 10px;
}

.section-title .span {
  display: inline-block;
  color: var(--sefety-orange);
}

.section-title {
  font-size: 6rem;
}

@media (max-width: 575px) {
  .section-title {
    font-size: 4rem;
  }
}

.section-text {
  font-size: 2rem;
}

/*-----------------------------------*\
    #MEDIA QUERIES
  \*-----------------------------------*/

/**
   * responsive for large than 575px screen
   */

@media (min-width: 575px) {
  /**
     * CUSTOM PROPERTY
     */

  :root {
    /**
       * typography
       */

    --fs-1: 5rem;
  }

  /**
     * REUSED STYLE
     */

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  /**
     * HERO
     */

  .hero-banner .w-100 {
    max-width: 100%;
  }

  .hero .shape {
    bottom: 0;
    left: -50px;
  }
}

@media (min-width: 768px) {
  /**
     * REUSED STYLE
     */

  .container {
    max-width: 720px;
  }

  .grid-list {
    grid-template-columns: 1fr 1fr;
  }

  /**
     * HERO
     */

  .hero .container {
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
  }
}

@media (min-width: 992px) {
  /**
     * CUSTOM PROPERTY
     */

  :root {
    /**
       * typography
       */

    --fs-1: 6.5rem;

    /**
       * spacing
       */

    --section-padding: 120px;
  }

  /**
     * REUSED STYLE
     */

  .container {
    max-width: 960px;
  }

  .h2 {
    --fs-1: 5.5rem;
  }

  .section-text {
    --fs-3: 2.4rem;
  }

  .btn {
    --padding: 10px 32px;
    font-weight: var(--fw-500);
  }

  .btn-secondary {
    --padding: 14px 32px;
  }
}

@media (min-width: 1200px) {
  /**
     * CUSTOM PROPERTY
     */

  :root {
    /**
       * typography
       */

    --fs-1: 8rem;
  }

  /**
     * REUSED STYLE
     */

  .container {
    max-width: 1140px;
  }

  .h2 {
    --fs-1: 7.2rem;
  }

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

  /**
     * HEADER
     */

  .nav-open-btn,
  .navbar-title {
    display: none;
  }

  .header .btn {
    display: block;
  }

  .navbar,
  .navbar.active {
    all: unset;
    margin-inline-start: auto;
  }

  .navbar-list {
    display: flex;
  }

  .navbar-item {
    border: none;
  }

  .navbar-link {
    text-transform: uppercase;
    font-weight: var(--fw-500);
  }
}

/* /////////////////////////////// sobre //////////////////////////////// */

.section__container {
  max-width: 1200px;
  padding: 5rem 1rem;
  margin: auto;
}

.sobre {
  margin-top: -8rem;
}

.section__subheader {
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--sefety-orange);
  text-align: center;
}

.section__header {
  font-size: 4rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  line-height: 3.5rem;
  margin: 2rem;
}

.about__row {
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
  flex-direction: column;
  overflow: hidden;
}

.about__row:nth-child(3) {
  margin-top: 4rem;
}

.about__image {
  flex: 1;
  max-width: 400px;
  margin-inline: auto;
}

.about__image img {
  border-radius: 10px;
  width: 350px;
  display: flex;
  width: 100%;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.about__content {
  flex: 1;
  text-align: center;
}

.about__content span {
  margin-inline: auto;
  margin-bottom: 1rem;
  width: 80px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
}
.about__content span img {
  max-width: 60px;
  align-items: center;
}

.about__row:nth-child(3) .about__content span {
  background-color: #fdf2d9;
}

.about__row:nth-child(4) .about__content span {
  background-color: #e8f7fe;
}

.about__row:nth-child(5) .about__content span {
  background-color: #fbebf1;
}

.about__content h4 {
  max-width: 450px;
  margin-inline: auto;
  margin-bottom: 2rem;
  font-size: 3rem;
  margin-top: 2rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 3rem;
}

.about__content p {
  max-width: 450px;
  margin-inline: auto;
  font-size: 1.8rem;
  color: var(--text-light);
}

@media (width > 768px) {
  .about__row {
    flex-direction: row;
    align-items: center;
  }

  .about__row:nth-child(4) {
    flex-direction: row-reverse;
  }

  .about__image {
    max-width: unset;
    margin-inline: auto;
  }

  .about__content {
    text-align: left;
  }
}

/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service {
  background: var(--white);
  padding-block: var(--section-padding);
}

.service-banner {
  margin-bottom: 30px;
}

.section-subtitle {
  font-size: 2rem;
  font-weight: 500;
}

.service-content:first-of-type {
  padding-bottom: 50px;
  border-bottom: 1px solid hsla(0, 0%, 0%, 0.05);
  margin-bottom: 50px;
}

.service .section-title {
  margin-bottom: 30px;
}

.service-item {
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
  box-shadow: 0 5px 25px 10px hsla(0, 0%, 0%, 0.05);
  border-radius: var(--radius-8);
}

.service-item:not(:last-child) {
  margin-bottom: 20px;
}

.section-title h2 {
  font-size: 4rem;
}

.service-item-icon {
  background: var(--cultured);
  color: var(--red-crayola);
  min-width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: var(--transition);
}

.service-item-icon i {
  font-size: 2rem;
}

.service-item:hover .service-item-icon {
  background: var(--red-crayola);
  color: var(--white);
}

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

@media (min-width: 575px) {
  /**
   * REUSED STYLE
   */

  .container {
    max-width: 520px;
    margin-inline: auto;
  }
}

@media (min-width: 768px) {
  /**
   * base font size
   */

  html {
    font-size: 17.5px;
  }

  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * typography
     */

    --fs-1: 2.286rem;
    --fs-2: 1.829rem;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 700px;
  }

  /**
   * SERVICE
   */

  .service-item:not(:last-child) {
    margin-bottom: 30px;
  }

  .service-list {
    padding-right: 80px;
  }

  .service-item:nth-child(even) {
    transform: translateX(80px);
  }
}

@media (min-width: 992px) {
  /**
   * base font size
   */

  html {
    font-size: 10px;
  }

  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * typography
     */

    --fs-1: 2.571rem;
    --fs-2: 1.944rem;
    --fs-3: 1.167rem;

    /**
     * spacing
     */

    --section-padding: 120px;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 950px;
  }

  .section-title {
    max-width: 20ch;
    margin-inline: auto;
  }

  /**
   * SERVICE
   */

  .service .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 100px 40px;
  }

  .service-banner {
    margin-bottom: 0;
  }

  .service-content:first-of-type {
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 0;
  }

  .service-list {
    padding-right: 50px;
  }

  .service-item:nth-child(even) {
    transform: translateX(50px);
  }

  .service-item-icon {
    min-width: 40px;
    height: 40px;
    font-size: 1.125rem;
  }

  .service-banner:last-of-type {
    order: 1;
  }
}

@media (min-width: 1200px) {
  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * typography
     */

    --fs-1: 3rem;
    --fs-2: 2.333rem;
    --fs-3: 1.222rem;
    --fs-4: 0.944rem;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 1150px;
  }

  /**
   * SERVICE
   */

  .service .container {
    column-gap: 60px;
  }

  .service .section-title {
    margin-bottom: 50px;
  }
}

/* //////////////////////// contato //////////////////////// */

.contact {
  background-color: rgb(245, 245, 245);
}

.main-container {
  padding: 30px 0;
  min-height: auto;
  min-width: auto;
}

.contact-header {
  text-align: center;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.contact-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transition-delay: calc(var(--order) * 0.1s);
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-header h1 {
  color: var(--sefety-orange);
  font-size: 4rem;
  margin-bottom: 15px;
}

.contact-header p {
  color: #666;
  font-size: 2rem;
  line-height: 1.6;
}

.contact-wrapper {
  display: flex;
  max-width: 1000px;
  margin: 20px auto;
  gap: 15px;
  padding: 15px;
}

.contact-cards {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.contact-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-card i {
  font-size: 3rem;
  color: var(--sefety-orange);
  margin-bottom: 15px;
}

.contact-card h3 {
  margin: 10px 0;
  color: #333;
}

.contact-card p {
  color: #666;
  margin: 0;
}

.whatsapp-image {
  width: 180px;
  height: 80px;
  margin: 0 auto 20px;
  display: block;
}

.contact-card:hover {
  transform: translateY(-20px);
  transition: 0.3s ease;
  box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.2);
  transform: scale(1.2);
}

.whatsapp-card:hover {
  transform: translateY(-5px);
  transform: scale(1.2);
  transition: 0.3s ease;
  box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.2);
}

.whatsapp-card {
  flex: 1;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  opacity: 0;
  transition: all 0.6s ease-in-out 0.4s;
}

.whatsapp-card h2 {
  color: var(--sefety-orange);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.whatsapp-card p {
  color: #666;
  margin-bottom: 30px;
}

.whatsapp-button {
  display: inline-block;
  background-color: #25d366;
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease-in-out;
}

.whatsapp-button:hover {
  background-color: #128c7e;
}

.whatsapp-button i {
  margin-right: 10px;
}

/* ///////////////////// media queries contato ///////////////////// */

@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }
}

/* /////////////////////// counter //////////////////////// */

.counter-container {
  width: 100%;
  min-height: 80vh;
  background: linear-gradient(rgba(0, 0, 0, 0.8), #0b0b0b), url(assets/bg.jpg);
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 8%;
}

.counter i {
  font-size: 5rem;
  margin-top: 8px;
}

.counter-container .header-counter {
  padding: 0 0 60px 0;
}

.header-counter h1 {
  font-size: 2rem;
  color: var(--sefety-orange);
  font-weight: 500;
  line-height: 1;
}

.header-counter p {
  font-size: 4rem;
  line-height: 1;
  font-weight: 600;
}

.counter-container .counters {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.counters .counter {
  width: 240px;
  background-color: #fff;
  color: #000;
  padding: 30px 15px;
  margin: 10px;
  border-radius: 20px;
  cursor: pointer;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: all 0.5s;
  display: inline;
}

.counters .counter:hover {
  box-shadow: rgba(229, 126, 57, 0.8) 0px 2px 8px 0px;
  transform: translateY(-5px);
}

.counters .customer {
  background-image: url(assets/counter_icon01.png);
}

.counters .project {
  background-image: url(assets/counter_icon02.png);
}

.counters .employee {
  background-image: url(assets/counter_icon03.png);
}

.counters .award {
  background-image: url(assets/counter_icon04.png);
}

.counters .counter .number {
  font-size: 4rem;
  margin-left: 30px;
  display: flex;
  font-weight: 700;
}

.counters .customer .number {
  color: #fd297b;
}

.counters .project .number {
  color: #2760dc;
}

.counters .employee .number {
  color: #58c0cf;
}

.counters .award .number {
  color: #a667f8;
}

.counters .counter .detail {
  font-size: 18px;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 620px) {
  .counter-container {
    padding: 60px 6%;
  }

  .counter-container .header-counter {
    padding: 0 0 40px 0;
  }

  .counters .counter {
    width: 45%;
  }
}

@media (max-width: 540px) {
  .header-counter .title {
    font-size: 32px;
  }

  .header-counter .sub-title {
    font-size: 36px;
  }

  .counters .counter {
    width: 80%;
  }
}

/*-----------------------------------*\
  #PROJECT
\*-----------------------------------*/

.section-subtitle {
  font-size: 2.2rem;
  text-transform: uppercase;
  color: var(--sefety-orange);
  font-weight: 500;
  margin-block-end: 16px;
}


.project :is(.section-subtitle, .section-title) {
  text-align: center;
}

.project .section-title {
  margin-block-end: 50px;
}

.project-card {
  background-color: var(--white);
  border-radius: var(--radius-8);
  overflow: hidden;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
  height: 100%;
}


.project-title {
  font-size: 4rem;
  text-align: center;
  margin: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 600;
}

.project-card .card-content {
  padding: 30px;
}

.project-card .card-title {
  transition: var(--transition-1);
}

.project-card .card-title:is(:hover, :focus-visible) {
  color: var(--sefety-orange);
}

.project-card .card-text {
  margin-block: 16px 20px;
}

.card-text p{
  font-size: 1.5rem;
}

.project-card .card-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.project-card .card-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgb(82, 82, 82);
  font-size: var(--fs-8);
}

@media (max-width: 575px) {
  .project-title {
    font-size: 2.2rem;
    text-align: center;
    margin: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}

.project-card:hover {
  box-shadow: 5px 5px 10px 5px rgba(0, 0, 0, 0.14);
  transform: translateY(-1.05rem);
  transition: all 0.4s ease-in-out;
}

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background-color: var(--charcoal);
  padding-block: 60px 100px;
  color: var(--light-gray);
}

.footer-brand .footer-text {
  margin-block: 20px;
}

.footer .social-list {
  color: var(--white);
  display: flex;
  justify-content: space-evenly;
  margin: 0 auto;
  margin-left: -50px;
}

.footer-list-title {
  color: var(--white);
  margin-block-end: 16px;
  font-size: 1.8rem;
}

.footer-link {
  padding-block: 4px;
  transition: var(--transition-1);
}

.footer-link:is(:hover, :focus-visible) {
  color: var(--sefety-orange);
}

.input-wrapper {
  position: relative;
  margin-block-start: 25px;
}

.input-field {
  background-color: var(--white_a3);
  color: var(--light-gray);
  font-size: var(--fs-7);
  padding: 12px 16px;
  border: 1px solid var(--dark-cornflower-blue_a7);
  border-radius: var(--radius-6);
  box-shadow: var(--shadow-3);
  outline: none;
}

.input-field::placeholder {
  color: inherit;
}

.submit-btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border-radius: 0 var(--radius-6) var(--radius-6) 0;
  background-color: var(--sefety-orange);
  color: var(--white);
  padding-inline: 24px;
  font-weight: var(--fw-700);
}

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 575px screen
 */

@media (min-width: 575px) {
  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  /**
   * PROJECTS
   */

  .project-card .card-content {
    padding: 40px;
  }
}

/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {
  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * spacing
     */

    --section-padding: 120px;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 720px;
  }

  .grid-list {
    grid-template-columns: 1fr 1fr;
  }
}

/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {
  /**
   * REUSED STYLE
   */

  .container {
    max-width: 960px;
  }

  /**
   * PROJECT
   */

  .project .section-title {
    max-width: 32ch;
    margin-inline: auto;
  }

  /**
   * FOOTER
   */

  .footer .grid-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {
  /**
   * REUSED STYLE
   */

  .container {
    max-width: 1140px;
  }

  /**
   * PROJECT
   */

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

  /**
   * FOOTER
   */

  address.footer-text {
    padding-inline-end: 100px;
    margin-block-end: 16px;
  }
}

/**
 * responsive for large than 1400px screen
 */

@media (min-width: 1400px) {
  /**
   * REUSED STYLE
   */

  .container {
    max-width: 1320px;
  }

  /**
   * FEATURE
   */

  .feature-list {
    grid-template-columns: 1fr 1fr;
  }
}

/*//////////////////////////// testemonials //////////////////////////*/

:root {
  --primary-color: #1a2c50;
  --secondary-color: #f4f7fe;
  --text-dark: #333333;
  --text-light: #767268;
  --extra-light: #ffffff;
}

.section__container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
  text-align: center;
}

.project-title{
  font-size: 3.8rem;
}

.testimonials-final {
  text-align: center;
  margin-bottom: 2rem;
  margin: 5rem;
}

.testimonials-final p {
  font-weight: 500;
  font-size: 2rem;
  margin: 0 auto;
  max-width: 800px;
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
}

.testimonials-final h4 {
  font-family: "poppins", serif;
  font-size: 2.8rem;
  margin-bottom: 2rem;
  font-weight: 700;
  color: var(--sefety-orange);
}

.testimonials__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.card {
  padding: 2rem;
  display: grid;
  gap: 1rem;
  background-color: var(--extra-light);
  border-radius: 5px;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.card span i {
  font-size: 2.5rem;
  color: gold;
}

.card p {
  font-size: 1.6rem;
  font-weight: 500;
}

.card hr {
  width: 40px;
  margin: auto;
  color: var(--text-light);
}

.card img {
  width: 60px;
  height: 60px;
  margin: auto;
  border-radius: 100%;
  border: 1px solid var(--primary-color);
}

.card .name {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-light);
  transition: 0.3s;
}

.card .name:hover {
  color: var(--primary-color);
}

.footer h4 {
  font-size: 1.7rem;
  font-weight: 500;
  margin-bottom: 1.3rem;
}

.footer p {
  max-width: 450px;
  margin: auto;
  font-size: 1.6rem;
  line-height: 1.5rem;
  margin-bottom: 2rem;
}

/* //////////////////// media queries testemonials ///////////////////// */

@media (width < 900px) {
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (width < 600px) {
  .testimonials__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
