:root {
  --blue: #0d6efd;
  --blue-600: #0b5ed7;
  --teal: #00b894;
  --teal-soft: #e6fbf6;
  --dark: #111827;
}

/*  --blue: #306c3d; */

html,
body {
  scroll-behavior: smooth;
}

.bg-primary {
  background: black;
}
.navbar {
  background-color: #306c3d;
}
.navbar .nav-link {
  position: relative;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: #a7f3d0;
  transition: width 0.25s;
}
.navbar .nav-link:hover::after {
  width: 100%;
}

.hero-slide {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35));
}
.hero-slide > .container {
  position: relative;
  z-index: 2;
}

.section-title {
  font-weight: 800;
  letter-spacing: 0.3px;
}

.soft-card {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hover-rise:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.badge.bg-success-subtle {
  background: #e9fbe7;
  color: #1f7a36;
  border: 1px solid #bde8bd;
}
.badge.bg-primary-subtle {
  background: #e8f1ff;
  color: #0d47a1;
  border: 1px solid #cfe0ff;
}

.gradient-section {
  background: linear-gradient(135deg, #e8faff 0%, #eafff7 100%);
}

.cta-strip {
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.stat-card {
  background: white;
  border-radius: 1rem;
}

.date-badge {
  width: 56px;
  text-align: center;
  border-radius: 0.75rem;
  background: #e8f1ff;
}
.date-badge .day {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0d47a1;
  line-height: 1;
}
.date-badge .mon {
  font-weight: 700;
  color: #0d47a1;
  opacity: 0.8;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  display: block;
  padding: 0.2rem 0;
}
.footer-links a:hover {
  color: #fff;
}

/* hero buttons */
.btn-primary {
  background: var(--blue);
  border-color: var(--blue-600);
}
.btn-outline-primary {
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline-primary:hover {
  background: var(--blue);
  color: #fff;
}

/* Gallery */
.gallery-img {
  border-radius: 1rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s;
}
.gallery-img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

/* Forms */
.form-control:focus,
.form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 0.25rem rgba(0, 184, 148, 0.15);
}

/* Blog */
.post-card .post-meta {
  font-size: 0.85rem;
  color: #6b7280;
}
.post-card img {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .hero-slide {
    min-height: 70vh;
  }
}

/* Small utility */
.bg-teal-soft {
  background: var(--teal-soft);
}
.text-teal {
  color: var(--teal);
}

/* carousel controls */
.carousel-control-next {
  right: -50px;
}

.carousel-control-prev {
  left: -50px;
}


/* ---- Put this at the bottom ---- */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column; /* stack for mobile */
    align-items: center;
  }

  .navbar img.ad-banner {
    margin-top: 10px; /* give space between logo and ad */
    width: 100%; /* make it responsive */
  }
}

.notification-bar {
  background: #306c3d;
  padding: 0px 0;
  overflow: hidden;
  white-space: nowrap;
      margin-right: 130px;
    margin-top: -42px;
}

.scrolling-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 15s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
