:root {

  --medium-spring-green: hsl(0, 0%, 100%);
  --red-orange-creyola: hsl(0, 100%, 68%);
  --caribbean-green: hsl(160, 98%, 39%);
  --blush-pink_50: hsla(213, 86%, 16%, 0.5);
  --blush-pink_70: hsla(213, 86%, 16%, 0.7);
  --prussian-blue: hsl(210, 100%, 20%);
  --blush-pink: hsl(312, 46%, 17%);
  --orange-peel: hsl(37, 100%, 50%);
  --cultured_20: hsla(206, 23%, 94%, 0.2);
  --winter-sky: hsl(341, 100%, 60%);
  --light-gray: hsl(0, 0%, 80%);
  --malachite: hsl(120, 70%, 59%);
  --indigo-dye: hsl(213, 85%, 3%);
  --dim-gray: hsl(0, 0%, 41%);
  --black_20: hsla(0, 0%, 0%, 0.2);
  --silver: hsl(0, 0%, 76%);
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);

  --ff-roboto: "Roboto", sans-serif;

  --fs-1: 3rem;
  --fs-2: 2.4rem;
  --fs-3: 2rem;
  --fs-4: 1.8rem;
  --fs-5: 1.5rem;
  --fs-6: 1.4rem;

  --fw-500: 500;
  --fw-700: 700;

  --section-padding: 100px;

  --shadow-1: 0 0 10px hsla(0, 0%, 0%, 0.1);
  --shadow-2: 0 5px 10px hsla(0, 0%, 100%, 0.2);
  --shadow-3: 0 0 24px hsla(341, 100%, 60%, 0.3);

  --radius-circle: 50%;
  --radius-pill: 200px;
  --radius-6: 6px;

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --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; 
}

address{ 
  font-style: normal; 
}

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

body{
  background-color: var(--blush-pink);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1.5;
  overflow-x: hidden;
}

body.active{ 
  overflow-y: 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); 
}

.has-bg-image {
  background-repeat: no-repeat;
  background-position: left;
  background-size: cover;
  height: 100vh;
}

.h1, .h2, .h3, .h4{ 
  line-height: 1.4; 
}

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

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

.logo{
  z-index: 100;
}

.btn{
  font-size: var(--fs-6);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  max-width: max-content;
  border: 2px solid var(--white);
  padding: 18px 25px;
  border-radius: var(--radius-pill);
  transition: var(--transition-1);
}

.btn-primary:is(:hover, :focus){ 
    box-shadow: var(--shadow-2); 
    background-color: rgba(255, 255, 255, 0.716);
    transition: linear 0.5s;
}

.w-100 { 
  width: 100%; 
}

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

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: transparent;
  overflow: hidden;
}

.section-text { 
  margin-block: 15px 35px; 
}

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

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

.header .btn { 
  display: none; 
}

.header {
  background-color: var(--blush-pink);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 12px;
  box-shadow: var(--shadow-1);
  z-index: 4;
}

.header.active {
  position: fixed;
  opacity: .9;
  animation: slideInTop 0.5s ease forwards;
}

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

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

.nav-toggle-btn {
  color: var(--white);
  font-size: 35px;
}

.nav-toggle-btn.active .menu, .nav-toggle-btn .close { 
  display: none; 
}

.nav-toggle-btn .menu, .nav-toggle-btn.active .close { 
  display: block; 
}

.navbar {
  position: absolute;
  top: 74px;
  left: -350px;
  width: 100%;
  max-width: 350px;
  height: 100vh;
  background-color: var(--blush-pink);
  padding: 20px;
  transition: 0.25s var(--cubic-out);
  visibility: hidden;
}

.navbar.active {
  visibility: visible;
  transform: translateX(350px);
  transition-duration: 0.5s;
}

.navbar-item:not(:last-child) { 
  border-block-end: 1px solid var(--black_20); 
}

.navbar-link {
  padding-block: 10px;
  transition: var(--transition-1);
}

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


.hero { 
  padding-block-start: calc(var(--section-padding) + 75px); 
}

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

.hero-text {
  font-size: var(--fs-3);
  font-weight: var(--fw-500);
  margin-block: 8px;
}

.hero .counter {
  color: var(--medium-spring-green);
  font-size: var(--fs-2);
  font-weight: var(--fw-700);
}

.hero-list { 
  margin-block: 8px 20px; 
}

.hero-list-item {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-4);
  padding-inline-start: 20px;
  padding-block: 8px;
}

.hero-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  border-radius: var(--radius-circle);
}

.hero-list-item.yellow::before { 
  background-color: var(--orange-peel); 
}

.hero-list-item.green::before { 
  background-color: var(--malachite); 
}

.hero-list-item.red::before { 
  background-color: var(--red-orange-creyola); 
}

.about .container {
  display: grid;
  gap: 30px;
}

.about-subtitle {
  font-size: var(--fs-4);
  color: var(--medium-spring-green);
}

.about .section-text { 
  margin-block: 8px 15px; 
}

.about-list { 
  margin-block-start: 30px; 
}

.about-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-block: 15px;
}

.about .item-img {
  flex-shrink: 0;
  border-radius: var(--radius-circle);
}

.about .item-title { 
  margin-block-end: 5px; 
}


.service { 
  text-align: center; 
}

.service-list {
  display: grid;
  gap: 10px;
}

.service-card {
  background-color: var(--blush-pink_50);
  padding: 20px;
  border-radius: var(--radius-6);
  transition: var(--transition-1);
}

.service-card .card-banner {
  max-width: max-content;
  margin-inline: auto;
  border-radius: var(--radius-circle);
}

.service-card .card-banner img { 
  width: 95px; 
}

.service-card .card-title { 
  margin-block: 20px 5px; 
}

.service-card :is(.card-title, .card-text) { 
  transition: var(--transition-1); 
}

.service-card:hover {
  background-color: var(--white);
  transform: translateY(-5px);
  cursor: pointer;
}

.service-card:hover .card-title { 
  color: var(--black); 
}

.service-card:hover .card-text { 
  color: var(--dim-gray); 
}

.btn-link { 
  font-weight: var(--fw-700); 
}

.footer-top {
  margin-top: 200px;
  display: grid;
  gap: 60px;
}

.footer-list-title, .footer-text { 
  margin-block-end: 15px; 
}

.contact-item {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.contact-item:not(:last-child) { 
  margin-block-end: 15px; 
}

.contact-title {
  font-size: var(--fs-5);
  font-weight: var(--fw-700);
}

.footer-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block-start: 15px;
}

.footer-list:not(.social-list) ion-icon { 
  font-size: 14px; 
}

.footer-bottom {
  padding-block: 35px;
  text-align: center;
  border-block-start: 1px solid var(--cultured_20);
}

.back-top-btn {
  position: fixed;
  bottom: 10px;
  right: 20px;
  background-color: var(--winter-sky);
  font-size: 18px;
  padding: 12px;
  border-radius: var(--radius-circle);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-1);
  z-index: 4;
}

.back-top-btn.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-10px);
}

@media (min-width: 575px) {

  :root {

    --fs-2: 3.6rem;
    --fs-3: 2.4rem;

  }

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

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

  .h4 { --fs-4: 2rem; }

  .text { font-size: unset; }

  .hero-list { max-width: 275px; }

  .safety-list,
  .footer-top { grid-template-columns: 1fr 1fr; }

}


@media (min-width: 768px) {

  .container { max-width: 720px; }

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

  .hero .container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .about-banner { max-width: max-content; }

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

}

@media (min-width: 992px) {

  :root {
    --fs-2: 5rem;

  }

  .container { max-width: 960px; }

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

  .section-text {
    max-width: 70ch;
    margin-inline: auto;
  }

  .nav-toggle-btn { display: none; }

  .header {
    background-color: transparent;
    box-shadow: none;
    padding-block: 20px;
  }

  .header.active {
    background-color: var(--blush-pink);
    box-shadow: var(--shadow-1);
  }

  .navbar,
  .navbar.active {
    all: unset;
    display: block;
  }

  .navbar-list {
    display: flex;
    gap: 40px;
  }

  .navbar-item:not(:last-child) { border: none; }

  .header .btn {
    display: block;
    padding-inline: 40px;
  }

  .header .btn:is(:hover, :focus) { box-shadow: var(--shadow-3); }

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

  .about-banner.order-1 { order: 1; }

  .service-card {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
    padding: 30px;
  }

  .service-card .card-banner { flex-shrink: 0; }

  .service-card .card-title { margin-block: 0 10px; }

  .footer-top { 
      grid-template-columns: 1fr 0.5fr 0.5fr 0.75fr; 
      margin-top: 100vh;
  }
  

}

@media (min-width: 1200px) {

  :root {
    --fs-1: 3.6rem;
  }


  .container { max-width: 1200px; }

  .section-text {
    max-width: 75ch;
    margin-block-end: 60px;
  }

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

  .navbar { margin-inline: auto 40px; }

  .hero .counter { --fs-2: 8rem; }

}