/* =====================================
   BLOG HERO SECTION
===================================== */

.blog-hero {
  width: 100%;
  height: 420px;

  background: url("../images/blog-banner.jpg") center/cover no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;
}

/* Dark Overlay */
.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* Text Center */
.blog-overlay {
  position: relative;
  text-align: center;
  color: white;
}

.blog-overlay h1 {
  font-size: 52px;
  font-weight: bold;
  margin-bottom: 10px;
}

.blog-overlay p {
  font-size: 15px;
  color: #ddd;
}

/* Mobile Responsive */
@media (max-width: 768px) {

  .blog-hero {
    height: 280px;
  }

  .blog-overlay h1 {
    font-size: 34px;
  }

}



.blog-section {
  padding: 80px 20px;
  background: #000;
}

.blog-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 30px;
}

/* LEFT SIDE */
.blog-left {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blog-card {
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255,255,255,0.05);
  padding-bottom: 20px;
}

.blog-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-card h2 {
  font-size: 22px;
  margin: 20px;
  color: #fff;
}

.blog-card p {
  margin: 0 20px;
  color: #aaa;
  font-size: 15px;
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  margin: 20px;
  color: orange;
  font-weight: 600;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

/* SIDEBAR */
.blog-sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sidebar-box {
  background: #111;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255,255,255,0.05);
}

.sidebar-box h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 20px;
}

.sidebar-box ul {
  list-style: none;
  padding: 0;
}

.sidebar-box ul li {
  margin-bottom: 12px;
}

.sidebar-box ul li a {
  color: #aaa;
  text-decoration: none;
  font-size: 15px;
}

.sidebar-box ul li a:hover {
  color: orange;
}

/* FORM */
.sidebar-form input,
.sidebar-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: none;
  border-radius: 8px;
  background: #222;
  color: #fff;
}

.sidebar-form textarea {
  resize: none;
  height: 90px;
}

.sidebar-form button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: orange;
  color: #000;
  font-weight: bold;
  cursor: pointer;
}

.sidebar-form button:hover {
  background: #ffb300;
}

/* MOBILE RESPONSIVE */
@media(max-width: 900px) {
  .blog-container {
    flex-direction: column;
  }

  .blog-card img {
    height: 200px;
  }
}



.blog-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.blog-table th,
.blog-table td {
  border: 1px solid #444;
  padding: 12px;
  color: white;
}

.blog-table th {
  background: #222;
}




.blog-chart {
  text-align: center;
  margin: 30px 0;
}

.blog-chart img {
  max-width: 500px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}


/* ==============================
   BLOG CTA SECTION (Dark Mode)
============================== */

.blog-cta {
  width: 100%;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  background: #000;
}

.blog-cta .cta-box {
  max-width: 900px;
  width: 100%;
  background: #111;
  border-radius: 18px;
  padding: 50px 30px;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 165, 0, 0.15);
}

.blog-cta h2 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 15px;
}

.blog-cta p {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 30px;
  line-height: 1.6;
}

.blog-cta .cta-btn {
  display: inline-block;
  padding: 14px 35px;
  background: orange;
  color: #000;
  font-weight: bold;
  border-radius: 40px;
  text-decoration: none;
  transition: 0.3s;
}

.blog-cta .cta-btn:hover {
  background: #fff;
  color: #000;
}