:root {
  --primary: #c3402c;
  --bg: white;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: white;
}

/*Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 7%;
  background-color: black;
  border-bottom: 0.2px solid black(245, 245, 245, 0.845);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar .navbar-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  font-style: italic;
}

.navbar .navbar-nav a {
  color: #aecce7c7;
  display: inline-block;
  font-size: 1rem;
  margin: 0 0.5rem;
}

.navbar .navbar-nav a:hover {
  color: var(--primary);
}

.navbar .navbar-nav a:after {
  content: "";
  display: block;
  padding-bottom: 0.2rem;
  border-bottom: 0.1rem solid var(--primary);
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}

.navbar .navbar-extra a {
  color: white;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--primary);
}

#hamburger-menu {
  display: none;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url(../img/header-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 10%;
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(1, 1, 3, 1) 8%,
    rgba(255, 255, 255, 0) 30%
  );
}

.hero .content .cta {
  font-size: 1.2rem;
  display: inline-block;
  padding: 1rem 1.2rem;
  color: black;
  margin-top: 30rem;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 1px 1px 3px black 0.5;
}

/* About Section */
.about {
  padding: 9rem 5% 1.4rem;
  color: black;
  background-color: aliceblue;
}

.about h2 {
  text-align: center;
  font-size: 2.1rem;
  margin-bottom: 2rem;
}

.about .row {
  display: flex;
}

.about .row .about-img {
  flex: 1 1 25rem;
  margin-top: 2rem;
}

.about .row .about-img img {
  width: 100%;
}

.about .row .content {
  flex: 1 1 35rem;
  padding: 0 5rem;
  margin-top: 6rem;
}

.about .row .content h3 {
  font-size: 1.8rem;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  color: rgba(51, 0, 255, 0.626);
}

.about .row .content p {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  color: black;
  justify-content: center;
}

.about .row .content p span {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  font-weight: 100;
  line-height: 1.6;
  color: rgba(9, 101, 138, 0.929);
  font-style: italic;
}

/* Vission Section */

.vission h2 {
  text-align: center;
  font-size: 2.1rem;
  margin-bottom: 1rem;
  color: black;
}

.vission {
  padding: 9rem 5% 1.4rem;
}

.vission {
  background-color: aliceblue;
  height: 100vh;
}

.vission h2 {
  margin-bottom: 1rem;
}

.vission .row .content {
  flex: 1 1 35rem;
  padding: 0 1rem;
}

.vission .row .content h3 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: rgba(9, 101, 138, 0.929);
  font-style: italic;
}

.vission .row .content p {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  font-weight: 80;
  line-height: 1.6;
  color: black;
  font-weight: 300;
}

.vission .row .content h4 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: rgba(9, 101, 138, 0.929);
  font-style: italic;
}
.vission .row .content p {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  font-weight: 80;
  line-height: 1.6;
  color: black;
  font-weight: 300;
}

/* Services Section */

.services {
  padding: 9rem 1% 1.4rem;
  color: black;
  background-color: aliceblue;
}

.services h2 {
  text-align: center;
  font-size: 2.1rem;
  margin-bottom: 1rem;
  color: black;
}

.services .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  justify-content: center;
}

.services .row .services-list {
  text-align: center;
  padding-bottom: 2rem;
}

.services .row .services-list img {
  border-radius: 2%;
  width: 60%;
  max-width: 60rem;
}

.services .row .services-list .services-list-title {
  margin-top: 2rem auto 1rem;
}

/* Contact Section */

.contact {
  padding: 9rem 5% 1.4rem;
  color: black;
  background-color: aliceblue;
}

.contact h2 {
  text-align: center;
  font-size: 2.1rem;
  margin-bottom: 2.5rem;
}

.contact .row {
  display: flex;
  margin-top: 2rem;
}

.contact h3,
h4,
h5 {
  font-size: 1rem;
  color: #c79e0a;
  margin-top: 1.5rem;
  max-width: 60rem;
}
.contact .row .content p {
  flex: 1 1 45rem;
  color: black;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

/* Footer */

footer {
  background-color: rgb(224, 167, 98);
  text-align: center;
  padding: 1rem 0;
  margin-top: 4.2rem;
}

footer .social {
  color: black;
  margin-bottom: 1rem;
}

footer .socials a:hover,
footer .links a:hover {
  color: #d24343;
}

footer .links {
  margin-bottom: 0.8rem;
}

footer .links a {
  color: black;
  padding: 0.7rem 0.8rem;
}

footer .credit {
  font-size: 0.8rem;
  padding: 0.5rem;
}

footer .credit a {
  color: rgb(198, 85, 85);
  font-weight: 700;
}

/* Media Queries */
/* Laptop */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}

/* Tablet */
@media (max-width: 758px) {
  html {
    font-size: 62.5%;
  }

  #hamburger-menu {
    display: inline-block;
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background: white;
    width: 30rem;
    height: 100vh;
    transition: 0.3s;
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    color: black;
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 1.2rem;
  }

  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }

  .navbar .navbar-nav a:hover ::after {
    transform: scaleX(0.2);
  }

  .about .row {
    flex-wrap: wrap;
  }

  .about.row.about-img img {
    height: 12rem;
    object-fit: cover;
    object-position: center;
  }

  .about.row.content {
    padding: 0;
  }

  .about.row.content h3 {
    margin-top: 1rem;
    font-size: 2rem;
  }

  .about.row.content p {
    font-size: 1.6rem;
  }

  .vission .row {
    flex-wrap: wrap;
  }

  .vission.row.content {
    padding: 0;
  }

  .vission.row.content h3,
  h4 {
    margin-top: 1rem;
    font-size: 2rem;
  }

  .vission.row.content p {
    font-size: 1.6rem;
  }

  .contact .row {
    flex-wrap: wrap;
  }

  .contact.row.content h3,
  h4,
  h5 {
    margin-top: 1rem;
    font-size: 2rem;
  }

  .contact.row.content p {
    font-size: 1.6rem;
  }

  .contact.row form {
    padding-top: 0;
  }
}
/* Mobile Phone */
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
}
#hamburger-menu {
  display: inline-block;
}
