@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  background-color: #f5f5f5;
  padding-top: 50px;
}

.navbar-inverse {
  background-color: #1a237e;
  border-color: #0d47a1;
}

.navbar-inverse .navbar-brand {
  color: #fff;
  font-weight: 700;
  font-size: 20px;
}

.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {
  color: #bbdefb;
}

.navbar-inverse .nav li a {
  color: #e3f2fd;
  font-weight: 500;
}

.navbar-inverse .nav li a:hover,
.navbar-inverse .nav li a:focus {
  color: #fff;
  background-color: #0d47a1;
}

.navbar-inverse .nav li.active a {
  background-color: #0d47a1;
  color: #fff;
}

.jumbotron {
  background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
  color: #fff;
  text-align: center;
  padding: 40px 0;
  margin-bottom: 30px;
  border-radius: 0;
}

.jumbotron h1 {
  font-weight: 700;
  font-size: 36px;
  margin-bottom: 10px;
}

.jumbotron p {
  font-size: 18px;
  font-weight: 300;
  margin: 0;
}

.search-panel {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.search-panel h2 {
  color: #1a237e;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 24px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.category-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-color: #1a237e;
}

.category-card .icon {
  font-size: 48px;
  color: #1a237e;
  margin-bottom: 10px;
}

.category-card h3 {
  color: #1a237e;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 8px;
}

.category-card p {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
}

.btn-primary {
  background-color: #1a237e;
  border-color: #0d47a1;
  color: #fff;
  font-weight: 500;
  border-radius: 4px;
  padding: 8px 20px;
  transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #0d47a1;
  border-color: #0d47a1;
  color: #fff;
}

.article-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

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

.article-card h3 {
  color: #1a237e;
  font-weight: 600;
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 8px;
}

.article-card h3 a {
  color: #1a237e;
  text-decoration: none;
}

.article-card h3 a:hover {
  color: #0d47a1;
  text-decoration: underline;
}

.article-card p {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
}

.article-meta {
  font-size: 12px;
  color: #999;
}

.page-header {
  border-bottom: 2px solid #1a237e;
  margin-bottom: 30px;
  padding-bottom: 10px;
}

.page-header h1 {
  color: #1a237e;
  font-weight: 700;
}

.breadcrumb {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 8px 15px;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #1a237e;
}

.breadcrumb > .active {
  color: #999;
}

.footer {
  background-color: #1a237e;
  color: #e3f2fd;
  padding: 30px 0;
  margin-top: 50px;
  text-align: center;
}

.footer a {
  color: #bbdefb;
}

.footer a:hover {
  color: #fff;
  text-decoration: none;
}

.sidebar {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.sidebar h3 {
  color: #1a237e;
  font-weight: 600;
  font-size: 16px;
  margin-top: 0;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.sidebar ul {
  list-style: none;
  padding-left: 0;
}

.sidebar ul li {
  padding: 5px 0;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar ul li:last-child {
  border-bottom: none;
}

.sidebar ul li a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.sidebar ul li a:hover {
  color: #1a237e;
  text-decoration: underline;
}

.hero-section {
  background: linear-gradient(rgba(26, 35, 126, 0.8), rgba(13, 71, 161, 0.8)), url('../images/hero-bg.jpg') center/cover;
  color: #fff;
  padding: 80px 0;
  text-align: center;
  margin-bottom: 30px;
  border-radius: 4px;
}

.hero-section h1 {
  font-weight: 700;
  font-size: 42px;
  margin-bottom: 15px;
}

.hero-section p {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 20px;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.stat-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  min-width: 150px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .jumbotron h1 {
    font-size: 28px;
  }
  .hero-section h1 {
    font-size: 28px;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
}