.nav-bar {
  padding: 10px 40px;
  color: var(--p);
  transition: var(--transition);
  background: #0f2d28;
  border-radius: 110px;
  box-shadow: 0 0 20px rgba(5, 66, 57, 0.3);
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
  max-width: 1320px;
  margin: auto;
}
 
.setion-fixed {
  position: fixed;
  z-index: 88;
  width: 100%;
  top: 0;
  left: 0;
}

.btn-nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-nav .search-navbar {
  font-size: 12px;
  margin: 0 41px 0 30px;
  color: var(--p);
}

.nav-bar ul {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
}
 
.nav-bar ul li a {
  font-size: 14px;
  transition: var(--transition);
  color: #7E9B96 !important;
}

.nav-bar ul li a:hover { 
  color: var(--white) !important;
  transform: translateY(-2px);
}

.nav-bar ul .active {
  font-weight: bold;
  color: var(--white) !important;
  position: relative;
}

.nav-bar ul .active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
}

.logo-nav img {
  width: 41px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
  
:root {
  --primary-gradient: linear-gradient(135deg, var(--h2) 0%, #1b534a 100%);
  --secondary-gradient: linear-gradient(135deg, #d4ebe8 0%, #7e9b96 100%);
  --accent-gradient: linear-gradient(135deg, var(--h2) 0%, var(--color-btn) 100%);
  --glass-bg: rgba(212, 235, 232, 0.95);
  --glass-border: rgba(212, 235, 232, 0.3);
  --shadow-soft: 0 8px 32px rgba(5, 66, 57, 0.1);
  --shadow-strong: 0 12px 40px rgba(5, 66, 57, 0.15);
  --nav-bg: rgba(5, 66, 57, 0.95);
  --nav-text: var(--p);
  --nav-text-hover: var(--white);
  --nav-active: var(--white);
  --mobile-nav-bg: var(--white);
  --mobile-nav-text: var(--p);
  --mobile-nav-active: var(--h2);
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--mobile-nav-bg);
  height: 80px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-strong);
  z-index: 888;
  border-radius: 28px 28px 0 0;
  justify-content: space-around;
  align-items: center;
  padding: 12px 8px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  border: 1px solid var(--glass-border);
  overflow: hidden;
}

/* Animated background glow */
.mobile-bottom-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 4px;
  background: var(--h2);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: -100%; }
}

/* Regular Navigation Items */
.mobile-bottom-nav .nav-item {
  flex: 1;
  text-align: center;
  color: var(--mobile-nav-text) !important;
  font-size: 10px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  text-decoration: none;
  border-radius: 18px;
  min-height: 69px;
  overflow: hidden;
}

.mobile-bottom-nav .nav-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--primary-gradient);
  border-radius: 50%;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0;
}

.mobile-bottom-nav .nav-item i {
  font-size: 15px;
  margin-bottom: 4px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 2;
  color: var(--mobile-nav-text);
}

.mobile-bottom-nav .nav-item span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding-top: 2px;
  color: var(--mobile-nav-text);
}

/* Active State */
.mobile-bottom-nav .nav-item.active {
  color: var(--white) !important;
  transform: translateY(-8px) scale(1.05);
}

.mobile-bottom-nav .nav-item.active::before {
  width:  50px;
  height: 50px;
  opacity: 1;
}

.mobile-bottom-nav .nav-item.active i {
  transform: scale(1.3);
  color: var(--white);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.mobile-bottom-nav .nav-item.active span {
  color: var(--white);
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Logo Navigation - Center Floating Element */
.mobile-bottom-nav .logo-nav {
  position: relative;
  width: 70px;
  height: 70px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -15px 8px 0 8px;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  overflow: hidden;
}

.mobile-bottom-nav .logo-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--secondary-gradient);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.4s ease;
  transform: scale(0);
}

.mobile-bottom-nav .logo-nav:hover::before,
.mobile-bottom-nav .logo-nav:active::before {
  opacity: 1;
  transform: scale(1);
}

.mobile-bottom-nav .logo-nav img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 2;
}

.mobile-bottom-nav .logo-nav:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 
      0 15px 40px rgba(5, 66, 57, 0.5),
      0 0 0 6px rgba(212, 235, 232, 0.9),
      0 0 0 8px rgba(5, 66, 57, 0.3);
}

.mobile-bottom-nav .logo-nav:hover img {
  transform: scale(1.1) rotate(10deg);
}

.mobile-bottom-nav .logo-nav:active {
  transform: translateY(-3px) scale(1.05);
}

/* Pulse animation for logo */
.mobile-bottom-nav .logo-nav::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% {
      transform: scale(1);
      opacity: 1;
  }
  50% {
      transform: scale(1.1);
      opacity: 0.7;
  }
}

/* Hover effects for nav items */
.mobile-bottom-nav .nav-item:hover:not(.active) {
  color: var(--h2) !important;
  transform: translateY(-3px);
}

.mobile-bottom-nav .nav-item:hover:not(.active) i {
  transform: scale(1.15);
  color: var(--h2);
}

/* Ripple effect */
.mobile-bottom-nav .nav-item::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(5, 66, 57, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  pointer-events: none;
}

.mobile-bottom-nav .nav-item:active::after {
  width: 80px;
  height: 80px;
}

/* Enhanced mobile display */
@media (max-width: 991px) {
  .mobile-bottom-nav { 
      display: flex; 
  }
  .setion-fixed { 
      display: none !important; 
  }
}

/* Smooth entrance animation */
.mobile-bottom-nav {
  animation: slideUpBounce 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideUpBounce {
  0% {
      transform: translateY(100%);
      opacity: 0;
  }
  60% {
      transform: translateY(-10px);
      opacity: 0.8;
  }
  100% {
      transform: translateY(0);
      opacity: 1;
  }
}

/* Icon entrance animations */
.nav-item:nth-child(1) { animation-delay: 0.1s; }
.nav-item:nth-child(2) { animation-delay: 0.2s; }
.logo-nav { animation-delay: 0.25s; }
.nav-item:nth-child(4) { animation-delay: 0.3s; }
.nav-item:nth-child(5) { animation-delay: 0.4s; }
.nav-item:nth-child(6) { animation-delay: 0.5s; }

.nav-item, .logo-nav {
  animation: iconFloat 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes iconFloat {
  0% {
      transform: translateY(30px);
      opacity: 0;
  }
  60% {
      transform: translateY(-8px);
      opacity: 0.8;
  }
  100% {
      transform: translateY(0);
      opacity: 1;
  }
}

/* Dark mode support */
/* @media (prefers-color-scheme: dark) {
  :root {
      --glass-bg: rgba(26, 32, 44, 0.95);
      --glass-border: rgba(255, 255, 255, 0.1);
      --text-primary: #f7fafc;
      --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.3);
  }
  
  body {
      background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  }
} */

/* Loading animation for logo */
.logo-loading {
  animation: logoSpin 1s linear infinite;
}

@keyframes logoSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ========================================
   GSAP ANIMATION ENHANCEMENTS
   ======================================== */

/* Smooth transitions for GSAP animations */
.nav-bar,
.mobile-bottom-nav,
.nav-bar ul li,
.mobile-bottom-nav .nav-item,
.nav-bar .logo-nav,
.mobile-bottom-nav .logo-nav,
.social-link 
  {
    will-change: transform, opacity, scale;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* Enhanced ripple effect for GSAP */
.nav-ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(5, 66, 57, 0.5) 0%, rgba(5, 66, 57, 0.3) 70%, transparent 100%);
    pointer-events: none;
    z-index: 1000;
    mix-blend-mode: screen;
}
 
.nav-bar.gsap-ready {
    transform: translateZ(0);
}

.mobile-bottom-nav.gsap-ready {
    transform: translateZ(0);
}

/* Enhanced active states for GSAP */
.nav-bar ul li.active,
.mobile-bottom-nav .nav-item.active 
  {
    position: relative;
    z-index: 10;
}

/* GSAP logo animations */
.nav-bar .logo-nav.gsap-animated,
.mobile-bottom-nav .logo-nav.gsap-animated {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Enhanced scroll effects */
.nav-bar.scroll-enhanced {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background: rgba(13, 44, 39, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Mobile nav scroll states */
.mobile-bottom-nav.scroll-hidden {
    transform: translateY(100%);
    opacity: 0.7;
}

.mobile-bottom-nav.scroll-visible {
    transform: translateY(0);
    opacity: 1;
}

/* Mobile Menu Overlay GSAP Enhancements */
.mobile-menu-overlay {
    transition: none !important; /* Let GSAP handle transitions */
    background: rgba(5, 66, 57, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.mobile-menu-content {
    transition: none !important; /* Let GSAP handle transitions */
    background: var(--white);
    border: 2px solid var(--glass-border);
}

 

.social-link {
    transition: none !important; /* Let GSAP handle transitions */
    position: relative;
    overflow: hidden;
    color: var(--p);
    background: rgba(212, 235, 232, 0.1);
}

 

/* ========================================
   MOBILE MENU OVERLAY
   ======================================== */

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 350px;
  height: 100%;
  background: linear-gradient(135deg, #054239 0%, #0d2c27 100%);
  padding: 20px;
  transform: translateX(100%);
  transition: all 0.3s ease;
  overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header h3 {
  color: #ffffff;
  font-size: 20px;
  margin: 0;
}

.menu-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.mobile-menu-links {
  margin-bottom: 30px;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  color: #AFDBD4 !important;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease-in-out !important ;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-link:hover,
.menu-link.active {
  color: #D4EBE8 !important;
  background: rgba(255, 255, 255, 0.05);
  padding-right: 15px;
  border-radius: 10px;
}


.mobile-menu-social {
  margin-bottom: 30px;
}

.mobile-menu-social h4 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 15px;
}


.mobile-menu-contact h4 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 15px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 19px;
}
.contact-info a {
  font-size: 14px;
  color: #AFDBD4 !important;
  padding-bottom: 10px;
  transition: all 0.3s ease;
}


/* Enhanced menu link animations */
.menu-link.gsap-animated {
    transform: translateZ(0);
}

/* Performance optimizations */
.nav-bar *,
.mobile-bottom-nav *,
.mobile-menu-overlay * {
    transform: translateZ(0);
}

/* Reduced motion support
@media (prefers-reduced-motion: reduce) {
    .nav-bar,
    .mobile-bottom-nav,
    .nav-bar ul li,
    .mobile-bottom-nav .nav-item,
    .nav-bar .logo-nav,
    .mobile-bottom-nav .logo-nav,
    .social-link  {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .nav-ripple {
        display: none !important;
    }
}

 @media print {
    .nav-bar,
    .mobile-bottom-nav,
    .mobile-menu-overlay {
        display: none !important;
    }
} */
 
 