:root {
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --secondary-color: #8b5cf6;
  --accent-color: #60a5fa;
  --text-color: #1e293b;
  --light-text: #64748b;
  --background: #000;
  --card-bg: #000;
  --card-hover: #f1f5f9;
  --border-radius: 16px;
  --transition: all 0.3s ease;
}
/* body {
  color: var(--text-color);
  line-height: 1.7;
} */

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.post-tag {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 30px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
  margin-right: 30px;
}

/* Hero Section */
.hero {
  padding: 40px 0 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 1000px;
  height: 1000px;
  top: -400px;
  right: -400px;
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  padding-right: 40px;
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: rotate(2deg);
  transition: var(--transition);
}

.hero-image img:hover {
  transform: rotate(0deg) scale(1.02);
}

.blog-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.1;
  background: linear-gradient(var(--theme-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-subtitle {
  font-size: 1.25rem;
  color: var(--light-text);
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-cta {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 15px 36px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
  font-size: 1.1rem;
}

.hero-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.4);
}

/* About Section */
.about-section {
  padding: 100px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  padding: 40px;
  color: var(--text-black-700);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  background-color: var(--bg-black-100);
}

.about-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--theme-color);
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-text strong {
  color: var(--theme-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  height: 100%;
}

.gallery-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  height: 320px;
}

.gallery-image:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Removes default inline spacing */
}

.gallery-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(59, 130, 246, 0.2) 0%,
    rgba(59, 130, 246, 0) 60%
  );
}

/* Benefits Section */
.benefits-section {
  padding: 80px 0;
  background-color: var(--card-bg);
  position: relative;
  overflow: hidden;
}

.benefits-section::before {
  content: "";
  position: absolute;
  width: 1200px;
  height: 1200px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.05) 0%,
    rgba(139, 92, 246, 0) 70%
  );
  bottom: -600px;
  left: -300px;
  border-radius: 50%;
  z-index: 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.benefit-card {
  background-color: var(--bg---bg-black-900);
  border-radius: var(--border-radius);
  padding: 36px 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(241, 245, 249, 0.8);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  background-color: var(--card-hover);
}
.sub-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--theme-color);
}
.benefit-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: var(--theme-color);
  color: white;
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--theme-color);
}

.benefit-text {
  color: var(--light-text);
  font-size: 1rem;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .blog-title {
    font-size: 2.8rem;
  }

  .hero-content {
    flex-direction: column;
  }

  .hero-text {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .blog-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-text {
    order: 1;
  }

  .gallery-grid {
    order: 0;
    margin-bottom: 40px;
  }
  .benefit-card {
    max-width: 100vh;
  }
}
