@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.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/web-dev/web-dev-hero.jpg') center/cover no-repeat;
}

.header-left-content {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero-div-hr {
  width: 150px;
  margin-left: 0;
  margin-right: auto;
}

.hero-btn-div {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}

.tab-container {
  width: 100%;
  margin: 40px auto;
  font-family: Arial, sans-serif;
}

.parent-tab-div {
  width: 100%;
  /* overflow: scroll; */
}

.tabs {
  display: flex;
  gap: 20px;
  /* min-width: 1100px; */
  /* overflow: scroll; */
  flex-wrap: wrap;
}

.tab {
  font-family: var(--font-family-base);
  background-color: transparent;
  border: 1.5px solid var(--text-color-light);
  padding: 8px 18px;
  font-size: var(--font-size-normal);
  font-weight: var(--font-weight-medium);
  flex: 1;
  min-width: max-content;
  cursor: pointer;
  color: var(--text-color-light);
  position: relative;
  border-radius: 30px; /* Rounded corners */
  overflow: hidden; /* Keep gradient inside shape */
  z-index: 0;
}

.tab:hover {
  background: hsl(0, 100%, 99%);
}

/* .tab.active::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(
    45deg,
    var(--primary-theme-color),
    var(--secondary-color)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
} */

.tab.active {
  border: none;
  background: #ffffff;
  background: linear-gradient(
    45deg,
    var(--primary-theme-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tab-content {
  padding-top: 20px;

  width: 100%;
}

.content {
  display: none;
  gap: 50px;
  position: absolute;
  opacity: 0;
  transition: opacity 0.9s ease; /* smooth fade */
  transform: translateX(100px);
  transition: all 0.4s ease;
}

.tab-desc > p {
  word-spacing: 3px;
  line-height: 28px;
}
.tab-desc {
  padding: 10px;
}

.content.active {
  display: flex;

  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.tab-main-content {
  flex: 4;
}

.tab-img-content {
  flex: 2;

  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('/assets/img/pages/web-dev/web-dev-hero.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 20px;
}
.tab-content-div {
  margin-top: 50px;
  width: 100%;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

#tab-img-content2 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('/assets/img/pages/web-dev/ecomm.jpg');
}
#tab-img-content3 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('/assets/img/pages/web-dev/web-app-back.jpg');
}
#tab-img-content4 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('/assets/img/pages/web-dev/cmsback.jpg');
}
#tab-img-content5 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('/assets/img/pages/web-dev/api.jpg');
}

.icon-text-div {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  border-radius: 20px;
  padding: 30px;
  border-bottom: 10px solid var(--primary-theme-color);
  /* border-top: 10px solid var(--pri-secondary-color); */
}

.icon-text-div .img {
  width: 60px;
  height: 60px;
}
.icon-text-div .img img {
  width: 100%;
}

.tab-img-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.tab-img-content h2 {
  margin-top: auto;
  font-weight: 500 !important;
}

.web-dev-explore-bottom-btn {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  align-items: end;
}
.section-top-header {
  display: flex;
  justify-content: space-between;
}

.section-main-title {
  max-width: 500px;
}

.section-sub-title {
  max-width: 450px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.section-sub-title > p {
  text-align: right;
}
.section-sub-title > button {
  text-align: right;
}

.technology-section-content {
  margin-top: 150px;
  width: 100%;
  min-height: 700px;
  background-color: rgb(17, 17, 17);
  background-image: url('/assets/img/others/footer-map.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  /* padding: 0px !important; */
}
.technology-section-container {
}

.tech-img-div {
  width: 50px;
  height: 50px;
}
.tech-img-div img {
  width: 100%;
}

.all-table-wrap {
  margin-top: -150px;
  display: flex;
  /* gap: 150px; */
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.technology-table {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  border-radius: 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

#t-table1 {
  background-image: linear-gradient(#000000bc, #000000bc),
    url('/assets/img/pages/web-dev/blueRed.jpg');
}
#t-table2 {
  background-image: linear-gradient(#000000bc, #000000bc),
    url('/assets/img/pages/web-dev/abstractRed.jpg');
}
#t-table3 {
  background-image: linear-gradient(#000000a5, #00000099),
    url('/assets/img/pages/web-dev/greenAbs.jpg');
}
#t-table4 {
  background-image: linear-gradient(#000000a5, #00000099),
    url('/assets/img/pages/web-dev/greenAbs.jpg');
}

.t-table-img {
  width: 90px;
  height: 90px;
}

.t-table-img img {
  width: 100%;
}

.technology-table > hr {
  width: 100px;
}

.t-footer {
  text-align: center;
}

.web-tech-stack .full-width-container {
  display: flex;
  border-radius: 20px;
  background-color: var(--text-color-white);
  margin-top: -150px;
  padding: 40px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.tech-stack-title-div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.tech-stack-list-div {
  flex: 3;
}

.tech-tab-container {
  max-width: 700px;
  margin: auto;
}

/* Tabs */
.tech-tabs {
  display: flex;
  justify-content: space-around;

  border-radius: 8px;
  overflow: hidden;
  margin-top: 5px;
}

.tech-tab {
  /* background: transparent; */
  padding-left: 40px !important;
  padding-right: 40px !important;
  color: #ccc;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
  font-size: 16px;
}

.tech-tab.active {
  color: #111;
  font-weight: var(--font-weight-medium);

  border-radius: 30px;
}

.tech-tabs button:hover {
  box-shadow: none;
  transform: translateY(0px);
}

/* Content Area */
.tech-tab-content {
  border-radius: 8px;
  padding: 25px;
  min-height: 220px;
  overflow: hidden;
  position: relative;
}

.tech-content {
  display: none;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.4s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  flex-direction: column;
  gap: 40px;
}

.tech-content.active {
  display: flex;
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.tech-top-list {
  display: flex;
  justify-content: space-between;
}
.tech-bottom-list {
  display: flex;
  justify-content: space-around;
}

.last-section {
  height: 300px;
  border-radius: 20px;
  background-image: linear-gradient(#000000d7, #000000c7),
    url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&q=80&w=1548');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  display: flex;
  padding: 40px;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.last-section-btn {
  display: flex;
  gap: 20px;
}

@media screen and (max-width: 1070px) {
  .content.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
  }

  .technology-table {
    min-width: 300px;
    max-width: max-content;
  }

  .web-tech-stack .full-width-container {
    margin-top: 60px;
    border-radius: 0px;
    background-color: var(--text-color-white);

    padding: 0px;
    box-shadow: none;
    flex-direction: column;
  }
  .tab-desc {
    padding: 0px;
  }

  .section-top-header {
    display: flex;
    flex-direction: column;
  }

  .section-top-header .section-sub-title p {
    text-align: left;
  }
  .section-top-header .section-sub-title {
    align-items: flex-start;
  }

  .technology-section-content {
    background-color: white;
    background-image: none;

    /* padding: 0px !important; */
  }
  .tech-tab {
    /* background: transparent; */
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .parent-tab-div {
    position: relative;
    left: -20px;
    right: -20px;
    width: calc(100% + 40px);
    padding: 25px 20px;
  }

  .hero-title-div {
    width: 85%;
  }

  .hero-title-div h2 {
    line-height: 32px;
  }

  .title-desc {
    width: 85%;
  }
}
