@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Categories Section Wrapper */
.categories-section {
  margin: 0 auto;
  padding: 0 0;
}

.categories-header {
  margin-bottom: 30px;
  text-align: center;
}

.categories-main-title {
  font-family: var(--homepage-heading-font, 'Lato', sans-serif);
  font-size: 38px;
  font-weight: var(--homepage-heading-weight, 700);
  line-height: 45.6px;
  font-style: normal;
  color: #0c2737;
  margin: 0;
}

/* Categories New Section Styles - Unique Class Names */
.categories-new-container {
  margin: 0 auto;
  padding: 0 24px;
}

.categories-new-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.categories-new-card {
  height: 367px;
  background: #f8f9fa;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 65px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.categories-new-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(37, 99, 235, 0.12) 100%);
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.categories-new-card:hover .categories-new-icon {
  color: #3b82f6;
}

.categories-new-card-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(37, 99, 235, 0.12) 100%);
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.categories-new-card-gray {
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
}

.categories-new-icon {
  width: 85px;
  height: 85px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.25);
border-radius: 42.5px;
  align-self: flex-end;
}
.categories-new-icon img {
  width: 46px;
  height: 46px;
}
.categories-new-card-blue .categories-new-icon {
  color: #3b82f6;
}

.categories-new-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.categories-new-title {
  font-family: var(--homepage-copy-font, 'Lato', sans-serif);
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
  margin-top: 16%;
}

.categories-new-description {
  font-family: var(--homepage-copy-font, 'Lato', sans-serif);
  font-size: 16px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.5;
  flex: 1;
  margin: 0;
}

.categories-new-stats {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.categories-new-stats-label {
  font-family: var(--homepage-copy-font, 'Lato', sans-serif);
  font-size: 14px;
  font-weight: 400;
  color: #9ca3af;
}

.categories-new-stats-dot {
  color: #d1d5db;
  font-size: 12px;
}

.categories-new-stats-number {
  font-family: var(--homepage-copy-font, 'Lato', sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

.categories-main-title {
  text-align: left;
}

/* Responsive design */
@media (max-width: 768px) {
  .categories-section {
    margin: -15px auto;
    padding: 0 16px;
  }

  .categories-header {
    margin-bottom: 10px;
  }

  .categories-main-title {
    font-size: 28px;
  }

  .categories-new-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .categories-new-container {
    padding: 0 0;
  }

  .categories-new-card {
    height: 310px;
    padding: 16px;
  }
  .categories-new-icon{
    width: 60px;
    height: 60px;
  }

  .categories-new-icon img {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .categories-section {
    margin: -15px auto;
  }

  .categories-main-title {
    font-size: 22px;
  }

  .categories-new-title {
    font-size: 16px;
  }

  .categories-new-description {
    font-size: 13px;
  }

  .categories-new-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (min-width: 769px) {
  .categories-new-container {
    border-radius: 21px;
    background-color: white;
    width: 100%;
    padding: 24px;
  }
}