/* Header & Navigation */
.bg-custom-dark { background-color: var(--bs-dark); box-shadow: 0 2px 10px rgba(0,0,0,0); }

.logo-img { 
  max-height: 90px; 
  width: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.navbar {
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}

.navbar-dark .nav-link { 
  color: rgba(255,255,255,0.75); 
  font-weight: 500; 
  font-size: 0.95rem; 
  padding: 0.75rem 1.25rem; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-radius: 8px;
  margin: 0 0.25rem;
}

.navbar-dark .nav-link:focus-visible,
.language-toggle:focus-visible {
  outline: 2px solid var(--bs-accent);
  outline-offset: 3px;
}

.navbar-dark .nav-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(25, 135, 84, 0.1);
  border-radius: 50%;
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.navbar-dark .nav-link:hover::before {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.navbar-dark .nav-link:hover, 
.navbar-dark .nav-link.active { 
  color: var(--bs-white); 
  transform: translateY(-2px);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.navbar-dark .nav-link.active {
  background: rgba(25, 135, 84, 0.15);
  color: var(--bs-accent);
  font-weight: 600;
}

.navbar-dark .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 60%;
  height: 2px;
  background: var(--bs-accent);
  transform: translateX(-50%);
  border-radius: 2px;
}

.language-toggle-container { 
  display: inline-flex; 
  align-items: center; 
  gap: 0.35rem;
  background: rgba(255,255,255,0.08);
  padding: 0.35rem 0.45rem;
  border-radius: 999px;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.language-toggle { 
  color: rgba(255,255,255,0.7); 
  text-decoration: none; 
  font-weight: 600; 
  margin: 0; 
  transition: all 0.3s ease;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.language-toggle:hover { 
  color: var(--bs-white); 
  background: rgba(25, 135, 84, 0.18);
  transform: scale(1.05);
}

.language-toggle.active {
  color: var(--bs-white);
  background: var(--bs-accent);
  box-shadow: 0 8px 20px rgba(25, 135, 84, 0.35);
}

.language-separator { 
  color: rgba(255,255,255,0.35);
  margin: 0;
}

header.navbar.sticky-top { 
  z-index: 1080; 
  transition: all 0.3s ease;
}

/* Enhanced navbar on scroll */
.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(var(--bs-dark-rgb), 0.9);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar.scrolled .logo-img {
  max-height: 75px;
}

/* Enhanced desktop navigation */
@media (min-width: 992px) {
  /* Ensure brand on left and nav on far right */
  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
  }

  .navbar-nav .nav-link {
    display: flex;
    align-items: center;
    position: relative;
  }
  
  .navbar-nav .nav-link i {
    display: none;
  }
  
  /* Desktop navigation styling - improved spacing and alignment */
  .navbar-nav {
    gap: 1rem;
    align-items: center;
  }
  
  .nav-item {
    position: relative;
  }
  
  /* Enhanced spacing for desktop - logo left, menu right */
  .navbar-brand {
    margin-right: auto;
    margin-left: 0;
  }
  
  .navbar-nav {
    margin-left: auto;
  }
  
  .navbar-collapse {
    justify-content: flex-end;
    margin-left: auto;
    flex-grow: 0;
    padding-right: 0;
    align-items: center;
  }
  
  .navbar-nav .nav-link {
    letter-spacing: 0.3px;
    font-weight: 500;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
  }
  
  /* Enhanced search button positioning */
  .nav-item:last-of-type {
    margin-left: 1rem;
  }
  
  /* Language toggle enhancement - better positioning */
  .language-toggle-container {
    margin-left: 1.5rem;
    position: relative;
  }
  
  /* Enhanced navbar height and padding for desktop */
  .navbar {
    padding: 1.75rem 0;
    min-height: 110px;
  }
  
  /* Better visual hierarchy for desktop nav */
  .navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transform: translateY(-3px);
  }
  
  /* Improved desktop search button styling */
  .search-toggle {
    margin: 0;
    min-width: 48px;
    min-height: 48px;
    width: 48px;
    height: 48px;
  }
  
  /* Smooth transitions for all desktop elements */
  .navbar-nav .nav-link,
  .language-toggle,
  .logo-img,
  .search-toggle {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

/* Hero */
.hero-section { position: relative; height: auto; min-height: 0; display: flex; align-items: center; justify-content: center; background: transparent; color: var(--bs-white); overflow: hidden; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(var(--bs-dark-rgb), 0.75) 0%, rgba(var(--bs-dark-rgb), 0.5) 55%, rgba(var(--bs-dark-rgb), 0.25) 80%, rgba(var(--bs-dark-rgb), 0.1) 100%); animation: pulse-overlay 10s infinite alternate ease-in-out; }
@keyframes pulse-overlay { 0% { opacity: 1; } 100% { opacity: 0.9; } }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding-left: 1rem; padding-right: 1rem; }
.hero-title { font-size: clamp(2rem, 7vw, 3.5rem); color: var(--bs-white); text-shadow: 2px 2px 8px rgba(0,0,0,0.7); line-height: 1.2; }
.hero-description { font-size: clamp(1rem, 4vw, 1.25rem); font-weight: 400; color: rgba(255,255,255,0.9); text-shadow: 1px 1px 4px rgba(0,0,0,0.7); text-align: center; max-width: 650px; margin-left: auto; margin-right: auto; }

/* Why choose us */
.why-choose-us { background-color: var(--bs-light); padding-top: 3rem; padding-bottom: 3rem; }

/* Footer */
.footer-link { color: rgba(255,255,255,0.7); transition: color 0.2s ease-in-out; }
.footer-link:hover { color: var(--bs-white); }
.social-icon { color: rgba(255,255,255,0.7); font-size: 1.8rem; transition: color 0.2s ease-in-out, transform 0.2s ease-in-out; }
.social-icon:hover { color: var(--bs-accent); transform: scale(1.2); }


/* Modern Search Overlay - Clean & Minimal Design */
@keyframes search-fade-in {
  0% { 
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  100% { 
    opacity: 1;
    backdrop-filter: blur(20px);
  }
}

@keyframes search-slide-up {
  0% { 
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes search-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 100vh;
  box-sizing: border-box;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
  animation: search-fade-in 0.4s ease-out;
}

/* Disable body scroll when search is active */
.search-overlay.active ~ * body,
body.search-active {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

.search-container {
  position: relative;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(30px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  margin-top: 4rem;
  overflow: hidden;
}

/* Adjust container when results are shown */
.search-container.has-results {
  max-height: 85vh;
}

.search-container.has-results .search-content {
  max-height: 500px;
}

.search-overlay.active .search-container {
  transform: translateY(0) scale(1);
  animation: search-slide-up 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.search-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(0, 0, 0, 0.08);
  border: none;
  color: #6b7280;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.search-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  transform: scale(1.1) rotate(90deg);
}

.search-close:active {
  transform: scale(0.95) rotate(90deg);
}

.search-header {
  padding: 2.5rem 2.5rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.search-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: -0.025em;
}

.search-subtitle {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.search-form {
  position: relative;
  margin-bottom: 0;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.search-input-wrapper:focus-within {
  border-color: #10b981;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.search-input {
  flex: 1;
  padding: 1rem 1.25rem 1rem 3.5rem;
  font-size: 1.1rem;
  border: none;
  background: transparent;
  color: #111827;
  outline: none;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.search-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 1.25rem;
  transition: color 0.3s ease;
  pointer-events: none;
}

.search-input-wrapper:focus-within .search-icon {
  color: #10b981;
}

.search-submit {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  border-radius: 12px;
  margin: 0.5rem;
  padding: 0.75rem 1.25rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.search-submit:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.search-submit:active {
  transform: translateY(0);
}

.search-content {
  padding: 1.5rem 2.5rem 2.5rem;
  max-height: 400px;
  overflow-y: auto;
}

.search-suggestions {
  margin-bottom: 2rem;
}

.search-suggestions h6 {
  color: #374151;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-suggestions h6::before {
  content: '';
  width: 3px;
  height: 16px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 2px;
}

.suggestion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.suggestion-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.suggestion-tag:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-color: #10b981;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.suggestion-tag i {
  font-size: 0.875rem;
  opacity: 0.7;
}

.suggestion-tag:hover i {
  opacity: 1;
}

/* Search Results Styling */
.search-results-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-results-header h3 {
  color: #111827;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-results-header h3::before {
  content: '';
  width: 4px;
  height: 20px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 2px;
}

.search-results-header p {
  color: #6b7280;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.search-result-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.search-result-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  border-radius: 4px 0 0 4px;
}

.search-result-item:hover {
  border-color: #10b981;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
  transform: translateY(-2px) translateX(4px);
}

.search-result-item:hover::before {
  transform: scaleY(1);
}

.search-result-content {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.search-result-category {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 0.5rem 0.875rem;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  color: #111827;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.search-result-item:hover .search-result-title {
  color: #10b981;
}

.search-result-description {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.search-result-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid #f3f4f6;
}

.search-result-score {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 0.375rem 0.625rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.7rem;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.search-result-terms {
  color: #9ca3af;
  font-style: italic;
  background: #f9fafb;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.7rem;
}

/* No Results State */
.search-no-results {
  text-align: center;
  padding: 3rem 2rem;
}

.search-no-results i {
  font-size: 3rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.search-no-results h3 {
  color: #111827;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.search-no-results p {
  color: #6b7280;
  margin-bottom: 2rem;
}


/* Loading State */
.search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 0.75rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.search-loading i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


/* Modern Search Toggle Button */
.search-toggle {
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  padding: 0.6rem 1rem !important;
  border-radius: 12px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  color: white !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  backdrop-filter: blur(8px) saturate(1.1) !important;
  -webkit-backdrop-filter: blur(8px) saturate(1.1) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.1) !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.search-toggle i {
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
}

.search-toggle span {
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
}

.search-toggle:hover {
  background: linear-gradient(135deg, var(--bs-accent) 0%, #157347 100%) !important;
  border-color: var(--bs-accent) !important;
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 8px 20px rgba(25,135,84,0.3), 0 0 15px rgba(25,135,84,0.2) !important;
  color: white !important;
}

.search-toggle:hover i {
  transform: scale(1.1) rotate(10deg) !important;
}

.search-toggle:active {
  transform: translateY(-1px) scale(1.02) !important;
  transition-duration: 0.1s !important;
}

/* Search button icon animation */
.search-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
  z-index: -1;
}

.search-toggle:hover::before {
  width: 100%;
  height: 100%;
}

/* Steering Icon Styling */
.search-icon-steering {
  width: 35px !important;
  height: 35px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  transition: all 0.3s ease;
  filter: brightness(0) invert(1) brightness(2) contrast(1.5);
  opacity: 0.9;
  display: block !important;
  object-fit: contain !important;
  vertical-align: middle !important;
  margin: 0 auto !important;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

.search-toggle:hover .search-icon-steering {
  transform: translateX(-50%) scale(1.15);
  filter: brightness(0) invert(1) brightness(2.5) contrast(2);
  opacity: 1;
  animation: steering-wheel-park 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes steering-wheel-park {
  0% {
    transform: translateX(-50%) scale(1.15) rotate(0deg);
    filter: brightness(0) invert(1) brightness(2.5) contrast(2);
  }
  15% {
    transform: translateX(-50%) scale(1.25) rotate(-90deg);
    filter: brightness(0) invert(1) brightness(3) contrast(2.2);
  }
  35% {
    transform: translateX(-50%) scale(1.3) rotate(180deg);
    filter: brightness(0) invert(1) brightness(3.5) contrast(2.5);
  }
  50% {
    transform: translateX(-50%) scale(1.35) rotate(450deg);
    filter: brightness(0) invert(1) brightness(4) contrast(2.8);
  }
  65% {
    transform: translateX(-50%) scale(1.3) rotate(630deg);
    filter: brightness(0) invert(1) brightness(3.5) contrast(2.5);
  }
  80% {
    transform: translateX(-50%) scale(1.25) rotate(720deg);
    filter: brightness(0) invert(1) brightness(3) contrast(2.2);
  }
  90% {
    transform: translateX(-50%) scale(1.18) rotate(720deg);
    filter: brightness(0) invert(1) brightness(2.8) contrast(2.1);
  }
  100% {
    transform: translateX(-50%) scale(1.15) rotate(720deg);
    filter: brightness(0) invert(1) brightness(2.5) contrast(2);
  }
}

/* Enhanced click animation for steering icon */
.search-toggle:active .search-icon-steering {
  animation: steering-wheel-spin 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes steering-wheel-spin {
  0% {
    transform: scale(1) rotate(0deg);
    filter: brightness(0) invert(1) brightness(2) contrast(1.5);
  }
  25% {
    transform: scale(1.3) rotate(90deg);
    filter: brightness(0) invert(1) brightness(3.5) contrast(2.2);
  }
  50% {
    transform: scale(1.4) rotate(180deg);
    filter: brightness(0) invert(1) brightness(4) contrast(2.5);
  }
  75% {
    transform: scale(1.3) rotate(270deg);
    filter: brightness(0) invert(1) brightness(3.5) contrast(2.2);
  }
  100% {
    transform: scale(1) rotate(360deg);
    filter: brightness(0) invert(1) brightness(2) contrast(1.5);
  }
}

/* Mobile search button adjustments */
@media (max-width: 991.98px) {
  .search-toggle {
    padding: 0.5rem 0.8rem !important;
    font-size: 0.85rem !important;
  }
  
  .search-toggle span {
    display: none !important;
  }
  
  .search-toggle i {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 480px) {
  .search-toggle {
    padding: 0.4rem !important;
    min-width: 40px !important;
    justify-content: center !important;
  }
}

/* Enhanced Navbar Background */
.navbar {
  background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%) !important;
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Enhanced Logo Animation */
.logo-img {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-img:hover {
  transform: scale(1.05) rotate(1deg);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

/* Enhanced Navigation Items */
.navbar-dark .nav-link {
  position: relative;
  overflow: hidden;
}

.navbar-dark .nav-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(25, 135, 84, 0.3) 0%, transparent 70%);
  transition: all 0.5s ease;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.navbar-dark .nav-link:hover::before {
  width: 120%;
  height: 120%;
}

/* Enhanced Active State */
.navbar-dark .nav-link.active {
  background: linear-gradient(135deg, rgba(25, 135, 84, 0.2) 0%, rgba(25, 135, 84, 0.1) 100%);
  border: 1px solid rgba(25, 135, 84, 0.3);
}

.navbar-dark .nav-link.active::after {
  width: 70%;
  height: 3px;
  background: linear-gradient(90deg, var(--bs-accent) 0%, #157347 100%);
  box-shadow: 0 2px 8px rgba(25, 135, 84, 0.4);
}

/* Enhanced Language Toggle */
.language-toggle-container {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.language-toggle.active {
  background: linear-gradient(135deg, var(--bs-accent) 0%, #157347 100%);
  box-shadow: 0 4px 15px rgba(25, 135, 84, 0.4);
}

/* Enhanced Scroll Effect */
.navbar.scrolled {
  background: #000000 !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}


.navbar.scrolled .logo-img {
  max-height: 75px;
}

/* Mobile responsive tweaks for layout */
@media (max-width: 991.98px) {
  .navbar-collapse { text-align: right; padding-top: 1rem; padding-bottom: 0.5rem; }
  .navbar-dark .nav-link { padding: 0.8rem 1rem; }
  .language-toggle-container { justify-content: flex-end; margin-top: 0.5rem; padding-right: 1rem; }
  .hero-section { height: auto; min-height: 0; margin: 0; border-radius: 0; box-shadow: none; padding-top: 0; padding-bottom: 2rem; }
  .why-choose-us { padding-top: 0; margin-top: -1.5rem; padding-bottom: 2rem; }
  
  /* Hide quick actions on mobile */
  .header-quick-actions {
    display: none !important;
  }
  
  /* Search overlay mobile adjustments */
  .search-overlay {
    padding: 1rem;
    align-items: flex-start;
    padding-top: 4rem;
  }
  
  .search-container {
    width: 95%;
    max-width: none;
    margin-top: 2rem;
    max-height: 90vh;
  }
  
  .search-header {
    padding: 2rem 1.5rem 1rem;
  }
  
  .search-title {
    font-size: 1.5rem;
  }
  
  .search-subtitle {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
  
  .search-input {
    font-size: 1rem;
    padding: 1rem 1rem 1rem 3rem;
  }
  
  .search-submit {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  .search-content {
    padding: 1rem 1.5rem 1.5rem;
    max-height: 50vh;
  }
  
  .search-suggestions h6 {
    font-size: 0.75rem;
  }
  
  .suggestion-tag {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
  
  .search-shortcuts {
    display: none;
  }
}

@media (max-width: 480px) { 
  .hero-section { margin: 0; }
  
  .search-overlay {
    padding: 0.5rem;
  }
  
  .search-container {
    width: 98%;
    margin-top: 1rem;
  }
  
  .search-header {
    padding: 1.5rem 1rem 0.75rem;
  }
  
  .search-title {
    font-size: 1.25rem;
  }
  
  .search-content {
    padding: 0.75rem 1rem 1rem;
  }
  
  .suggestion-tags {
    gap: 0.25rem;
  }
  
  .suggestion-tag {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
  }
  
  
  .search-result-item {
    padding: 1rem;
  }
  
  .search-result-category {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
  }
  
  .search-result-title {
    font-size: 0.9rem;
  }
  
  .search-result-description {
    font-size: 0.8rem;
  }
  
  .shortcuts-list {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
