@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter;
}

:root {
  --primary-bg-color: #f5f7fa;
  --primary-heading-color: #4d4d4d;
  --primary-txt-color: #717171;
  --secondary-txt-color: #4caf4f;
}

.container {
  max-width: 1245px;
  padding: 0 15px;
  margin: 0 auto;
  width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.row > * {
  padding: 0 15px;
}

ul > li {
  list-style-type: none;
}

a {
  display: inline-block;
  text-decoration: none;
}

/* Header Section */

header {
  padding: 20px 0;
  background-color: var(--primary-bg-color);
}

.navbar-brand > a {
  max-width: 154px;
  max-height: 24px;
}

.navbar-brand > a > img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

nav,
.nav-right,
.nav-right > ul {
  display: flex;
  align-items: center;
}

.nav-right {
  flex-grow: 1;
}

.nav-right > ul {
  margin: 0 auto;
  gap: 50px;
}

.nav-right > ul > li > a {
  color: #18191f;
  text-transform: capitalize;
}

.nav-right > ul > li > a:hover {
  color: black;
}

.nav-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.login {
  color: var(--secondary-txt-color);
  text-wrap: nowrap;
  padding: 10px 20px;
  text-transform: capitalize;
}

.btn {
  background-color: var(--secondary-txt-color);
  color: white;
  text-wrap: nowrap;
  padding: 10px 20px;
  border-radius: 6px;
}

.ham {
  display: none;
}

.active {
  display: flex !important;
}

/* banner section */

.banner-section {
  min-height: calc(100vh - 78.4px);
  background-color: var(--primary-bg-color);
  padding: 96px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-section > div > div {
  justify-content: space-between;
  align-items: center;
}

.col1 {
  width: 60%;
}

.banner-content > h1 {
  font-size: 64px;
  font-weight: 700;
  color: var(--primary-heading-color);
}

.banner-content > h1 > span {
  color: var(--secondary-txt-color);
}

.banner-content > p {
  color: #717171;
  margin-block: 16px 32px;
}

.banner-btn > a {
  background-color: var(--secondary-txt-color);
  color: white;
  text-wrap: nowrap;
  padding: 10px 20px;
  border-radius: 6px;
}

.col2 {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-img {
  max-width: 391px;
}

.banner-img > img {
  width: 100%;
  object-fit: contain;
}

/* our clients section */

.our-clients-section {
  margin-block: 65px;
}

.our-clients-section .subheading {
  text-align: center;
  font-size: 36px;
  color: var(--primary-heading-color);
}

.our-clients-section p {
  color: #717171;
  margin-block: 8px 16px;
  text-align: center;
}

.our-clients-section > div > div {
  align-items: center;
  justify-content: space-between;
}

.our-clients-logo > img {
  width: 48px;
  object-fit: contain;
}

/* entire community section */

.entire-community-section > div > div {
  margin-bottom: 42px;
}

.entire-community-section .subheading {
  text-align: center;
  font-size: 36px;
  color: var(--primary-heading-color);
}

.entire-community-section p {
  color: #717171;
  margin-block: 8px 32px;
  text-align: center;
}

.col3 {
  width: 33.3%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card {
  padding: 24px 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.card-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-img > img {
  max-width: 65px;
  object-fit: contain;
}

.card-content {
  max-width: 251px;
  text-align: center;
}

.card-content > h3 {
  margin-block: 16px 8px;
  font-size: 22px;
  color: var(--primary-heading-color);
}

/* spending at pixelgrade section */

.pixelgrade-section {
  margin-block: 95px;
}

.pixelgrade-section > div > div {
  align-items: center;
}

.pixelgrade-img {
  max-width: 441px;
}

.pixelgrade-img > img {
  width: 100%;
  object-fit: contain;
}

.pixelgrade-section .col1 {
  display: flex;
  justify-content: start;
  flex-direction: column;
  align-items: center;
}

.pixelgrade-content {
  max-width: 601px;
}

.pixelgrade-content .subheading {
  font-size: 36px;
  color: var(--primary-heading-color);
}

.pixelgrade-content > p {
  color: var(--primary-txt-color);
  margin-block: 16px 32px;
}

/* local business reinvent section */

.local-business-section {
  padding-block: 84px;
  background-color: var(--primary-bg-color);
}

.col4 {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.col5 {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.business-content > .subheading {
  font-size: 36px;
  color: var(--primary-heading-color);
}

.business-content > .subheading > span {
  color: var(--secondary-txt-color);
}

.business-content > p {
  color: #18191f;
  margin-top: 12px;
}

.icon {
  min-width: 255px;
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  align-items: center;
  gap: 16px;
  margin-bottom: 25px;
}

.icon > img {
  max-width: 48px;
  object-fit: contain;
}

.icon > p {
  color: var(--primary-heading-color);
  font-size: 28px;
}

.icon > p > span {
  color: var(--primary-txt-color);
  font-size: 16px;
}

/* tim smith section */

.tim-smith-section {
  background-color: var(--primary-bg-color);
  padding-block: 32px;
}

.section-content {
  max-width: 748px;
}

.section-content > p {
  color: var(--primary-txt-color);
}

.smith {
  margin-block: 16px 8px;
  display: block;
  font-size: 20px;
  color: var(--secondary-txt-color);
}

.association {
  margin-bottom: 32px;
  display: block;
  font-size: 16px;
  color: #89939e;
}

.section-logo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 19px;
}

.section-logo > .logo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.customer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--secondary-txt-color);
  font-size: 20px;
}

.fa-solid {
  color: var(--secondary-txt-color);
}

/* caring is the new markeying section */

.new-marketing-section {
  margin-block: 48px 150px;
}

.new-marketing-section .subheading {
  font-size: 36px;
  color: var(--primary-heading-color);
  text-align: center;
}

.new-marketing-section p {
  max-width: 628px;
  color: var(--primary-txt-color);
  margin: 16px auto 42px;
  text-align: center;
}

.new-marketing-section > div > div {
  justify-content: center;
  align-items: center;
}

.float-card {
  position: relative;
}

.float-img {
  max-width: 368px;
}

.float-img > img {
  width: 100%;
  object-fit: contain;
}

.float-content {
  max-width: 317px;
  min-height: 176px;
  padding: 16px;
  background: #f5f7fa;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(171, 190, 209, 0.4);
  position: absolute;
  bottom: calc(-176px / 2);
  left: 40px;
  right: 40px;
}

.float-content > p {
  max-width: 285px;
  font-size: 20px;
  text-align: center;
  margin-bottom: 16px;
}

.float-content > a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--secondary-txt-color);
  font-size: 20px;
  text-align: center;
}

/* get a demo section */

.demo-section {
  padding-block: 32px;
  background-color: var(--primary-bg-color);
}

.demo-content {
  margin: 0 auto;
  max-width: 887px;
  text-align: center;
}

.demo-content > p {
  margin-bottom: 32px;
  font-size: 64px;
  color: #263238;
  font-weight: bold;
}

.demo-btn {
  max-width: 178px;
  margin: 0 auto;
}

.demo-btn > a {
  padding: 16px 32px;
  color: white;
  border-radius: 6px;
  background-color: var(--secondary-txt-color);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.demo-btn > img {
  max-width: 16px;
  object-fit: contain;
}

/* footer section */

footer {
  padding: 64px 0;
  background: #263238;
}

footer > div > div {
  justify-content: space-between;
  gap: 65px;
}

.Copyright {
  margin-block: 20px;
}

.Copyright > p {
  font-size: 14px;
  color: white;
}

.footer-logo > a {
  max-width: 161px;
}

.footer-logo > a > img {
  width: 100%;
  object-fit: contain;
}

.footer-logo1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  align-items: center;
  gap: 16px;
}

.footer-logo1 > a {
  max-width: 32px;
}

.footer-logo1 > a > img {
  width: 100%;
  object-fit: contain;
}

.company > p,
.support > p {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 24px;
  color: white;
}

.links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 12px;
}

.links > li > a {
  font-size: 14px;
  color: white;
}

.date {
  margin-bottom: 87px;
}

.date > p {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: white;
}

input[type="email"] {
  border: none;
  outline: none;
  background-color: var(--primary-heading-color);
  color: var(--primary-txt-color);
  padding: 0 5px;
}

.email {
  max-width: 290px;
  padding: 15px 10px;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 87px;
  background-color: var(--primary-heading-color);
}

@media screen and (max-width: 1200px) {
  .new-marketing-section > div > div {
    gap: 150px;
  }
}

@media screen and (max-width: 992px) {
  /* Header section */
  header {
    position: relative;
  }

  .nav-right {
    padding-block: 20px;
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 9;
    animation: upsidedown 1s both 1 linear;
    backdrop-filter: blur(50px);
  }

  @keyframes upsidedown {
    from {
      transform: translateY(-200px);
    }
    to {
      transform: translateY(0);
    }
  }

  .nav-right > ul {
    flex-direction: column;
    margin-bottom: 15px;
    gap: 25px;
  }

  .nav-btn {
    flex-direction: column;
  }

  .ham {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .ham > span {
    display: inline-block;
    height: 3px;
    width: 30px;
    background-color: black;
  }

  /* banner section */

  .banner-section > div > div {
    flex-direction: column-reverse;
  }

  .col1,
  .col2 {
    width: 100%;
  }

  .col2 {
    margin-bottom: 75px;
  }

  .banner-content {
    text-align: center;
  }

  /* entire community section */

  .entire-community-section > div > div {
    justify-content: center;
  }

  .col3 {
    width: 50%;
    margin-bottom: 50px;
  }

  /* spending at pixelgrade section */

  .pixelgrade-section {
    margin-block: 50px;
  }

  .pixelgrade-content {
    text-align: center;
  }

  /* local business reinvent section */

  .col4 {
    margin-bottom: 50px;
    text-align: center;
  }

  .col4,
  .col5 {
    width: 100%;
  }

  /* tim smith section */

  .section-content {
    text-align: center;
  }

  /* get a demo section */

  .demo-content > p {
    font-size: 50px;
  }
}

@media screen and (max-width: 768px) {
  footer > div > div {
    flex-direction: column;
  }
}

@media screen and (max-width: 576px) {
  .navbar-brand > a > img {
    width: 80%;
  }

  .ham {
    gap: 6px;
  }

  .ham > span {
    height: 1px;
    width: 20px;
  }

  /* banner section */

  .banner-content > h1 {
    font-size: 50px;
  }

  /* our clients section */

  .our-clients-section .subheading {
    font-size: 30px;
  }

  .our-clients-section > div > div {
    justify-content: center;
    gap: 30px;
  }

  /* entire community section */

  .entire-community-section .subheading {
    font-size: 30px;
  }

  .col3 {
    width: 100%;
    margin-bottom: 50px;
  }

  .card-content > h3 {
    font-size: 20px;
  }

  /* spending at pixelgrade section */

  .pixelgrade-content .subheading {
    font-size: 30px;
  }

  /* local business reinvent section */

  .business-content > .subheading {
    font-size: 30px;
  }

  .col5 {
    gap: 0px;
    flex-direction: column;
  }

  .icon {
    padding-left: 55px;
  }

  .icon > p {
    font-size: 16px;
  }

  .icon > p > span {
    font-size: 12px;
  }

  /* caring is the new marketing section */

  .new-marketing-section .subheading {
    font-size: 30px;
  }

  /* get a demo section */

  .demo-content > p {
    font-size: 30px;
  }
}

@media screen and (max-width: 430px) {
  /* banner section */

  .banner-content > h1 {
    font-size: 45px;
  }

  .banner-content > p {
    font-size: 12px;
  }

  .banner-btn > a {
    font-size: 12px;
  }

  /* our clients section */

  .our-clients-section p {
    font-size: 12px;
  }

  /* entire community section */

  .entire-community-section p {
    font-size: 12px;
  }

  .card-content > p {
    font-size: 12px;
  }

  /* spending at pixelgrade section */

  .pixelgrade-section .col2 {
    margin-bottom: 35px;
  }

  .pixelgrade-content p {
    font-size: 12px;
  }

  /* local business reinvent section */

  .business-content > p {
    font-size: 12px;
  }

  /* tim smith section */

  .section-content > p,
  .association {
    font-size: 12px;
  }

  .smith {
    font-size: 16px;
  }

  .customer {
    font-size: 14px;
  }

  /* caring is the new marketing section */

  .new-marketing-section .description {
    font-size: 12px;
  }

  .float-content p {
    font-size: 16px;
  }

  .float-content a {
    font-size: 14px;
  }

  /* get a demo section */

  .demo-btn > a {
    font-size: 12px;
  }

  /* footer section */

  footer > div > div {
    font-size: 12px;
  }
}
