/* ========================================================
   SGM ENGINEERING WORKS - Royal Navy & Steel Blue Theme CSS
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --primary: #003176;
  --primary-hover: #002253;
  --primary-light: #e8f0fe;
  --secondary: #1e88e5;
  --accent-green: #00a859;
  --slate-900: #0a192f;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: #0f172a;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

.heading-font {
  font-family: 'Plus Jakarta Sans', 'Space Grotesk', sans-serif;
}

/* Modal styles */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 49, 118, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  border-radius: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 49, 118, 0.3);
  max-width: 38rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid #c7d8ed;
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

.modal-backdrop.active .modal-content {
  transform: scale(1);
}

/* Card hover */
.industry-card {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -5px rgba(0, 49, 118, 0.12), 0 4px 6px -4px rgba(0, 49, 118, 0.06);
  border-color: #94c0e6;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #003176;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #002253;
}
