@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

.body-bg {
  background-color: #222;
  color: #ddd;
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
}

:root {
  --color-one: #cc66ff;
  --color-two: #66ccff;
  --color-three: #222222;
  --color-four: #333333;
  --color-five: #444444;
  --text-one: #ffffff;
  --text-two: #C9C9C9;
}

/* Main layout */
.blogpost-container {
  max-width: 900px;
  margin: 20px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header area */
.blogpost-header {
  text-align: center;
  margin-bottom: 10px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cc66ff;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 20px;
}

.back-link:hover {
  color: #d582fe;
}

.hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 20px;
  margin: 20px 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

h1 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.blog-meta {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 30px;
  font-weight: bold;
}

/* Article body */
.blogpost-content {
  font-size: 1rem;
  line-height: 1.7;
  color: #ddd;
  width: 100%;
}

.blogpost-content h2 {
  color: #fff;
  font-size: 1.4rem;
  margin-top: 2em;
  margin-bottom: 0.6em;
  border-left: 4px solid #cc66ff;
  padding-left: 12px;
}

.blogpost-content p {
  margin-bottom: 1.2em;
  color: #ccc;
}

.blogpost-content ul {
  margin: 1.2em 0 1.2em 2em;
}

.blogpost-content li {
  margin-bottom: 0.6em;
}

/* Quotes */
.blogpost-content blockquote {
  border-left: 4px solid #cc66ff;
  padding-left: 16px;
  margin: 2em 0;
  color: #bbb;
  font-style: italic;
}

/* Links */
.blogpost-content a {
  color: #cc66ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blogpost-content a:hover {
  color: #d582fe;
}

/* Footer link */
.blogpost-footer {
  margin-top: 60px;
}

.back-footer {
  color: #cc66ff;
  text-decoration: none;
  font-weight: 600;
}

.back-footer:hover {
  color: #d582fe;
}


/* Footer */
.footer {
  width: 100%;
  height: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 4rem 0px 0rem 0px;
  background: var(--color-four);
  z-index: 2;
}

.footer-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 30px;
}

.footer-left {
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  width: 300px;
  margin-bottom: 15px;
}

.footer-links {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-links a {
  color: var(--text-two);
  transition: 0.2s;
}

.footer-links a:hover {
  color: var(--color-one);
}

.f-con-link {
  width: 100%;
  height: fit-content;
  display: flex;
  gap: 10px;
  flex-direction: column;
  margin-bottom: 30px;
}

.f-social a {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 1px solid var(--text-one);
  transition: 0.2s;
}

.f-social a i {
  color: var(--text-one);
}

.f-social a:hover {
  border-color: var(--color-one);
  background: var(--color-one);
  color: var(--text-one);
}

.f-para {
  width: 80%;
  color: var(--text-two);
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.2px;
  line-height: 24px;
  margin-bottom: 30px;
}

.footer .contact-form {
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--text-two);
  background: var(--color-three);
  border-radius: 10px;
  padding: 20px;
}

.contact-form h3 {
  color: var(--text-one);
  font-size: 35px;
  margin-bottom: 20px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 18px;
  border: 1px solid var(--text-two);
  margin-bottom: 10px;
  background: var(--color-four);
  color: var(--text-one);
}

.contact-form button {
  width: 100%;
  background: var(--text-one);
  color: var(--color-three);
  font-size: 18px;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: 10px;
  margin-top: 10px;
  transition: 0.2s;
}

.contact-form button:hover {
  background: var(--color-one);
}

.footer-note {
  width: 100%;
  background: var(--color-three);
  text-align: center;
  color: var(--text-two) !important;
  font-weight: 300;
  margin-top: 2rem;
  margin-bottom: 0px;
  padding: 15px 0px;
}

a {
  text-decoration: none;
  color: #cc66ff;
}




@media (max-width: 750px) {
  .blogpost-container {
    margin: 40px 10px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .hero-image {
    max-height: 280px;
  }

  .contact-form h3 {
    text-align: center;
  }

  .footer-content {
    flex-direction: column-reverse;
  }
}