/* Banner Section */
.banner {
  font-family: 'Open Sans', sans-serif;
  width: 100%;
  background: #f4f7ff;
  padding: 1rem 0;
  display: flex;
  justify-content: center;
}

.banner-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 1rem;
  flex-wrap: wrap;
}

.banner-left {
  flex: 1;
  min-width: 280px;
  padding: 1rem 0;
}

.banner-left h1 {
  font-size: 1.8rem; /* Reduced from 2rem */
  color: #1e266d;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.breadcrumb {
  color: #555;
  font-size: 0.85rem; /* Reduced from 0.9rem */
  margin-top: 0.5rem;
}

.breadcrumb span:first-child a {
  color: #555;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb span:first-child a:hover {
  color: #1e266d;
}

.banner-right {
  flex: 0 0 auto;
  padding-left: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-image {
  width: 100%;
  max-width: 400px;
  height: 180px;
  border-radius: 0.5rem;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Tablet Devices (768px and up) */
@media (min-width: 768px) {
  .banner {
      padding: 1.5rem 0;
  }
  
  .banner-container {
      padding: 0 1.5rem;
  }
  
  .banner-left h1 {
      font-size: 2.2rem; /* Reduced from 2.5rem */
  }
  
  .breadcrumb {
      font-size: 0.9rem; /* Reduced from 1rem */
  }
  
  .banner-image {
      height: 200px;
  }
}

/* Small Laptops (1024px and up) */
@media (min-width: 1024px) {
  .banner {
      padding: 2rem 0;
  }
  
  .banner-container {
      padding: 0 2rem;
  }
  
  .banner-left h1 {
      font-size: 2.5rem; /* Reduced from 3rem */
  }
  
  .banner-right {
      padding-left: 2rem;
  }
}

/* Mobile Devices (up to 767px) */
@media (max-width: 767px) {
  .banner-container {
      flex-direction: column;
      text-align: center;
      padding: 0 1rem;
  }
  
  .banner-left {
      min-width: 100%;
      padding: 1rem 0;
      order: 1;
  }
  
  .banner-right {
      padding-left: 0;
      padding-top: 1rem;
      order: 2;
      width: 100%;
  }
  
  .banner-image {
      width: 100%;
      max-width: 100%;
      height: 150px;
  }
  
  .banner-left h1 {
      font-size: 1.6rem; /* Reduced from 1.8rem */
      margin-bottom: 0.25rem;
  }
  
  .breadcrumb {
      font-size: 0.8rem; /* Reduced from 0.85rem */
  }
}

/* Extra Small Devices (up to 480px) */
@media (max-width: 480px) {
  .banner {
      padding: 0.75rem 0;
  }
  
  .banner-container {
      padding: 0 0.75rem;
  }
  
  .banner-left h1 {
      font-size: 1.4rem; /* Reduced from 1.6rem */
  }
  
  .banner-image {
      height: 120px;
  }
  
  .breadcrumb {
      font-size: 0.75rem; /* Reduced from 0.8rem */
  }
}

/* Large Desktop Screens (1440px and up) */
@media (min-width: 1440px) {
  .banner-container {
      max-width: 1400px;
  }
  
  .banner-left h1 {
      font-size: 2.8rem; /* Reduced from 3.5rem */
  }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .banner-image {
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }
}

/* Print Styles */
@media print {
  .banner {
      background: white !important;
      padding: 1rem 0;
  }
  
  .banner-image {
      display: none;
  }
  
  .banner-left h1 {
      color: black !important;
      font-size: 1.5rem; /* Reduced for print */
  }
}