/* 
  CS Gaming Hub CSS Styles
  A modern design for a gaming blog focused on CS2, skins, and CSGOEmpire
*/

/* Base Styles and Variables */
:root {
  --primary-color: #4a00e0;
  --secondary-color: #8e2de2;
  --accent-color: #ff7b25;
  --text-color: #333;
  --text-light: #777;
  --bg-color: #f9f9f9;
  --dark-bg: #1a1a2e;
  --card-bg: #fff;
  --border-color: #eaeaea;
  --success-color: #28a745;
  --error-color: #dc3545;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --max-width: 1200px;
  --header-height: 80px;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Reset & Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

ul, ol {
  list-style-position: inside;
  margin: 1rem 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-block;
  background: var(--gradient);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(74, 0, 224, 0.05);
  color: var(--primary-color);
}

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

section {
  padding: 5rem 0;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.2rem;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

.scrolled {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  margin-right: 15px;
  object-fit: cover;
}

.logo-container h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
  color: var(--primary-color);
  font-weight: 800;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
}

nav ul li {
  margin: 0 1rem;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
}

nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav ul li a.active {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: var(--gradient);
  color: white;
  text-align: center;
  padding: 8rem 0 5rem;
  margin-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* What You'll Learn Section */
.what-you-learn {
  background-color: white;
  padding: 5rem 0;
}

.what-you-learn h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.what-you-learn h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: var(--gradient);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.learn-item {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.learn-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.learn-item .icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  display: inline-block;
  background: rgba(74, 0, 224, 0.1);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
}

.learn-item h3 {
  margin-bottom: 1rem;
  font-weight: 700;
}

.learn-item p {
  color: var(--text-light);
}

/* Featured Posts Section */
.featured-posts {
  background-color: var(--bg-color);
  padding: 5rem 0;
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.featured-posts h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: var(--gradient);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.post-img {
  height: 200px;
  overflow: hidden;
}

.post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.post-card:hover .post-img img {
  transform: scale(1.1);
}

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.post-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.read-more::after {
  content: '→';
  margin-left: 0.5rem;
  transition: var(--transition);
}

.read-more:hover::after {
  transform: translateX(5px);
}

/* Newsletter Section */
.newsletter {
  background: var(--gradient);
  color: white;
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/newsletter-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}

.newsletter .container {
  position: relative;
  z-index: 1;
}

.newsletter h2 {
  margin-bottom: 1rem;
}

.newsletter p {
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.newsletter form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter input {
  flex: 1;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px 0 0 50px;
  font-size: 1rem;
}

.newsletter button {
  border-radius: 0 50px 50px 0;
  background: var(--accent-color);
  box-shadow: none;
}

.newsletter button:hover {
  background: #e56b18;
}

/* Footer Styles */
footer {
  background-color: var(--dark-bg);
  color: white;
  padding: 5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.footer-logo p {
  opacity: 0.8;
}

.footer-links h3,
.footer-social h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links h3::after,
.footer-social h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  margin-top: 0.5rem;
}

.footer-links ul {
  list-style: none;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: white;
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}

.social-icons svg {
  fill: white;
  width: 18px;
  height: 18px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  z-index: 1000;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin-bottom: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.cookie-more-info {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: underline;
}

/* Blog Page Styles */
.page-header {
  background: var(--gradient);
  color: white;
  text-align: center;
  padding: 8rem 0 5rem;
  margin-top: var(--header-height);
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

.blog-main {
  background-color: var(--bg-color);
  padding: 5rem 0;
}

.blog-main .container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.blog-post {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  display: grid;
  grid-template-columns: 300px 1fr;
}

.blog-post .post-img {
  height: 100%;
}

.blog-post .post-content {
  padding: 2rem;
}

.blog-post h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.blog-post h2 a {
  color: var(--text-color);
}

.blog-post h2 a:hover {
  color: var(--primary-color);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.post-excerpt p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.article-overview {
  background: rgba(74, 0, 224, 0.05);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

.article-overview h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.article-overview ul {
  list-style-type: disc;
  margin-left: 1.5rem;
}

.article-overview ul li {
  margin-bottom: 0.5rem;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  align-self: start;
}

.sidebar-widget {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
}

.sidebar-widget h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.sidebar-widget h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  margin-top: 0.5rem;
}

.categories {
  list-style: none;
  margin: 0;
}

.categories li {
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
}

.categories li a {
  color: var(--text-color);
  transition: var(--transition);
}

.categories li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.popular-posts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.popular-post {
  display: flex;
  gap: 1rem;
}

.popular-post-img {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius);
  overflow: hidden;
  flex-shrink: 0;
}

.popular-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-post-content h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.popular-post-content h4 a {
  color: var(--text-color);
}

.popular-post-content h4 a:hover {
  color: var(--primary-color);
}

.popular-post-content .date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags a {
  display: inline-block;
  background: rgba(74, 0, 224, 0.05);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  transition: var(--transition);
}

.tags a:hover {
  background: var(--primary-color);
  color: white;
}

/* About Page Styles */
.about-mission {
  padding: 5rem 0;
  background-color: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
}

.about-text h2 {
  margin-bottom: 1.5rem;
  position: relative;
}

.about-text h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin-top: 1rem;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.team-section {
  background-color: var(--bg-color);
  padding: 5rem 0;
  text-align: center;
}

.team-section h2 {
  margin-bottom: 0.5rem;
}

.team-section > p {
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--text-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.team-member:hover img {
  transform: scale(1.05);
}

.team-member h3 {
  margin: 1.5rem 0 0.25rem;
  padding: 0 1.5rem;
}

.team-member p {
  padding: 0 1.5rem;
  color: var(--text-light);
}

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-member .social-icons {
  padding: 0 1.5rem 1.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.testimonials {
  background: var(--gradient);
  color: white;
  padding: 5rem 0;
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/testimonial-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial-slider {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.testimonial-slider::-webkit-scrollbar {
  display: none;
}

.testimonial {
  min-width: 350px;
  scroll-snap-align: start;
}

.testimonial-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  margin-bottom: 0.25rem;
}

.testimonial-author p {
  margin-bottom: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Contact Page Styles */
.contact-main {
  padding: 5rem 0;
  background-color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2,
.contact-form h2 {
  margin-bottom: 1.5rem;
  position: relative;
}

.contact-info h2::after,
.contact-form h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin-top: 1rem;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item .icon {
  width: 50px;
  height: 50px;
  background: rgba(74, 0, 224, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item .icon svg {
  fill: var(--primary-color);
  width: 24px;
  height: 24px;
}

.contact-text h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.social-connect {
  margin-top: 2rem;
}

.social-connect h3 {
  margin-bottom: 1rem;
}

.social-connect .social-icons a {
  background: rgba(74, 0, 224, 0.1);
}

.social-connect .social-icons svg {
  fill: var(--primary-color);
}

.social-connect .social-icons a:hover {
  background: var(--primary-color);
}

.social-connect .social-icons a:hover svg {
  fill: white;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 0, 224, 0.1);
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input {
  margin-top: 0.3rem;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
  font-size: 0.9rem;
}

.checkbox-group a {
  text-decoration: underline;
}

.thank-you-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.thank-you-popup.show {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s ease;
}

.thank-you-popup.show .popup-content {
  transform: translateY(0);
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.popup-close:hover {
  color: var(--primary-color);
}

.popup-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.popup-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--success-color);
}

.faq {
  background-color: var(--bg-color);
  padding: 5rem 0;
}

.faq h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.faq-item {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.faq-item h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.faq-item p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Blog Post Page Styles */
.blog-header {
  text-align: left;
  padding: 10rem 0 5rem;
}

.blog-header h1 {
  max-width: 800px;
}

.category-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.blog-header .post-meta {
  color: rgba(255, 255, 255, 0.9);
  margin-top: 1.5rem;
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.share-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: var(--transition);
}

.share-buttons a:hover {
  background: white;
}

.share-buttons svg {
  fill: white;
  width: 16px;
  height: 16px;
  transition: var(--transition);
}

.share-buttons a:hover svg {
  fill: var(--primary-color);
}

.blog-post-content {
  padding: 5rem 0;
  background-color: var(--bg-color);
}

.blog-post-content .post-grid {
  grid-template-columns: 1fr 350px;
  gap: 3rem;
}

.post-main {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.post-main .article-overview {
  background: rgba(74, 0, 224, 0.05);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
}

.post-image {
  margin: 2rem 0;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.post-image.featured {
  margin-top: 0;
}

.post-image img {
  width: 100%;
  border-radius: 0;
}

.post-text h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.post-text h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.post-text ul,
.post-text ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.post-text li {
  margin-bottom: 0.75rem;
}

.post-tags {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.post-tags h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.author-box {
  display: flex;
  gap: 2rem;
  background: rgba(74, 0, 224, 0.05);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin: 3rem 0;
}

.author-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.author-info h3 {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.author-info h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.author-info p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.author-info .social-icons a {
  background: rgba(74, 0, 224, 0.1);
}

.author-info .social-icons svg {
  fill: var(--primary-color);
}

.author-info .social-icons a:hover {
  background: var(--primary-color);
}

.author-info .social-icons a:hover svg {
  fill: white;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 3rem;
}

.prev-post,
.next-post {
  max-width: 45%;
}

.prev-post span,
.next-post span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.next-post {
  text-align: right;
}

.related-posts {
  margin-top: 3rem;
}

.related-posts h2 {
  margin-bottom: 2rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.related-post {
  background: rgba(74, 0, 224, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.related-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.related-img {
  height: 180px;
  overflow: hidden;
}

.related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.related-post:hover .related-img img {
  transform: scale(1.05);
}

.related-post h3 {
  font-size: 1rem;
  padding: 1rem;
  margin-bottom: 0;
}

.related-post .post-meta {
  padding: 0 1rem 1rem;
  margin-bottom: 0;
}

.newsletter-widget form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-widget input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
}

.newsletter-widget .btn {
  width: 100%;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .container {
    padding: 0 1.5rem;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .blog-post-content .post-grid {
    grid-template-columns: 1fr;
  }
  
  .post-sidebar {
    display: none;
  }
}

@media (max-width: 992px) {
  .blog-main .container {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    display: none;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto 2rem;
  }
  
  .testimonial {
    min-width: 300px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  
  nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: white;
    padding: 1rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: 0.5s ease-in-out;
  }
  
  nav.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  nav ul {
    flex-direction: column;
    width: 100%;
  }
  
  nav ul li {
    margin: 0;
    width: 100%;
    text-align: center;
  }
  
  nav ul li a {
    display: block;
    padding: 1rem 0;
  }
  
  .hero,
  .page-header {
    padding: 7rem 0 4rem;
  }
  
  .hero h2,
  .page-header h1 {
    font-size: 2rem;
  }
  
  .learn-grid,
  .post-grid,
  .team-grid,
  .faq-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-post {
    grid-template-columns: 1fr;
  }
  
  .blog-post .post-img {
    height: 200px;
  }
  
  .newsletter form {
    flex-direction: column;
  }
  
  .newsletter input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }
  
  .newsletter button {
    border-radius: var(--border-radius);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo img {
    margin: 0 auto 1rem;
  }
  
  .footer-links h3::after,
  .footer-social h3::after {
    margin: 0.5rem auto 0;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .prev-post,
  .next-post {
    max-width: 100%;
  }
  
  .next-post {
    text-align: left;
  }
  
  .author-box {
    flex-direction: column;
    text-align: center;
  }
  
  .author-img {
    margin: 0 auto 1.5rem;
  }
  
  .author-info .social-icons {
    justify-content: center;
  }
  
  .post-main {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .hero h2,
  .page-header h1 {
    font-size: 1.75rem;
  }
  
  .hero p,
  .page-header p {
    font-size: 1rem;
  }
  
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .share-buttons {
    margin-top: 1rem;
  }
  
  .testimonial {
    min-width: 260px;
  }
}
