/* ===============================
   GLOBAL RESET
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
}

/* NAVBAR FIX */
header, nav, .navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  width: 100%;
  z-index: 9999;
  margin: 0 !important;
  background: rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}

header.scrolled, nav.scrolled, .navbar.scrolled {
  background: rgba(0,0,0,0.85) !important;
}

/* ===============================
   PAGE BANNER
================================ */
.page-banner {
  position: relative;
  width: 100%;
  height: 420px; /* Desktop Height */
  background: url("img/img/bnner.png") center / cover no-repeat;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  overflow: hidden;
}

/* Dark Overlay */
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: 0 15px;
}

/* Content Wrapper */
.banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin-top: 70px; /* Navbar Spacing */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Banner Title */
.banner-title {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.2;
  word-wrap: break-word;
}

/* Yellow Underline */
.banner-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #f4c430;
  margin: 10px auto 15px;
}

/* Banner Subtitle */
.banner-subtitle {
  font-size: 16px;
  color: #eaeaea;
  margin-bottom: 20px;
  line-height: 1.6;
  max-width: 800px;
}

.banner-subtitle span {
  color: #f4c430;
  font-weight: 600;
}

/* Breadcrumb */
.banner-breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 25px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 10px;
  flex-wrap: wrap;
}

.banner-breadcrumb a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.banner-breadcrumb a:hover {
  color: #f4c430;
}

.banner-breadcrumb span {
  margin: 0 10px;
  color: #ccc;
  font-size: 14px;
}

.banner-breadcrumb .active {
  color: #f4c430;
  font-weight: 700;
  text-transform: uppercase;
}

/* ===============================
   BLOG DETAILS SECTION
================================ */
.blog-details-section {
  padding: 80px 0;
  background: #f9f9f9;
  font-family: 'Poppins', sans-serif;
}

.blog-details-section .row {
  align-items: flex-start !important; 
  display: flex;
  flex-wrap: wrap;
}

.blog-detail-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 25px;
}

.blog-detail-content {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.blog-detail-title {
  font-size: 34px;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
  line-height: 1.3;
}

.blog-detail-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-detail-meta span {
  color: #1f7a4d;
  font-weight: 600;
}

.blog-detail-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
  text-align: justify;
}

.blog-detail-content h3 {
  font-size: 22px;
  color: #1f7a4d;
  margin: 30px 0 15px;
  font-weight: 600;
}

.blog-detail-content ul li {
  font-size: 16px;
  color: #555;
  margin-bottom: 10px;
}

/* ===============================
   SIDEBAR – LATEST BLOGS
================================ */
.latest-blogs-sidebar {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  position: sticky;
  top: 120px; 
  z-index: 10;
}

.latest-blogs-sidebar h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #222;
  border-left: 4px solid #1f7a4d;
  padding-left: 15px;
  text-transform: uppercase;
}

.sidebar-blog {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 15px;
  background: #f8f9fa;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.sidebar-blog:hover {
  background: #1f7a4d;
  transform: translateX(5px);
}

.sidebar-blog img {
  width: 80px;
  height: 65px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.sidebar-content {
  display: flex;
  flex-direction: column;
}

.sidebar-content span {
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}

.sidebar-content h6 {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-blog:hover .sidebar-content span,
.sidebar-blog:hover .sidebar-content h6 {
  color: #ffffff;
}

/* ===============================
   RESPONSIVE DESIGN
================================ */
@media (max-width: 991px) {
  .latest-blogs-sidebar {
    position: static;
    margin-top: 50px !important;
  }
  
  .blog-detail-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .page-banner {
    height: 320px;
  }
  
  .banner-content {
    margin-top: 80px;
    padding: 0 15px;
  }

  .banner-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .banner-subtitle {
    font-size: 14px;
    padding: 0 10px;
  }

  .banner-breadcrumb {
    padding: 5px 10px;
    font-size: 12px;
    max-width: 95%;
  }

  .blog-details-section {
    padding: 50px 15px;
  }

  .blog-detail-content {
    padding: 25px 15px;
  }

  .blog-detail-title {
    font-size: 24px;
    text-align: center;
  }

  .blog-detail-meta {
    justify-content: center;
  }

  .blog-detail-image img {
    margin-bottom: 20px;
  }

  .latest-blogs-sidebar {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .banner-title {
    font-size: 24px;
  }

  .banner-subtitle {
    font-size: 12px;
  }

  .blog-detail-title {
    font-size: 22px;
  }

  .blog-detail-content h3 {
    text-align: center;
  }

  .blog-detail-content h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
}


