/* Tips Page Styles */
.tips-hero {
  background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.tips-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.tips-hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.tips-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Tips Grid Section */
.tips-grid {
  padding: 4rem 0;
}

.tips-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border: 2px solid #4e4376;
  border-radius: 25px;
  background: transparent;
  color: #4e4376;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #4e4376;
  color: white;
}

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

.tip-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-5px);
}

.tip-content {
  padding: 1.5rem;
}

.tip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.tip-header h3 {
  font-size: 1.2rem;
  color: #2b5876;
  margin: 0;
}

.tip-category {
  background: #f0f0f0;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  color: #4e4376;
}

.tip-content p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.tip-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tip-points li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #4e4376;
}

.tip-points li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #4e4376;
}

/* CTA Section */
.cta-section {
  background: #f8f9fa;
  padding: 4rem 0;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2rem;
  color: #2b5876;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .tips-hero h2 {
    font-size: 2rem;
  }

  .tips-hero p {
    font-size: 1rem;
  }

  .tips-container {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
