/* Features Container */
.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.feature-sections {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.feature-section {
  margin-bottom: 2rem;
}

.feature-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.5rem;
  text-align: center;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Card Styles */
.tool-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #3b82f6;
}

.tool-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 24px;
}

.tool-card-icon.organize {
  background-color: #fef3c7;
  color: #f59e0b;
}

.tool-card-icon.convertto {
  background-color: #dbeafe;
  color: #3b82f6;
}

.tool-card-icon.convert {
  background-color: #d1fae5;
  color: #10b981;
}

.tool-card-icon.security {
  background-color: #fee2e2;
  color: #ef4444;
}

.tool-card-icon.other {
  background-color: #e0e7ff;
  color: #8b5cf6;
}

.tool-card-icon.advance {
  background-color: #fce7f3;
  color: #ec4899;
}

.tool-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.tool-card-description {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

.tool-card-new-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #ef4444;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cards-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .tool-card {
    padding: 1rem;
  }
  
  .tool-card-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .tool-card-title {
    font-size: 1rem;
  }
  
  .tool-card-description {
    font-size: 0.8rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .cards-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .cards-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

#searchBar {
  color: var(--md-sys-color-on-surface);
  background-color: var(--md-sys-color-surface-container-low);
  width: 100%;
  font-size: 16px;
  margin-bottom: 2rem;
  padding: 0.75rem 3.5rem;
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: 3rem;
  outline-color: var(--md-sys-color-outline-variant);
}

#filtersContainer {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.filter-button {
  color: var(--md-sys-color-secondary);
  user-select: none;
  cursor: pointer;
  transition: transform 0.3s;
  transform-origin: center center;
}

.filter-button:hover {
  transform: scale(1.08);
}

.search-icon {
  position: absolute;
  margin: 0.75rem 1rem;
  border: 0.1rem solid transparent;
}

.favorite-icon {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--md-sys-color-secondary);
}

#tool-icon {
  height: 100%;
}

#tool-text {
  margin: 0.0rem 0 0 1.25rem;
}

.favorite-icon img {
  filter: brightness(0) invert(var(--md-theme-filter-color));
}

.favorite-icon:hover .material-symbols-rounded {
  transform: scale(1.2);
}

.favorite-icon .material-symbols-rounded.fill{
  color: #f5c000;
}

.jumbotron {
  padding: 3rem 3rem;
  /* Reduce vertical padding */
}

.lookatme {
  opacity: 1;
  position: relative;
  display: inline-block;
}

.lookatme::after {
  color: #e33100;
  text-shadow: 0 0 5px #e33100;
  /* in the html, the data-lookatme-text attribute must */
  /* contain the same text as the .lookatme element */
  content: attr(data-lookatme-text);
  padding: inherit;
  position: absolute;
  inset: 0 0 0 0;
  z-index: 1;
  /* 20 steps / 2 seconds = 10fps */
  -webkit-animation: 2s infinite Pulse steps(20);
  animation: 2s infinite Pulse steps(20);
}

.newfeature{
  min-width:12rem;
}
.recent-features{
  display: flex;
  flex-direction: row;
  max-width: 100%;
  overflow: hidden;
  justify-content: center;

}

 .close-icon {
  color: var(--favourite-remove) !important;
}
 .add-icon {
  color: var(--favourite-add) !important;
}
