/* CVR Engineers - Custom Styles & Interactions */

:root {
  --primary-blue: #1e3a8a;
  --dark-blue: #0f172a;
  --accent-amber: #fbbf24;
  --emerald-green: #059669;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Active Nav Link Styling */
.nav-link.active {
  color: #1e3a8a !important;
  background-color: #eff6ff !important;
  font-weight: 800 !important;
}

/* Modal Open Transition */
#consultation-modal:not(.hidden) {
  animation: fadeIn 0.2s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Card Subtle Elevation */
.service-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12);
}

/* Project Filter Tabs */
.filter-btn.active {
  background-color: #1e3a8a;
  color: #ffffff;
  border-color: #1e3a8a;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

/* Responsive Touch Target Sizing */
@media (max-width: 640px) {
  button, a {
    min-height: 40px;
  }
}

/* ==========================================================================
   NAVBAR RESPONSIVENESS BREAKPOINTS
   Mobile (<768px) & Tablet (768–1024px): ☰ MENU visible, Desktop nav hidden
   Laptop/Desktop (>1024px): Full navbar visible, ☰ MENU hidden
   ========================================================================== */

@media (max-width: 1024px) {
  .desktop-nav,
  .desktop-nav-menu {
    display: none !important;
  }
  .menu-toggle,
  .hamburger-toggle-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media (min-width: 1025px) {
  .desktop-nav,
  .desktop-nav-menu {
    display: flex !important;
  }
  .menu-toggle,
  .hamburger-toggle-btn {
    display: none !important;
    visibility: hidden !important;
  }
  .mobile-drawer-container {
    display: none !important;
  }
}

