/* Header */
.header {
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    url("../img/cover-min.jpg");
  background-size: cover;
}
.header__text {
  margin-top: 0;
}
.header__text h1 {
  font-weight: 800;
}
.header__button {
  font-size: 0.875rem;
  display: flex;
}
.header__button div {
  border-radius: 10rem;
  cursor: pointer;
}
.header__button div a {
  text-decoration: none;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header__button--primary {
  background: #ff7b47;
  margin-right: 0.6rem;
  border: none;
}
.header__button--primary:hover {
  background: #f05e25;
  transition: 0.2s;
}
.header__button--secondary {
  border: 1px solid #ffffff;
  background: transparent;
}
.header__button--secondary:hover {
  background: #ff7b47;
  border: 1px solid #ff7b47;
  transition: 0.2s;
}
.header__content {
  padding-top: 6.4375rem;
}
.header .content-width {
  padding-bottom: 10.5625rem;
}

/* ABOUT SECTION */
.section-about {
  background: #1f2437;
  color: #ffffff;
}
.about__content {
  display: flex;
}
.about__img {
  flex-basis: 51%;
}
.about__img img {
  height: 100%;
  width: 100%;
}
.about__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-basis: 40%;
}
.about__text h2 {
  width: 100%;
  text-transform: none;
}
.about__text p {
  width: 100%;
}
.about__text ul {
  list-style: none;
  max-width: 90%;
  width: 100%;
}
.about__text ul li {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
}
.about__text ul li div {
  display: flex;
  flex-direction: column;
}
.about__text ul li div > *:first-child {
  font-weight: 700;
}
.about__text ul li:not(:first-child) {
  margin-top: 1.87rem;
}
.about__icon img {
  margin-right: 1rem;
}

/* Service Section */
.section-service {
  background: #1f2437;
  color: #ffffff;
}
.section-service .content-width {
  position: relative;
}
.service__content {
  display: flex;
  margin-top: 4rem;
  text-transform: capitalize;
  width: 100%;
  color: #3b3a40;
  position: absolute;
}
.service {
  background: #ffffff;
  padding: 1.875rem;
  flex-basis: 33.3%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service:not(:last-child) {
  box-shadow: 0 0 20px -12px;
}
.service ul {
  list-style: none;
}
.service div h4 {
  position: relative;
  margin-bottom: 2.375rem;
}
.service div h4 span {
  display: block;
}
.service div h4:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  height: 1px;
  width: 32%;
  border-bottom: 4px solid #ff7b47;
}
.service h4,
.service a {
  color: #252b42;
  font-weight: 700;
}
.service ul {
  color: #000000;
  margin-bottom: 8.62px;
}
.service a {
  font-size: 0.875rem;
  letter-spacing: 0.2px;
  line-height: 1.75rem;
}
.service__content .service.service-03 > *,
.service__content .service.service-03 > div > * {
  color: #ffffff;
}
.service.service-03 {
  background: #0d5c63;
}

/* Client Section */
.section-client {
  background: #fafafa;
  padding-top: 8rem;
}
.client__logo {
  display: flex;
  align-items: center;
}
.client__logo img {
  height: auto;
}

/* Blog Section */
.section-blog {
  background: #fafafa;
}
.blog__content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.blog__img {
  overflow: hidden;
}
.blog__img img {
  height: 250px;
  object-fit: cover;
  width: 100%;
  transition: 1s all ease-in-out;
}
.blog-featued-image{
  object-position: left;
}
.news:hover .blog__img img {
  transform: scale(1.5);
}
.news p {
  font-size: 0.875rem;
}
.news h5 a {
  color: #232323;
  text-decoration: none;
  line-height: 1.3;
}
.news h5:hover {
  color: #000000;
}
.blog__content a {
  color: #232323;
  flex-basis: 31%;
  text-decoration: none;
}
.blog__readmore {
  color: #ff7b47;
  font-weight: 700;
  display: table;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #ff7b47;
  line-height: 0.85rem;
  cursor: pointer;
}
.blog__readmore:hover {
  color: #f05e25;
}
@media screen and (min-width: 768px) {
  .header__button div {
    height: 48px;
  }
  .header__button--primary {
    width: 187px;
  }
  .header__button--secondary {
    width: 157px;
  }
}

@media screen and (min-width: 1024px) {
  .header__text p {
    font-size: 1.125rem;
    line-height: 1.8rem;
  }

  /* About */
  .about__content {
    justify-content: space-between;
    margin-top: 5.75rem;
  }
  .about__text ul {
    margin-top: 3rem;
  }

  /* Service */
  .section-service {
    padding-bottom: 8rem;
  }
  .service__content {
    max-width: 80%;
    left: 10%;
  }
  .service:not(:first-child) {
    margin-left: 1.875rem;
  }
  .service h4 {
    line-height: 2rem;
  }
  .service h4:before {
    max-width: 35%;
  }

  /* Client */
  .section-client .heading {
    display: none;
  }
  .client__heading h2 {
    line-height: 3.66rem;
    width: 100%;
    color: #000000;
    text-transform: none;
  }
  .client__content {
    display: flex;
    justify-content: space-between;
    margin-top: 5.75rem;
  }
  .client__img {
    flex-basis: 50%;
    position: relative;
  }
  .client__img img {
    height: auto;
    width: 100%;
  }
  .client__text {
    flex-basis: 70%;
    padding-left: 4rem;
  }
  .client__text > p {
    width: 100%;
    font-size: 1.125rem;
  }
  .client__profile {
    display: flex;
    position: absolute;
  }
  .client {
    background: #ffffff;
    text-align: center;
    color: #64626a;
  }
  .client:not(:first-child) {
    margin-left: 1.875rem;
  }
  .client > *:first-child {
    margin-bottom: 2rem;
  }
  .client__logo {
    justify-content: space-evenly;
    margin-top: 4.5rem;
  }

  /* Blog Section */
  .section-blog .content-width {
    padding-bottom: 4.5rem;
  }
  .blog__content {
    margin-top: 4rem;
  }
  .blog__img {
    margin-bottom: 1.53875rem;
  }
  .news h5 {
    margin-bottom: 0.77375rem;
  }
  .news p {
    margin-bottom: 1.0625rem;
  }
  /* .blog__content a:not(:first-child) {
    margin-left: 2rem;
  } */
  .blog__readmore {
    font-size: 1rem;
  }
}

@media screen and (min-width: 1201px) {
  .header__content {
    max-width: 68%;
  }
  .header__text h1 {
    line-height: 4.2rem;
    letter-spacing: 0.7px;
  }
  .header__text p {
    letter-spacing: 0.2px;
  }
  .header__button {
    margin-top: 2.875rem;
  }

  /* About Section */
  .section-about .heading {
    max-width: 65%;
  }
  .about__text h2 {
    max-width: 65%;
  }
  .about__text p {
    max-width: 95%;
  }

  /* Service Section */
  .section-service .heading {
    max-width: 72%;
  }

  /* Client Section */
  .client__heading h2 {
    font-size: 3rem;
    max-width: 70%;
  }
  .client__text > p {
    max-width: 65%;
  }
  .client__profile {
    margin-top: 5.125rem;
    left: 30%;
    right: 6%;
  }
  .client {
    padding: 3.5rem 2rem;
    flex-basis: 33.3%;
    font-size: 0.875rem;
  }
  .client > *:first-child {
    margin-bottom: 2rem;
  }
}

/* Responsive for Smaller desktop */
@media screen and (min-width: 1024px) and (max-width: 1200px) {
  .header__content {
    max-width: 88%;
    padding-right: 1.9rem;
  }
  .header__text h1 {
    line-height: 3.8rem;
    max-width: 85%;
  }
  .header__button {
    margin-top: 1.2rem;
  }

  /* About */
  .section-about .heading {
    max-width: 70%;
  }
  .about__text h2 {
    max-width: 100%;
  }
  .about__text p {
    max-width: 90%;
  }

  /* Service */
  .section-service .heading {
    max-width: 85%;
  }

  /* Client */
  .client__heading h2 {
    font-size: 2.5rem;
    max-width: 85%;
  }
  .client:not(:first-child) {
    margin-left: 1rem;
  }
  .client__text > p {
    max-width: 75%;
  }
  .client__profile {
    margin-top: 3rem;
    left: 30%;
    right: 30px;
  }
  .client {
    padding: 2rem;
    font-size: 0.7rem;
  }
  .client > *:first-child {
    margin-bottom: 1rem;
  }
  .client__logo {
    align-items: center;
  }
}

/* Responsive Mobile */
@media screen and (max-width: 767px) {
  .header {
    background-position: -235px;
  }
  .header .content-width {
    padding-bottom: 12.375rem;
  }
  .header__content {
    padding-top: 4.9375rem;
  }
  .header__text h1 {
    line-height: 2.1rem;
    margin-bottom: 2.175rem;
    max-width: 85%;
    font-size: 1.5rem;
  }
  .header__button {
    margin-top: 1.34rem;
  }
  .header__button div {
    font-size: 0.75rem;
    height: 38px;
  }
  .header__button--primary {
    width: 138px;
  }
  .header__button--secondary {
    width: 132px;
  }

  /* About us */
  .about__content {
    flex-direction: column;
    margin-top: 2.5rem;
  }
  .about__img {
    margin-bottom: 2.5rem;
  }
  .about__text {
    max-width: 100%;
  }
  .about__text h2 {
    font-size: 1.875rem;
    line-height: 2.6rem;
    max-width: 75%;
  }
  .about__text p {
    max-width: 100%;
    letter-spacing: 0.1px;
  }
  .about__text ul {
    margin-top: 2rem;
  }
  .about__text ul div span {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .about__text ul div {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }

  /* Service */
  .section-service {
    padding-bottom: 42rem;
  }
  .service__content {
    flex-direction: column;
    max-width: 79%;
    left: 11%;
    margin-top: 3rem;
  }
  .service div h4 {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .service div h4:before {
    max-width: 70%;
  }
  .service a {
    font-size: 0.75rem;
  }
  .service:not(:first-child) {
    margin-left: 0;
    margin-top: 1.875rem;
  }
  .service div ul li {
    font-size: 0.875rem;
  }

  /* Client */
  .section-client .content-width {
    padding-top: 4.6875rem;
    padding-bottom: 3.125rem;
  }
  .client__heading {
    display: none;
  }
  .section-client .heading {
    display: block;
  }
  .client__content {
    display: none;
  }
  .client__logo {
    flex-direction: column;
    margin-top: 3.125rem;
  }
  .client__logo > *:not(:first-child) {
    padding-top: 2rem;
  }

  /* Blog */
  .section-blog .content-width {
    padding-bottom: 4.25rem;
  }
  .blog__content {
    flex-direction: column;
    margin-top: 2.5rem;
  }
  .news h5 {
    font-size: 0.875rem;
    line-height: 1.3;
    margin-bottom: 5px;
  }
  .news p {
    font-size: 0.625rem;
    line-height: 1.0625rem;
  }
  .news > *:not(:first-child) {
    margin-top: 0;
  }
  .blog__content a:not(:first-child) {
    margin-top: 2.75rem;
  }
  .blog__img {
    margin-bottom: 1.3rem;
  }
  .blog__readmore {
    font-size: 0.875rem;
    padding-top: 0.75rem;
  }

  /* Contact */
  .contact__form--block h2 {
    font-size: 1.125rem;
    line-height: 1.625rem;
  }

  /* Newsletter Banner */
  .newsletter-banner {
    margin-top: 24rem;
  }
}

/* Responsive for Tablet */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .header__content {
    padding-top: 6rem;
    max-width: 98%;
  }
  .header__text h1 {
    line-height: 2.2rem;
    max-width: 70%;
    margin-bottom: 1rem;
  }
  .header__button {
    margin-top: 1.8rem;
  }

  /* About Us */
  .section-about .heading {
    max-width: 80%;
  }
  .about__content {
    flex-direction: column;
    margin-top: 2.5rem;
  }
  .about__img {
    margin-bottom: 2.5rem;
  }
  .about__text h2 {
    font-size: 1.875rem;
  }
  .about__text p {
    max-width: 100%;
  }
  .about__text ul {
    margin-top: 2rem;
  }

  /* Service */
  .section-service {
    padding-bottom: 8rem;
  }
  .service__content {
    max-width: 95%;
  }
  .service {
    padding: 1rem;
  }
  .service h4 {
    line-height: 1.4rem;
    font-size: 1rem;
  }
  .service h4:before {
    max-width: 35%;
  }
  .service:not(:first-child) {
    margin-left: 1rem;
  }
  .service > *:not(:first-child) {
    font-size: 0.75rem;
  }
  .service div ul li {
    font-size: 0.75rem;
  }

  /* Clients */
  .section-client {
    padding-top: 10rem;
  }
  .client__heading {
    display: none;
  }
  .section-client .heading {
    display: block;
    max-width: 60%;
  }
  .client__content {
    display: none;
  }
  .client__logo {
    flex-direction: column;
    margin-top: 2rem;
  }
  .client__logo > *:not(:first-child) {
    padding-top: 2rem;
  }

  /* Blog */
  .section-blog .content-width {
    padding-bottom: 4.25rem;
  }
  .news h5 {
    font-size: 1rem;
    line-height: 1rem;
  }
  .news > *:not(:first-child) {
    margin-top: 0.3rem;
  }
  .blog__content a {
    flex-basis: 48%;
    margin-bottom: 1.2rem;
  }
  /* .blog__content a:not(:first-child) {
    margin-left: 1.2rem;
  } */
  .blog__content {
    margin-top: 2rem;
  }
  .blog__readmore {
    font-size: 0.875rem;
  }
}

@media screen and (max-width: 359px) {
  .service__content {
    max-width: 81%;
    left: 9.5%;
  }
  .service {
    padding: 1.1rem;
  }
  .section-service {
    padding-bottom: 38rem;
  }
  .section-client {
    padding-top: 7.4rem;
  }
}
