:root {
  --hp-bg: #F1EFEC;
  --hp-accent: #D4C9BE;
  --hp-primary: #123458;
  --hp-ink: #030303;
}

body {
  background: linear-gradient(180deg, #f1efec 0%, #ffffff 100%);
  min-height: 100vh;
}

/* Section */
.news-updates {
  padding: 60px 0;
  background-color: transparent;
}

/* Heading */
.heading-alone {
  color: var(--hp-primary);
  font-size: 2.2rem;
  font-weight: 700;
  border-bottom: 2px solid var(--hp-accent);
  padding-bottom: 10px;
  display: inline-block;
}

/* Wrapper */
.news-slider-wrapper {
  position: relative;
  width: 100%;
}

/* Horizontal Scroll */
.news-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1.5rem;
  padding: 10px 0;
  scrollbar-width: none;
}
.news-slider::-webkit-scrollbar {
  display: none;
}

/* Cards */
.news-card {
  flex: 0 0 auto;
  width: 300px;
  background-color: #fff;
  border-radius: 14px;
  padding: 1.75rem;
  position: relative;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Quote icon */
.quote-icon {
  font-size: 1.8rem;
  color: var(--hp-primary);
  margin-bottom: 1rem;
}

/* Arrow tail */
.news-card::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 36px;
  border-width: 18px 18px 0 0;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.05));
}

/* Text styling */
.news-card p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 0;
  font-size: 1rem;
}
.news-card h5 {
  color: var(--hp-primary);
  font-size: 1.15rem;
  margin-top: 1rem;
}
.news-card small {
  display: block;
  margin-top: 0.25rem;
  color: #7a8794;
}

/* Arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.25s ease;
  color: var(--hp-primary);
  z-index: 5;
}
.slider-btn:hover {
  background-color: var(--hp-primary);
  color: #fff;
}
.slider-btn.left { left: -20px; }
.slider-btn.right { right: -20px; }

/* Responsive */
@media (max-width: 575.98px) {
  .news-card {
    width: 85%;
  }
  .slider-btn.left { left: 0; }
  .slider-btn.right { right: 0; }
}

/* --- See More Button --- */
.see-more-btn {
  color: var(--hp-primary);
  border-color: var(--hp-primary);
  border-radius: 20px;
  font-size: 0.9rem;
  padding: 5px 15px;
  transition: all 0.25s ease;
}
.see-more-btn:hover {
  background-color: var(--hp-primary);
  color: #fff;
}

/* --- Modal Styling --- */
.modal {
  z-index: 1065 !important; /* Ensures modal stays above backdrop */
}

.modal-backdrop.show {
  backdrop-filter: blur(3px);
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1060 !important; /* Slightly below modal */
}

.modal-content {
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border: none;
  overflow: hidden;
  position: relative;
  z-index: 1070;
  animation: fadeUp 0.35s ease-out;
}

.modal-header {
  background-color: var(--hp-primary);
  color: #fff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  border-bottom: none;
}

.modal-title {
  font-weight: 600;
  font-size: 1.25rem;
}

.modal-body {
  padding: 1.5rem 2rem;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

.modal-body p {
  margin-bottom: 0.75rem;
}

/* Close button styling */
.btn-close {
  filter: brightness(0) invert(1); /* Makes close button white */
  opacity: 1;
  z-index: 1075;
  position: relative;
}
.btn-close:hover {
  opacity: 0.75;
}

/* Optional: Modal fade-up animation */
@keyframes fadeUp {
  from {
    transform: translateY(25px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}