.nav-left .registers-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #8257E6, #C054FF, #E65ACF);
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(130, 87, 230, 0.25);
  animation: pulses 2s infinite;
}

@keyframes pulses {
  0% {
      box-shadow: 0 4px 15px rgba(130, 87, 230, 0.25);
  }
  50% {
      box-shadow: 0 4px 25px rgba(130, 87, 230, 0.4);
  }
  100% {
      box-shadow: 0 4px 15px rgba(130, 87, 230, 0.25);
  }
}

.nav-left .registers-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(130, 87, 230, 0.35);
}

.nav-left .registers-btn i {
  font-size: 1.2em;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-3px);
  }
}

.registers-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.registers-btn:hover::before {
  left: 100%;
}

.registers-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}


/* actual design starts here */
.cards-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.main-title {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 40px;
  font-size: 2.5em;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.main-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #e74c3c, #2980b9);
  border-radius: 2px;
}

.category-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #f8f9fa;
  color: #2c3e50;
  border: 2px solid #e9ecef;
  padding: 10px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: #2c3e50;
  color: white;
  border-color: #2c3e50;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* Trust Schemes Grid */
#trustSchemesGrid {
  columns: 3;
  column-gap: 10px;
  padding: 10px;
}

/* Trust Scheme Item Styles */
.scheme-item {
  break-inside: avoid;
  margin-bottom: 10px;
  position: relative;
  height: 500px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.scheme-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.scheme-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.scheme-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
  opacity: 0.85;
}

.scheme-overlay {
  position: absolute;
  inset: 0;
  padding: 20px;
  background: linear-gradient(
      to bottom,
      transparent 50%,
      rgba(0, 0, 0, 0.7) 80%,
      rgba(0, 0, 0, 0.9) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: all 0.4s ease;
}

.scheme-title {
  color: white;
  font-size: 1.5em;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.scheme-item:hover .scheme-image img {
  transform: scale(1.05);
  opacity: 1;
}

.scheme-item:hover .scheme-overlay {
  opacity: 1;
}

.scheme-item:hover .scheme-title {
  transform: translateY(0);
}

/* Original Card Styles */
.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

.card-content {
  padding: 20px;
}

.card-title {
  color: #2c3e50;
  margin: 0 0 15px 0;
  font-size: 1.3em;
  font-weight: 700;
}

.card-details {
  margin-bottom: 20px;
}

.detail-item {
  display: flex;
  align-items: center;
  color: #666;
  font-size: 14px;
  margin: 8px 0;
}

.detail-item img {
  margin-right: 10px;
  opacity: 0.7;
}

.card-description {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.action-btn {
  width: 100%;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  background: #2c3e50;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent
  );
  transition: left 0.5s ease;
}

.action-btn:hover::before {
  left: 100%;
}

.scholarship-btn { background: #e74c3c; }
.view-more-btn { background: #2980b9; }
.event-btn { background: #27ae60; }
.view-schemes-btn { background: #8e44ad; }
.trust-scheme-btn { background: #8e44ad; }

.expanded-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #e9ecef;
}

.expanded-section:not(.hidden) {
  animation: expandSection 0.6s ease forwards;
}

@keyframes expandSection {
  from {
      opacity: 0;
      transform: scale(0.95);
  }
  to {
      opacity: 1;
      transform: scale(1);
  }
}

.section-title {
  color: #2c3e50;
  margin-bottom: 30px;
  font-size: 1.8em;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: currentColor;
}

.hidden {
  display: none;
}

[data-category].filtered-out {
  display: none;
}

@media (max-width: 1200px) {
  #trustSchemesGrid {
      columns: 2;
  }
}

@media (max-width: 768px) {
  .cards-grid {
      grid-template-columns: 1fr;
  }
  
  .category-filter {
      padding: 0 10px;
  }
  
  .filter-btn {
      padding: 8px 20px;
      font-size: 14px;
  }

  #trustSchemesGrid {
      columns: 1;
  }

  .scheme-item {
      height: 400px;
  }
}