/* Header Styles */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #2c5aa0;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #2c5aa0;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #455eff 0%, #3a7bd5 100%);
  color: white;
  padding: 30px 0;
  text-align: center;
  margin: 96px 0;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Blog Content */
.blog-container {
  display: grid;
  grid-template-columns: 2fr 0fr;
  gap: 0px;
  padding: 0px 0;
  margin-bottom: 80px;
}

.blog-accordion {
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid #eee;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  transition: background-color 0.3s;
}

.accordion-header:hover {
  background-color: #f8fafd;
}

.accordion-header.active {
  background-color: #f2f6fc;
  border-left: 4px solid #2c5aa0;
}

.accordion-title {
  font-size: 1.5rem;
  color: #2c5aa0;
  margin: 0;
}

.accordion-meta {
  color: #666;
  font-size: 0.9rem;
  margin-top: 8px;
  display: flex;
  align-items: center;
}

.accordion-meta span {
  margin-right: 15px;
}

.accordion-icon {
  color: #2c5aa0;
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion-content.active {
  padding: 0 30px 30px;
  max-height: 5000px;
}

.accordion-content p {
  margin-bottom: 20px;
}

.accordion-content h3 {
  margin: 25px 0 15px;
  color: #2c5aa0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9rem;
}

th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #f2f6fc;
  font-weight: 600;
}

tr:hover {
  background-color: #f8fafd;
}

blockquote {
  border-left: 4px solid #2c5aa0;
  padding-left: 20px;
  margin: 25px 0;
  font-style: italic;
  color: #555;
}

.btn {
  display: inline-block;
  background-color: #2c5aa0;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
  margin-top: 15px;
}

.btn:hover {
  background-color: #1e3d6f;
}

/* Sidebar */
.sidebar {
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

.sidebar h3 {
  color: #2c5aa0;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.sidebar-widget {
  margin-bottom: 30px;
}

.categories-list {
  list-style: none;
}

.categories-list li {
  margin-bottom: 10px;
}

.categories-list a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
  display: flex;
  justify-content: space-between;
}

.categories-list a:hover {
  color: #2c5aa0;
}

.categories-list span {
  background-color: #f2f6fc;
  color: #2c5aa0;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
}

.recent-posts li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.recent-posts li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-posts a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.recent-posts a:hover {
  color: #2c5aa0;
}

.recent-posts .date {
  font-size: 0.8rem;
  color: #666;
  margin-top: 5px;
}

/* Footer */
footer {
  background-color: #1a2b4c;
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-column h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #b0b7c3;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #2a3a5c;
  color: #b0b7c3;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .blog-container {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 15px 0;
  }

  .nav-links {
    margin-top: 15px;
  }

  .nav-links li {
    margin-left: 15px;
    margin-right: 15px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .accordion-header {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .accordion-title {
    font-size: 1.3rem;
  }

  .accordion-icon {
    align-self: flex-end;
    margin-top: -30px;
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .accordion-content {
    padding: 0 20px;
  }

  .accordion-content.active {
    padding: 0 20px 20px;
  }
}
