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

/* GENERAL */
:root {
  --primary-color: #ff581f;
  --secondary-color: #111111;
  --secondary-color-light: #232220;
  --text-light: #a3a3a3;
  --white: #ffffff;
  --black: #000000;
  --max-width: 1200px;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
img {
  display: flex;
  width: 100%;
}
a {
  text-decoration: none;
}
html,
body {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  color: var(--white);
}
.btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.75rem 1.5rem;
  outline: none;
  font-size: 1rem;
  color: var(--white);
  border-radius: 5px;
  cursor: pointer;
}
.btn__secondary {
  background-color: transparent;
  border: 1px solid var(--white);
}
.btn__primary {
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
}
.btn__primary:hover {
  background-color: transparent;
  border: 1px solid var(--primary-color);
}
.btn span {
  font-size: 1.2rem;
  transition: 0.3s;
}
.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}
.section__header {
  font-size: 2.5rem;
  font-weight: 600;
}
.section__subheader {
  position: relative;
  isolation: isolate;
  margin-bottom: 1rem;
  padding-left: 20px;
  font-size: 1.2rem;
  font-weight: 500;
}
.section__subheader::after {
  position: absolute;
  content: "";
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 45px;
  aspect-ratio: 1;
  background-color: var(--primary-color);
  z-index: -1;
}
.swiper {
  width: 100%;
  padding-bottom: 4rem;
}
.float_wpp{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	/* box-shadow: 2px 2px 3px #999; */
  z-index:100;
  padding-top: .4rem;
}
/* GENERAL */

/* HEADER */
header {
  background-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.8)
    ),
    url("assets/header_2.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.title_color {
  color: var(--primary-color);
}
nav {
  max-width: var(--max-width);
  margin: auto;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo a {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}
.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.link a {
  padding: 5px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  transition: 0.3s;
}
.link a:hover {
  color: var(--primary-color);
}
.nav__menu__btn {
  display: none;
  font-size: 1.5rem;
}
.header__container {
  padding-block: 5rem 12rem;
}
.header__container h1 {
  max-width: 1000px;
  margin-inline: auto;
  margin-bottom: 2rem;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
}
.header__container .btn {
  margin: auto;
}
/* HEADER */

/* ABOUT */
.about {
  background-color: var(--secondary-color);
}
.about__container {
  padding-block: 0;
}
.about__grid {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
  background-color: var(--secondary-color-light);
  transform: translateY(-5rem);
  border-radius: 10px;
}
.about__content .section__header {
  margin-bottom: 1rem;
}
.about__content .para {
  color: var(--text-light);
}
.about__list {
  display: grid;
  gap: 2rem;
}
.about__item {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.about__item span {
  padding: 13px 20px;
  font-size: 1.75rem;
  color: var(--primary-color);
  background-color: var(--secondary-color);
  border-radius: 5px;
}
.about__item h2 {
  font-size: 1.2rem;
  font-weight: 600;
}
/* ABOUT */

/* SERVICES */
.blog__container {
  padding-top: 1rem;
}
.blog {
  background-color: var(--secondary-color);
}
.blog__grid {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog__card img {
  margin-bottom: 1rem;
  border-radius: 5px;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.blog__card > div {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.blog__card div span {
  font-size: 0.9rem;
  color: var(--text-light);
}
.blog__card div span i {
  margin-right: 5px;
  font-size: 1rem;
  color: var(--primary-color);
}
.blog__card h4 {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}
.blog__card p {
  color: var(--text-light);
}
.blog__minicard {
  position: absolute;
  bottom: -80px;
  left: -10px;
  background: var(--secondary-color-light);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  backdrop-filter: blur(5px);
  max-width: 350px;
  min-height: 100px;
}
.minicard__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.blog__minicard h4 {
  margin: 0;
}
.blog__minicard a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 700;
}
/* SERVICES */

/* SUBSCRIBE */
.subscribe {
  background-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.6)
    ),
    url("assets/subscribe.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.subscribe__container {
  max-width: 1000px;
  text-align: center;
}
.subscribe__container .section__subheader {
  max-width: fit-content;
  margin-inline: auto;
}
/* SUBSCRIBE */

/* CLIENTS */
.customer {
  background-color: var(--secondary-color);
}
.customer__container .para {
  margin-block: 1rem 4rem;
  color: var(--text-light);
}
.slider {
  background: inherit;
  height: 75pt;
  margin: 0;
  overflow: hidden;
  position: relative;
  cursor: default;
  user-select: none;
  touch-action: none;
}
.slider:before {
  left: 0;
  top: 0;
}
.slider:after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}
.slider .slide-track-1 {
  animation: scroll-l 30s linear infinite;
  display: flex;
  width: 3500px;
}
.slider .slide-track-2 {
  animation: scroll-r 30s linear infinite;
  display: flex;
  width: 3500px;
}
.slider .slide {
  height: 75pt;
  width: 200px;
  display: flex;
  align-items: center;
  text-align: center;
}
.slider .slide img {
  width: 180px;
  padding: 1pc;
  vertical-align: middle;
  margin: 0;
  display: inline-block;
  max-width: 100%;
  height: auto;
}
@keyframes scroll-l {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(calc(-250px * 7));
  }
}
@keyframes scroll-r {
  100% {
      transform: translateX(0);
  }
  0% {
      transform: translateX(calc(-250px * 7));
  }
}
/* CLIENTS */

/* CONTACT */
.contact {
  width: 100%;
  font-size: 14px;
  color: var(--white);
  background-color: var(--secondary-color);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact__title {
  font-size: 3rem;
  margin-bottom:1rem;
  text-align: center;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.form__group label {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
}
.form__group input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--white);
  font-family: inherit;
  background-color: transparent;
  border: 1px solid var(--primary-color);
}
.form__group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  resize: none;
  color: var(--white);
  height: 96px;
  border: 1px solid var(--primary-color);
  background-color: transparent;
  font-family: inherit;
}
.form__group input::placeholder {
  opacity: 0.5;
}
.form__group input:focus, .form__group textarea:focus {
  outline: none;
  border-color: var(--white);
}
/* CONTACT */

/* FOOTER */
.footer {
  background-color: var(--secondary-color-light);
}
.footer__container {
  display: grid;
  grid-template-columns: 1.5fr repeat(2, 1fr);
  gap: 2rem;
}
.footer__col h5 a {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}
.footer__col p {
  margin-bottom: 2rem;
  color: var(--text-light);
}
.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__socials a {
  padding: 5px 10px;
  font-size: 1.25rem;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 100%;
  cursor: pointer;
  transition: 0.3s;
}
.footer__socials a:hover {
  color: var(--primary-color);
  background-color: var(--white);
}
.footer__col h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}
.footer__links a {
  margin-bottom: 1rem;
  display: flex;
  color: var(--text-light);
  transition: 0.3s;
}
.footer__links a:hover {
  color: var(--primary-color);
}
.footer__bar {
  padding: 1rem;
  font-size: 0.8rem;
  text-align: center;
  color: var(--text-light);
}
/* FOOTER */

@media (width < 900px) {
  .nav__links {
    gap: 1.5rem;
  }
  .about__grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem 1rem;
  }
  .footer__container {
    grid-template-columns: 2fr 1fr;
  }
  .blog__minicard {
    max-width: 300px;
  }
}

@media (width < 600px) {
  nav {
    position: fixed;
    width: 100%;
    padding: 1rem;
    background-color: var(--black);
    z-index: 99;
  }
  .nav__links {
    position: absolute;
    left: 0;
    top: 68px;
    padding: 2rem;
    width: 100%;
    flex-direction: column;
    transform: scaleY(0);
    transform-origin: top;
    transition: 0.5s;
    background-color: rgba(0, 0, 0, 0.9);
  }
  .nav__links .link a {
    opacity: 0;
  }
  .nav__links.open .link a {
    opacity: 1;
  }
  .nav__links.open {
    transform: scaleY(1);
  }
  .nav__menu__btn {
    display: block;
  }
  .header__container h1 {
    margin-top: 4rem;
    font-size: 1.8rem;
  }
  .header__1 {
    font-size: 1.5rem;
  }
  .blog__container {
    padding: 5rem 1rem 1rem 1rem;
  }
  .blog__grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem 1rem;
  }
  .subscribe__container h2 {
    font-size: 1.5rem;
  }
  .blog__minicard {
    position: static;
    width: 100%;
    max-width: 100%;
    padding: 15px;
  }
  .blog__card img {
    margin-bottom: 0;
  }
}
