/* 1. Google Fonts @import for Playfair Display + Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* 2. CSS custom properties (:root) */
:root {
  /* Colors */
  --navy: #10243E;
  --navy-dark: #0a1828;
  --navy-mid: #1a3a5c;
  --navy-light: #254d72;
  
  --red: #B22234;
  --red-dark: #8e1a28;
  --red-light: #d42a40;
  
  --teal: #10243E;
  --teal-dark: #0a1828;
  --teal-light: #254d72;
  
  --glory-blue: #3C3B6E;
  
  --grey: #F3F4F6;
  --grey-mid: #E5E7EB;
  --grey-dark: #9CA3AF;
  
  --text-dark: #111827;
  --text-mid: #374151;
  --text-light: #6B7280;
  --white: #FFFFFF;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  
  /* Transitions */
  --transition: all 0.2s ease-in-out;
  --transition-slow: all 0.4s ease-in-out;
  
  /* Layout */
  --max-width: 1280px;
}

/* 3. CSS reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* 4. Typography classes */
h1, h2, h3, .font-serif {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-dark);
}

h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: 3rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.25rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.75rem; margin-bottom: 1rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.75rem; }

p {
  margin-bottom: 1rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-white { color: var(--white) !important; }
.text-navy { color: var(--navy) !important; }
.text-red { color: var(--red) !important; }
.text-teal { color: var(--teal) !important; }
.text-grey { color: var(--text-light) !important; }
.text-dark { color: var(--text-dark) !important; }

.fw-normal { font-weight: 400; }
.fw-medium { font-weight: 500; }
.fw-semibold { font-weight: 600; }
.fw-bold { font-weight: 700; }

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

/* 5. Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.container-sm {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

/* Page body wrapper: clears fixed navbar + provides page background */
.page-body {
  padding-top: 80px;
  min-height: 100vh;
}

/* Admin page wrapper with navbar clearance */
.admin-page {
  padding-top: 80px;
  min-height: 100vh;
  background-color: var(--grey);
}

.section {
  padding: 5rem 0;
}

.section-lg {
  padding: 8rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.relative { position: relative; }
.absolute { position: absolute; }
.w-full { width: 100%; }
.h-full { height: 100%; }

/* 6. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  min-height: 44px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
  text-align: center;
}

.btn-primary {
  background-color: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background-color: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
}

.btn-navy {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background-color: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-1px);
}

/* .btn-navy duplicate removed — first definition at line 247 is canonical */

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--navy);
  transform: translateY(-1px);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-navy:hover {
  background-color: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* 7. Tags/badges */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  line-height: 1;
  white-space: nowrap;
}

.tag-red {
  background-color: rgba(178, 34, 52, 0.1);
  color: var(--red);
}

.tag-navy {
  background-color: rgba(16, 36, 62, 0.1);
  color: var(--navy);
}

.tag-teal {
  background-color: rgba(60, 110, 113, 0.1);
  color: var(--teal-dark);
}

.tag-grey {
  background-color: var(--grey-mid);
  color: var(--text-mid);
}

.us-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(60, 59, 110, 0.1);
  color: var(--glory-blue);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid rgba(60, 59, 110, 0.2);
}

.us-only-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background-color: var(--red);
  color: var(--white);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: bold;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 8. Cards */
.card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(16, 36, 62, 0.15);
}

.card-body {
  padding: 1.5rem;
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--grey-mid);
  background-color: var(--white);
}

.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--grey-mid);
  background-color: var(--grey);
}

.card-bordered {
  border: 1px solid var(--grey-mid);
  box-shadow: none;
}

.card-bordered:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--navy-light);
}

/* 9. Section headers */
.section-header {
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--navy-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-mid);
  max-width: 700px;
}

.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 10. Divider */
.divider {
  height: 4px;
  width: 60px;
  background-color: var(--red);
  margin: 1.5rem 0;
  border-radius: 2px;
}

.divider-center {
  margin-left: auto;
  margin-right: auto;
}

/* 11. Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--navy-dark);
}

.req {
  color: var(--red);
  margin-left: 0.25rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--grey-dark);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--white);
  color: var(--text-dark);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(16, 36, 62, 0.1);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-light);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* 12. Radio groups */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--navy);
  cursor: pointer;
}

.radio-option span {
  font-size: 1rem;
  color: var(--text-dark);
}

/* 13. Eligibility alert */
.eligibility-alert {
  background-color: rgba(178, 34, 52, 0.05);
  border: 1px solid var(--red);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.eligibility-alert h4 {
  color: var(--red-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.eligibility-alert p {
  margin-bottom: 0;
  color: var(--text-dark);
}

/* 14. File upload */
.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border: 2px dashed var(--grey-dark);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  background-color: var(--grey);
  text-align: center;
}

.file-upload-label:hover {
  border-color: var(--navy);
  background-color: rgba(16, 36, 62, 0.02);
}

.file-upload-label svg {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  width: 2rem;
  height: 2rem;
}

.file-upload-label span {
  color: var(--navy);
  font-weight: 500;
}

/* 15. NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #10243E !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-slow);
}

.navbar.scrolled {
  background-color: #10243E !important;
  box-shadow: var(--shadow-md);
}

.navbar-container, .navbar-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
  box-sizing: border-box;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 180px;
  max-width: 180px;
  height: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.navbar-logo-mark {
  width: 38px;
  height: 38px;
  background-color: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 4px;
}

.navbar-logo-primary {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  flex-wrap: nowrap;
  white-space: nowrap;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  height: 100%;
  padding: 0 0.25rem;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--red);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.nav-link:hover::after, .nav-item:hover > .nav-link::after, .nav-link.active::after, .nav-item.open > .nav-link::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: 1px solid var(--grey-mid);
}

.nav-item.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-dropdown-link:hover {
  background-color: var(--grey);
  color: var(--red);
}

.nav-dropdown-link-icon {
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-cta, .navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  white-space: nowrap;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--white);
  border-radius: 10px;
  transition: var(--transition);
  position: relative;
  transform-origin: 1px;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(16, 36, 62, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 100px 2rem 2rem;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-nav-link {
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 600;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
}

.mobile-nav-section-title {
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 1.5rem 0 0.5rem;
}

.mobile-nav-sub-link {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.75rem 0 0.75rem 1rem;
  display: block;
}

/* 16. FOOTER */
.footer {
  background-color: var(--navy-dark);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1.5rem;
  max-width: 300px;
}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--white);
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--red);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.footer-link:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item svg {
  color: var(--red);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* 17. HERO SECTIONS */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding-top: 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/hero/hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  mix-blend-mode: luminosity;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(60,110,113,0.15) 0%, rgba(0,0,0,0) 70%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* === HOMEPAGE HERO WITH WORKFORCE BACKGROUND === */
.homepage-hero {
  min-height: 82vh !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  background-color: #0a1828 !important;
  background-image: url('images/hero/hero.jpg') !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
  padding-top: 130px !important;
  padding-bottom: 70px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.homepage-hero::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 55% !important;
  height: 100% !important;
  background: linear-gradient(to right, rgba(10, 24, 40, 0.95) 0%, rgba(10, 24, 40, 0.85) 60%, rgba(10, 24, 40, 0) 100%) !important;
  z-index: 1 !important;
  pointer-events: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}

.homepage-hero::after {
  display: none !important;
}

.homepage-hero .container {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
}

.homepage-hero-content {
  max-width: 520px;
}

@media (max-width: 1440px) {
  .homepage-hero {
    background-position: 70% center !important;
  }
  .homepage-hero-content {
    max-width: 480px;
  }
}

@media (max-width: 1024px) {
  .homepage-hero {
    min-height: auto !important;
    padding-top: 120px !important;
    padding-bottom: 50px !important;
    background-position: 80% center !important;
  }
  .homepage-hero::before {
    width: 70% !important;
    background: linear-gradient(to right, rgba(10, 24, 40, 0.96) 0%, rgba(10, 24, 40, 0.85) 75%, rgba(10, 24, 40, 0.15) 100%) !important;
  }
  .homepage-hero-content {
    max-width: 460px;
  }
}

@media (max-width: 768px) {
  .homepage-hero {
    padding-top: 110px !important;
    padding-bottom: 40px !important;
    background-position: 85% center !important;
    text-align: left !important;
  }
  .homepage-hero::before {
    width: 100% !important;
    background: linear-gradient(to bottom, rgba(10, 24, 40, 0.95) 0%, rgba(10, 24, 40, 0.85) 70%, rgba(10, 24, 40, 0.6) 100%) !important;
  }
  .homepage-hero-content {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .homepage-hero {
    padding-top: 100px !important;
    padding-bottom: 35px !important;
  }
}

.trust-bar {
  background-color: var(--navy-mid);
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* 18. Industry cards */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.industry-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition-slow);
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.industry-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}

.industry-card:hover .industry-card-bg {
  transform: scale(1.05);
}

.industry-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(16,36,62,0.1) 0%, rgba(16,36,62,0.9) 100%);
  transition: var(--transition);
}

.industry-card:hover .industry-card-overlay {
  background: linear-gradient(to bottom, rgba(16,36,62,0.3) 0%, rgba(16,36,62,0.95) 100%);
}

.industry-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  z-index: 2;
}

.industry-card-name {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.industry-card-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 2;
}

.industry-card:hover .industry-card-arrow {
  opacity: 1;
  transform: translateY(0);
}

/* 19. Step/process */
.step-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-mid);
  position: relative;
  transition: var(--transition);
  height: 100%;
}

.step-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--navy-light);
}

.step-number {
  position: absolute;
  top: -1.25rem;
  left: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(16, 36, 62, 0.3);
  border: 4px solid var(--white);
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(60,110,113,0.1) 0%, rgba(16,36,62,0.1) 100%);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.step-icon svg {
  width: 32px;
  height: 32px;
}

/* 20. Stats */
.stat-card {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 21. Job cards */
.job-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-mid);
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.job-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal-light);
  transform: translateY(-2px);
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.job-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
}

.job-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.job-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.job-card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-mid);
  font-size: 0.875rem;
}

.job-card-meta-item svg {
  color: var(--teal);
  flex-shrink: 0;
}

.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--grey-mid);
}

/* 22. Tabs */
.tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--grey-mid);
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 1px;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  color: var(--text-mid);
  background: transparent;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--navy);
  background-color: var(--grey);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.tab-btn.active {
  color: var(--white);
  background-color: var(--navy);
  border-color: var(--navy);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 23. Filter bar */
.filter-bar {
  display: flex;
  gap: 1rem;
  background-color: var(--grey);
  padding: 1rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  align-items: center;
}

.filter-input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-md);
  background-color: var(--white);
}

.filter-select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-md);
  background-color: var(--white);
  min-width: 200px;
}

/* 24. Page hero */
.page-hero {
  min-height: 340px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(178,34,52,0.1) 0%, rgba(0,0,0,0) 60%);
  z-index: 1;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(60,110,113,0.15) 0%, rgba(0,0,0,0) 60%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 4rem 0;
}

.page-hero-content h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  max-width: 600px;
}

/* 25. CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(178,34,52,0.2) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
}

/* 26. ADMIN */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background-color: var(--grey);
}

.admin-sidebar {
  width: 280px;
  background-color: var(--navy-dark);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  box-shadow: var(--shadow-lg);
}

.admin-sidebar-header {
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar-nav {
  flex-grow: 1;
  padding: 1.5rem 0;
  overflow-y: auto;
}

.admin-sidebar-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  font-weight: 500;
}

.admin-sidebar-link:hover, .admin-sidebar-link.active {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-left: 4px solid var(--red);
}

.admin-sidebar-link:not(.active) {
  border-left: 4px solid transparent;
}

.admin-main {
  flex: 1;
  margin-left: 280px;
  padding: 2rem;
  overflow-y: auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  background-color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.admin-stat-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--navy);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.admin-stat-card.teal { border-left-color: var(--teal); }
.admin-stat-card.red { border-left-color: var(--red); }

.admin-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--grey);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.admin-stat-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  margin-bottom: 0;
  color: var(--navy-dark);
}

.admin-stat-content p {
  color: var(--text-mid);
  margin-bottom: 0;
  font-size: 0.875rem;
  font-weight: 500;
}

.admin-table-container {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th, .admin-table td {
  padding: 1rem 1.5rem;
  text-align: left;
}

.admin-table thead {
  background-color: var(--navy);
  color: var(--white);
}

.admin-table th {
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-table tbody tr {
  border-bottom: 1px solid var(--grey-mid);
  transition: var(--transition);
}

.admin-table tbody tr:hover {
  background-color: var(--grey);
}

.admin-table tbody tr:last-child {
  border-bottom: none;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 24, 40, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 1rem;
}

.modal {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--grey-mid);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--red);
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--grey-mid);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* 27. Utility Classes */
.bg-grey { background-color: var(--grey); }
.bg-white { background-color: var(--white); }
.bg-navy { background-color: var(--navy); }
.bg-teal { background-color: var(--teal); }

.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }

.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.overflow-hidden { overflow: hidden; }

/* 28. Toast notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toast {
  background-color: var(--navy);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 300px;
  animation: toastSlideIn 0.3s ease-out forwards;
}

.toast.success {
  border-left: 4px solid var(--teal);
}

.toast.error {
  border-left: 4px solid var(--red);
}

@keyframes toastSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toastSlideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

.toast.hiding {
  animation: toastSlideOut 0.3s ease-in forwards;
}

/* 29. Responsive */
@media (max-width: 1080px) {
  .navbar-nav, .navbar-cta { display: none !important; }
  .hamburger { display: flex !important; }
}

@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  
  .admin-main { margin-left: 0; }
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }

  .container {
    padding: 0 1.5rem;
  }
  .container-sm {
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  .section { padding: 3rem 0; }
  .section-lg { padding: 4rem 0; }
  
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  
  .hero { padding-top: 60px; text-align: center; }
  .hero .flex { flex-direction: column; align-items: center; }
  .hero .gap-4 { justify-content: center; }
  
  .page-hero { min-height: auto; padding: 6rem 0 3rem; text-align: center; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  
  .filter-bar { flex-direction: column; align-items: stretch; }
  
  .jobs-filter,
  .jobs-filter-card,
  .jobs-filter-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .jobs-filter input,
  .jobs-filter select,
  .filter-input,
  .filter-select,
  .form-group,
  .form-input,
  .form-select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  
  .step-number {
    position: relative;
    top: 0;
    left: 0;
    margin: -3.5rem auto 1rem;
  }
  .step-card { text-align: center; padding-top: 1rem; }
  .step-icon { margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .btn { width: 100%; }
  .job-card-header { flex-direction: column; gap: 1rem; }
  .toast-container { bottom: 1rem; right: 1rem; left: 1rem; }
  .toast { min-width: 0; }

  .container, .container-sm {
    padding: 0 1rem;
  }
}

/* 30. Animations */
.data-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.data-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}


/* === FINAL PRODUCTION RESPONSIVE & MICRO-INTERACTION POLISH === */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.card-hover:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 32px rgba(16, 36, 62, 0.12) !important;
  border-color: rgba(16, 36, 62, 0.25) !important;
}

.btn {
  transition: all 0.2s ease-in-out !important;
}

.btn-primary:hover {
  background-color: #8e1a28 !important;
  border-color: #8e1a28 !important;
}

.btn-navy:hover {
  background-color: #0a1828 !important;
  border-color: #0a1828 !important;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 1080px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 2.5rem !important;
  }
}

@media (max-width: 768px) {
  .grid-4, .grid-3, .grid-2 {
    grid-template-columns: 1fr !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-title {
    font-size: 2.5rem !important;
  }
}


/* === REUSABLE STANDARDIZED PAGE-HERO COMPONENT RULES === */
.page-hero {
  min-height: 280px !important;
  background: linear-gradient(135deg, #0a1828 0%, #10243E 100%) !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding-top: 135px !important; /* Clears 80px navbar + provides 55px top breathing space */
  padding-bottom: 3.5rem !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

.page-hero h1, .page-hero .hero-title {
  color: #ffffff !important;
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(2rem, 4vw + 0.8rem, 3.5rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-top: 0 !important;
  margin-bottom: 0.75rem !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  max-width: 100% !important;
}

.page-hero p, .page-hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: clamp(1rem, 1.2vw + 0.6rem, 1.25rem) !important;
  line-height: 1.5 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  max-width: 750px !important;
}

@media (max-width: 768px) {
  .page-hero {
    padding-top: 110px !important; /* Clears fixed navbar on mobile viewports */
    padding-bottom: 2.5rem !important;
    min-height: 220px !important;
  }
}


/* === GLOBAL UNCONSTRAINED CONTAINER & FORM OVERFLOW PROTECTION === */
/* NOTE: max-width:100% intentionally removed from section/section selector below
   to allow .container inside sections to correctly constrain content width */
form, .form-container, .card {
  height: auto !important;
  min-height: auto !important;
  overflow: visible !important;
  max-width: 100%;
  box-sizing: border-box;
}
section, .section {
  height: auto !important;
  min-height: auto !important;
  overflow: visible !important;
  box-sizing: border-box;
  /* max-width intentionally NOT set here — sections are full-bleed;
     content width is constrained by the .container child inside */
}

input, select, textarea, button, .btn {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

p, h1, h2, h3, h4, h5, h6, span, label {
  word-break: break-word;
  overflow-wrap: break-word;
}


/* === STANDARDIZED INDUSTRY CONTAINER & MARGIN RULES === */
.industry-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  box-sizing: border-box;
}

@media (max-width: 1439px) {
  .industry-container {
    max-width: 1200px;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 1023px) {
  .industry-container {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }
}

@media (max-width: 767px) {
  .industry-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}


/* === INDUSTRY DETAIL PAGE — LEFT-ALIGNED PROFESSIONAL LAYOUT === */

/* Section wrapper: subtle background tint, generous vertical space */
.industry-content-section {
  background-color: #fafafa;
}

/* Each content block: consistent bottom spacing */
.industry-section-block {
  margin-bottom: 3.5rem;
}

/* Eyebrow label above section heading */
.industry-section-label {
  display: inline-block;
  color: #B22234;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
}

/* Left-aligned section heading */
.industry-section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.5vw + 0.5rem, 2.25rem);
  font-weight: 700;
  color: #10243E;
  margin-bottom: 0.9rem;
  line-height: 1.2;
}

/* Left-aligned section description */
.industry-section-desc {
  color: #6B7280;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 680px;
}

/* Role tags — flex-start so they flow from left */
.industry-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-start;
}

/* Cards grid uses existing .grid-3 but reset text-align to left */
.industry-cards-grid .card,
.industry-diff-card {
  text-align: left !important;
}

/* Subtle horizontal rule between sections */
.industry-divider {
  border: none;
  border-top: 1px solid #E5E7EB;
  margin: 0 0 3.5rem 0;
}

/* CTA banner — navy gradient, horizontal layout */
.industry-cta-banner {
  background: linear-gradient(135deg, #10243E 0%, #0a1828 100%);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: 0 8px 32px rgba(16, 36, 62, 0.18);
}

.industry-cta-content {
  flex: 1;
  min-width: 220px;
}

.industry-cta-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.35rem, 2vw + 0.5rem, 1.9rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.industry-cta-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.975rem;
  line-height: 1.6;
  margin: 0;
  max-width: 480px;
}

.industry-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  .industry-section-block {
    margin-bottom: 3rem;
  }
  .industry-divider {
    margin-bottom: 3rem;
  }
  .industry-cta-banner {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 767px) {
  .industry-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  .industry-cta-actions {
    width: 100%;
    flex-direction: column;
  }
  .industry-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .industry-section-block {
    margin-bottom: 2.5rem;
  }
  .industry-divider {
    margin-bottom: 2.5rem;
  }
}

/* === ABOUT PAGE TWO-COLUMN SECTION === */
.about-grid {
  display: grid;
  grid-template-columns: 42% 54%;
  gap: 4%;
  align-items: center;
  margin-bottom: 3.5rem;
}

.about-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-eyebrow {
  display: inline-block;
  color: #B22234;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.about-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 2.5vw + 0.5rem, 2.4rem);
  font-weight: 700;
  color: #10243E;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.about-description {
  color: #374151;
  font-size: 1.025rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-mission-box {
  background: #F8FAFC;
  border-left: 4px solid #10243E;
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.75rem;
}

.about-mission-title {
  color: #10243E;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.about-mission-text {
  color: #4B5563;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.about-image-col {
  width: 100%;
}

.about-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(16, 36, 62, 0.12);
  border: 1px solid rgba(16, 36, 62, 0.08);
  display: block;
}

.about-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-highlight-card {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-top: 3px solid #10243E;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.about-highlight-title {
  color: #10243E;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.about-highlight-desc {
  color: #4B5563;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 46% 50%;
    gap: 4%;
  }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }
  .about-highlights-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .about-image {
    aspect-ratio: 16 / 10;
  }
}

/* Mobile step circle 1:1 round aspect ratio enforcement */
.step-number, .number-badge, .circle-badge {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  flex-shrink: 0 !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
