:root {
  --accent-color: #71bfff;
  --background-color: #141414;
  --secondary-color: #333333;
  --text-color: #ffffff;

  --content-size: 1200px;
}

body {
  margin: 0;
  font-family: "poppins", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
}

/* Header Styles */

.header {
  position: sticky;
  top: 0;
  background-color: var(--background-color);
  padding: 1rem 0;
  z-index: 9999;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;

  max-width: var(--content-size);
  margin: 0 auto;
  width: 100%;
}

.header img {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 700;
  transition: color 0.35s ease;
}

.nav a:hover {
  color: var(--accent-color);
}

/* Content Styles */
.sized-content {
  max-width: var(--content-size);
  margin: 0 auto;
  width: 100%;
}

.title {
  text-align: center;
  margin: 2rem 0;
}

.title h1, 
.title h2,
.title h3 {
  max-width: 700px;
  margin: 1rem auto 0;
  line-height: 1.5;
}

.title img {
  width: 45%;
  height: auto;
}

.title-buttons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

a {
  text-decoration: underline;
  color: var(--text-color);
  font-weight: bold;
}

/* Button Styles*/
.btn {
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-color);
  color: var(--text-color);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #4aa8f0;
  transform: translateY(-2px);
}

.btn-secondary {
  padding: 0.75rem 1.5rem;
  background-color: var(--background-color);
  color: var(--text-color);
  border: 2px solid var(--secondary-color);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

/* Blog Styles*/
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: #0f0f0f;
  border-radius: 20px;
  border: #333333 solid 1px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  max-width: 420px;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

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

.blog-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

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

.blog-card-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.blog-card-tags span {
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #1b1b1b;
  color: #cfcfcf;
}

.blog-card h2 {
  margin: 0 0 0.4rem 0;
  font-size: 1.35rem;
  font-weight: 600;
}

.blog-card-subtitle {
  margin: 0 0 1rem 0;
  color: #9a9a9a;
  font-size: 0.95rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #7d7d7d;
}

.blog-card-meta .arrow {
  margin-left: auto;
  font-size: 1.1rem;
  color: #bdbdbd;
}

/* FAQ Styles */

.faq {
  margin: 4rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq details {
  background-color: #161616;
  border-radius: 14px;
  padding: 2rem 2.25rem;
  border: 1px solid var(--secondary-color);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.faq details:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.25);
}

.faq details[open] {
  border-color: var(--accent-color);
}

.faq summary {
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-color);
  border-bottom: 2px solid var(--text-color);
  transform: rotate(45deg);
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.6;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  opacity: 1;
}

.faq p {
  margin-top: 1.5rem;
  max-width: 850px;
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: normal;
  opacity: 0.85;
}

.faq a {
  color: var(--accent-color);
  text-decoration: none;
}

.faq a:hover {
  text-decoration: underline;
}