/* ═══════════════ PROFESSIONAL MODERN NAVBAR ═══════════════ */

.navbar {
      position  : fixed;
      top       : 0;
      left      : 0;
      right     : 0;
      z-index   : 1000;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-wrapper {
      background           : rgba(255, 255, 255, 0.92);
      backdrop-filter      : blur(24px);
      /* border-bottom     : 1px solid rgba(0, 95, 115, 0.08); */
      transition           : all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      /* box-shadow        : 0 1px 3px rgba(0, 0, 0, 0.02); */
}

.navbar.scrolled .nav-wrapper {
      background   : rgba(255, 255, 255, 0.98);
      box-shadow   : 0 8px 32px rgba(0, 95, 115, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
      border-bottom: 1px solid rgba(0, 95, 115, 0.12);
}

.nav-content {
      display        : flex;
      align-items    : center;
      justify-content: space-between;
      height         : 80px;
      gap            : 48px;
      padding        : 0 24px;
}

/* Logo */
.logo {
      display      : flex;
      align-items  : center;
      transition   : all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      flex-shrink  : 0;
      padding      : 8px 12px 8px 0;
      border-radius: 8px;
}

.logo:hover {
      transform: translateY(-1px);
      opacity  : 0.85;
}

.logo:active {
      transform: translateY(0);
}

.logo-img {
      height    : 100px;
      width     : auto;
      object-fit: contain;
      filter    : drop-shadow(0 2px 4px rgba(0, 95, 115, 0.1));
      transition: all 0.3s ease;
}

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

/* Navigation Links */
.nav-links {
      display    : flex;
      list-style : none;
      gap        : 8px;
      margin     : 0 0 0 auto;
      padding    : 0;
      align-items: center;
}

.nav-item {
      font-size      : 15px;
      font-weight    : 500;
      color          : #374151;
      text-decoration: none;
      padding        : 10px 18px;
      position       : relative;
      transition     : all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      letter-spacing : -0.01em;
      border-radius  : 8px;
      display        : inline-flex;
      align-items    : center;
}

.nav-item::after {
      content      : '';
      position     : absolute;
      bottom       : 8px;
      left         : 50%;
      width        : 0;
      height       : 2.5px;
      background   : linear-gradient(90deg, #005f73, #0a9396);
      transform    : translateX(-50%);
      transition   : width 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
      border-radius: 2px;
      opacity      : 0;
}

.nav-item:hover {
      color     : #005f73;
      background: rgba(0, 95, 115, 0.06);
      transform : translateY(-1px);
}

.nav-item:hover::after {
      width  : 60%;
      opacity: 1;
}

.nav-item.active {
      color      : #005f73;
      font-weight: 600;
      background : rgba(0, 95, 115, 0.1);
}

.nav-item.active::after {
      width  : 60%;
      opacity: 1;
}

/* Mobile Menu Button */
.menu-btn {
      display        : none;
      flex-direction : column;
      justify-content: space-around;
      width          : 40px;
      height         : 40px;
      background     : rgba(0, 95, 115, 0.06);
      border         : 1px solid rgba(0, 95, 115, 0.1);
      border-radius  : 10px;
      cursor         : pointer;
      padding        : 10px;
      z-index        : 1001;
      transition     : all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-btn:hover {
      background  : rgba(0, 95, 115, 0.12);
      border-color: rgba(0, 95, 115, 0.2);
      transform   : scale(1.05);
}

.menu-btn:active {
      transform: scale(0.98);
}

.menu-bar {
      width           : 100%;
      height          : 2.5px;
      background      : #005f73;
      border-radius   : 3px;
      transition      : all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      transform-origin: center;
}

.menu-btn.active {
      background: rgba(0, 95, 115, 0.15);
}

.menu-btn.active .menu-bar:first-child {
      transform: translateY(7px) rotate(45deg);
}

.menu-btn.active .menu-bar:last-child {
      transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
      position       : fixed;
      top            : 80px;
      left           : 0;
      right          : 0;
      bottom         : 0;
      background     : rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(32px);
      opacity        : 0;
      visibility     : hidden;
      transform      : translateY(-30px);
      transition     : all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      z-index        : 999;
      box-shadow     : inset 0 1px 0 rgba(0, 95, 115, 0.1);
}

.mobile-nav.active {
      opacity   : 1;
      visibility: visible;
      transform : translateY(0);
}

.mobile-nav-inner {
      padding      : 32px 24px;
      /* max-width : 600px; */
      margin       : 0 auto;
      height       : 100%;
      overflow-y   : auto;
}

.mobile-links {
      list-style    : none;
      margin        : 0;
      padding       : 0;
      display       : flex;
      flex-direction: column;
      gap           : 8px;
}

.mobile-item {
      display        : block;
      padding        : 18px 24px;
      font-size      : 17px;
      font-weight    : 500;
      color          : #374151;
      text-decoration: none;
      border-radius  : 14px;
      transition     : all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      border         : 1px solid transparent;
      position       : relative;
      overflow       : hidden;
}

.mobile-item::before {
      content   : '';
      position  : absolute;
      left      : 0;
      top       : 0;
      height    : 100%;
      width     : 3px;
      background: linear-gradient(180deg, #005f73, #0a9396);
      transform : scaleY(0);
      transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-item:hover {
      background  : rgba(0, 95, 115, 0.08);
      color       : #005f73;
      transform   : translateX(6px);
      border-color: rgba(0, 95, 115, 0.15);
}

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

.mobile-item.active {
      background  : rgba(0, 95, 115, 0.12);
      color       : #005f73;
      font-weight : 600;
      border-color: rgba(0, 95, 115, 0.2);
}

.mobile-item.active::before {
      transform: scaleY(1);
}

/* Responsive Design */
@media (max-width: 900px) {
      .nav-content {
            height : 72px;
            padding: 0 20px;
      }

      .logo-img {
            height: 100px;
      }

      .nav-links,
      .nav-actions {
            display: none;
      }

      .menu-btn {
            display: flex;
      }

      body.js-enabled .mobile-nav {
            opacity   : 0;
            visibility: hidden;
            transform : translateY(-30px);
      }

      body.js-enabled .mobile-nav.active {
            opacity   : 1;
            visibility: visible;
            transform : translateY(0);
      }

      body:not(.js-enabled) .mobile-nav {
            position       : static;
            opacity        : 1;
            visibility     : visible;
            transform      : none;
            background     : transparent;
            backdrop-filter: none;
            box-shadow     : none;
      }

      body:not(.js-enabled) .mobile-nav-inner {
            padding: 8px 20px 20px;
      }

      body:not(.js-enabled) .menu-btn {
            display: none;
      }

      .mobile-nav {
            top       : 72px;
            height    : fit-content;
            margin-top: 12px;
      }

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

@media (max-width: 480px) {
      .nav-content {
            height : 64px;
            gap    : 12px;
            padding: 0 16px;
      }

      .logo-img {
            height: 100px;
      }

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

      .mobile-nav {
            top   : 64px;
            height: fit-content;
      }



      .mobile-nav-inner {
            padding: 24px 16px;
      }

      .menu-btn {
            width : 36px;
            height: 36px;
      }
}

/* Focus States */
.logo:focus-visible,
.nav-item:focus-visible,
.cta-btn:focus-visible,
.menu-btn:focus-visible,
.mobile-item:focus-visible,
.mobile-cta:focus-visible {
      outline       : 2px solid #005f73;
      outline-offset: 3px;
      border-radius : 4px;
}