/* Enhanced Navigation Styles */

  body {
    padding-top: 50px;
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(43, 43, 43, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
  }

  .navbar-container {
    max-width: 100%;
    margin: 0;
    padding: 0 5px;
  }

  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    position: relative;
    gap: 30px;
  }

  /* Logo Styles - Fixed alignment */
  .logo-container {
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }

 .left-logo {
    width: 110px;
    height: 55px;
  }

  .logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
  }

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

  /* Desktop Navigation - Fixed alignment */
  .desktop-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: space-between;
    margin-left: 20px;
  }

  .nav-list {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
    align-items: center;
  }

  .nav-item {
    position: relative;
  }

  .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    height: 40px;
    box-sizing: border-box;
  }

  .nav-link i {
    font-size: 1rem;
    width: 18px;
    text-align: center;
    transition: transform 0.3s ease;
  }

  .nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent
    );
    transition: left 0.5s ease;
  }

  .nav-link:hover::before {
    left: 100%;
  }

  .nav-link:hover {
    color: #ff6347;
    background: rgba(255, 99, 71, 0.1);
    transform: translateY(-2px);
  }

  .nav-link:hover i {
    transform: scale(1.2);
  }

  .nav-link.active {
    background: linear-gradient(135deg, #ff6347, #ff4500);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 99, 71, 0.3);
  }

  .nav-link.active:hover {
    background: linear-gradient(135deg, #ff4500, #ff6347);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 99, 71, 0.4);
  }

  /* Right Actions - Fixed alignment */
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .enquiry-link,
  .blog-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.85rem;
    white-space: nowrap;
    height: 36px;
    box-sizing: border-box;
  }

  .enquiry-link:hover,
  .blog-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ff6347;
  }

  .login-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    color: white;
    text-decoration: none;
    border: 2px solid rgba(255, 99, 71, 0.5);
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    white-space: nowrap;
    height: 36px;
    box-sizing: border-box;
  }

  .login-btn:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: #ff6347;
    transform: translateY(-2px);
  }

  .cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    background: linear-gradient(135deg, #ff6347, #ff4500);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 99, 71, 0.3);
    font-size: 0.9rem;
    white-space: nowrap;
    min-height: 36px;
    box-sizing: border-box;
  }

  .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 99, 71, 0.4);
    background: linear-gradient(135deg, #ff4500, #ff6347);
  }

  /* Mobile Menu Button */
  .mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
  }

  .menu-bar {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .mobile-menu-btn.active .menu-bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .mobile-menu-btn.active .menu-bar:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active .menu-bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Mobile Navigation */
  .mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, #2b2b2b, #1a1a1a);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
  }

  .mobile-nav.active {
    right: 0;
  }

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 20px;
    border-bottom: 1px solid #444;
    background: rgba(43, 43, 43, 0.9);
  }

  .mobile-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
  }

  .mobile-logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
  }

  .mobile-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
  }

  .mobile-close-btn:hover {
    color: #ff6347;
  }

  .mobile-nav-list {
    list-style: none;
    padding: 20px 0;
    margin: 0;
    flex: 1;
    overflow-y: auto;
  }

  .mobile-nav-item {
    border-bottom: 1px solid #333;
  }

  .mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
  }

  .mobile-nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: #ff6347;
  }

  .mobile-nav-link:hover,
  .mobile-nav-link.active {
    background: rgba(255, 99, 71, 0.1);
    color: #ff6347;
    padding-left: 30px;
  }

  .mobile-nav-actions {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-top: 1px solid #444;
  }

  .mobile-login-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    color: white;
    text-decoration: none;
    border: 2px solid #444;
    border-radius: 8px;
    transition: all 0.3s ease;
    justify-content: center;
    font-weight: 500;
  }

  .mobile-login-btn:hover {
    border-color: #ff6347;
    color: #ff6347;
  }

  .mobile-cta-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: linear-gradient(135deg, #ff6347, #ff4500);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    justify-content: center;
    font-weight: 600;
  }

  .mobile-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 99, 71, 0.3);
  }

  .mobile-contact-info {
    padding: 20px;
    border-top: 1px solid #444;
    background: rgba(43, 43, 43, 0.8);
  }

  .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #ccc;
    font-size: 0.9rem;
  }

  .contact-item i {
    color: #ff6347;
    width: 16px;
    text-align: center;
  }

  /* Navigation Overlay */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Responsive Design */
  @media (max-width: 1200px) {
    .nav-list {
      gap: 6px;
    }

    .nav-link {
      padding: 8px 10px;
      font-size: 0.85rem;
      gap: 4px;
    }

    .nav-link i {
      font-size: 0.95rem;
      width: 16px;
    }

    .nav-actions {
      gap: 8px;
      margin-left: 10px;
      padding-left: 10px;
    }

    .enquiry-link,
    .blog-link {
      padding: 7px 10px;
      font-size: 0.8rem;
    }

    .login-btn {
      padding: 7px 10px;
      font-size: 0.8rem;
    }

    .cta-btn {
      padding: 8px 14px;
      font-size: 0.85rem;
      gap: 4px;
    }
  }

  @media (max-width: 1024px) {
    .desktop-nav {
      display: none;
    }

    .nav-actions {
      display: none;
    }

    .mobile-menu-btn {
      display: flex;
    }

    .navbar {
      justify-content: space-between;
      gap: 0;
    }

    .logo-container {
      margin-right: auto;
    }
  }

  @media (max-width: 768px) {
    .navbar-container {
      padding: 0 15px;
    }

    .left-logo {
      width: 100px;
      height: 50px;
    }

    .mobile-nav {
      width: 100%;
    }

    .main-content {
      margin-top: 70px;
    }
  }

  @media (max-width: 480px) {
    .navbar {
      padding: 10px 0;
    }

    .left-logo {
      width: 90px;
      height: 45px;
    }

    .main-content {
      margin-top: 65px;
    }
  }

  /* Animation for page load */
  @keyframes slideDown {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }

    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .header {
    animation: slideDown 0.5s ease-out;
  }

  /* Theme widget (floating top-left) */
.theme-widget {
  position: fixed;
  top: 20px;
  left: 1300px;
  z-index: 12000;
  color: white;
  display: inline-flex;
  align-items: center;
  border: 2px solid rgba(255, 99, 71, 0.5);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  text-decoration: none;
  transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.85rem;
    white-space: nowrap;
    height: 36px;
    box-sizing: border-box;
}

.theme-widget select {
  background: transparent;
  color: var(--text);
  border: none;
  padding: 6px 8px;
  font-size: 0.9rem;
}

  .theme-widget:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: #ff6347;
    transform: translateY(-2px);
  }

/* Improve select visuals to look like a compact pill */
.theme-widget select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 8px;
  padding: 8px 12px;
  min-width: 90px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

.theme-widget select:focus {
  outline: none;
  border-color: rgba(255,255,255,0.16);
}

/* hide the native dropdown arrow on IE/Edge */
.theme-widget select::-ms-expand { display: none; }

.theme-widget .sr-only { position: absolute; left: -9999px; }