

/* Hero Section */
.hero-section {
  background: white;
  padding: 5rem 0;
  text-align: center;
  color: #0f0f4d;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Category Tabs */
.category-tabs {
  background: white;
  padding: 2rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  /* top: 73px; */
  /* z-index: 100; */
}

.tabs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 2rem;
  overflow-x: auto;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 2px solid #e0e0e0;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s;
  white-space: nowrap;
}

.tab-btn:hover {
  border-color: #f39c12;
  color: #f39c12;
}

.tab-btn.active {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: white;
  border-color: transparent;
}

/* Featured Article */
.featured-section {
  padding: 4rem 0;
  background: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.featured-article {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.featured-image {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.featured-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-category {
  color: #f39c12;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.featured-content h2 {
  font-size: 2rem;
  color: #1a1a6e;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.featured-content p {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.article-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  color: #999;
  font-size: 0.9rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more-btn {
  display: inline-block;
  background: linear-gradient(135deg, #1a1a6e 0%, #0f0f4d 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
  align-self: flex-start;
}

.read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(26, 26, 110, 0.3);
}

/* Articles Grid */
.articles-section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #1a1a6e;
  margin-bottom: 1rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.article-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.article-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.article-card:hover .article-image img {
  transform: scale(1.1);
}

.article-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(243, 156, 18, 0.9);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.article-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-date {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.article-title {
  font-size: 1.3rem;
  color: #1a1a6e;
  margin-bottom: 1rem;
  line-height: 1.4;
  flex: 1;
}

.article-excerpt {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.read-time {
  color: #999;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-link {
  color: #f39c12;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
}

.article-link:hover {
  gap: 1rem;
}

/* Sidebar */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.widget-title {
  font-size: 1.3rem;
  color: #1a1a6e;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f39c12;
}

.popular-posts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.popular-post {
  display: flex;
  gap: 1rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.popular-post:hover {
  transform: translateX(5px);
}

.popular-post-number {
  font-size: 2rem;
  color: #f39c12;
  font-weight: bold;
  line-height: 1;
}

.popular-post-content h4 {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.popular-post-content span {
  color: #999;
  font-size: 0.85rem;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-form input {
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
}

.newsletter-form button {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
}

/* Load More */
.load-more {
  text-align: center;
  padding: 2rem 0;
}

.load-more-btn {
  background: white;
  color: #1a1a6e;
  padding: 1rem 3rem;
  border: 2px solid #1a1a6e;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.load-more-btn:hover {
  background: #1a1a6e;
  color: white;
}

/* Responsive Design */
@media (max-width: 968px) {
  .content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .featured-article {
    grid-template-columns: 1fr;
  }

  .featured-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

}
