@font-face {
  font-family: 'FontAwesome';
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2') format('woff2'),
       url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: black;
  color: white;
  line-height: 1.6;
}

.site-header {
  background: black;
  box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-header {
  height: 40px;
  cursor: pointer;
}

nav ul {
  display: flex;
  gap: 20px;
  align-items: center;
  position: relative;
}

nav ul li {
  list-style: none;
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #888;
}

.dropdown-icon {
  margin-left: 5px;
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #222;
  padding: 10px 0;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  min-width: 200px;
}

.dropdown-menu li {
  padding: 0 20px;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 0;
  color: white;
  font-size: 14px;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu li a:hover {
  background: #444;
  color: #fff;
}

.dropdown-submenu:hover > ul {
  display: block;
}

.dropdown-submenu ul {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: #222;
  padding: 10px 0;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  min-width: 200px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

.blog-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #007bff;
  text-decoration: none;
  margin-bottom: 30px;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #0056b3;
}

.blog-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
}

.blog-title {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 15px;
  line-height: 1.3;
}

.blog-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #888;
  flex-wrap: wrap;
}

.blog-meta .date,
.blog-meta .category {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-meta .category {
  background: #007bff;
  padding: 4px 8px;
  border-radius: 4px;
  color: white;
  font-size: 0.8rem;
}

.blog-excerpt {
  font-size: 1.2rem;
  color: #ccc;
  font-style: italic;
  line-height: 1.6;
}

.blog-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ddd;
}

.blog-body h2 {
  color: #007bff;
  margin: 30px 0 15px;
  font-size: 1.8rem;
}

.blog-body h3 {
  color: #ccc;
  margin: 25px 0 12px;
  font-size: 1.4rem;
}

.blog-body p {
  margin-bottom: 16px;
}

.blog-body ul, .blog-body ol {
  margin: 16px 0;
  padding-left: 30px;
}

.blog-body li {
  margin-bottom: 12px;
}

.blog-body a {
  color: #007bff;
  text-decoration: none;
}

.blog-body a:hover {
  text-decoration: underline;
}

footer {
  background: #111;
  color: white;
  padding: 40px 20px;
  text-align: left;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.footer-section p,
.footer-section ul {
  font-size: 14px;
  line-height: 1.6;
}

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

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  text-decoration: none;
  color: white;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #888;
}

.footer-section .social-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  text-decoration: none;
  color: white;
  margin-bottom: 10px;
}

.footer-section .social-links a:hover {
  color: #888;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

.footer-bottom a {
  color: white;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #888;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: black;
    padding: 20px;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
  }

  nav.active {
    transform: translateY(0);
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .blog-title {
    font-size: 2rem;
  }

  .blog-body {
    font-size: 1rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
