/* ============================================= */
/* OFFCANVAS MENU STYLES */
/* ============================================= */

/* Offcanvas Container */
@media screen and (min-width: 350px) and (max-width: 780px) {
 a.btn.btn-success.nav-enq {
    display: none !important;
  }
}
.offcanvas {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-left: 1px solid rgba(0,0,0,0.1);
}

.offcanvas-header {
  padding: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  background: #fff;
}

.offcanvas-title {
  font-size: 1.5rem;
  color: #166534;
  display: flex;
  align-items: center;
}

.offcanvas-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Close Button */
.btn-close.text-reset {
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  opacity: 1;
}

.btn-close.text-reset svg {
  transition: transform 0.3s ease;
}

.btn-close.text-reset:hover svg {
  transform: rotate(90deg);
}

/* Mobile Navigation Links */
.navbar-nav.flex-column .nav-link {
  font-weight: 500;
}

.navbar-nav.flex-column .nav-link:hover {
  color: #166534;
  background: rgba(22, 101, 52, 0.05);
  padding-left: 10px;
  border-radius: 8px;
}

.nav-icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.nav-text {
  font-size: 1rem;
  flex-grow: 1;
}

.arrow-icon {
  color: #166534;
  font-weight: bold;
}

/* Mobile Contact Info */
.mobile-contact-info {
  background: rgba(22, 101, 52, 0.05) !important;
  border: 1px solid rgba(22, 101, 52, 0.1);
}

.contact-icon {
  color: #166534;
  font-size: 1.1rem;
}

/* Mobile CTA Buttons */
.mobile-cta-buttons .btn {
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.mobile-cta-buttons .btn-success {
  background: linear-gradient(90deg, #166534 0%, #16A34A 100%);
  border: none;
}

.mobile-cta-buttons .btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(22, 101, 52, 0.3);
}

.mobile-cta-buttons .btn-outline-success {
  border: 2px solid #166534;
}

.mobile-cta-buttons .btn-outline-success:hover {
  background: #166534;
  color: white;
}

/* Social Icons */
.social-icon {
  width: 40px;
  height: 40px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #166534;
  transform: translateY(-3px);
}

.social-icon:hover img {
  filter: brightness(0) invert(1);
}

/* Toggler Button for Mobile */
.navbar-toggler.d-lg-none {
  border: none;
  background: transparent;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navbar-toggler.d-lg-none:hover {
  background: rgba(0,0,0,0.05);
}

.navbar-toggler.d-lg-none:focus {
  box-shadow: none;
  outline: none;
}

/* ============================================= */
/* MOBILE RESPONSIVE FIXES FOR OFFCANVAS */
/* ============================================= */

@media (max-width: 991px) {
  /* Hide desktop menu button on mobile */
  .navbar-collapse.d-none.d-lg-block {
    display: none !important;
  }

  /* Adjust navbar for mobile */
  .custom-navbar {
    padding: 10px 0;
    max-width: 95% !important;
    margin: 10px auto !important;
  }
  
  /* Hide the old collapse menu */
  #nav {
    display: none !important;
  }
  
  /* Adjust offcanvas width */
  .offcanvas-end {
    width: 320px !important;
  }
}

@media (max-width: 576px) {
  .offcanvas-end {
    width: 280px !important;
  }
  
  .offcanvas-body {
    padding: 15px;
  }
  
  .navbar-nav.flex-column .nav-link {
    padding: 12px 0;
    font-size: 0.95rem;
  }
  
  .mobile-cta-buttons .btn {
    padding: 12px !important;
    font-size: 0.95rem;
  }
}

/* ============================================= */
/* SMOOTH TRANSITIONS */
/* ============================================= */

.offcanvas {
  transition: transform 0.3s ease-in-out;
}

/* Remove old JavaScript menu fix since we're using offcanvas now */
.menu-open {
  overflow: auto !important; /* Reset this */
}

/* Hide old navbar toggler icon */
.navbar-toggler img[alt*="filter"] {
  display: none;
}

/* Show only on mobile */
@media (min-width: 992px) {
  .navbar-toggler.d-lg-none {
    display: none !important;
  }
}

/* Adjust desktop button spacing */
@media (min-width: 992px) {
  .btn.btn-success.px-4.d-none.d-lg-inline-flex {
    margin-right: 0 !important;
  }
}

/* innner panner */