#main--content {
  padding: var(--section--padding) 0 0 0;
  /* overflow: hidden; */
  height: auto;
}

#hero--content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 550px;
  padding-bottom: 3rem;
}

.hxLeft--col,
.hxRight--col {
  height: 100%;
  width: 50%;
}
.hxLeft--col {
  width: 47%;
  & h1 {
    font-weight: 600;
    padding: 0 5rem 0 0;
    letter-spacing: 1px;
  }
  & .highlight {
    font: inherit;
    font-weight: 900;
    /* font-style: oblique; */
    display: inline-block;
    vertical-align: baseline;
    color: var(--secondary--clr);
  }
  & p {
    margin-top: 1rem;
    padding: 0 4rem 0 0;
    line-height: 25px;
    color: var(--secondaryText--clr);
  }

  & .hero--ctaCon {
    width: 100%;
    margin-top: 3.5rem;
  }
  & .hero--ctaCon > .hero--cta {
    background-color: var(--primary--clr);
    padding: 1rem 1.1rem;
    color: var(--white--text);
    font-weight: 500;
    width: max-content;
  }
}

.heroImg--con {
  height: 100%;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.hxRight--col {
  /* position: relative; */
  /* border: var(--cssDebug1); */
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
  width: 53%;

  & img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.rates--review {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 1rem;
  background-color: var(--neutral--bg);
  padding: 0.7rem;
  border-radius: 50px;
  /* margin-top: 3rem; */
  margin-bottom: 2rem;
  & .rates > .star--icon {
    position: relative;
    /* overflow: hidden; */
    /* background-color: var(--primary--clr); */
    color: var(--primary--clr);
    height: 20px;
    width: 20px;
    stroke-width: 3px;
  }
}
/* .heroShape {
  position: absolute;
  background: #000;
  overflow: hidden;
}
.heroShape1 {
  top: 0;
  right: 0;
  transform: translate(-1rem, 2rem);
  height: 100px;
  width: 100px;
  background: var(--lightNeutral);
  border-radius: 100%;
  & img {
    width: 100%;
    height: 100%;
  }
} */

/* Bullet Higlight section  */

#bullHigh--section {
  padding: 2rem 0;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
}
.bullLeft--col {
  width: 50%;
  height: 500px;
  overflow: hidden;
  border-radius: 10px;
  & img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}
.bullRight--col {
  width: 50%;
  padding-left: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.bullHigh--con {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 5px;
  background-color: var(--lightNeutral);
  /* box-shadow:  0 0 2px solid rgba(0,0,0,0.2); */
}

#hm--services {
  padding-top: var(--section--padding);
  padding-bottom: var(--section--padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
  /* border: var(--cssDebug1); */
}
.service--title {
  width: max-content;
}
.heroSer--hgroup {
  & h2 {
    font-size: 38px;
    font-weight: 400;
  }
}

[data--hmServiceBtn] {
  margin-top: var(--btn--margin);
  & a {
    background-color: var(--primary--clr);

    color: var(--white--text);
    font-weight: 500;
  }
}
.service--lftCol {
  position: relative;
  width: 48%;
  height: 100%;
  align-self: flex-start;
}

.service--rhtCol {
  width: 52%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  height: 100%;
}

.ser--box1 {
  background: var(--primary--clr);

  & .icon--con {
    background-color: rgba(255, 255, 255, 0.3);
  }
  & .icon--con > .laptop--icon {
    color: #fff;
    width: 28px;
    height: 28px;
  }
  & .iconBox--title {
    color: var(--white--text);
  }
  & p {
    color: hsla(207, 18%, 88%, 1);
  }
}

.hmSer--btn {
  position: absolute;
  bottom: -4rem;
  left: 0;
  transform: translate(0, 5rem);
}

/* Homepage about us section */

#hm--abtus {
  min-height: 100vh;
  padding-top: var(--section--padding);
  padding-bottom: var(--section--padding);

  & .top--col {
    text-align: center;
  }

  & .bottom--col {
    overflow: hidden;
    width: calc(100% - 150px);
    height: 400px;
    margin: 0 auto;
    margin-top: 3rem;
    border-radius: 10px;
  }
  & .bottom--col > img {
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
  }
}

.hmAbtus--hgroup {
  & h2 {
    font-size: 38px;
    font-weight: 400;
    letter-spacing: 1px;
  }

  & p {
    width: 700px;
    margin: 0 auto;
    margin-top: var(--text--margin);
    line-height: 25px;
  }
}

.hmAbtus--ctaCon {
  margin-top: var(--btn--margin);
  & a {
    background: var(--primary--clr);
    color: #fff;
    font-weight: 500;
  }
}

.about--title {
  width: max-content;
  margin: 0 auto;
  margin-bottom: var(--text--margin);
}

/* Home page portfolio section */

#hm--portfolios {
  min-height: 100vh;
  padding-top: var(--section--padding);
  padding-bottom: var(--section--padding);
  & .top--col {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  & .top--col > hgroup > p {
    max-width: 700px;
    line-height: 25px;
    margin-top: var(--text--margin);
  }

  & .top--col > .hmPort--cta > .hmPort--btn {
    background-color: var(--primary--clr);
    color: var(--white--text);
    font-weight: 500;
  }

  & .bottom--col {
    margin-top: 3rem;
  }
}

.prtfMain--con {
  display: grid;
  grid-template-columns: repeat(3, minmax(410px, 1fr));
  align-items: center;
  gap: 1.5rem 0;
}

.prtf--cont {
  width: 400px;
  height: 400px;
  /* border: var(--cssDebug1); */
  padding: 0.8rem;

  & .prtf--thumbnail {
    overflow: hidden;
    height: 80%;
    width: 100%;
    border-radius: 10px;
  }
  & .prtf--thumbnail > img {
    width: 100%;
    height: 100%;
    object-fit: fill;
  }
}

.prtf--title {
  margin-top: var(--text--margin);
  font-weight: 600;
  padding-left: 0.5rem;
}
.prtf--cat {
  padding-left: 0.5rem;
  margin-top: 0.5rem;
  color: var(--secondaryText--clr);
}

.prtfDetails--btn {
  display: inline-block;
  padding-left: 0.5rem;
  margin-top: 0.5rem;
  color: var(--primary--clr);
  font-weight: 500;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  /* border: var(--cssDebug1); */
  width: fit-content;
  & span {
    font-size: 13px;
  }

  & .prtf--icon {
    width: 20px;
    height: 20px;
  }
}
/* Testimonial Section */

#hm--testimonials {
  padding-top: var(--section--padding);
  padding-bottom: var(--section--padding);
  height: auto;
  & .top--col {
    text-align: center;
  }
}
.testyMain--con {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 297px);
}
.testi--card {
  padding: 2rem;
  border-radius: 10px;
  width: 280px;
  & .testi--comment {
    font-size: 14px;
    margin-top: var(--text--margin);
  }
  & .testi--name {
    font-size: 14px;
    margin-top: var(--text--margin);
  }
}

.testi--card1 {
  color: var(--white--text);
  background-color: #000;
  & .testi--rates .fa-star {
    color: var(--primary--clr);
    font-size: 15px;
  }
}
.testi--card3 {
  /* color: var(--white--text); */
  color: #000;
  background-color: #ffffff;
  & .testi--rates .fa-star {
    color: var(--primary--clr);
    font-size: 16px;
  }
}
.testi--card2 {
  color: var(--white--text);
  background-color: hsla(217, 100%, 50%, 1);
  & .testi--rates .fa-star {
    color: var(--white--text);
    font-size: 16px;
  }
}
.testi--card4 {
  color: var(--white--text);

  background-color: hsla(180, 95%, 40%, 1);
  testi--rates .fa-star {
    color: var(--white--text);
    font-size: 16px;
  }
}

/* CTA Section  */
.outer--section[data-section="CTA"] {
  position: relative;
  background-image: url(/assets/images/callout.jpg);
  background: url(/assets/images/callout.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

[data-section="CTA"]::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    -90deg,
    hsla(217, 100%, 50%, 0.2),
    hsla(0, 0%, 6%, 0.7) 60%
  );
}
#hm--CTA {
  height: 70vh;
  display: grid;
  place-content: center;
}
.ctaSec--contents {
  text-align: center;
  & h2 {
    color: var(--white--text);
  }
  & p {
    margin-top: var(--text--margin);
    color: var(--text--clr2);
    width: 650px;
  }
}
.ctaSec--contents > *,
.hmCTA--btnCon > * {
  isolation: isolate;
}

.hmCTA--btnCon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  margin-top: var(--btn--margin);
}
.hmCTA--btn1 {
  color: var(--white--text);
  font-weight: 500;
}

/* Blog section */
#hm--blogs {
  padding-top: var(--section--padding);
  padding-bottom: var(--section--padding);
  & .top--col {
    text-align: center;
  }

  & .bottom--col {
    margin-top: 3rem;
  }
}
.hmMainBlog--con {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem 0;
  grid-auto-rows: 443px;
}
.blg--card {
  min-height: 450px;
  width: 350px;
  border-radius: var(--radius10);
  padding: 0 0 1rem 0;
  background: var(--neutral--bg);
  & .blg--thumbnail {
    position: relative;
    /* border: var(--cssDebug1); */
    height: 202px;
    width: 100%;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
    & img {
      height: 100%;
      width: 100%;
      object-fit: cover;
      filter: brightness(48%);
    }
  }

  & .hmblg--highlight {
    position: absolute;
    top: 20px;
    right: 20px;
    height: 32px;
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border-radius: 37px;
    padding: 0px 20px;
    background: var(--primary--clr);
    color: var(--white--text);
    text-transform: capitalize;
  }

  & .blg--contents {
    height: auto;
    width: 100%;
    padding: 20px 14px;
    /* background: var(--body--bg); */
    border-radius: 0 0 5px 5px;
    & p {
      height: 81px;
      width: 100%;
      line-height: 18px;
    }
  }
  .blg--contents > h3 {
    height: auto;
    width: 100%;
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    letter-spacing: 0.2px;
  }
  .blg--CTACon {
    width: 100%;
    height: auto;
    & .blg--CTA {
      height: 54px;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      padding: 10;
      background: var(--primary--clr);
      gap: 10px;
      color: var(--white--text);
      border-radius: 5px;
    }
  }
}

.hmblg--highlight [data-category="branding"] {
  background: var(--primary--clr);

  color: var(--white--text);
}
.hmblg--highlight[data-category="digital--marketing"] {
  background: var(--secondary--clr);
  color: var(--white--text);
}
.hmblg--highlight[data-category="web--development"] {
  color: var(--white--text);
  background: #ecb706;
}

/* ---------------------------MOBILE RESPONSIVENESS -----------------------------*/
/* @media screen and (max-width: 500px){
  .hxLeft--col {
  }
} */
@media screen and (max-width: 500px) {
  /* -----Home Hero Section------ */
  #hero--content {
    /* border: var(--cssDebug1); */
    padding-left: 1rem;
    padding-right: 1rem;
    flex-direction: column-reverse;
    min-height: 550px;
    gap: 2rem;
  }
  .hxLeft--col {
    height: 100%;
    width: 100%;
    & h1 {
      font-weight: 600;
      padding: 0 2rem 0 0;
      letter-spacing: 1px;
    }
  }
  .hxLeft--col .hero--ctaCon {
    width: calc(100% - 20px);
    /* border: var(--cssDebug1); */
    height: 60px;
    margin-top: 2rem;

    & .hero--cta {
      height: 100%;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }

  .hxRight--col {
    /* border: var(--cssDebug1); */
    height: 400px;
    width: 100%;
    overflow: visible;
  }

  /* -----Home Bullet Highlight Section ----------*/
  #bullHigh--section {
    min-height: 550px;
    flex-direction: column;
    gap: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .bullLeft--col {
    width: 100%;
    height: 400px;
  }

  .bullRight--col {
    width: 100%;
    height: 100%;
    padding-left: 0;
  }
  /* -------Home Service Section */

  #hm--services {
    flex-direction: column;
    padding-left: 1rem;
    padding-right: 1rem;
    height: auto;
    gap: 5rem;
  }

  .service--lftCol {
    width: 100%;
    /* border: var(--cssDebug1); */
    height: auto;
  }

  .hmSer--btn {
    height: 60px;
    width: calc(100% - 20px);
    transform: translate(0, 0rem);
    position: relative;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .service--rhtCol {
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  /* -------------Home about section--------------- */
  #hm--abtus {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    & .bottom--col {
      width: 100%;
    }
  }
  .hmAbtus--hgroup {
    & h2 {
      font-size: 38px;
      font-weight: 400;
      letter-spacing: 1px;
    }

    & p {
      width: 100%;
      margin: 0 auto;
      margin-top: var(--text--margin);
      padding-left: 1rem;
      padding-right: 1rem;
      line-height: 25px;
    }
  }
  .hmAbtus--ctaCon {
    margin-top: var(--btn--margin);
    /* border: var(--cssDebug1); */
    height: 60px;
    width: calc(100% - 20px);
    & a {
      height: 100%;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--primary--clr);
      color: #fff;
      font-weight: 500;
    }
  }
  /* ---------Home page portfolio mobile----------- */

  .top--col {
    flex-direction: column;
    padding-right: 1rem;
    padding-left: 1rem;
    gap: 2rem;
  }

  .top--col > .hmPort--cta {
    height: 60px;
    width: calc(100% - 20px);
    /* align-self: flex-start; */
    /* border: var(--cssDebug1); */
    & .hmPort--btn {
      width: 100%;
      text-align: center;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100%;
    }
  }
  .prtfMain--con {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  /* -------- Home testimonial section-------- */
  .testyMain--con {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.5rem;
  }
  .testi--card {
    width: 300px;
  }
  /* -------------Home blog Section--------- */
  .hmMainBlog--con {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 3rem;
  }
  /* CTA action on homepage mobile */
  .outer--section[data-section="CTA"] {
    position: relative;

    background: url(/assets/images/callout.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: scroll;
  }
  #hm--CTA {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .ctaSec--contents {
    width: 100%;
    & p {
      width: 100%;
    }
  }
}

@media screen and (max-width: 360px) {
  /* Home Portfolio Section */
  #hm--portfolios {
    width: 100%;
    /* border: var(--cssDebug1); */
  }
  .prtf--cont {
    width: 100%;
  }
}
