:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --text-color: #1f2937;
  --light-text: #6b7280;
  --background: #ffffff;
  --light-background: #f3f4f6;
  --border-color: #e5e7eb;
  --scroll-indicator-height: 4px;
  --scroll-indicator-color: linear-gradient(90deg, var(--primary-color), #ec4899);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

/* Navigation */
header {
  background: var(--background);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.auth-buttons {
  display: none;
}

.spacing {
  width: 200px;
}

/* Buttons */
button {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

button:not(.primary) {
  background: var(--light-background);
  color: var(--text-color);
}

button.primary {
  background: var(--primary-color);
  color: white;
}

button:hover {
  opacity: 0.9;
}

/* Hero Section */
.hero {
  margin-top: 64px;
  position: relative;
  padding: 4rem 2rem;
  overflow: hidden;
  background: linear-gradient(to bottom, #ffffff, rgba(37, 99, 235, 0.05));
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-bg-animation {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Update hero content to center vertically */
.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 1rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.gradient-text {
  background: linear-gradient(45deg, var(--primary-color), #4f46e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--light-text);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.subscribe-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 2rem;
  transform: scale(1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.subscribe-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.explore-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: white;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.explore-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.explore-btn:hover .explore-icon {
  transform: translateX(4px);
}

.explore-icon {
  transition: transform 0.3s ease;
}

/* Adjust hero stats position */
.hero-stats {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  position: relative;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.stat-info {
  text-align: left;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-color);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--light-text);
}

.stat-separator {
  width: 1px;
  height: 48px;
  background: var(--border-color);
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 1rem;
    min-height: 50vh;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

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

  .hero-stats {
    padding: 1rem;
    margin-top: 1.5rem;
  }

  .hero-content {
    padding: 1rem 0;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-separator {
    width: 80%;
    height: 1px;
  }

  .stat-item {
    width: 100%;
    justify-content: center;
  }
}

/* Posts Grid */
.featured-posts {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1rem;
}

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

.post-card {
  background: var(--background);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.post-card:hover {
  transform: translateY(-4px);
}

.post-image {
  width: 100%;
  height: 200px;
  background: var(--light-background);
}

.post-content {
  padding: 1.5rem;
}

.post-category {
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 500;
}

.post-title {
  margin: 0.5rem 0;
  font-size: 1.25rem;
}

.post-excerpt {
  color: var(--light-text);
  font-size: 0.875rem;
}

/* Categories Section Refinements */
.category {
  position: relative;
  margin-bottom: 6rem;
  background: var(--background);
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 1.5rem 1.5rem 0 0;
}

.category-header {
  margin-bottom: 2rem;
}

.category-title-wrapper {
  display: flex;
  align-items: center;
}

.category-title-wrapper h2 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.category-filter {
  display: none;
}

.category-actions {
  display: none;
}

.category-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding: 0.5rem;
  background: var(--light-background);
  border-radius: 1rem;
  position: relative;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  padding: 1rem 2rem;
  background: transparent;
  color: var(--light-text);
  font-weight: 600;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.category-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: 0.75rem;
}

.category-tab:hover::before {
  opacity: 0.1;
}

.category-tab.active {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.category-tab.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
}

.tab-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

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

@media (max-width: 768px) {
  .tab-cards-container {
    grid-template-columns: 1fr;
  }
}

.tab-card {
  background: var(--background);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tab-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.tab-card.high-importance {
  border: 2px solid var(--primary-color);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.15);
}

.tab-card-image {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.25rem;
}

.tab-card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, 
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.4)
  );
  z-index: 1;
}

.tab-card-category, .priority-tag {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.priority-tag i {
  color: #FFD700;
}

.tab-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 1)
  );
}

.tab-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.4;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tab-card-excerpt {
  color: var(--light-text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.tab-card-meta {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.author-info i {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.author-info span {
  font-weight: 600;
  color: var(--text-color);
}

.article-stats {
  display: flex;
  gap: 1rem;
  color: var(--light-text);
  font-size: 0.875rem;
}

.article-stats span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.publish-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--light-text);
  font-size: 0.875rem;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.share-btn, .bookmark-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-background);
  color: var(--text-color);
  transition: all 0.3s ease;
}

.share-btn:hover, .bookmark-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.read-more-btn {
  padding: 0.75rem 1.25rem;
  background: var(--primary-color);
  color: white;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.read-more-btn::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(37, 99, 235, 0.25);
}

.read-more-btn:hover::after {
  transform: translateX(4px);
}

.read-more-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(37, 99, 235, 0.2);
}

.read-more-btn::before {
  display: none;
}

.read-more-btn:hover {
  padding: 0.75rem 1.25rem;
}

/* Category News Section Refinements */
.category-news {
  background: var(--background);
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.category-news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.category-news h3 {
  color: var(--text-color);
  margin: 0;
  font-size: 1.5rem;
}

.view-all {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Posts List Refinements */
.posts-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.category-post-card {
  background: var(--background);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.category-post-card:hover {
  transform: translateY(-4px);
}

.category-post-image {
  height: 200px;
  background: var(--light-background);
  position: relative;
}

.category-post-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.category-post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  color: var(--light-text);
  font-size: 0.875rem;
}

.category-stats {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--background);
  padding: 1.5rem;
  border-radius: 0.5rem;
  flex: 1;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--light-text);
  font-size: 0.875rem;
}

/* News Section */
.news-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1rem;
}

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

.news-card {
  background: var(--background);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
}

.news-image {
  width: 100%;
  height: 200px;
  background: var(--light-background);
  position: relative;
  overflow: hidden;
}

.breaking-news {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #dc2626;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.news-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-timestamp {
  color: var(--light-text);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.news-summary {
  color: var(--light-text);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.news-source {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.875rem;
}

/* Topic Cards */
.topic-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.topic-card {
  background: var(--background);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  gap: 1rem;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.topic-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.topic-content {
  flex: 1;
}

.topic-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  color: var(--text-color);
}

.topic-content p {
  color: var(--light-text);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.topic-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.topic-stats span {
  color: var(--light-text);
}

.view-topic {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  background: var(--primary-color);
  color: white;
  border-radius: 0.375rem;
}

/* Tab Cards Styles */
.tab-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

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

@media (max-width: 768px) {
  .tab-cards-container {
    grid-template-columns: 1fr;
  }
}

.tab-card {
  width: 100%;
  margin-bottom: 0;
  background: var(--background);
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.tab-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tab-card-content {
  padding: 1.5rem;
}

.tab-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-color);
}

.tab-card-excerpt {
  color: var(--light-text);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.tab-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--light-text);
}

.tab-card-stats {
  display: flex;
  gap: 1rem;
}

.tab-card-stats span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.tab-card-date {
  font-weight: 500;
}

/* Modal */
.modal {
  display: none;
}

.modal-content {
  display: none;
}

/* Footer */
footer {
  background: var(--light-background);
  padding: 4rem 1rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-color);
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--light-text);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

/* Add smooth scrolling behavior */
html {
  scroll-behavior: smooth;
}

/* Add loading animation for tab content */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* News Page Specific Styles */
.news-page {
  padding-top: 64px;
  background: var(--light-background);
}

.news-hero {
  background: linear-gradient(45deg, rgba(37, 99, 235, 0.1), rgba(30, 64, 175, 0.05));
  padding: 4rem 1rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.news-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.news-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.news-hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  line-height: 1.2;
  font-weight: 800;
}

.news-hero p {
  font-size: 1.25rem;
  color: var(--light-text);
  max-width: 600px;
  margin: 0 auto;
}

.news-filters {
  max-width: 1200px;
  margin: -2rem auto 2rem;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.filter-container {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: var(--background);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--light-text);
  font-weight: 600;
  font-size: 0.875rem;
}

.news-filter {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  background: var(--background);
  color: var(--text-color);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}

.news-filter:hover,
.news-filter:focus {
  border-color: var(--primary-color);
  outline: none;
}

.featured-news {
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.featured-news h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 1rem;
}

.featured-news h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--primary-color);
  border-radius: 2px;
}

.breaking-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.news-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 2rem;
}

.news-sidebar {
  position: sticky;
  top: 80px;
  height: fit-content;
}

.trending-section,
.popular-section {
  background: var(--background);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.trending-section h3,
.popular-section h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.trending-section h3::after,
.popular-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 1.5px;
}

.trending-topics {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trend-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--light-background);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.trend-item:hover {
  transform: translateX(4px);
  background: rgba(37, 99, 235, 0.1);
}

.trend-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-color);
  min-width: 28px;
}

.trend-topic {
  font-weight: 600;
  flex: 1;
}

.trend-mentions {
  font-size: 0.875rem;
  color: var(--light-text);
}

.popular-articles {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.popular-article {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
  background: var(--light-background);
}

.popular-article:hover {
  transform: translateY(-4px);
  background: rgba(37, 99, 235, 0.1);
}

.article-meta {
  flex: 1;
}

.article-title {
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.article-info {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--light-text);
}

.article-info span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.news-categories {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1rem;
}

.category-section {
  margin-bottom: 3rem;
  background: var(--background);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.category-section h2 {
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1rem;
  font-size: 1.75rem;
}

.category-section h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--primary-color);
  border-radius: 2px;
}

@media (max-width: 1024px) {
  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }

  .trending-section,
  .popular-section {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .news-hero h1 {
    font-size: 2rem;
  }

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

  .filter-container {
    flex-direction: column;
  }

  .filter-group {
    width: 100%;
  }

  .breaking-news-grid {
    grid-template-columns: 1fr;
  }

  .news-sidebar {
    grid-template-columns: 1fr;
  }
}

/* Animation for news cards */
@keyframes newsCardIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-card {
  animation: newsCardIn 0.5s ease-out forwards;
  opacity: 0;
}

.news-card:nth-child(2) { animation-delay: 0.1s; }
.news-card:nth-child(3) { animation-delay: 0.2s; }
.news-card:nth-child(4) { animation-delay: 0.3s; }

.latest-news-card {
  background: var(--background);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.latest-news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.card-media {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.latest-news-card:hover .card-image {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.latest-news-card:hover .card-overlay {
  opacity: 1;
}

.breaking-tag,
.trending-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  z-index: 2;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breaking-tag {
  background: rgba(220, 38, 38, 0.9);
}

.trending-tag {
  background: rgba(37, 99, 235, 0.9);
}

.breaking-tag::before,
.trending-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.card-content {
  padding: 1.5rem;
}

.card-meta {
  display: flex;
  gap: 1rem;
  color: var(--light-text);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.card-excerpt {
  color: var(--light-text);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.source-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.source-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.source-name {
  font-weight: 600;
  color: var(--text-color);
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-background);
  color: var(--text-color);
  transition: all 0.3s ease;
  position: relative;
}

.action-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.tooltip {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.action-btn:hover .tooltip {
  opacity: 1;
  visibility: visible;
  bottom: -25px;
}

.read-more-btn {
  padding: 0.75rem 1.25rem;
  background: var(--primary-color);
  color: white;
  border-radius: 2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.read-more-btn::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(37, 99, 235, 0.25);
}

.read-more-btn:hover::after {
  transform: translateX(4px);
}

.read-more-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(37, 99, 235, 0.2);
}

@keyframes buttonClick {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

.read-more-btn:active {
  animation: buttonClick 0.2s ease-out;
}

@media (max-width: 768px) {
  .card-footer {
    flex-direction: column;
    gap: 1rem;
  }
  
  .card-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .read-more-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Add smooth entrance animation for cards */
.latest-news-card {
  opacity: 0;
  transform: translateY(20px);
  animation: cardEntrance 0.5s ease forwards;
}

@keyframes cardEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.latest-news-card:nth-child(2) { animation-delay: 0.1s; }
.latest-news-card:nth-child(3) { animation-delay: 0.2s; }
.latest-news-card:nth-child(4) { animation-delay: 0.3s; }
.latest-news-card:nth-child(5) { animation-delay: 0.4s; }
.latest-news-card:nth-child(6) { animation-delay: 0.5s; }

.category-footer {
  margin-top: 2rem;
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.view-all-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: 1;
}

.view-all-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.view-all-btn:hover::before {
  width: 300px;
  height: 300px;
}

.view-all-btn .btn-arrow {
  width: 20px;
  height: 20px;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: transform 0.3s ease;
}

.view-all-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.view-all-btn:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

@keyframes buttonClick {
  0% { transform: scale(1) translateY(-4px); }
  50% { transform: scale(0.95) translateY(-2px); }
  100% { transform: scale(1) translateY(-4px); }
}

.view-all-btn:active {
  animation: buttonClick 0.2s ease-out;
}

#finance .view-all-btn {
  background: linear-gradient(45deg, #1a365d, #2563eb);
}

#crypto .view-all-btn {
  background: linear-gradient(45deg, #831843, #ec4899);
}

#startup .view-all-btn {
  background: linear-gradient(45deg, #065f46, #10b981);
}

/* News Card Animations */
@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: cardEntrance 0.5s ease forwards;
}

.news-card {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.news-card:nth-child(2) { transition-delay: 0.1s; }
.news-card:nth-child(3) { transition-delay: 0.2s; }
.news-card:nth-child(4) { transition-delay: 0.3s; }
.news-card:nth-child(5) { transition-delay: 0.4s; }
.news-card:nth-child(6) { transition-delay: 0.5s; }

/* Enhanced News Card Styles */
.latest-news-card {
  background: var(--background);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.latest-news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.card-media {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.latest-news-card:hover .card-image {
  transform: scale(1.05);
}

.breaking-tag,
.trending-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  z-index: 2;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breaking-tag {
  background: rgba(220, 38, 38, 0.9);
}

.trending-tag {
  background: rgba(37, 99, 235, 0.9);
}

.breaking-tag::before,
.trending-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

/* Enhanced Filter Styles */
.news-filters {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 3rem;
}

.filter-container {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.filter-group {
  flex: 1;
}

.filter-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-color);
}

.news-filter {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-color);
  background: white;
  transition: all 0.3s ease;
}

.news-filter:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Enhanced Sidebar Styles */
.trending-section,
.popular-section {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.trending-topic,
.popular-article {
  padding: 1rem;
  border-radius: 0.5rem;
  background: var(--light-background);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.trending-topic:hover,
.popular-article:hover {
  transform: translateX(8px);
  background: rgba(37, 99, 235, 0.1);
}

/* Read More Button Animation */
.read-more-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.read-more-btn::after {
  content: '→';
  position: absolute;
  right: 1rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.read-more-btn:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.read-more-btn:hover {
  padding-right: 2.5rem;
}

.scroll-indicator-container {
  position: fixed;
  top: 64px;
  left: 0;
  width: 100%;
  height: var(--scroll-indicator-height);
  background: rgba(0, 0, 0, 0.05);
  z-index: 999;
}

.scroll-indicator-bar {
  height: 100%;
  background: var(--scroll-indicator-color);
  width: 0%;
  transition: width 0.1s ease;
  position: relative;
}

.scroll-indicator-bar::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ec4899;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
  animation: pulseScroll 2s infinite;
}

@keyframes pulseScroll {
  0% {
    box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.5);
  }
  70% {
    box-shadow: 0 0 10px 10px rgba(236, 72, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(236, 72, 153, 0);
  }
}







/* about page css */
/* About Page Styles */
.about-page {
  padding-top: 64px;
}

/* Hero Section */
.about-hero {
  background: linear-gradient(45deg, rgba(37, 99, 235, 0.1), rgba(30, 64, 175, 0.05));
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  font-weight: 800;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-hero p {
  font-size: 1.5rem;
  color: var(--light-text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Story Section */
.about-story {
  padding: 6rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-text h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.story-text p {
  font-size: 1.1rem;
  color: var(--light-text);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.story-animation {
  position: relative;
}

.growth-chart {
  width: 100%;
  height: auto;
}

.chart-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 2s ease forwards;
}

.chart-point {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

.chart-point:nth-child(2) { animation-delay: 0.5s; }
.chart-point:nth-child(3) { animation-delay: 1s; }
.chart-point:nth-child(4) { animation-delay: 1.5s; }

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Values Section */
.about-values {
  padding: 6rem 2rem;
  background: var(--light-background);
}

.about-values h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: var(--text-color);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--primary-color);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  transition: all 0.3s ease;
}

.value-card:hover .value-icon {
  transform: rotate(360deg) scale(1.1);
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.value-card p {
  color: var(--light-text);
  line-height: 1.6;
}

/* Team Section */
.about-team {
  padding: 6rem 2rem;
}

.about-team h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: var(--text-color);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.team-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-color);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.team-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-bio {
  color: var(--light-text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team-social a {
  color: var(--light-text);
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.team-social a:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Stats Section */
.about-stats {
  padding: 6rem 2rem;
  background: linear-gradient(45deg, rgba(37, 99, 235, 0.1), rgba(30, 64, 175, 0.05));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--light-text);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Contact Section */
.about-contact {
  padding: 6rem 2rem;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-text {
  margin-bottom: 3rem;
}

.contact-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.contact-text p {
  color: var(--light-text);
  font-size: 1.1rem;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2.5rem;
  }
  
  .about-hero p {
    font-size: 1.25rem;
  }
  
  .story-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .story-animation {
    order: -1;
  }
  
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}





//* Article Page Styles */
.article-page {
  padding-top: 64px;
  position: relative;
  max-width: 100vw;
  overflow-x: hidden;
}

/* Progress Bar */
.article-progress-bar {
  position: fixed;
  top: 64px;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 100;
}

.article-progress-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), #ec4899);
  width: var(--scroll-width, 0%);
  transition: width 0.1s ease;
}

/* Article Header */
.article-header {
  background: linear-gradient(to bottom, rgba(37, 99, 235, 0.1), rgba(255, 255, 255, 1));
  padding: 4rem 1rem 2rem;
  text-align: center;
  position: relative;
  width: 100%;
}

.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--light-text);
}

.article-category a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 2rem;
  transition: all 0.3s ease;
}

.article-category a:hover {
  background: var(--primary-color);
  color: white;
}

.article-date,
.article-reading-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 2rem;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.article-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.author-info h3 {
  font-size: 1.25rem;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--light-text);
  font-size: 0.95rem;
}

/* Article Container */
.article-container {
  max-width: min(1200px, 95%);
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr);
  gap: 2rem;
  position: relative;
  align-items: start;
}

/* Article Content */
.article-content {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  width: 100%;
  overflow-x: hidden;
  word-wrap: break-word;
}

.article-content pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.article-content img {
  max-width: 100%;
  height: auto;
}

.article-summary {
  font-size: 1.25rem;
  color: var(--light-text);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  line-height: 1.6;
}

.article-section {
  margin-bottom: 3rem;
}

.article-section h2 {
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1rem;
}

.article-section h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--primary-color);
  border-radius: 2px;
}

.article-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

/* Info Box */
.info-box {
  background: rgba(37, 99, 235, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 2rem 0;
}

.info-box-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.info-box-header i {
  font-size: 1.5rem;
}

.info-box-header h4 {
  font-size: 1.25rem;
  margin: 0;
}

.info-box p {
  margin: 0;
  color: var(--text-color);
}

/* Data Visualization */
.data-visualization {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 100%;
  overflow-x: hidden;
}

.chart-container {
  width: 100%;
  height: 300px;
  margin-bottom: 1rem;
  max-width: 100%;
  overflow-x: auto;
}

.price-chart {
  width: 100%;
  height: 100%;
}

.chart-label {
  font-size: 12px;
  fill: var(--light-text);
}

.chart-caption {
  text-align: center;
  color: var(--light-text);
  font-size: 0.95rem;
  margin: 0;
}

/* Analysis Grid */
.analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.analysis-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.analysis-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.analysis-card .card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.analysis-card .card-header i {
  font-size: 1.5rem;
}

.analysis-card .card-header h4 {
  margin: 0;
  font-size: 1.25rem;
}

.analysis-card p {
  margin: 0;
  color: var(--text-color);
  line-height: 1.6;
}

/* Code Block */
.code-block {
  margin: 2rem 0;
  background: #1e1e1e;
  border-radius: 1rem;
  overflow: hidden;
  max-width: 100%;
  overflow-x: auto;
}

.code-block pre {
  margin: 0;
  padding: 1.5rem;
  white-space: pre-wrap;
  word-wrap: break-word;
  background-color: #f3f4f6;
}

.code-block code {
  font-family: 'Fira Code', monospace;
  font-size: 0.95rem;
}

/* Prediction Timeline */
.prediction-timeline {
  margin: 2rem 0;
  position: relative;
  padding-left: 2rem;
}

.prediction-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -2.4rem;
  width: 1rem;
  height: 1rem;
  background: var(--primary-color);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-content {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  margin-left: 1rem;
}

.timeline-content h4 {
  color: var(--primary-color);
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.timeline-content p {
  margin: 0;
  color: var(--text-color);
}

/* Article Sidebar */
.article-sidebar {
  position: sticky;
  top: 84px;
  height: fit-content;
  align-self: flex-start;
}

.sidebar-section {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Related Articles Section */
.related-articles {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  width: 100%;
}

.related-article-card {
  margin-bottom: 1.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  background: var(--light-background);
}

.related-article-card:last-child {
  margin-bottom: 0;
}

.related-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.article-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.article-preview {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  align-items: center;
}

.article-thumbnail {
  min-width: 100px;
  width: 100px;
  height: 100px;
  border-radius: 0.75rem;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-info {
  flex: 1;
  min-width: 0;
}

.article-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.article-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--light-text);
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.author-mini-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .article-thumbnail {
    width: 80px;
    height: 80px;
    min-width: 80px;
  }

  .article-info h4 {
    font-size: 0.875rem;
  }

  .article-meta {
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* Animation for related articles */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.related-article-card {
  animation: slideInUp 0.3s ease forwards;
  opacity: 0;
}

.related-article-card:nth-child(1) { animation-delay: 0.1s; }
.related-article-card:nth-child(2) { animation-delay: 0.2s; }
.related-article-card:nth-child(3) { animation-delay: 0.3s; }
.related-article-card:nth-child(4) { animation-delay: 0.4s; }

/* Table of Contents */
.table-of-contents ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.table-of-contents li {
  margin-bottom: 0.75rem;
}

.table-of-contents a {
  color: var(--light-text);
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.table-of-contents a:hover {
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.1);
}

.table-of-contents a.active {
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.1);
  font-weight: 600;
}

/* Article Actions */
.article-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.action-btn {
  width: 100%;
  padding: 1rem;
  border-radius: 0.5rem;
  border: none;
  background: var(--light-background);
  color: var(--text-color);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.action-btn i {
  font-size: 1.25rem;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.share-btn {
  background: var(--primary-color);
  color: white;
}

.bookmark-btn {
  background: white;
  border: 2px solid var(--border-color);
}

.subscribe-btn {
  background: #10b981;
  color: white;
}

/* Enhanced Related Articles Styles */

/* Comments Section */
.article-comments {
  max-width: min(800px, 100%);
  padding: 0 1rem;
  margin: 4rem auto;
}

.article-comments h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.comment-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.comment-form textarea {
  flex: 1;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  resize: vertical;
  min-height: 100px;
  transition: all 0.3s ease;
}

.comment-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.comment {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.comment-content {
  flex: 1;
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

.comment-header h4 {
  margin: 0;
  color: var(--text-color);
}

.comment-time {
  font-size: 0.875rem;
  color: var(--light-text);
}

.comment-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.comment-actions button {
  padding: 0.5rem 1rem;
  border: none;
  background: var(--light-background);
  color: var(--light-text);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comment-actions button:hover {
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .article-container {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    margin-top: 2rem;
  }

  .related-articles {
    max-height: none;
    overflow-y: visible;
  }

  .article-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .action-btn {
    flex: 1;
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .article-title {
    font-size: 2rem;
  }

  .article-meta {
    flex-direction: column;
    gap: 1rem;
  }

  .analysis-grid {
    grid-template-columns: 1fr;
  }

  .comment-form {
    flex-direction: column;
  }

  .comment-form button {
    align-self: flex-end;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.article-section {
  animation: fadeIn 0.5s ease forwards;
  opacity: 0;
}

.article-section:nth-child(2) { animation-delay: 0.1s; }
.article-section:nth-child(3) { animation-delay: 0.2s; }
.article-section:nth-child(4) { animation-delay: 0.3s; }
.article-section:nth-child(5) { animation-delay: 0.4s; }

/* Reading Progress Indicator Animation */
@keyframes progressGlow {
  0% {
    box-shadow: 0 0 5px rgba(37, 99, 235, 0.5);
  }
  100% {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
  }
}

/* Article Metrics */
.article-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
  margin: 2rem 0;
  width: 100%;
}

.metric {
  flex: 1;
  min-width: 0;
}

/* Article Newsletter */
.article-newsletter {
  max-width: 100%;
  padding: 2rem 1rem;
}

.newsletter-form {
  max-width: min(500px, 100%);
}

/* Add styles for main article image */
.article-main-image {
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.image-container {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.article-featured-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 2/1;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.2), transparent);
}

.image-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  color: white;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.6);
  border-radius: 0.5rem;
  backdrop-filter: blur(4px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .article-main-image {
    margin: 1rem auto;
  }
  
  .image-caption {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }
}





/* category landing page  */
/* Category Landing Page Styles */
.category-landing {
  padding-top: 64px;
}

/* Hero Section */
.category-hero {
  position: relative;
  padding: 6rem 2rem;
  background: linear-gradient(45deg, rgba(37, 99, 235, 0.1), rgba(30, 64, 175, 0.05));
  text-align: center;
  overflow: hidden;
}

.finance-hero { background: linear-gradient(45deg, rgba(37, 99, 235, 0.1), rgba(30, 64, 175, 0.05)); }
.crypto-hero { background: linear-gradient(45deg, rgba(236, 72, 153, 0.1), rgba(190, 24, 93, 0.05)); }
.startup-hero { background: linear-gradient(45deg, rgba(16, 185, 129, 0.1), rgba(6, 95, 70, 0.05)); }

.category-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
}

.category-hero-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.category-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  font-weight: 800;
}

.category-hero p {
  font-size: 1.25rem;
  color: var(--light-text);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.category-stats-banner {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--light-text);
  font-size: 1rem;
}

/* Featured Section */
.category-featured {
  padding: 4rem 0;
}

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

.feature-card {
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  height: 350px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.feature-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: white;
}

.feature-category {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.feature-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Topics Section */
.category-topics {
  padding: 4rem 0;
  background: var(--light-background);
}

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

.topic-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.topic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.topic-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-color);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.topic-card:hover .topic-icon {
  transform: rotate(360deg) scale(1.1);
}

.topic-link {
  margin-top: 1.5rem;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.topic-link i {
  transition: transform 0.3s ease;
}

.topic-card:hover .topic-link i {
  transform: translateX(4px);
}

/* Latest Updates Section */
.category-latest {
  padding: 4rem 0;
}

.latest-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.latest-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.latest-filters select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  min-width: 150px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

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

.filter-controls {
  display: flex;
  gap: 1rem;
}

/* Experts Section */
.category-experts {
  padding: 4rem 0;
  background: var(--light-background);
}

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

.expert-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.expert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.expert-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  position: relative;
}

.expert-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.expert-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--light-text);
}

/* Resources Section */
.category-resources {
  padding: 4rem 0;
}

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

.resource-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.resource-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.resource-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--primary-color);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.resource-link {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: white;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.resource-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* New Styles */
.content-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.card-header {
  padding: 1.5rem;
  color: white;
  position: relative;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.content-category {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.importance-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.importance-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  display: inline-block;
}

.card-body {
  padding: 1.5rem;
}

.content-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
  line-height: 1.4;
}

.content-excerpt {
  color: var(--light-text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.content-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--light-text);
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.content-stats {
  display: flex;
  gap: 1rem;
}

.content-stats span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.card-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.card-actions button {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.share-btn,
.bookmark-btn {
  background: var(--light-background);
  color: var(--text-color);
  /* width: 36px; */
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.read-more-btn {
  background: var(--primary-color);
  color: white;
  flex-grow: 1;
}

.high-importance {
  border-left: 4px solid var(--primary-color);
}

.tab-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

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

@media (max-width: 768px) {
  .tab-cards-container {
    grid-template-columns: 1fr;
  }
  .category-hero h1 {
    font-size: 2.5rem;
  }
  
  .category-stats-banner {
    flex-direction: column;
    gap: 2rem;
  }
  
  .latest-filters {
    flex-direction: column;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card {
    height: 300px;
  }
  
  .topics-grid,
  .experts-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }
}

.tab-card {
  width: 100%;
  margin-bottom: 0;
}

.tab-card-image {
  height: 200px;
  background-position: center;
  background-size: cover;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.2s; }
.animate-in:nth-child(4) { animation-delay: 0.3s; }

a{
  text-decoration: none;
  color: inherit;
}