/* Reset margins and paddings */
html,
body,
ul {
  margin: 0px !important;
  padding: 0px;
  font-family: 'Poppins', sans-serif !important;
  user-select: none;
  overflow-x: hidden;
}

a.text-dark.fw-bold.text-decoration-none {
  letter-spacing: 0.8px !important;
}

img {
  -webkit-user-drag: none;
  /* Disable dragging in WebKit browsers */
  -moz-user-select: none;
  /* Disable text selection in Firefox */
  -webkit-user-select: none;
  /* Disable text selection in WebKit browsers */
  -ms-user-select: none;
  /* Disable text selection in IE/Edge */
  user-select: none;
  /* Standard */
  pointer-events: none;
  /* Optional: disables any pointer interaction */
}

/* Premium Navbar Styling */
.navbar {
  background-color: transparent;
  padding: 8px 0;
  /* Shrinking further from 12px */
  position: fixed !important;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex !important;
  align-items: center !important;
  padding: 10px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 4px 0;
  /* Very compact when scrolled */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled #navbarLogo {
  height: 32px !important;
  /* Smaller logo on scroll */
}

.navbar .nav-link {
  color: #21252A !important;
  font-weight: 700;
  font-size: 14px;
  /* Reduced from 15px */
  letter-spacing: 1.2px;
  text-transform: uppercase;
  position: relative;
  transition: all 0.3s ease;
  opacity: 0.8;
  padding: 5px 15px !important;
  /* Consistent padding */
  line-height: 1.5;
  /* Normalize line height */
  display: flex;
  align-items: center;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #176734;
  opacity: 1;
}

/* Underline Animation */
.navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #176734;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 30%;
}

.btn-find-us {
  border: 1px solid rgba(23, 103, 52, 0.2);
  border-radius: 50px;
  transition: all 0.3s ease;
  padding: 4px 18px !important;
  /* Slightly more compact */
  margin-left: 10px;
}

.btn-find-us:hover {
  background-color: #176734;
  color: #fff !important;
  border-color: #176734;
}

/* Target list-style link hover in footer, etc. */
.list-unstyled li>a:hover {
  color: #176734 !important;
}


/* Fade-in effect */
.fade-in {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.fade-in.visible {
  opacity: 1;
}

/* Responsive logo spacing in nav */
.navbar-brand img {
  height: 40px;
  width: auto;
  transition: height 0.3s ease;
}

/* Custom button */
.btn-custom-brown {
  color: white !important;
  font-weight: bold !important;
  border-radius: 0px !important;
  background-color: #176734 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
}

.btn-custom-brown:hover {
  background-color: #135809 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 103, 52, 0.3);
}

.btn-custom-brown:active {
  transform: translateY(0);
}

.shadow-sm-hover:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.school-meal-heading {
  font-size: 3.5rem;
}

@media (max-width: 991px) {
  .school-meal-heading {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .school-meal-heading {
    font-size: 2rem;
  }

  .w-100-mobile {
    width: 100% !important;
  }
}

.transition-all {
  transition: all 0.3s ease;
}


/* Responsive tweaks for smaller screens */
@media (max-width: 991.98px) {
  .navbar {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0 !important;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0;
    padding-top: 15px;
    width: 100%;
  }

  .navbar-collapse {
    background-color: white;
    padding: 0 15px 20px 15px;
  }

  .navbar-toggler {
    padding: 4px 8px;
    border: 1px solid #eee !important;
  }

  .navbar-toggler:focus {
    box-shadow: none !important;
  }

  .navbar .nav-link::after {
    left: 0;
    /* Move start to the far left */
    transform: none;
    /* Remove the centering transform */
  }

  .navbar .nav-link:hover::after,
  .navbar .nav-link.active::after {
    width: 100%;
    /* Line takes full width of the mobile menu item */
  }
}