/*********************** */
/* Services page */
/*********************** */
.services {
  padding-left: 2rem;
}

.services__heading {
  font-size: 3.4rem;
  line-height: 1.4;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.4rem;
}
.services__wrapper {
  width: 95%;
  display: flex;
  justify-content: space-between;
  height: 100vh;
  padding-top: 5.2rem;
  margin-left: auto;
  gap: 4.2rem;
}
.service__heading {
  font-size: 3.8rem;
  font-weight: 400;
  margin-bottom: 5.2rem;
}
.service__box {
  background: #fff;
  padding: 0 0 0 2rem;
  border-radius: 8px;
}

.service__list {
  width: 100%;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4.2rem;
  row-gap: 4.2rem;
  padding: 0;
  /* margin: 0 0 2.2rem 0; */
}
.service__item {
  display: flex;
  align-items: flex-start;
  width: 40%;
}
.service__label {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  cursor: pointer;
  width: 100%;
}

/* hide native checkbox (we keep label clickable) */
.service__checkbox {
  display: none;
}

/* custom circle */
.service__circle {
  width: 1.6rem;
  height: 1.6rem;
  border: 2px solid var(--color-secondary);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  display: inline-block;
  transition: all 0.15s ease;
  background: transparent;
}
.service__checkbox:checked + .service__circle {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}
.service__checkbox:checked + .service__circle::after {
  content: "✔";
  color: var(--color-white);
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
}

.service__content {
  display: flex;
  flex-direction: column;
}
.service__title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 500;
}

/* select all button */
.service__select-all {
  display: inline-block;
  border: none;
  padding: 0.6rem 1.2rem;
  border-bottom: 2px solid var(--color-secondary);
  background: none;
  color: var(--color-secondary);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  margin-top: 0.6rem;
}
.service__select-all:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* note + spacing */
.service__note-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3.2rem;
  margin-bottom: 4.2rem;
}

.service__note-icon-wrapper {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 10rem;
  background-color: rgba(145, 197, 242, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}

.service__note-icon {
  font-size: 2rem;
}

.service__note {
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 400;
}

/*********************** */
/* Closed services */
/*********************** */

.closed__services-wrapper {
  display: flex;
  width: 40%;
}
.service__close {
  width: 16rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.service__close:hover {
  color: rgba(255, 255, 255, 0.4);
  background-color: rgba(0, 0, 0, 0.1);
}

.service__close {
  transition: all 0.3s ease;
}

.service__close.swap-anim {
  transform: scale(1.05);
  background-color: rgba(224, 52, 0, 0.1);
}

.service__close::after {
  content: "›";
  position: absolute;
  /* right: 2rem; */
  font-size: 8rem;
  color: var(--color-black);
  opacity: 0;
  transition: all 0.3s ease;
}

.service__close:hover::after {
  opacity: 1;
}

.rotated-text {
  writing-mode: vertical-rl;
  font-size: 2.4rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 1px;
}
.service-1 {
  background-color: var(--color-primary);
}
.service-2 {
  background-color: #ec383d;
}
.service-3 {
  background-color: #ee4e52;
}
.service-4 {
  background-color: #f06468;
}
.service-5 {
  background-color: #f27a7d;
}

/* services cta wrapper */

.services__btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.4rem;
}

/*********************** */
/* Blog page */
/*********************** */

.blog-hero-wrapper {
  background: var(--color-grey-light-1);
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
}

.blog-hero-1 {
  background-image:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.6) 30%,
      rgba(0, 0, 0, 0.3) 70%,
      rgba(0, 0, 0, 0.1)
    ),
    url(../2026-seo-guide-images/seo-strategy-planning-team.webp);
  object-fit: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blog-hero-2 {
  background-image:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.6) 30%,
      rgba(0, 0, 0, 0.3) 70%,
      rgba(0, 0, 0, 0.1)
    ),
    url(../voice-visual-ai-seo-images/ai-search-smartphone-interface.webp);
  object-fit: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blog-hero-3 {
  background-image:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.6) 30%,
      rgba(0, 0, 0, 0.3) 70%,
      rgba(0, 0, 0, 0.1)
    ),
    url(../content-marketing-strategy-images/content-marketing-keyboard-documents.webp);
  object-fit: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blog-hero-4 {
  background-image:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.6) 30%,
      rgba(0, 0, 0, 0.3) 70%,
      rgba(0, 0, 0, 0.1)
    ),
    url(../top-digital-marketing-trends-images/ecommerce-online-shopping-laptop-digital-marketing.webp);
  object-fit: contain;
  background-position: bottom;
  background-repeat: no-repeat;
}

.blog-hero-5 {
  background-image:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.6) 30%,
      rgba(0, 0, 0, 0.3) 70%,
      rgba(0, 0, 0, 0.1)
    ),
    url(../high-converting-website-images/website-optimization-flow-diagram.webp);
  object-fit: contain;
  background-position: bottom;
  background-repeat: no-repeat;
}

.blog-hero-6 {
  background-image:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.6) 30%,
      rgba(0, 0, 0, 0.3) 70%,
      rgba(0, 0, 0, 0.1)
    ),
    url(../future-social-media-marketing-insights-images/social-media-app-icons-smartphone-closeup.webp);
  object-fit: contain;
  background-position: bottom;
  background-repeat: no-repeat;
}

.blog-hero-7 {
  background-image:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.6) 30%,
      rgba(0, 0, 0, 0.3) 70%,
      rgba(0, 0, 0, 0.1)
    ),
    url(../business-website-importance/ipad-macbook-business-analysis.webp);
  object-fit: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.blog-hero-info {
  width: 80%;
  margin: 0 auto;
  position: relative;
  padding-bottom: 1.4rem;
}

.meta-info {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 1.2rem;
  margin: 1rem 0 4rem 0;
}

.arrow-image-box {
  display: flex;
  align-items: center;
  width: 100%;
  height: 0.2rem;
  background: var(--color-primary);
  margin-top: 2.4rem;
}

.arrow-image {
  height: 3.2rem;
  margin-left: -3.8rem;
}

/* .blog-title {
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 500;
} */

.blog-author {
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 500;
  color: var(--color-white);
}

.blog-date,
.blog-reading-time {
  font-size: 1.4rem;
  color: var(--color-white);
}

.blog-heading {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 500;
  color: var(--color-white);
  margin-top: 1rem;
  /* margin-bottom: 1.8rem; */
}

.blog-container {
  max-width: 65ch;
  width: 100%;
  margin: 0 auto;
  margin-top: 10rem;
  align-content: center;
  font-size: 1.8rem;
  line-height: 1.8;
  font-weight: 400;
}

.blog-quote {
  font-size: 1.8rem;
  line-height: 2;
  font-weight: 530;
  margin-top: 5rem;
  padding-left: 2rem;
  border-left: 1px solid var(--color-primary);
}

.image-rectangle__wrapper {
  max-width: 74.8rem;
  margin: 7.5rem 0;
  align-items: center;
}

.image-rectangle {
  height: 100%;
  width: 100%;
  object-fit: cover;
  margin: 7.5rem 0;
}

.seprator {
  width: 90%;
  height: 0.1rem;
  background: var(--color-primary);
  margin: 0 auto;
  margin-top: 10.2rem;
}

/*********************** */
/* Related blogs section */
/*********************** */

.related__article {
  margin: 0 auto;
  padding: 10rem 0;
}

.related__articles-heading {
  font-size: 4.8rem;
  line-height: 1;
  font-weight: 500;
  text-align: center;
}

.related__article-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  row-gap: 6.2rem;
  justify-content: center;
  align-items: center;
  margin-top: 10.2rem;
}

.related__article-box {
  width: 28%;
  text-decoration: none;
  color: var(--color-black);
  transition: all 0.3s;
  cursor: pointer;
}

.related__article-box:hover {
  text-decoration: underline;
  text-decoration-color: var(--color-primary);
}

.related__article-image-box {
  width: 100%;
  height: 22.8rem;
  border-radius: 1rem;
  margin-bottom: 1.4rem;
  overflow: hidden;
}

/* Image itself */
.related__article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 1rem;
}

.related__article-title {
  font-size: 1.6rem;
  line-height: 1.4;
  font-weight: 500;
}

/*********************** */
/* Feature blog page */
/*********************** */
.feature__blog {
  padding: 2.2rem 5.2rem 0 5.2rem;
  cursor: pointer;
  margin: 0 auto;
}

.feature__blog-heading {
  font-size: 3.4rem;
  line-height: 1.4;
  font-weight: 600;
  text-align: center;
  color: var(--color-primary);
}

.feature__blog-subheading {
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 300;
  text-align: center;
}

.feature__blog-wrapper {
  gap: 7rem;
  margin-top: 8rem;
  /* margin-bottom: 20rem; */

  display: flex;
  justify-content: center;
  align-items: center;
}

.feature__blog-box {
  text-decoration: none;
}

.close-feature-blogs {
  display: flex;
  flex-direction: column;
  margin-bottom: auto;
  gap: 3.8rem;
  text-align: left;
}

.article-by {
  font-size: 1.8rem;
  color: var(--color-grey-dark-3);
  border-bottom: 2px solid var(--color-tertiary);
  display: inline-block;
}

.feature-article-by {
  font-size: 1.8rem;
  color: var(--color-white);
  border-bottom: 2px solid var(--color-tertiary);
  display: inline-block;
}

.blog-title {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 500;
  color: var(--color-grey-dark-3);
  margin-top: 1rem;
  /* margin-bottom: 1.8rem; */
}

/* .line {
  width: 5rem;
  height: 2rem;
  background-color: var(--color-primary);
} */

.feature-blog-name {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 500;
  color: var(--color-grey-dark-3);
  margin-top: 1rem;
  /* margin-bottom: 1.8rem; */
}

.open-feature-blog {
  color: var(--color-black);
}

.feature-blog {
  max-width: 51rem;
  min-height: 58rem;
  width: 100%;
  border-radius: 1rem;
  background-image: url("../2026-seo-guide-images/seo-strategy-planning-team.webp");
  padding: 4.8rem;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.feature-blog-image {
  width: 100%;
  margin: 16px 0;
  border-radius: 8px;
  display: none;
}

.feature-blog {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  padding: 16px;
  border: none;
  text-align: left;
  cursor: pointer;
}

.feature-blog-content {
  position: relative;
  z-index: 2;
  background-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.7)
  );
  padding: 16px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: sans-serif, "poppins";
}

.feature-blog:hover {
  cursor: pointer;
}

.load-more-btn {
  display: block;
  margin: 16px auto;
  padding: 10px 20px;
  cursor: pointer;
  background-color: var(--color-white);
  color: var(--color-primary);
  border: none;
  border-radius: 1rem;
  font-size: 1.6rem;
  font-family: "Poppins", serif;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  border: 1px solid transparent;
}

.load-more-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-primary);
}

.feature-blog-title {
  color: var(--color-white);
  font-size: 2.4rem;
  line-height: 1.4;
  font-weight: 500;
  margin-top: 1.2rem;
  text-align: left;
  font-family: sans-serif, "Poppins";
}

.date,
.reading-time {
  font-size: 1.4rem;
  /* color: var(--color-white); */
}

.circle {
  width: 1.2rem;
  height: 1.2rem;
  background-color: var(--color-primary);
  border-radius: 50%;
}

.feature-blog-info {
  display: flex;
  gap: 2rem;
  margin-top: 1.4rem;
}

.active-blog {
  border-left: 4px solid var(--color-primary);
  padding-left: 1rem;
  transition: 0.3s;
}

.close-feature-blogs > div {
  cursor: pointer;
}

/*********************** */
/* Testimonial page */
/*********************** */

.testimonials {
  padding: 0 5.2rem;
}
.testimonials__heading {
  font-size: 3.4rem;
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 1.4rem;
  text-align: center;
}

.testimonial-accordion {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  margin-top: 4.2rem;
  background: #f6f6f6;
}

.testimonial-item {
  background: #fff;
  margin-bottom: 1.8rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.testimonial-item.active {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-left: 5px solid var(--color-tertiary);
}

.testimonial-header {
  display: flex;
  align-items: center;
  padding: 1.2rem 1.6rem;
  cursor: pointer;
}

.client-photo {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.6rem;
}

/* Placeholder */
.client-photo--placeholder {
  color: var(--color-white);
}

/* Brand colors */
.client-photo--blue {
  background: var(--color-secondary);
}

.client-photo--red {
  background: var(--color-primary);
}

.client-photo--yellow {
  background: var(--color-tertiary);
  color: var(--color-white);
}

.client-info h4 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-black);
  letter-spacing: -0.3px;
}

.client-info span {
  font-size: 1.2rem;
  color: var(--color-grey-dark-3);
}

.client-rating {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--color-tertiary);
  transition: opacity 0.2s;
}

.testimonial-item.active .client-rating {
  opacity: 0;
  visibility: hidden;
}

.testimonial-content {
  display: none;
  padding: 2.2rem 1.6rem 3rem 1.6rem;
  color: var(--color-grey-dark-2);
  font-style: italic;
}

.testimonial-item.active .testimonial-content {
  display: block;
}

.testimonial-fact {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  font-weight: 700;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  color: var(--color-white);
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.testimonial-item.active .testimonial-fact {
  display: block;
}

.fact-red {
  background: var(--color-primary);
}

.fact-blue {
  background: var(--color-secondary);
}

.fact-yellow {
  background: var(--color-tertiary);
  color: var(--color-white);
}

.testimonial-text {
  font-size: 1.6rem;
  line-height: 1.7;
  font-style: italic;
  max-width: 90%;
}

.testimonial-cta {
  font-size: 1.5rem;
  margin-top: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
}

/*********************** */
/* pop-up window */
/*********************** */

.pop-up {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;

  display: none;
  justify-content: center;
  align-items: center;

  overflow: hidden;
}

.pop-up::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url(../images/pop-up-bg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0.4;

  z-index: 0;
}

.pop-up > * {
  position: relative;
  z-index: 1;
}

.pop-up.active {
  display: flex;
}

.cross__btn {
  position: absolute;
  top: 15%;
  right: 14%;
  z-index: 10;
  border: none;
}

.popup-wrapper {
  width: 80%;
  height: 80%;
  background-color: var(--color-white);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  padding: 0 5.2rem;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5.2rem;
  position: relative;
}

.popup__box-left {
  flex: 1;
}

.pop-up__heading {
  font-size: 4.2rem;
  line-height: 1.2;
  font-weight: 300;
  margin-bottom: 1.6rem;
}

.red-bold-text {
  font-weight: 500;
  color: var(--color-primary);
}

.pop-up__text {
  font-size: 1.4rem;
  line-height: 1.6;
  font-weight: 400;
}

.popup__box-right {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1rem;
}

.pop-up__time {
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 300;
  color: var(--color-primary);
}

.pop-up__offer {
  font-size: 3.2rem;
  line-height: 1.2;
  font-weight: 300;
  margin-bottom: 2.4rem;
}
/* ------------------------
   Popup Form Fields
------------------------ */
.pop-up__field {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 2.4rem;
}

/* Label (floating, no background) */
.pop-up__field label {
  position: absolute;
  top: 1.6rem;
  left: 0;
  font-size: 1.6rem;
  color: var(--color-grey-dark-3);
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Input */
.pop-up__field input {
  font-size: 1.2rem;
  padding: 1.6rem 0.6rem 0.6rem 0;
  padding-bottom: 1.8rem;

  border: none;
  border-bottom: 1px solid var(--color-grey-light-2);
  outline: none;
  background: transparent;
  transition: all 0.3s ease;
}

/* Hide placeholder on focus */
.pop-up__field input::placeholder {
  color: var(--color-grey-dark-3);
  transition: opacity 0.3s ease;
}
.pop-up__field input:focus::placeholder {
  opacity: 0;
}

.pop-up__field input:focus + label,
.pop-up__field input:not(:placeholder-shown) + label {
  top: -1rem;
  font-size: 1.2rem;
  color: var(--color-primary);
}

.pop-up__field input:focus {
  border-bottom: 1px solid var(--color-primary);
}

.pop-up__field::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.pop-up__field:focus-within::after {
  width: 100%;
}
/* ********************** */
/* success pop-up */
/* *********************** */
.pop-up-success {
  max-width: 50rem;
  width: 100%;
  height: auto;
  background-image: linear-gradient(to bottom, #ea2227, #bb1b1f);
  color: var(--color-white);
  border-radius: 1rem;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  padding: 2.4rem;

  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.pop-up-success.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.pop-up-success__btn {
  font-size: 4.2rem;
  border: none;
  background-color: transparent;
  color: var(--color-white);
  position: absolute;
  top: 5%;
  right: 5%;
  cursor: pointer;
}

.pop-up-success__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.success-icon-wrapper {
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background-color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.8rem;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.success-icon {
  /* font-size: 12.2rem; */
  color: var(--color-primary);
  width: 12rem;
}

.pop-up-success__heading {
  font-size: 4.8rem;
  line-height: 1;
  font-weight: 500;
  margin-bottom: 1rem;
}

.pop-up-success__text {
  font-size: 1.6rem;
  line-height: 1.6;
  font-weight: 400;
}

/*********************** */
/* Error message */
/*********************** */

.form-error {
  display: none;
  background: var(--color-white);
  color: var(--color-primary);
  padding: 1rem 1.4rem;
  border-radius: 0.6rem;
  margin-bottom: 1.6rem;
  font-size: 1.4rem;
}

.form-error.active {
  display: block;
}

/* Input error state */
.input-error {
  border: 2px solid var(--color-primary) !important;
}

/*********************** */
/* 404 Error page */
/*********************** */

.error__content-wrapper {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding-bottom: 3.2rem;
}

.error__content {
  color: var(--color-primary);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.error__heading {
  font-size: 28.2rem;
  line-height: 1;
  font-weight: 600;
  color: var(--color-primary);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.error__subheading {
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 400;
  margin-top: 2.4rem;
  margin-bottom: 8.2rem;
}

.error__emojis {
  width: 25rem;
  height: 25rem;
  transform-origin: center bottom;
  animation: headTilt 3s ease-in-out infinite;
}

@keyframes headTilt {
  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(-8deg);
  }
}

/*********************** */
/* Projects page */
/*********************** */

.projects__hero {
  width: 80%;
  text-align: center;
  margin: 0 auto;
}

.projects__heading {
  font-size: 3.4rem;
  line-height: 0.8;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.4rem;
}

.projects__sub-heading {
  font-size: 2.4rem;
  line-height: 1.4;
  font-weight: 300;
  margin-bottom: 3.2rem;
}

/* =========================
   MAIN PROJECTS SECTION
========================= */

.projects {
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 8rem 3.4rem 5.2rem 3.4rem;
  margin: 0 auto;
  gap: 5rem;
}

/* =========================
   CATEGORY LIST
========================= */

.projects__categories {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3.5rem;
  min-width: 18rem;
}

.projects__category {
  border: none;
  padding: 0.8rem 1rem;
  background: transparent;
  font-size: 1.8rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.5);
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.projects__category:hover {
  cursor: pointer;
  color: var(--color-secondary);
  transform: translateX(6px);
}

.projects__category--active {
  color: var(--color-secondary);
  border-left: 4px solid var(--color-tertiary);
  font-weight: 700;
}

/* =========================
   SLIDER WRAPPER
========================= */

.projects__slider-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
}

/* =========================
   VIEWPORT
========================= */

.projects__viewport {
  width: 74rem; /* perfect for 2 cards */
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
}

/* =========================
   GRID
========================= */

.projects__grid {
  display: flex;
  gap: 2.5rem;
  transition: transform 0.4s ease;
  align-items: stretch;
}

/* =========================
   ARROWS
========================= */

.projects__arrow {
  background: var(--color-white);
  border: none;
  font-size: 3.5rem;
  width: 4.5rem;
  height: 4.5rem;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-primary);
  transition: all 0.35s ease;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.projects__arrow:hover:not(:disabled) {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.15);
}

.projects__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* =========================
   CARD STYLING
========================= */

.projects__card {
  width: 34rem;
  min-height: 45.5rem;
  flex-shrink: 0;
  padding: 3rem;
  border-radius: 2rem;
  border: 1px solid var(--color-secondary);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
  position: relative;
  text-decoration: none;
  color: var(--color-black);
  background: #fff;
  transition: all 0.4s ease;
}

.projects__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
}

.projects__card {
  display: none;
}

.projects__card.active {
  display: block;
}

/* =========================
   CARD ICON
========================= */

.projects__card-icon-wrapper {
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 50%;
  background-color: var(--color-tertiary);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.35s ease;
}

.projects__card-icon-wrapper:hover {
  transform: scale(1.15);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.projects__card-icon {
  font-size: 3rem;
}

.projects__card:hover .projects__card-icon-wrapper {
  background-color: rgba(252, 195, 25, 0.7);
}

/* =========================
   CARD INFO
========================= */

.project__card-info {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  right: 3rem;
}

.projects__card-title {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.projects__card-subtitle {
  font-size: 1.6rem;
  font-weight: 300;
}

.projects__card:hover .projects__card-title,
.projects__card:hover .projects__card-subtitle {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
/*********************** */
/* Projects case study page */
/*********************** */

.case-study {
  padding: 0 14.2rem;
}

.case-study__title {
  font-size: 4.8rem;
  line-height: 1;
  font-weight: 500;
  display: flex;
  align-items: center;
  margin-left: 1rem;
  gap: 0.8rem;
}

.case-study__link {
  color: inherit;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 5.2rem;
  height: 5.2rem;
  transition: all 0.3s;
}

.case-study__link:hover {
  border-radius: 50%;
  background-color: var(--color-tertiary);
  color: var(--color-white);
}

.website-icon {
  width: 2.8rem;
  height: 2.8rem;
}

.case-study__details {
  margin: 3.2rem 0rem;
  display: flex;
  align-items: center;
  gap: 8.4rem;
  border-bottom: 2px solid var(--color-tertiary);
}

.case-study__detail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 4.4rem;
}

.case-study__label {
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 500;
  color: var(--color-secondary);
}

.case-study__value {
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 400;
}

.case-study__section {
  margin-bottom: 4.2rem;
}

.case-study__heading {
  font-size: 2rem;
  line-height: 1;
  font-weight: 500;
  margin-bottom: 1rem;
}

.case-study__text {
  font-size: 1.6rem;
  line-height: 1.6;
  font-weight: 400;
}

/* Overlay */
.carousel-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Container for images */
.carousel-content {
  width: 80%;
  height: 80%;
  overflow-y: auto;
  background: var(--color-white);
  /* padding: 15px; */
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* No-scroll version */
.carousel-content--no-scroll {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-content--no-scroll .carousel-slide {
  display: block;
  width: 100%;
  height: 100%;
}

/* image */
.carousel-content--no-scroll .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* First slide fully visible, no scroll */
.carousel-slide--full {
  flex: 0 0 100%;
  max-width: 100%;
  height: 100%;
  overflow-y: hidden;
}

.carousel-slide--full img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Slides */
.carousel-content--post .carousel-slide {
  flex: 0 0 auto;
}

/* Images */
.carousel-content--post .carousel-slide img {
  max-width: 400px;
  height: auto;
  display: block;
}

/* Slides */
.carousel-slide {
  display: none;
}
.carousel-slide img {
  width: 100%;
  border-radius: 8px;
}

/* Close button outside container */
.close-popup {
  position: absolute;
  top: 5rem;
  right: 5rem;
  font-size: 4.4rem;
  color: #fff;
  cursor: pointer;
  z-index: 10;
}

/* Arrows container */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-white);
  background: var(--color-tertiary);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.prev {
  left: 50px;
}
.next {
  right: 50px;
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.4);
  color: var(--color-secondary);
}

/* Dots for popup carousel */
.popup-carousel-dots {
  position: absolute;
  bottom: 20px;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px; /* spacing between dots */
}

.popup-carousel-dot {
  width: 14px;
  height: 14px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.popup-carousel-dot:hover {
  transform: scale(1.3);
  background-color: var(--color-secondary);
}

.popup-carousel-dot.active {
  background-color: var(--color-secondary);
  transform: scale(1.4);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/*********************** */
/* Contact page */
/*********************** */

.contact {
  margin: 0 auto;
}

.contact__heading {
  font-size: 3.4rem;
  line-height: 1.4;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1.4rem;
}

.contact__wrapper {
  padding: 5.2rem 12.2rem 0 12.2rem;
  display: flex;
  gap: 8.2rem;
}

.contact__content-wrapper {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  justify-content: center;
  text-align: left;
  /* margin-top: 10rem; */
}

.contact__title {
  font-size: 4.2rem;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 1.8rem;
}

.contact__subtitle {
  font-size: 2rem;
  line-height: 1;
  font-weight: 400;
}

.contact__subtitle-link {
  color: var(--color-primary);
  position: relative;
  text-decoration: none;
}

.contact__subtitle-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 0.2rem;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.contact__subtitle-link:hover::after {
  width: 100%;
}

/* --- Contact Form --- */
.contact-form {
  width: 50%;
  margin-left: auto;
}

/* Row for name & phone */
.contact-form__row {
  display: flex;
  gap: 5.2rem;
}

/* Field wrapper for floating labels */
.contact-form__field {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 2rem;
}

/* Label styling for floating effect */
.contact-form__label {
  position: absolute;
  left: 12px;
  top: 16px;
  font-size: 1.6rem;
  color: var(--color-grey-dark-3);
  pointer-events: none;
  background: var(--color-white);
  padding: 0 5px;
  transition: all 0.3s ease;
}

/* Input and textarea styling */
.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 1.6rem 1rem;
  font-size: 1.4rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  box-sizing: border-box;
  transition: all 0.3s ease;
  resize: none;
}

.contact-form__field:focus-within .contact-form__label {
  top: -10px;
  left: 10px;
  font-size: 1.2rem;
  color: var(--color-white);
  background-color: var(--color-primary);
  border-radius: 12px;
  padding: 2px 8px;
}

/* Focus border for accessibility */
.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.3rem rgba(224, 52, 0, 0.2);
}

/* Services & checkboxes */
.contact-form__services {
  margin-top: 5.2rem;
  border: none;
}

.contact-form__services-label {
  font-size: 2rem;
  line-height: 1;
  font-weight: 500;
  display: flex;
  justify-self: start;
  align-self: start;
}

.contact-form__checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4.4rem;
  row-gap: 3rem;
  margin: 2.8rem 0 4.2rem 0;
}

.contact-form__checkbox {
  display: flex;
  gap: 1.2rem;
}

.contact-form__checkbox input {
  width: 1.6rem;
  height: 1.6rem;
}

.contact-form__checkbox:hover input {
  cursor: pointer;
}

.contact-form__checkbox label {
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 400;
}

.contact-form__checkbox:hover label {
  cursor: pointer;
}

/* submit button */

.btn-submit {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 1.6rem 2.2rem;
  border: none;
  border-radius: 30px;
  font-size: 1.8rem;
  font-family: "Poppins", serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  background-color: #111;
}

/*********************** */
/* Service Advantage page */
/*********************** */

.service-advantage {
  padding-left: 2rem;
}

.service-advantage__heading {
  font-size: 4.2rem;
  line-height: 1.4;
  font-weight: 500;
  text-align: center;
  margin-bottom: 6.2rem;
}

.service-advantage__wrapper {
  display: flex;
  position: relative;
  margin-bottom: 3.2rem;
}

.service-advantage__title {
  font-size: 4.2rem;
  font-weight: 400;
  margin-bottom: 5.2rem;
  margin-top: 2rem;
}

.service-advantage__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  column-gap: 2.2rem;
  row-gap: 2rem;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.service-advantage__list.active {
  opacity: 1;
  pointer-events: all;
  position: relative;
}

.service-advantage__item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
  width: 26%;
  height: 20rem;
  /* height: 100%; */
  border-radius: 2rem;
  padding: 2rem 1.6rem;
  background-color: #fefefe;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.07);
}

.video-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 2rem;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumb::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5) 10%,
    rgba(0, 0, 0, 0.3) 35%,
    rgba(0, 0, 0, 0.1) 55%
  );
  border-radius: 2rem;
  pointer-events: none;
}

.play-button__wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5.2rem;
  height: 5.2rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 30%,
    rgba(0, 0, 0, 0.3) 70%,
    rgba(0, 0, 0, 0.1)
  );
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
}

.play-button {
  font-size: 3.2rem;
  color: var(--color-white);
  pointer-events: none;
}

.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.video-modal video {
  width: 80%;
  max-width: 80rem;
}

.close {
  position: absolute;
  top: 5rem;
  right: 15%;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--color-white);
  cursor: pointer;
}

.padding {
  padding: 0;
}

.service-advantage__img {
  width: 100%;
  height: 100%;
  border-radius: 2rem;
}

.service-advantage__title-number {
  margin: 0;
  font-size: 10.2rem;
  font-weight: 400;
  color: var(--color-primary);
}

.service-advantage__title-text {
  margin: 0;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.2;
  background-color: var(--color-white);
  color: #606060;
}

.slider-arrow {
  position: absolute;
  top: 90%;
  transform: translateY(-50%);
  background: transparent;
  color: var(--color-primary);
  border: none;
  font-size: 3.2rem;
  width: 4.8rem;
  height: 4.8rem;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.slider-arrow.prev {
  left: 4rem;
}
.slider-arrow.next {
  right: 4rem;
}

.advantage-slider__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2.4rem;
}

.advantage-slider__dot {
  width: 3.2rem;
  height: 0.8rem;
  border-radius: 5rem;
  border: none;
  background-color: var(--color-grey-light-1);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.advantage-slider__dot--active {
  background-color: var(--color-primary);
}

/* ****************** */
/* Advantage Info Popups */
/* ****************** */

.advantage__info-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.advantage__info {
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.advantage__info:hover {
  text-decoration: underline;
  text-decoration-color: var(--color-primary);
}

.advantage__info-title {
  font-size: 3.6rem;
  font-weight: 500;
  color: var(--color-primary);
}

.advantage__info-content {
  background: var(--color-white);
  color: var(--color-black);
  padding: 5.8rem 8.2rem;
  border-radius: 1.5rem;
  max-width: 800px;
  width: 90%;
}

.advantage__info-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-top: 2.4rem;
}

.advantage__info-item {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
}

.advantage__info-item::marker {
  color: var(--color-primary);
}

.advantage__info-text {
  margin-top: 1rem;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.4;
}

.advantage__info-modal .advantage__info-close {
  position: absolute;
  top: 20%;
  right: 13%;
  font-size: 4rem;
  cursor: pointer;
  color: var(--color-white);
}
