/* Use Case Section Styles */
.use-case-section {
  padding: 60px 0;
  background: #f8f9fa;
}
.use-case-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Fixed typo: gerald15px → 15px */
  transition: transform 0.3s ease;
}
.use-case-card:hover {
  transform: translateY(-10px);
}
.use-case-card img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  height: 200px;
  object-fit: cover;
}
.use-case-card .card-body {
  padding: 20px;
}
.use-case-card .btn {
  background-color: #7b4d11;
  color: white;
  border: none;
  transition: background-color 0.3s ease;
}
.use-case-card .btn:hover {
  background-color: #5a370d;
}

/* Notification Slider Styles */
.notification-slider {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #7b4d11;
  color: #fff;
  height: 50px;
  display: flex;
  align-items: center;
  z-index: 2000;
  overflow: hidden;
  transition: height 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}
.notification-slider.hidden {
  height: 0;
  opacity: 0;
  overflow: hidden;
}
.notification-slider .swiper {
  width: 100%;
}
.notification-slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px 0 20px;
  font-size: 0.9rem;
  text-align: center;
  height: 50px;
}
.notification-slider .swiper-slide a {
  color: #fff;
  text-decoration: underline;
  margin-left: 5px;
}
.notification-slider .swiper-slide a:hover {
  color: #f0f0f0;
}
.notification-slider .close-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
}
.notification-slider .swiper-pagination {
  bottom: 5px;
}
.notification-slider .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.7;
}
.notification-slider .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Header Styles */
.header {
  position: fixed; /* Ensure header stays at top */
  top: 50px; /* Default to below slider height */
  left: 0;
  width: 100%;
  background: #fff; /* Ensure background to prevent transparency */
  z-index: 1000; /* Below slider (z-index: 2000) */
  margin-bottom: 0;
  padding-bottom: 0;
  transition: top 0.3s ease;
}
.notification-slider.hidden + .header {
  top: 0; /* Move to top when slider is hidden */
}
.header-container {
  max-width: 90%; /* Wider than container-xl (1140px) */
  width: 100%;
  margin: 0 auto; /* Center the container */
  padding-left: 15px;
  padding-right: 15px;
}
@media (min-width: 1400px) {
  .header-container {
    max-width: 1400px; /* Cap width for very large screens */
  }
}
@media (max-width: 991px) {
  .header-container {
    max-width: 100%; /* Full width on smaller screens */
    padding-left: 10px;
    padding-right: 10px;
  }
}
.navmenu ul {
  display: flex;
  align-items: center;
  gap: 20px; /* Space between nav items */
}
.navmenu a {
  color: #333;
  font-size: 1rem;
  padding: 10px;
}
.navmenu a:hover,
.navmenu a.active {
  color: #7b4d11;
}

/* Main and Hero Adjustments */
.main {
  margin-top: 80px; /* Space for fixed header (50px slider + 30px header height) */
  padding-top: 0;
}
.notification-slider.hidden ~ .main {
  margin-top: 50px; /* Adjust when slider is hidden (30px header height) */
}
#hero {
  margin-top: 0;
  padding-top: 0;
}
#hero .container {
  margin-top: 0;
  padding-top: 0;
}

/* Blog Section Styles */
.blog-section {
  padding: 60px 0;
}
.blog-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-10px);
}
.blog-card img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  height: 200px;
  object-fit: cover;
}
.blog-card .card-body {
  padding: 20px;
}
.blog-card .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}
.blog-card .card-text {
  font-size: 0.9rem;
  color: #666;
}
.blog-card .read-more {
  color: #7b4d11;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}
.blog-card .read-more:hover {
  color: #5a370d;
  text-decoration: underline;
}