@media (min-width: 768px) {
  .mobile-only-palm {
    display: none !important;
  }
}

/* --- Custom Navbar & Background --- */
.custom-navbar .bg-gradient-green {
  background: linear-gradient(200deg, #1a3a1d, #2d5d46, #1a3a1d);
  background-size: 300% 400%;
  animation: gradient-flow 6s ease infinite;
  box-shadow: 0 12px 10px rgba(1, 58, 1, 0.2);
}

.custom-navbar {
  position: sticky;
  top: 0;
  z-index: 10000;
}

@keyframes gradient-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Top Bar (Desktop Only) --- */
.top-bar {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 5px 0;
  margin: 0;
}

.top-bar .container {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.top-bar .contact-info {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Hide top bar on mobile */
@media (max-width: 991px) {
  .top-bar {
    display: none;
  }
}

/* --- Phone Button Styling --- */
.phone-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4dd219;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 4px 10px rgba(77, 210, 25, 0.3);
}

.phone-button i {
  font-size: 1.5rem;
  margin-right: 12px;
  color: #fff;
}

.phone-button:hover {
  background: #3cb017;
  box-shadow: 0px 6px 15px rgba(77, 210, 25, 0.5);
  transform: scale(1.05);
}

/* --- Mobile Header Layout --- */
.mobile-header {
  width: 100%;
  padding: 10px 15px;
}

.mobile-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
}

/* Logo container (left) */
.mobile-left {
  flex: 0 0 auto;
  max-width: 80px; /* Adjust based on your logo size */
}

/* Call Us button container (center) */
.mobile-center {
  flex: 1;
  text-align: center;
  padding: 0 10px;
}

/* Hamburger menu container (right) */
.mobile-right {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  min-width: 50px;
}

/* Hamburger menu alignment */
.navbar-toggler {
  margin-left: auto;
}

/* Mobile logo sizing */
.mobile-logo {
  max-height: 80px;
  width: auto;
}

/* --- Desktop Navigation & Additional Styles --- */
.custom-navbar .glow-item {
  position: relative;
  color: #ffffff !important;
  border-radius: 30px;
  transition: all 0.4s ease;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1.2px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-navbar .glow-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.main-logo {
  filter: drop-shadow(0 0 20px rgba(138, 255, 150, 0.6));
  transition: all 0.3s ease;
}

.main-logo:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 30px rgba(138, 255, 150, 0.8));
}

/* --- Desktop Layout --- */
@media (min-width: 992px) {
  .custom-navbar .navbar-nav {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .custom-navbar .d-flex {
    gap: 4px;
  }
}


@media (max-width: 991px) {
 
    #navbarMain {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: linear-gradient(200deg, #1a3a1d, #2d5d46, #1a3a1d);
      padding: 1rem;
    }
  
    #navbarMain.active {
      display: block;
    }

    .custom-navbar .navbar-nav {
      flex-direction: column !important;
      align-items: center;
      gap: 10px;
    }
    
    .custom-navbar .d-flex {
      flex-direction: column !important;
      width: 100%;
      text-align: center;
      gap: 10px;
    }
    
    .custom-navbar .nav-item {
      width: 100%;
    }
  .custom-navbar .logo-container {
    display: none !important;
  }
}