:root {
  --blue: #0d6efd;
  --blue-600: #0b5ed7;
  --teal: #00b894;
  --teal-soft: #e6fbf6;
  --dark: #111827;
  --btn-warning: #ff9800;
}

.btn-warning {
  background-color: var(--btn-warning);
  border-color: var(--btn-warning);
  color: #fff; /* optional: text color */
}

/*  --blue: #306c3d; */

html,
body {
  scroll-behavior: smooth;
}

.bg-primary {
  background: black;
}

/* 🌟 NAVBAR START */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* ensure it stays above carousel */
  background: rgba(249, 249, 249, 0.6); /* semi-transparent */
  backdrop-filter: blur(2px);
  padding: 0 90px;
}

.carousel {
  margin-top: 160px; /* equal to navbar height */
}
.bread{
     margin-top: 160px; /* equal to navbar height */
}


/* Links */
.navbar .nav-link {
  position: relative;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 10px 15px;
  color: #edac38 !important;
  transition: color 0.3s ease, transform 0.3s ease;
}
.navbar .nav-link:hover {
  color: #237023 !important;
  transform: translateY(-2px);
}

/* Animated Underline */
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #34d399, #10b981);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.navbar .nav-link:hover::after {
  width: 100%;
}

/* Mobile toggle button */
.navbar-toggler {
  border: none;
  outline: none;
}
.navbar-toggler-icon {
  filter: invert(1);
  transform: scale(1.2);
}

/* 🔔 Notification Bar */
.notification-bar {
  background: #065f46;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 30px;
  margin-bottom: 5px;
  border-radius: 5px;
}
.notification-bar .scrolling-text {
  display: inline-block;
  padding-left: 100%;
  animation: scrollText 15s linear infinite;
}
@keyframes scrollText {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Page load animation for menu */
.navbar-nav .nav-item {
  opacity: 0;
  transform: translateY(-15px);
  animation: fadeInDown 0.6s forwards;
}
.navbar-nav .nav-item:nth-child(1) {
  animation-delay: 0.2s;
}
.navbar-nav .nav-item:nth-child(2) {
  animation-delay: 0.4s;
}
.navbar-nav .nav-item:nth-child(3) {
  animation-delay: 0.6s;
}
.navbar-nav .nav-item:nth-child(4) {
  animation-delay: 0.8s;
}
.navbar-nav .nav-item:nth-child(5) {
  animation-delay: 1s;
}
.navbar-nav .nav-item:nth-child(6) {
  animation-delay: 1.2s;
}
.navbar-nav .nav-item:nth-child(7) {
  animation-delay: 1.4s;
}
.navbar-nav .nav-item:nth-child(8) {
  animation-delay: 1.6s;
}

@keyframes fadeInDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 🌟 NAVBAR END */

/* Navbar Icon Start */
/* Icons hidden initially */
.nav-link .nav-icon {
  display: block;
  font-size: 0; /* start hidden */
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  margin-bottom: 5px;
}

/* Show icon on hover */
.nav-link:hover .nav-icon {
  font-size: 1.5rem;
  opacity: 1;
  transform: translateY(0);
  color: #237023;
}

/* Navbar Icon End */

/* DropDown Start */
/* Open dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* fixes jump */
}

/* Change dropdown item hover background */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: #198754; /* Example: Bootstrap's green */
  color: #fff;
}

/* DropDown End */

/* BREADCRUMB START */
.page-header {
  background: url(images/bg.jpg) center center no-repeat;
  background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: var(--bs-tertiary);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  font-size: 18px;
  color: var(--bs-primary);
}

.page-header .breadcrumb-item.active {
  color: var(--bs-dark);
}
/* BREADCRUMB END */

/* SLIDER START */
.hero-slide {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

html,
body {
  overflow-x: hidden; /* Removes horizontal scrollbar */
}

.hero-slide .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  z-index: 1;
}
.hero-slide .container {
  position: relative;
  z-index: 2;
}
.kenburns {
  animation: kenburns 15s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.15) translate(-20px, -20px);
  }
}
.custom-indicators button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: white;
  opacity: 0.6;
  margin: 0 5px;
  transition: 0.3s;
}
.custom-indicators .active {
  opacity: 1;
  transform: scale(1.3);
  background-color: #28a745; /* green active dot */
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
  width: 40px;
  height: 40px;
}

/* SLIDER END */

.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: 8px 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%);
  }
}

/* Service start */
.service-card {
  transition: transform 0.3s;
  cursor: pointer;
}

.service-card:hover img {
  opacity: 0.7;
  transform: scale(1.05);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover .service-overlay {
  opacity: 1;
}
/* service end */
