.web-hero-section {
  background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.9),
      rgba(0, 0, 0, 0.8),
      rgba(0, 0, 0, 0.7),
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0)
    ),
    url('/assets/img/pages/ui-ux/ui-ux-back1.jpg') center/cover no-repeat;
}

.we-offer-title-container {
  display: flex;
  justify-content: space-between;
}

.what-we-offer {
  position: relative;
}

.offer-cards-container {
  display: flex;
  position: relative;
}

.offer-card {
  display: flex;
  background-color: #ffffff;
  z-index: 6;

  /* border: 2px solid rgb(0, 0, 0); */

  border-radius: 8px;

  min-height: 200px; /* Ensure a minimum height for visibility */
  display: flex;
  overflow: hidden;
  font-weight: bold;
  font-size: 1.2em;
}

/* --- 1. The Grid Container --- */
.offer-cards-grid {
  display: grid;
  width: 100%;
  /* Defines 2 columns of equal width (1fr) */
  grid-template-columns: 1fr 1fr;

  /* Defines 2 rows, height will be determined by the content (auto) */
  grid-template-rows: auto auto;

  /* Spacing between the grid items */
  gap: 20px;

  /* Optional: Center the layout for demonstration */

  margin: 0px auto;
}

/* --- 2. offer-card1: The Span (The solution for your requirement) --- */
.offer-card1 {
  grid-row: 1 / span 2;

  /* Ensure it stays in the first column */
  grid-column: 1 / 2;

  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  overflow: hidden;
}

.offer-card2 {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.offer-card3 {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.ui-float-div {
  background-color: black;
  color: white;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 40px 15px;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-left: -5px;
}

.what-we-offer-content {
  background: #000000;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 45%,
    rgba(255, 23, 0, 0) 43%
  );
  padding: 0 !important;
  margin-bottom: 50px;
}

.we-offer-content-container {
  padding: 0 !important;
}
.card-content-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  padding: 50px;
}

.vertical-card-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.vertical-image-container {
  width: 100%;
  height: 200px;
  background-image: url('https://plus.unsplash.com/premium_photo-1661326248013-3107a4b2bd91?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  padding: 20px 50px;
  display: flex;
  align-items: end;
}
.card-icon-container {
  min-width: 90px;
  max-width: 90px;
  height: 90px;

  border-radius: 50%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-icon-container img {
  height: 60%;
}

.ui-card-list li {
  margin-left: 20px;
}

.horizontal-card-content {
  width: 100%;
  display: flex;

  overflow: hidden;
}
.horizontal-image-container {
  height: 100%;
  display: flex;

  padding: 20px 50px;
  align-items: center;
  background-image: url('https://images.unsplash.com/photo-1694050680618-7daed667a242?q=80&w=2237&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.horizontal-card-content .card-content-container {
  padding: 20px;
  gap: 5px;
}

.ux-horizontal-image {
  background-image: url('https://images.unsplash.com/photo-1663094620259-faa6478a09b9?q=80&w=963&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.dev-sidebar-title-text {
  font-size: 95px;
  line-height: 90px;
  color: transparent; /* make text transparent */
  -webkit-text-stroke: 2px red; /* border color and thickness */
}
.dev-process-sidebar {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  rotate: 180deg;

  padding: 10px;
  box-sizing: border-box;
  width: 150px;
}

.dev-process-sidebar {
  display: flex;
  align-items: center;
}
.dev-process-sidebar:hover .dev-sidebar-title-text {
  color: transparent; /* make text transparent */
  -webkit-text-stroke: 2px rgb(255, 255, 255); /* border color and thickness */
}
.mob-card-title {
  display: none;
}

.industry-title-container {
  display: flex;
  justify-content: space-between;
}

.left-industry-div {
  /* width: 520px; */
  flex: 1;

  display: flex;
  justify-content: end;
  align-items: end;
  /* background-image: url('/assets/img/pages/ui-ux/industry-back.jpg'); */
  /* background-position: center; */
  /* background-repeat: no-repeat; */
  /* background-size: cover; */
  border-radius: 20px;
  padding: 20px;
}

.industry-div {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.btn-box {
  display: flex;
  gap: 10px;
  justify-content: start;
  align-items: center;
  color: white;
}

.industry-content-container {
  display: flex;
  gap: 40px;
  justify-content: space-between;
}

.all-industry-div {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  grid-template-rows: repeat(4, auto); /* 4 rows */
  gap: 20px; /* space between items */
}

.each-industry-div {
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  padding: 15px;
  border-radius: 20px;
  padding-left: 30px;
  padding-right: 40px;
  cursor: pointer;
  transition: 0.3s;
}
.each-industry-div:hover {
  box-shadow: rgba(32, 170, 255, 0.3) 0px 5px, rgba(32, 170, 255, 0.2) 0px 10px,
    rgba(32, 170, 255, 0.1) 0px 15px, rgba(32, 170, 255, 0.05) 0px 20px,
    rgba(32, 170, 255, 0) 0px 25px;
  transition: 0.3s;
  transform: scale(1.01);
}

.industry-icon-div {
  width: 70px;
  height: 70px;
}

.industry-icon-div img {
  width: 100%;
}
.all-tools-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.all-tools-div {
  width: 700px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

.each-tools-div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.each-tools-icon {
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.4s;
  cursor: pointer;
}

.each-tools-icon:hover {
  transform: rotate(180deg);
  transition: 0.5s;
}

.each-tools-icon img {
  width: 70%;
}

.ui-why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, max-content);
  gap: 16px;
}

.ui-why-choose-item-3 {
  grid-row: span 2; /* EXTENDS INTO 2ND ROW */
  /* background-image: url('/assets/img/pages/ui-ux/oldpc.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: flex-end !important;
  align-items: end; */
}

/* optional styling */
.ui-why-choose-item {
  display: flex;

  ustify-content: space-between;
  gap: 25px;
  font-size: 20px;
  font-weight: 600;
  padding: 40px;
  border-radius: 20px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
  transition: 0.3s;
  cursor: pointer;
}

.ui-why-choose-item:hover {
  box-shadow: rgba(63, 178, 255, 0.777) 0px 1px 2px 0px,
    rgba(63, 178, 255, 0.777) 0px 2px 6px 2px;
  transition: 0.3s;
}

.why-choose-ui-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.why-choose-ui-icon-div {
  width: 120px;
  margin-top: 10px;
}

.why-choose-ui-icon-div img {
  width: 100%;
}

.why-choose-ui-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.back-card {
  position: relative;

  color: white;
  display: flex;
  justify-content: end;
  align-items: flex-end;
  font-family: sans-serif;

  /* CRITICAL: Hides the edges of the image when it scales/rotates */
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

/* 2. The Pseudo-element (Acting as the background) */
.back-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* Set your image here */
  background-image: url('/assets/img/pages/ui-ux/oldpc.jpg');
  background-size: cover;
  background-position: center;

  /* Place it behind the text */
  z-index: -1;

  /* Smooth transition for the effect */
  transition: transform 0.5s ease;
}

/* 3. The Hover Effect */
.back-card:hover::before {
  /* Scale up to 1.2x and Rotate 5 degrees */
  transform: scale(1.2) rotate(5deg);
}

.industry-back-card::before {
  background-image: url('/assets/img/pages/ui-ux/industry-back.jpg');
  ackground-size: cover;
  background-position: center;
}

@media screen and (max-width: 1200px) {
  .dev-process-sidebar {
    display: none;
  }
}

@media screen and (max-width: 1100px) {
  .offer-cards-grid {
    display: flex;
    width: 100%;
    flex-direction: column;

    /* Spacing between the grid items */
    gap: 20px;

    /* Optional: Center the layout for demonstration */

    margin: 0px auto;
  }
  .what-we-offer-content {
    background: #ffffff;
    background: linear-gradient(
      90deg,
      rgb(255, 255, 255) 0%,
      rgb(255, 255, 255) 45%,
      rgb(255, 255, 255) 43%
    );
    padding: 0 !important;
    margin-bottom: 50px;
  }
  .horizontal-image-container {
    display: none;
  }
  .mob-card-title {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .desktop-card-title {
    display: none;
  }
  .card-icon-container {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  }
  .vertical-content-container {
    padding: 20px;
  }
  .offer-card1 {
    position: relative;
    left: -20px;
    right: -20px;
    width: calc(100% + 40px);
    border-radius: 0px;
  }
  .we-offer-title-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .section-sub-title p {
    text-align: start;
  }
  .section-sub-title p span {
    display: none;
  }
  .ui-why-choose-item-3 {
    display: none;
  }
  .ui-why-choose-grid {
    display: flex;
    flex-wrap: wrap;
  }

  .left-industry-div {
    display: none;
  }

  .industry-title-container {
    flex-direction: column;
    gap: 10px;
  }
  .ui-why-choose-grid {
    display: flex;
    flex-direction: column;
  }
  .all-industry-div {
    width: 100%;
  }
}

@media screen and (max-width: 700px) {
  .all-tools-div {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .each-tools-div {
    width: 100px;
  }

  .all-industry-div {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .ui-why-choose-item {
    gap: 10px;
    padding: 20px 20px;
  }
  .only-desktop-text {
    display: none;
  }
  .faq-text {
    font-size: 14px;
  }
}
