@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primaryColor: #ffc500;
  --hoverColor: #ffb100;
  --blackColor: #000000;
  --whiteColor: #ffffff;
  --lightWhite: #fafafa;
  --grayColor: #989898;
  --mediumGray: #787878;
  --lightGray: #dfdfdf;
  --textColor: #4c4c4c;
  --borderColor: #eee;
  --boxShadow1: 0rem .2rem 9.2rem 0rem rgba(0 0 0 / 7%);
  --boxShadow2: 0rem 0rem 4.8rem 0rem rgba(4 6 4 / 8%);
  --tg: #26A5E4;
}

html {
  font-size: 70%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  background: url(./images/bg.png) var(--lightWhite);
}

h1 {
  text-transform: uppercase;
  font-size: 1.7rem;
  font-weight: 700;
}

p {
  font-size: 1.3rem;
  line-height: 2.4rem;
  color: var(--textColor);
  margin-bottom: 0;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--mediumGray);
}

a.tg-link {
  text-transform: none;
  color: var(--tg);
}

.container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

@media(min-width: 576px) {
  .container {
    width: 540px;
  }
}

@media(min-width: 768px) {
  .container {
    width: 720px;
  }
}

@media(min-width: 992px) {
  .container {
    width: 960px;
  }
}

@media(min-width:1200px) {
  .container {
    width: 1170px;
  }
}

.section-title {
  position: relative;
  display: inline-block;
  padding: 0 .3rem;
}

.section-title h2 {
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: capitalize;
  position: relative;
}

.section-title::before {
  content: "";
  position: absolute;
  height: .7rem;
  width: 100%;
  left: 0;
  bottom: 0;
  background-color: var(--primaryColor);
  opacity: .4;
}

.btn {
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  font-family: inherit;
  text-transform: capitalize;
  padding: .1rem 2.9rem;
  line-height: 3.5rem;
  border: none;
  border-radius: 5rem;
  color: var(--blackColor);
  background-color: var(--primaryColor);
  transition: all .3s ease;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: var(--hoverColor);
  color: var(--blackColor);
}

.btn.white {
  background-color: var(--whiteColor);
  border: 1px solid var(--lightGray);
}

.btn.white:hover  {
  background-color: var(--lightWhite);
}

.wrapper {
  margin-top: 3rem;
}

section {
  padding-left: 3rem;
  padding-right: 3rem;
}

/*Start Profile Section*/
.profile {
  background-color: var(--whiteColor);
  border-radius: .6rem;
  box-shadow: var(--boxShadow1);
}

.profile-name {
  padding: 2rem;
}

.profile .profile-name .job {
  font-size: 1.3rem;
  text-transform: capitalize;
  color: #777777;
}

.profile .profile-img {
  display: none;
  margin-top: -1.8rem;
  clip-path: polygon(0 9%, 100% 0, 100% 94%, 0% 100%);
}

.profile .profile-img img {
  width: 100%;
}

.profile .profile-info {
  display: none;
  margin: 0 auto 3rem;
  max-width: 80%;
}

.profile .profile-info li {
  position: relative;
  border-left: .2rem solid var(--borderColor);
  padding: 0 0 1.8rem 2rem;
  font-size: 1.4rem;
  color: var(--mediumGray);
}

.profile .profile-info li:first-child {
  margin-top: 2rem;
}

.profile .profile-info li:last-child {
  padding-bottom: 0;
  margin-bottom: .6rem;
}

.profile .profile-info li::before {
  content: "";
  position: absolute;
  top: .6rem;
  left: -.6rem;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background-color: var(--whiteColor);
  border: .2rem solid var(--primaryColor);
}

.profile .profile-info li p {
  font-size: 1.35rem;
  line-height: 2.16rem;
  color: var(--mediumGray);
  text-transform: capitalize;
}

.profile .profile-info li:last-child p {
  margin-bottom: .35rem;
}

.profile .profile-info li p span {
  color: var(--blackColor);
}

.profile .btn-container {
  margin: 1.8rem auto 3rem;
  display: block;
}

.profile .btn-container .btn {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  padding: .1em 1.9rem .1rem 1.35rem;
  color: var(--blackColor);
}

.profile .btn-container .btn svg {
  width: 2.7rem;
  height: 2.7rem;
  margin-right: .8rem;
  fill: var(--blackColor);
}

/*End Profile Section*/
/*Start MenuBar Section*/
.right {
  margin-top: 3rem;
}

.right header {
  position: relative;
  background-color: var(--whiteColor);
  border-radius: .6rem;
  margin-bottom: 3rem;
  box-shadow: var(--boxShadow1);
}

.right header nav {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  height: 7rem;
}

.right header nav .tabs {
  width: 100%;
  margin-left: 1.6rem;
  display: flex;
  align-items: center;
}

.right header nav .tabs li {
  text-align: center;
  cursor: pointer;
}

.right header nav .tabs li a {
  display: inline-block;
  position: relative;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blackColor);
  text-transform: uppercase;
  margin: 0 1rem;
  line-height: 5.8rem;
  height: 5.8rem;
  transition: all .3s ease;
}

.right header nav .tabs li a::before {
  content: "";
  position: absolute;
  height: .7rem;
  left: 0;
  width: 0;
  bottom: 2rem;
  background-color: var(--primaryColor);
  opacity: .4;
  transition: width 0.25s ease;
}

.right header nav .tabs li:hover a::before,
.right header nav .tabs li a.active::before {
  width: 100%;
}

.right header nav .toggle-btn {
  font-size: 2rem;
  color: var(--blackColor);
  margin-right: 2.3rem;
  padding-left: 2.1rem;
  border-left: .1rem solid var(--borderColor);
  align-self: stretch;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.right header nav .order {
  display: flex;
  margin-right: 2rem;
}

.right header nav .social-media,
.right header nav .order {
  display: none;
}

.right header nav .social-media a {
  display: inline-block;
  margin-right: 1rem;
}

.right header nav .social-media a svg {
  fill: var(--blackColor);
  transition: all .15s ease;
}
.right header nav .social-media a:hover svg {
  fill: var(--tg);
}

/*End MenuBar Section*/
/*Start About Section*/
main {
  min-height: 50rem;
  box-shadow: var(--boxShadow1);
}

.about {
  background-color: var(--whiteColor);
  border-radius: .6rem .6rem 0 0;
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.about:nth-child(even) {
  background-color: var(--lightWhite);
}

.about p {
  margin-top: 3rem;
}

.source {
  font-size: 1.15rem;
  font-style: italic;
  margin-top: 1.2rem;
  display: inline-block;
  color: var(--mediumGray);
}

/*End About Section*/
/*Start Team Section*/
.team-visual {
  border-radius: 50%;
  overflow: hidden;
  width: 200px;
  height: 200px;
}
.team-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 35%;
}
.team {
  display: flex;
  flex-wrap: wrap;
  margin: 3.2rem -1.6rem 0;
  padding: 0;
}
.team-member {
  margin: 0 1.6rem 2rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  max-width: 240px;
}
.team-name {
  margin: .8rem 0;
  font-weight: bold;
  font-size: 1.3rem;
}
a.team-name {
  color: var(--tg);
}
.team-description {
  font-size: 1.1rem;
  font-style: italic;
}
/*End Team Section*/
/*Start Services Section*/
.services {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: var(--lightWhite);
}

.services .section-title {
  margin-bottom: 4.5rem;
}

.services .services-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(25rem, 100%), 1fr));
  gap: 3rem;
}

.services .services-container .serv {
  display: flex;
  flex-direction: column;
  background-color: var(--whiteColor);
  border-radius: .8rem;
  padding: 2rem;
  min-height: 18.6rem;
  box-shadow: var(--boxShadow2);
}

.services .services-container .serv h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin: 1rem 0 1.7rem;
  line-height: 1.8rem;
}

.services .services-container .serv .time {
  font-size: 1.3rem;
  text-transform: capitalize;
  font-weight: 500;
  color: var(--grayColor);
  margin-top: .6rem;
}

.services .services-container .serv p,
.services .services-container .serv ul {
  font-size: 1.3rem;
  color: var(--grayColor);
  font-weight: 400;
  line-height: 1.8rem;
  margin-bottom: .6rem;
}
.services .services-container .serv ul {
  list-style: circle;
  padding-left: 2rem;
}

.services .services-container .serv .details {
  margin-bottom: 2rem;
}

.services .services-container .serv .btn {
  margin-top: auto;
}

/*End Services Section*/
/*Start Sale Section*/
.sales {
  background-color: var(--whiteColor);
  padding-top: 6rem;
  padding-bottom: 5rem;
  border-radius: 0 0 .6rem .6rem;
}

.sales .section-title {
  margin-bottom: 2.5rem;
}

.sales .sale-item {
  position: relative;
  padding: 2rem 3rem;
  margin-bottom: 2rem;
  overflow: hidden;
}

.sales .sale-item p {
  margin-top: .5rem;
  line-height: 1.8rem;
}

.sales .sale-item .sale-item-border {
  position: absolute;
  border: 2px dashed var(--grayColor);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.sales .sale-item .sale-item-corner {
  position: absolute;
  border: 2px dashed var(--grayColor);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--whiteColor);
}

.sales .sale-item .sale-item-corner.one {
  top: -1.5rem;
  left: -1.5rem;
}

.sales .sale-item .sale-item-corner.two {
  top: -1.5rem;
  right: -1.5rem;
}

.sales .sale-item .sale-item-corner.three {
  bottom: -1.5rem;
  right: -1.5rem;
}

.sales .sale-item .sale-item-corner.four {
  bottom: -1.5rem;
  left: -1.5rem;
}
/*End Services Section*/
/*Start Contact Section*/
.contacts {
  background-color: var(--whiteColor);
  border-radius: .6rem;
  padding-top: 3rem;
  padding-bottom: 4.5rem;
}

.contacts .contact-info {
  padding-bottom: 4.5rem;
}

.contacts .contact-info .section-title {
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}

.contacts .contact-info ul li {
  font-size: 1.4rem;
  color: var(--mediumGray);
  line-height: 3.4rem;
}

.contacts .contact-info ul li span {
  text-transform: capitalize;
  color: var(--blackColor);
}

/*End Contact Section*/
/*Start Footer Section*/
footer {
  background-color: #1e1e1e;
  min-height: 7rem;
  border-radius: .8rem;
  color: var(--whiteColor);
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: 0 1.5rem;
}

footer .footer-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 7rem;
}

footer .footer-container h2 {
  font-size: 1.5rem;
  text-transform: capitalize;
  padding-left: 1.5rem;
  display: none;
}

footer .footer-container .copyright {
  padding-right: 1.5rem;
  text-align: center;
}

footer .footer-container .copyright p {
  color: #9c9c9c;
  font-size: 1.2rem;
}

footer .footer-container .copyright p a {
  color: var(--whiteColor);
}

/*End Footer Section*/
.section {
  transform: scale(0);
  height: 0;
  visibility: hidden;
  opacity: 0;
  transition: height .25s, transform .3s, visibility .35s, opacity .4s ease-in-out;
}

.section.active {
  transform: scale(1);
  height: auto;
  visibility: visible;
  opacity: 1;
}

/*Responsive*/
@media(min-width: 768px) {
  .right header nav .social-media,
  .right header nav .order {
    display: flex;
  }
}

@media(min-width: 992px) {

  .wrapper {
    display: flex;
    margin-top: 6rem;
    gap: 3rem;
  }

  .profile {
    width: 33.3333%;
    padding-bottom: 0;
    align-self: flex-start;
  }
  .profile .profile-img,
  .profile .profile-info {
    display: table;
  }

  .right {
    margin-top: 0;
    width: 66.6666%;
  }

  footer .footer-container {
    justify-content: space-between;
  }

  footer .footer-container h2 {
    display: flex;
  }
}

@media(min-width: 1200px) {
  .profile {
    width: 25%;
    padding-bottom: 3rem;
  }

  .right {
    width: 75%;
  }
}