/**
 * About Us & Blog Sections CSS
 * Extracted from Laravel template main.css
 */

/* ======================== Icon List Common CSS Start ======================== */
.icon-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.icon-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  border: 1px solid hsl(var(--border-color));
  padding: 12px;
}

.icon-list-item__icon {
  --size: 32px;
  width: var(--size);
  height: var(--size);
  display: block;
  object-fit: cover;
  flex-shrink: 0;
}

.icon-list-item__title {
  font-weight: 500;
  margin-bottom: 0px;
}

@media screen and (max-width: 1199px) {
  .icon-list {
    gap: 16px;
  }

  .icon-list-item__title {
    font-size: 1rem;
  }
}

@media screen and (max-width: 575px) {
  .icon-list {
    gap: 12px;
  }

  .icon-list-item {
    padding: 12px 8px;
    gap: 8px;
  }

  .icon-list-item__title {
    font-size: 0.875rem;
  }

  .icon-list-item__icon {
    --size: 24px;
  }
}
/* ======================== Icon List Common CSS End ======================== */

/* ======================== About Us Section 1 CSS Start ======================== */
@media screen and (max-width: 991px) {
  .about-us .underline-word svg {
    bottom: -10px;
  }
}

@media screen and (max-width: 575px) {
  .about-us .underline-word svg {
    bottom: -8px;
  }
}

.about-us-statistics {
  --gap: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
}

.about-us-statistics-item {
  position: relative;
  flex: 1 1 calc(33.3333333333% - var(--gap));
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-us-statistics-item__icon {
  --size: 48px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--gray-l-400) / 0.5);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.about-us-statistics-item__icon img {
  width: 50%;
  height: 50%;
  display: block;
  object-fit: cover;
}

.about-us-statistics-item__content {
  flex-grow: 1;
}

.about-us-statistics-item__title {
  color: hsl(var(--gray-d-400));
  line-height: 100%;
  margin-bottom: 0px;
}

.about-us-statistics-item__desc {
  font-size: 14px;
  font-weight: 400;
  color: hsl(var(--gray-d-300));
}

@media screen and (max-width: 1199px) {
  .about-us-statistics-item {
    gap: 8px;
  }

  .about-us-statistics-item__icon {
    --size: 40px;
  }

  .about-us-statistics-item__desc {
    font-size: 14px;
  }
}

@media screen and (max-width: 575px) {
  .about-us-statistics {
    gap: 8px;
    margin-top: 16px;
  }

  .about-us-statistics-item__icon {
    --size: 32px;
  }

  .about-us-statistics-item__title {
    font-size: clamp(1rem, 0.9404rem + 0.2981vw, 1.125rem);
  }

  .about-us-statistics-item__desc {
    font-size: 12px;
  }
}

@media screen and (max-width: 424px) {
  .about-us-statistics-item {
    flex-direction: column;
  }

  .about-us-statistics-item__content {
    text-align: center;
  }
}

.about-us__thumb {
  width: 100%;
  max-width: 660px;
  object-fit: cover;
  display: block;
  margin-left: auto;
}

@media screen and (max-width: 991px) {
  .about-us__thumb {
    margin-left: auto;
    margin-right: auto;
  }
}
/* ======================== About Us Section 1 CSS End ======================== */

/* ======================== About Us Section 2 (Easier Section) CSS Start ======================== */
.easier-section__image {
  width: 100%;
  max-width: 635px;
  display: block;
  object-fit: cover;
}
/* ======================== About Us Section 2 CSS End ======================== */

/* ======================== About Us Section 3 (Best Pricing) CSS Start ======================= */
.best-pricing-section__thumb {
  width: 100%;
  max-width: 600px;
  display: block;
  object-fit: cover;
}
/* ====================== About Us Section 3 CSS End ======================= */

/* ====================== About Us Section 4 (Our Guarantee) Start ===================== */
.our-guarantee__thumb {
  width: 100%;
  max-width: 600px;
  object-fit: cover;
  display: block;
}
/* ====================== About Us Section 4 CSS End ======================= */

/* ================================= Blog Section CSS Start Here ================================= */
.blog-section__item {
  margin-bottom: 24px;
}

@media screen and (max-width: 991px) {
  .blog-section__item:last-child {
    padding-top: 24px;
  }
}

.blog-section__item:hover .blog-section__content {
  background-color: hsl(var(--base));
}

.blog-section__item:hover .blog-section__date {
  color: hsl(var(--white));
}

.blog-section__item:hover .blog-section__title {
  color: hsl(var(--white)) !important;
}

.blog-section__thumb a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  z-index: 1;
}

.blog-section__thumb a {
  display: block;
  position: relative;
}

.blog-section__image {
  border-radius: 16px;
  width: 100%;
  display: block;
}

.blog-section__content {
  padding: 32px 37px 32px 24px;
  background-color: hsl(var(--section-bg));
  border-radius: 16px;
  margin-top: calc(-1 * 80px / 2);
  margin-left: 18px;
  margin-right: 18px;
  -webkit-transition: 0.3s;
  transition: all 0.3s linear;
  position: relative;
}

.blog-section__content:hover {
  -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

@media screen and (max-width: 1399px) {
  .blog-section__content {
    margin-right: 18px;
    padding: 20px;
  }
}

.blog-section__date {
  font-size: 16px;
  font-weight: 500;
  padding-bottom: 12px;
  transition: all 0.3s linear;
}

.blog-section__date:hover {
  color: hsl(var(--white));
}

.blog-section__title {
  font-size: 20px;
  color: hsl(var(--black)) !important;
  max-width: 299px;
  margin: 0px;
}

.blog-section__title:hover {
  color: hsl(var(--white));
}

@media screen and (max-width: 1399px) {
  .blog-section__title {
    font-size: 18px;
  }
}

@media screen and (max-width: 575px) {
  .blog-section__title {
    font-size: 16px;
  }
}
/* ================================= Blog Section CSS End Here ================================= */

/* Common Section Spacing */
.my-120 {
  margin-top: 120px;
  margin-bottom: 120px;
}

.mt-60 {
  margin-top: 60px;
}

.mb-120 {
  margin-bottom: 120px;
}

@media screen and (max-width: 991px) {
  .my-120 {
    margin-top: 80px;
    margin-bottom: 80px;
  }

  .mt-60 {
    margin-top: 40px;
  }

  .mb-120 {
    margin-bottom: 80px;
  }
}

@media screen and (max-width: 575px) {
  .my-120 {
    margin-top: 60px;
    margin-bottom: 60px;
  }

  .mt-60 {
    margin-top: 30px;
  }

  .mb-120 {
    margin-bottom: 60px;
  }
}

/* ====================== Service / Why Choose Section Start ===================== */
.service-section {
  background-color: hsl(var(--section-bg));
}

.py-120 {
  padding-top: 120px;
  padding-bottom: 120px;
}

@media screen and (max-width: 991px) {
  .py-120 {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media screen and (max-width: 575px) {
  .py-120 {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

.service-card {
  background-color: hsl(var(--white));
  border: 1px solid hsl(var(--border-color));
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  -webkit-transition: 0.3s linear;
  transition: 0.3s linear;
  display: block;
  height: 100%;
}

@media screen and (max-width: 767px) {
  .service-card {
    padding: 24px 16px;
  }
}

@media screen and (max-width: 575px) {
  .service-card {
    padding: 16px 12px;
  }
}

.service-card__icon {
  --size: 72px;
  width: var(--size);
  height: calc(var(--size) * 1.1111111111);
  -webkit-transition: 0.3s linear;
  transition: 0.3s linear;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0 auto;
  background-color: hsl(var(--base));
  position: relative;
  z-index: 1;
  border-radius: 50%;
}

.service-card__icon img {
  width: calc(var(--size) * 0.5);
  height: calc(var(--size) * 0.5);
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@media screen and (max-width: 767px) {
  .service-card__icon {
    --size: 56px;
  }
}

@media screen and (max-width: 575px) {
  .service-card__icon {
    --size: 48px;
  }
}

.service-card__content {
  margin-top: 24px;
}

@media screen and (max-width: 575px) {
  .service-card__content {
    margin-top: 16px;
  }
}

.service-card__title {
  color: hsl(var(--black));
  -webkit-transition: 0.3s;
  transition: 0.3s;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

@media screen and (max-width: 575px) {
  .service-card__title {
    margin-bottom: 8px;
    font-size: 16px;
  }
}

.service-card__desc {
  font-size: 16px;
  color: hsl(var(--body-color));
  margin-bottom: 0;
}

@media screen and (max-width: 575px) {
  .service-card__desc {
    font-size: 14px;
  }
}

.service-card__desc:hover {
  color: hsl(var(--white));
}

.service-card:hover {
  background-color: hsl(var(--base));
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card:hover .service-card__icon {
  background-color: hsl(var(--white));
}

.service-card:hover .service-card__icon img {
  filter: none;
}

.service-card:hover .service-card__title {
  color: hsl(var(--white));
}

.service-card:hover .service-card__desc {
  color: hsl(var(--white));
}
/* ====================== Service Section End ============================ */
