.category-page-header h1,
.category-section h2,
.visit-btn {
  font-family: var(--font-family);
}
.category-btn,
.category-item,
.visit-btn {
  text-decoration: none;
}
.subcribe-box .subscribe-btn,
.subcribe-box input[type="email"] {
  font-size: clamp(16px, 2vw, 20px);
  box-sizing: border-box;
  line-height: 1.5;
}
.category-page-container {
  overflow-x: hidden;
}
.container-wrapper,
.header-wrapper {
  max-width: 1340px;
  margin: 0 auto;
  font-family: var(--font-family);
  padding: 0;
  box-sizing: border-box;
  position: relative;
}
.category-breadcrumbs {
  width: 1340px;
  margin: 0 auto;
  padding-top: 30px;
}
.category-page-header {
  text-align: center;
  padding: clamp(20px, 5vw, 60px);
  margin-bottom: 20px;
  border-radius: 8px;
  position: relative;
}
.blob-1,
.blob-2,
.blob-3,
.blob-4,
.blob-5,
.blob-6,
.blob-7 {
  position: absolute;
  width: 600px;
  height: 600px;
  object-fit: cover;
  z-index: -1;
}
.category-page-header .blob-1 {
  top: -270px;
  right: -195px;
}
.category-page-header .blob-2 {
  bottom: -170px;
  left: -190px;
}
.container-wrapper .blob-3 {
  top: 130px;
  right: -270px;
}
.container-wrapper .blob-1 {
  top: 15%;
  left: -410px;
}
.container-wrapper .blob-2 {
  top: 30%;
  right: -270px;
}
.container-wrapper .blob-4 {
  top: 45%;
  left: -410px;
}
.container-wrapper .blob-5 {
  top: 60%;
  right: -270px;
}
.container-wrapper .blob-6 {
  top: 75%;
  left: -410px;
}
.container-wrapper .blob-7 {
  top: 90%;
  right: -270px;
}
.header-wrapper .blob {
  position: absolute;
  top: 0;
  left: 30px;
  width: 120px;
  z-index: -1;
}
.header-wrapper .star {
  position: absolute;
  top: 145px;
  left: -25px;
  width: 35px;
  z-index: -1;
}
.header-wrapper .arrow {
  position: absolute;
  top: -20px;
  right: -30px;
  width: 250px;
  z-index: -1;
}
.category-page-header h1 {
  font-size: clamp(24px, 8vw, 45px);
  font-weight: 800;
  color: #000;
  margin: 0;
}
.category-page-header h1 span.classic {
  color: #ef457e;
  background: url("../dotted-category-border.webp") center/contain no-repeat;
  padding: 20px;
}
.category-page-header p {
  font-size: clamp(16px, 3vw, 24px);
  font-weight: 500;
  color: #000;
  margin: clamp(5px, 2vw, 10px) 0;
}
.category-buttons {
  display: flex;
  justify-content: center;
  gap: clamp(5px, 2vw, 10px);
  flex-wrap: wrap;
  margin-top: clamp(20px, 3vw, 50px);
}
.category-btn {
  padding: clamp(5px, 2vw, 8px) clamp(10px, 2vw, 15px);
  border: 1px solid #0099f6;
  border-radius: 12px;
  color: #0099f6;
  font-weight: 700;
  background: rgba(0, 153, 246, 0.2);
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
  font-size: clamp(12px, 2vw, 16px);
}
.category-btn:hover {
  background: #fff;
  color: #0099f6;
  border: 1px solid #0099f6;
}
.btn-row {
  text-align: right;
}
.visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: clamp(5px, 1.5vw, 8px) clamp(10px, 2vw, 16px);
  background: #0099f6;
  color: #fff;
  border-radius: 8px;
  font-size: clamp(12px, 2vw, 14px);
  font-weight: 600;
  transition: background 0.3s;
}
.visit-btn:hover {
  background: #008de4;
}
.category-item,
.category-item:hover {
  background: linear-gradient(white, #fff) padding-box,
    linear-gradient(
        90deg,
        rgba(255, 213, 77, 0.6) 0,
        rgba(239, 69, 126, 0.6) 50%,
        rgba(0, 152, 246, 0.6) 100%
      )
      border-box;
}
.container-wrapper
  .featured-tool-container
  .featured-tools
  .featured-tool-card {
  box-shadow: unset;
}
.category-section {
  margin-bottom: clamp(20px, 5vw, 40px);
}
.category-section h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 900;
  margin-bottom: clamp(5px, 2vw, 5px);
  padding-bottom: clamp(8px, 1vw, 12px);
  color: #000;
}
.subcribe-box h2,
.subcribe-box h3 {
  margin: 0 0 clamp(0.5rem, 1vw, 1rem);
  font-family: var(--font-family);
}
.category-items {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(clamp(250px, 40vw, 333px), 1fr)
  );
  gap: clamp(5px, 2vw, 10px);
}
.category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(5px, 2vw, 10px);
  border-radius: 0.75em;
  border: 0.5px solid transparent;
  color: #333;
  transition: background 0.2s;
}
.category-item .arrow-count-wrapper {
  display: flex;
  align-items: center;
  gap: clamp(5px, 3vw, 8px);
  transition: 1s;
}
.category-item:hover {
  border-radius: 0.75em;
  border: 0.5px solid transparent;
}
.category-item:hover .arrow-count-wrapper {
  transform: translateX(5px);
}
.category-name {
  font-weight: 500;
  font-size: clamp(14px, 2.5vw, 16px);
}
.category-count {
  background: #f0f1f3;
  color: #6c7275;
  border-radius: 5px;
  padding: clamp(2px, 1vw, 4px) clamp(4px, 1vw, 8px);
  font-size: clamp(12px, 2vw, 14px);
}
.subcribe-box {
  margin: clamp(30px, 5vw, 80px) auto;
  background: #ffd44d;
  padding: clamp(30px, 5vw, 50px) clamp(20px, 3vw, 30px);
  border-radius: 25px;
  text-align: center;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}
.subcribe-box h3 {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 600;
  color: #ef457e;
}
.subcribe-box h2 {
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 800;
}
.subcribe-box form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 2vw, 15px);
  margin-top: clamp(15px, 3vw, 25px);
  flex-wrap: wrap;
}
.subcribe-box input[type="email"] {
  width: 100%;
  max-width: clamp(250px, 40vw, 600px);
  background: linear-gradient(white, #fff) padding-box,
    linear-gradient(90deg, #ffd44d 0, #ef457e 50%, #0099f6 100%) border-box;
  border: 0.5px solid transparent;
  border-radius: 8px;
  font-family: var(--font-family);
  font-weight: 400;
  padding: clamp(8px, 1.5vw, 15px) clamp(10px, 2vw, 12px);
  box-shadow: 0px 2.13px 5.33px 0px rgba(0, 0, 0, 0.25);
}
.subcribe-box img.ornament-1,
.subcribe-box img.ornament-2 {
  position: absolute;
  width: clamp(30px, 8vw, 80px);
  height: clamp(30px, 8vw, 80px);
}
.subcribe-box .subscribe-btn {
  border: none;
  border-radius: 8px;
  background: #0099f6;
  color: #fff;
  font-weight: 700;
  text-transform: capitalize;
  cursor: pointer;
  padding: clamp(12px, 1.5vw, 15px) clamp(15px, 2vw, 20px);
}
.subcribe-box img.ornament-1 {
  top: 0;
  left: 0;
}
.subcribe-box img.ornament-2 {
  bottom: 0;
  right: 0;
}
@media (max-width: 1024px) {
  .category-breadcrumbs,
  .category-page-header,
  .container-wrapper {
    padding: clamp(15px, 4vw, 20px);
  }
  .category-page-header {
    padding: 40px 20px;
  }
  .category-page-header .blob {
    top: 70px;
    left: 50px;
    width: 80px;
    height: 80px;
  }
  .category-page-header .arrow {
    top: 20px;
    width: 150px;
    height: 70px;
  }
  .category-buttons {
    align-items: center;
    gap: 8px;
  }
  .category-btn {
    margin-bottom: clamp(5px, 1vw, 10px);
    padding: 5px 8px;
    font-size: clamp(10px, 2vw, 12px);
    border-radius: 5px;
  }
  .category-items {
    grid-template-columns: repeat(
      auto-fill,
      minmax(clamp(150px, 35vw, 333px), 1fr)
    );
  }
  .subcribe-box {
    padding: clamp(15px, 4vw, 25px);
  }
}
@media (max-width: 768px) {
  .category-breadcrumbs,
  .category-page-header,
  .container-wrapper {
    padding: clamp(15px, 4vw, 20px);
  }
  .container-wrapper .featured-tool-container {
    padding: 50px 0 !important;
  }
  .container-wrapper
    .featured-tool-container
    .featured-tool-header
    .featured-tool-title {
    font-size: 27px;
    font-weight: 800;
  }
  .header-wrapper .blob {
    top: 0;
    left: 0;
  }
  .header-wrapper .star {
    top: 175px;
    left: 0;
  }
  .header-wrapper .arrow {
    top: -10px;
  }
  .category-page-header h1 {
    font-size: clamp(18px, 6vw, 30px);
  }
  .category-page-header p {
    font-size: clamp(12px, 2.5vw, 14px);
  }
  .featured-tools-wrapper h2 {
    font-size: clamp(16px, 4vw, 24px);
  }
  .category-section h2 {
    font-size: clamp(18px, 3.5vw, 22px);
  }
  .subcribe-box form {
    flex-direction: column;
  }
  .subcribe-box input[type="email"] {
    margin-bottom: clamp(5px, 1.5vw, 10px);
  }
}
@media (max-width: 480px) {
  .breadcrumbs {
    font-size: 16px;
  }
  .blob-1,
  .blob-2,
  .blob-3,
  .blob-4,
  .blob-5,
  .blob-6,
  .blob-7 {
    width: 320px;
    height: 320px;
  }
  .category-page-header .blob-1 {
    top: -200px;
    right: -115px;
    width: 320px;
    height: 320px;
  }
  .container-wrapper .blob-3 {
    top: 130px;
    right: -140px;
  }
  .container-wrapper .blob-1,
  .container-wrapper .blob-6 {
    left: -85px;
  }
  .container-wrapper .blob-2,
  .container-wrapper .blob-5,
  .container-wrapper .blob-7 {
    right: -115px;
  }
  .container-wrapper .blob-4 {
    left: -140px;
  }
  .category-page-container {
    padding: 0 10px;
  }
  .category-page-header {
    padding: clamp(10px, 3vw, 20px);
  }
  .category-page-header .blob-2 {
    width: 320px;
    height: 320px;
    bottom: -70px;
    left: -150px;
  }
  .header-wrapper .blob {
    top: 50px;
    left: 0;
    width: 50px;
    height: 50px;
  }
  .header-wrapper .star {
    top: 125px;
    left: -10px;
    width: 20px;
  }
  .header-wrapper .arrow {
    top: 45px;
    right: 0;
    width: 75px;
    object-fit: contain;
  }
  .category-page-header h1 {
    font-size: 35px;
    font-weight: 800;
  }
  .category-page-header p {
    font-size: clamp(14px, 2.5vw, 16px);
  }
  .category-buttons {
    gap: 5px;
  }
  .category-btn {
    padding: 2px 5px;
    font-size: clamp(10px, 2vw, 12px);
    border-radius: 5px;
  }
  .category-items,
  .featured-tools {
    grid-template-columns: 1fr;
  }
  .subcribe-box {
    padding: clamp(10px, 3vw, 15px);
    margin: clamp(15px, 4vw, 25px) auto;
  }
  .subcribe-box h3 {
    font-size: clamp(12px, 3vw, 16px);
  }
  .subcribe-box h2 {
    font-size: clamp(16px, 3.5vw, 20px);
  }
}
