@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

:root {
   --red: #b82222;
   --blue: rgb(37, 162, 179);
   --black: #333;
   --white: #fff;
   --light-color: #666;
   --light-bg: #eee;
   --border: .2rem solid rgba(0, 0, 0, .1);
   --box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
}

* {
   font-family: 'Poppins', sans-serif;
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   outline: none;
   border: none;
   text-decoration: none !important;
}

html {
   font-size: 62.5%;
   overflow-x: hidden;
   scroll-behavior: smooth;
   scroll-padding-top: 6.5rem;
}

section {
   padding: 7rem 2rem;
}

.heading {
   text-align: center;
   font-size: 4rem;
   color: var(--black);
   text-transform: uppercase;
   font-weight: bolder;
   margin-bottom: 3rem;
}

.link-btn {
   display: inline-block;
   padding: 1rem 3rem;
   border-radius: .5rem;
   background-color: var(--red);
   cursor: pointer;
   font-size: 1.7rem;
   color: #fff;
}

.link-btn:hover {
   background-color: var(--black);
   color: var(--white);
}

.header {
   padding: 2rem;
   border-bottom: var(--border);
}

.header.active {
   background-color: var(--white);
   box-shadow: var(--box-shadow);
   border: 0;
}

.header .logo {
   font-size: 2rem;
   color: var(--black);
}

.header .logo span {
   color: var(--red);
}

.header .nav a {
   margin: 0 1rem;
   font-size: 1.7rem;
   color: var(--black);
}

.header .nav a:hover {
   color: var(--red);
}

#menu-btn {
   font-size: 2.5rem;
   color: var(--black);
   cursor: pointer;
   display: none;
}

.home {
   background: url(../images/dental-faq.jpeg);
   background-size: cover;
   background-position: center;
}

.home .content {
   width: 55rem;
   padding: 2rem;
}

.home .content h3 {
   font-size: 6rem;
   color: var(--black);
}

.home .content p {
   line-height: 2;
   font-size: 1.5rem;
   color: var(--black);
   padding: 1rem 0;
}

.about .row {
   min-height: 50vh;
}

.about .content span {
   font-size: 2rem;
   color: var(--red);
}

.about .content h3 {
   font-size: 3rem;
   color: var(--black);
   margin-top: 1rem;
}

.about .content p {
   padding: 1rem 0;
   font-size: 1.4rem;
   color: var(--light-color);
   line-height: 2;
}


.services {
   background-color: var(--light-bg);
}

.services .box-container {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
   gap: 2rem;
}

.services .box-container .box {
   text-align: center;
   padding: 2rem;
   background-color: var(--white);
   box-shadow: var(--box-shadow);
   border-radius: .5rem;
}

.services .box-container .box img {
   margin: 1rem 0;
   height: 4rem;
}

.services .box-container .box h3 {
   font-size: 2rem;
   padding: 1rem 0;
   color: var(--black);
}

.services .box-container .box p {
   font-size: 1.5rem;
   color: var(--light-color);
   line-height: 2;
}



.process .box-container {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
   gap: 2rem;
}

.process .box-container .box {
   background-color: var(--blue);
   padding: 2rem;
   border-radius: .5rem;
   text-align: center;
   box-shadow: var(--box-shadow);
}

.process .box-container .box img {
   height: 20rem;
   margin: 1rem 0;
}

.process .box-container .box h3 {
   font-size: 2rem;
   color: var(--white);
   margin: 1.5rem 0;
}

.process .box-container .box p {
   font-size: 1.5rem;
   color: var(--white);
   line-height: 2;
}

.reviews {
   background-color: var(--light-bg);
}

.reviews .box-container {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
   gap: 2rem;
}

.reviews .box-container .box {
   background-color: var(--white);
   text-align: center;
   border-radius: .5rem;
   box-shadow: var(--box-shadow);
   padding: 2rem;
}

.reviews .box-container .box img {
   height: 10rem;
   width: 10rem;
   border-radius: 50%;
}

.reviews .box-container .box p {
   padding: 2rem 0;
   line-height: 2;
   font-size: 1.5rem;
   color: var(--light-color);
   margin-bottom: 0;
}

.reviews .box-container .box .stars {
   padding: .5rem 1.5rem;
   border-radius: .5rem;
   background-color: var(--light-bg);
   margin-bottom: 2rem;
   display: inline-block;
}

.reviews .box-container .box .stars i {
   font-size: 1.5rem;
   color: var(--red);
}

.reviews .box-container .box h3 {
   font-size: 2rem;
   color: var(--black);
}

.reviews .box-container .box span {
   color: var(--light-color);
   font-size: 1.5rem;
}



.contact form {
   border-radius: .5rem;
   background-color: var(--light-bg);
   padding: 2rem;
   margin: 0 auto;
   max-width: 50rem;
}

.contact form .message {
   margin-bottom: 2rem;
   border-radius: .5rem;
   background-color: var(--red);
   padding: 1.2rem 1rem;
   font-size: 1.7rem;
   color: var(--white);
   text-align: center;
}

.contact form .box {
   width: 100%;
   margin-top: 1rem;
   margin-bottom: 2rem;
   border-radius: .5rem;
   background-color: var(--white);
   padding: 1.2rem 1.4rem;
   font-size: 1.7rem;
   color: var(--black);
   text-transform: none;
}

.contact form span {
   font-size: 1.7rem;
   color: var(--black);
}

.privacy-policy h1 {
   font-size: 37px;
   text-align: center;
}

.privacy-policy h2 {
   font-size: 24px;
}

.privacy-policy p {
   font-size: 15px;
}


.footer {
   background-color: var(--light-bg);
}

.footer .box-container {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
   gap: 3rem;
}

.footer .box-container .box {
   text-align: center;
}

.footer .box-container .box i {
   height: 5rem;
   width: 5rem;
   border-radius: 50%;
   line-height: 5rem;
   font-size: 2rem;
   background-color: var(--red);
   color: var(--white);
}

.footer .box-container .box h3 {
   font-size: 2rem;
   margin: 2rem 0;
   color: var(--black);
}

.footer .box-container .box p {
   font-size: 1.5rem;
   color: var(--light-color);
   text-transform: none;
}

.footer .credit {
   text-align: center;
   border-top: var(--border);
   padding-top: 2rem;
   margin-top: 2rem;
   font-size: 2rem;
   color: var(--light-color);
}

.footer .credit span {
   color: var(--red);
}


@media (max-width:991px) {

   html {
      font-size: 55%;
   }

   .header .link-btn {
      display: none;
   }

   section {
      padding: 5rem 2rem;
   }

}

@media (max-width:768px) {

   section {
      padding: 3rem 1rem;
   }

   #menu-btn {
      display: inline-block;
      transition: .2s linear;
   }

   #menu-btn.fa-times {
      transform: rotate(180deg);
   }

   .header .nav {
      position: absolute;
      top: 99%;
      left: 0;
      right: 0;
      background-color: var(--white);
      border-top: var(--border);
      border-bottom: var(--border);
      padding: 1rem 0;
      text-align: center;
      flex-flow: column;
      clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
      transition: .2s linear;
   }

   .header .nav.active {
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
   }

   .header .nav a {
      margin: 1rem 0;
      font-size: 2rem;
   }

   .home {
      background-position: left;
   }

   .home .content {
      width: auto;
   }

}

@media (max-width:450px) {

   html {
      font-size: 50%;
   }

   .home .content h3 {
      font-size: 4rem;
   }

   .heading {
      font-size: 3rem;
   }

}