/* ===============================
   GLOBAL RESET (GAP FIX)
================================ */
* {
  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;
}

/* ===============================
   PAGE BANNER SECTION
================================ */
.page-banner {
  position: relative;
  width: 100%;
  height: 550px; /* Height for better spacing */
  background: url("img/img/bnner.png") center / cover no-repeat;
  margin: 0 !important; /* Removes White Gap */
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
}

/* 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;
}

/* ===============================
   BANNER CONTENT (CENTER ALIGNMENT FIX)
================================ */
.banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  padding: 0 20px;
  margin-top: 60px; /* Space below Navbar */
  
  /* FLEXBOX MAGIC FOR CENTERING */
  display: flex;
  flex-direction: column; /* Items one below another */
  align-items: center;    /* Horizontally Center */
  justify-content: center; /* Vertically Center */
  text-align: center;
}

/* 1. Title (BLOG) */
.banner-title {
  font-size: 56px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  order: 1; /* First Item */
  width: 100%;
}

/* Yellow Underline */
.banner-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #f4c430;
  margin: 10px auto 15px; /* Center aligned margin */
}

/* 2. Subtitle (Expert insights...) */
.banner-subtitle {
  font-size: 20px;
  color: #eaeaea;
  margin-bottom: 25px; /* Space before breadcrumb */
  line-height: 1.6;
  max-width: 800px;
  order: 2; /* Second Item */
  width: 100%;
  animation: fadeIn 1.4s ease forwards;
}

.banner-subtitle span {
  color: #f4c430;
  font-weight: 600;
}

/* 3. Breadcrumb (Home / Blog) - CENTER FIX */
.banner-breadcrumb {
  display: inline-flex; /* Shrink to content width */
  align-items: center;
  justify-content: center;
  
  background: rgba(255, 255, 255, 0.15); /* Light Background */
  padding: 8px 30px;
  border-radius: 50px; /* Pill Shape */
  border: 1px solid rgba(255, 255, 255, 0.2);
  
  order: 3; /* Third Item (Bottom) */
  width: auto; /* Prevent full width */
  margin: 0 auto; /* Force Center */
  
  opacity: 0;
  animation: fadeIn 1.4s ease forwards 0.5s; /* Delay animation */
}

/* Breadcrumb Links */
.banner-breadcrumb a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.banner-breadcrumb a:hover {
  color: #f4c430;
}

/* Separator (/) */
.banner-breadcrumb span {
  margin: 0 12px;
  color: #ccc;
  font-size: 14px;
}

/* Active Page */
.banner-breadcrumb .active {
  color: #f4c430;
  font-weight: 700;
  text-transform: uppercase;
}

/* ===============================
   ANIMATIONS
================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes underlineGrow {
  from { width: 0; }
  to { width: 80px; }
}

/* ===============================
   RESPONSIVE (MOBILE)
================================ */
@media (max-width: 768px) {
  .page-banner {
    height: 350px;
  }

  .banner-content {
    margin-top: 70px; /* Navbar Adjustment */
    padding: 0 15px;
  }

  .banner-title {
    font-size: 36px;
    margin-bottom: 10px;
  }

  .banner-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .banner-breadcrumb {
    padding: 6px 20px;
    font-size: 13px;
  }
}/* ===================================
   PAGE BANNER - FIX FOR TRANSPARENT NAVBAR
=================================== */
.page-banner {
  position: relative;
  width: 100%;
  height: 60vh; 
  min-height: 500px;
  
  
  margin-top: -80px !important; 
  padding-top: 80px !important; 
  
  
  background-attachment: fixed;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}
