/* Sainik Dost - Military Theme CSS - Phase 1 */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700;900&display=swap');

:root {
  /* Military Color Palette */
  --navy-blue: #0C1B33;
  --ashoka-blue: #0A5FA0;
  --olive-green: #4F6D3C;
  --white: #FFFFFF;
  --dark-gray: #2E2E2E;
  --light-gray: #E0E0E0;
  --bg-light: #F8F9FA;
  
  /* Alert Colors */
  --red: #DC3545;
  --orange: #FFA500;
  
  /* Shadows */
  --shadow-navy: rgba(12, 27, 51, 0.1);
  --shadow-sm: 0 1px 2px 0 var(--shadow-navy);
  --shadow: 0 1px 3px 0 var(--shadow-navy), 0 1px 2px -1px var(--shadow-navy);
  --shadow-md: 0 4px 6px -1px var(--shadow-navy), 0 2px 4px -2px var(--shadow-navy);
  --shadow-lg: 0 10px 15px -3px var(--shadow-navy), 0 4px 6px -4px var(--shadow-navy);
  --shadow-xl: 0 20px 25px -5px var(--shadow-navy), 0 8px 10px -6px var(--shadow-navy);
  
  /* Border Radius */
  --border-radius: 8px;
  --border-radius-lg: 12px;
  
  /* Transitions */
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { overflow-y: scroll; }
body.modal-open { padding-right: 0 !important; }
body.modal-open .fixed-top,
body.modal-open .sticky-top { padding-right: 0 !important; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background: var(--white);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--navy-blue);
  font-weight: 700;
}

.text-navy { color: var(--navy-blue) !important; }
.text-ashoka { color: var(--ashoka-blue) !important; }
.text-olive { color: var(--olive-green) !important; }
.text-navy-blue { color: var(--navy-blue) !important; }

.bg-navy { background-color: var(--navy-blue) !important; }
.bg-ashoka { background-color: var(--ashoka-blue) !important; }
.bg-olive { background-color: var(--olive-green) !important; }

.border-navy { border-color: var(--navy-blue) !important; }
.border-ashoka { border-color: var(--ashoka-blue) !important; }
.border-olive { border-color: var(--olive-green) !important; }

/* Navigation Styles */
.navbar-brand {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--white) !important;
}

.navbar {
  background: var(--navy-blue) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  padding: 1rem 0;
  border-bottom: 3px solid rgba(255,215,0,.5);
}

.navbar-scrolled {
  padding: 0.75rem 0;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.75rem 1rem !important;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover {
  color: var(--white) !important;
  background: rgba(0,0,0,.2);
}

.navbar-nav .nav-link.active {
  color: #FFD700 !important;
  background: rgba(0,0,0,.2);
}

/* Hero Section */
.hero-section {
  background: var(--olive-green);
  color: var(--white);
  padding: 120px 0;
  text-align: center;
}

/* ── Shared Page Banner (echs, ksb, sparsh, csd, news, contact, resources) ── */
.sd-page-banner {
  background: linear-gradient(135deg, #0C1B33 0%, #0A5FA0 100%);
  padding: 90px 0 24px;
}
.sd-page-breadcrumb { background: transparent; padding: 0; margin-bottom: 10px; align-items: center; }
.sd-page-breadcrumb .breadcrumb-item { display: flex; align-items: center; }
.sd-page-breadcrumb .breadcrumb-item a { display: flex; align-items: center; gap: 4px; color: rgba(255,255,255,.65); text-decoration: none; font-size: 12px; }
.sd-page-breadcrumb .breadcrumb-item a:hover { color: #FFD700; }
.sd-page-breadcrumb .breadcrumb-item.active { color: rgba(255,255,255,.45); font-size: 12px; }
.sd-page-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.35); }
.sd-page-banner-title { font-size: 1.9rem; font-weight: 700; color: #fff; margin-bottom: 6px; line-height: 1.2; }
.sd-page-banner-sub { font-size: 14px; color: rgba(255,255,255,.72); margin: 0; }

.hero-title {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  font-weight: 400;
  color: var(--white);
  opacity: 0.9;
}

/* Button Styles */
.btn-primary {
  background: var(--navy-blue);
  border: none;
  color: var(--white);
  padding: 12px 24px;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--ashoka-blue);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--olive-green);
  border: none;
  color: var(--white);
  padding: 12px 24px;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: #3e5530;
  color: var(--white);
}

.btn-accent {
  background: var(--ashoka-blue);
  border: none;
  color: var(--white);
  padding: 12px 24px;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.btn-accent:hover {
  background: #084d85;
  color: var(--white);
}

.btn-outline-primary {
  border: 2px solid var(--navy-blue);
  color: var(--navy-blue);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--navy-blue);
  color: var(--white);
}

/* Cards */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: var(--white);
  border: 1px solid var(--light-gray);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-header {
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--navy-light) 100%);
  color: var(--white);
  border: none;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.card-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  transform: rotate(45deg);
  transition: var(--transition);
}

.card:hover .card-header::before {
  right: -30%;
}

.quick-access-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--light-gray);
  height: 100%;
}

.quick-access-card .card-icon {
  font-size: 3.5rem;
  color: var(--ashoka-blue);
  margin-bottom: 1.5rem;
}

.quick-access-card h5 {
  color: var(--navy-blue);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.quick-access-card p {
  color: var(--dark-gray);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* News Ticker */
.news-ticker {
  background: var(--ashoka-blue);
  color: var(--white);
  padding: 12px 0;
  overflow: hidden;
}

.ticker-content {
  animation: scroll-left 30s linear infinite;
  white-space: nowrap;
  font-weight: 500;
}

@keyframes scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Job Cards */
.job-card {
  border-left: 4px solid var(--saffron);
  margin-bottom: 1rem;
}

.job-card .company-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
}

.job-salary {
  color: var(--green);
  font-weight: bold;
  font-size: 1.1rem;
}

.job-location {
  color: var(--dark-gray);
  font-size: 0.9rem;
}

/* Filter Sidebar */
.filter-sidebar {
  background: var(--white);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.filter-title {
  color: var(--navy-blue);
  font-weight: bold;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--saffron);
}

/* Forms */
.form-control {
  border: 2px solid var(--medium-gray);
  border-radius: var(--border-radius);
  padding: 14px 16px;
  transition: var(--transition);
  background: var(--white);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.form-control:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.1), var(--shadow-md);
  background: var(--white);
}

.form-control:hover {
  border-color: var(--saffron-light);
  box-shadow: var(--shadow-md);
}

.form-label {
  font-weight: 600;
  color: var(--navy-blue);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-select {
  border: 2px solid var(--medium-gray);
  border-radius: var(--border-radius);
  padding: 14px 16px;
  transition: var(--transition);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.form-select:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.1), var(--shadow-md);
}

/* Accordion */
.accordion-button {
  background: var(--light-gray);
  color: var(--navy-blue);
  font-weight: 600;
  border: none;
}

.accordion-button:not(.collapsed) {
  background: var(--navy-blue);
  color: var(--white);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(30, 58, 138, 0.25);
}

/* Footer */
.footer {
  background: var(--navy-blue);
  color: rgba(255,255,255,0.78);
  padding: 40px 0 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 13px;
}

.footer-logo-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-top: 12px;
  margin-bottom: 18px;
}

.footer h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #FFD700 !important;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,215,0,0.25);
}

.footer ul li {
  margin-bottom: 6px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
}

.footer p {
  color: rgba(255,255,255,0.78);
}

.footer ul li i {
  color: rgba(255,215,0,0.7);
  width: 16px;
}

.footer a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 13px;
  transition: color .15s;
}

.footer a:hover {
  color: #FFD700;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 32px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a:hover {
  color: #FFD700;
}

.social-links {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: background .15s, color .15s, border-color .15s;
}

.social-links a:hover {
  background: #FFD700;
  border-color: #FFD700;
  color: #0C1B33;
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item a {
  color: var(--navy-blue);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--dark-gray);
}

/* Pagination */
.pagination .page-link {
  color: var(--navy-blue);
  border: 1px solid #dee2e6;
  margin: 0 2px;
  border-radius: 8px;
}

.pagination .page-link:hover {
  background-color: var(--saffron);
  border-color: var(--saffron);
  color: var(--white);
}

.pagination .page-item.active .page-link {
  background-color: var(--navy-blue);
  border-color: var(--navy-blue);
}

/* Loading Spinner */
.loading-spinner {
  display: none;
  text-align: center;
  padding: 2rem;
}

.spinner-border-custom {
  color: var(--saffron);
}

/* ═══════════════════════════════════════════════════════════
   CONTENT COMPONENT OVERRIDES — applied site-wide
   ═══════════════════════════════════════════════════════════ */

/* Section spacing */
section.py-4 { padding-top: 28px !important; padding-bottom: 28px !important; }
section.py-5 { padding-top: 36px !important; padding-bottom: 36px !important; }
section.bg-light { background: #faf9f8 !important; }

/* ── Cards ── */
.card { border: 1px solid #edebe9 !important; border-radius: 3px !important; box-shadow: none; transition: box-shadow .15s, border-color .15s; }
.card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.07); border-color: #c8c6c4 !important; }
.card-header { border-radius: 0 !important; padding: 10px 16px; font-size: 13px; font-weight: 700; border-bottom: 1px solid #edebe9 !important; }
.card-header:not([class*="bg-"]) { background: #faf9f8 !important; color: #0C1B33; }
.card-header.bg-primary { background: #0A5FA0 !important; color: #fff !important; border-bottom-color: transparent !important; }
.card-header.bg-success { background: #107c10 !important; color: #fff !important; border-bottom-color: transparent !important; }
.card-header.bg-warning, .card-header.bg-warning.text-dark { background: #7a5200 !important; color: #fff !important; border-bottom-color: transparent !important; }
.card-header.bg-danger { background: #a80000 !important; color: #fff !important; border-bottom-color: transparent !important; }
.card-header.bg-info { background: #004578 !important; color: #fff !important; border-bottom-color: transparent !important; }
.card-header.bg-dark { background: #0C1B33 !important; color: #fff !important; border-bottom-color: transparent !important; }
.card-header h5, .card-header h6, .card-header span, .card-header p { color: inherit !important; }
.card-body { padding: 16px; font-size: 13px; color: #323130; }
.card-title { font-size: 15px !important; font-weight: 700; color: #0C1B33; margin-bottom: 8px; }
.card-text { font-size: 13px; color: #605e5c; line-height: 1.55; }
.card-footer { background: #faf9f8 !important; border-top: 1px solid #edebe9 !important; padding: 10px 16px; font-size: 13px; }
.card-header .badge { vertical-align: middle; }
.card.border-danger { border-color: #a80000 !important; }
.card.border-primary { border-color: #0A5FA0 !important; }
.card.border-success { border-color: #107c10 !important; }
.card.border-warning { border-color: #835600 !important; }

/* ── Buttons ── */
.btn { border-radius: 2px !important; font-size: 13px; font-weight: 600; transition: background .15s, border-color .15s, color .15s; }
.btn-lg { font-size: 14px !important; padding: 8px 20px !important; }
.btn-sm { font-size: 12px !important; padding: 3px 10px !important; }
.btn-primary { background: #0A5FA0 !important; border-color: #0A5FA0 !important; color: #fff !important; }
.btn-primary:hover { background: #0C1B33 !important; border-color: #0C1B33 !important; }
.btn-success { background: #107c10 !important; border-color: #107c10 !important; color: #fff !important; }
.btn-success:hover { background: #0b5a0b !important; border-color: #0b5a0b !important; }
.btn-danger { background: #a80000 !important; border-color: #a80000 !important; color: #fff !important; }
.btn-danger:hover { background: #820000 !important; border-color: #820000 !important; }
.btn-warning { background: #FFD700 !important; border-color: #FFD700 !important; color: #0C1B33 !important; }
.btn-warning:hover { background: #FFC200 !important; border-color: #FFC200 !important; }
.btn-info { background: #004578 !important; border-color: #004578 !important; color: #fff !important; }
.btn-info:hover { background: #003360 !important; border-color: #003360 !important; }
.btn-secondary { background: #605e5c !important; border-color: #605e5c !important; color: #fff !important; }
.btn-dark { background: #0C1B33 !important; border-color: #0C1B33 !important; color: #fff !important; }
.btn-outline-primary { color: #0A5FA0 !important; border-color: #0A5FA0 !important; background: transparent !important; }
.btn-outline-primary:hover { background: #0A5FA0 !important; color: #fff !important; }
.btn-outline-success { color: #107c10 !important; border-color: #107c10 !important; background: transparent !important; }
.btn-outline-success:hover { background: #107c10 !important; color: #fff !important; }
.btn-outline-danger { color: #a80000 !important; border-color: #a80000 !important; background: transparent !important; }
.btn-outline-danger:hover { background: #a80000 !important; color: #fff !important; }
.btn-outline-warning { color: #835600 !important; border-color: #835600 !important; background: transparent !important; }
.btn-outline-warning:hover { background: #835600 !important; color: #fff !important; }
.btn-outline-info { color: #004578 !important; border-color: #004578 !important; background: transparent !important; }
.btn-outline-info:hover { background: #004578 !important; color: #fff !important; }
.btn-outline-secondary { color: #605e5c !important; border-color: #605e5c !important; background: transparent !important; }
.btn-outline-secondary:hover { background: #605e5c !important; color: #fff !important; }

/* ── Badges ── */
.badge { border-radius: 2px !important; font-size: 11px !important; font-weight: 600; letter-spacing: .02em; padding: 3px 7px !important; }
.badge.bg-primary { background: #dce9f8 !important; color: #0A5FA0 !important; }
.badge.bg-success { background: #dff6dd !important; color: #107c10 !important; }
.badge.bg-warning { background: #fff4ce !important; color: #835600 !important; }
.badge.bg-danger { background: #fde7e9 !important; color: #a80000 !important; }
.badge.bg-info { background: #deecf9 !important; color: #004578 !important; }
.badge.bg-secondary { background: #f0f0f0 !important; color: #605e5c !important; }
.badge.bg-dark { background: #e8edf5 !important; color: #0C1B33 !important; }
.badge.bg-light { background: #edebe9 !important; color: #323130 !important; }

/* ── Accordion ── */
.accordion-item { border: 1px solid #edebe9 !important; border-radius: 0 !important; margin-bottom: 4px; }
.accordion-button { font-size: 13px; font-weight: 600; color: #0C1B33; background: #faf9f8; padding: 10px 16px; border-radius: 0 !important; }
.accordion-button:not(.collapsed) { background: #dce9f8; color: #0A5FA0; box-shadow: none !important; }
.accordion-button:focus { box-shadow: 0 0 0 1px #0A5FA0 !important; }
.accordion-body { font-size: 13px; color: #323130; padding: 14px 16px; line-height: 1.6; }

/* ── Forms ── */
.form-control, .form-select { border-radius: 2px !important; border: 1px solid #8a8886 !important; font-size: 13px; color: #323130; }
.form-control:focus, .form-select:focus { border-color: #0A5FA0 !important; box-shadow: 0 0 0 1px #0A5FA0 !important; }
.form-label { font-size: 12px; font-weight: 600; color: #323130; margin-bottom: 4px; }
.form-text { font-size: 11px; color: #605e5c; }
.invalid-feedback { font-size: 11px; }
.input-group .form-control { border-radius: 2px 0 0 2px !important; }
.input-group .btn { border-radius: 0 2px 2px 0 !important; }

/* ── Alerts ── */
.alert { border-radius: 2px !important; font-size: 13px; border-width: 0 0 0 3px !important; padding: 10px 14px; }
.alert-info { background: #deecf9 !important; border-color: #0A5FA0 !important; color: #004578 !important; }
.alert-warning { background: #fff4ce !important; border-color: #835600 !important; color: #835600 !important; }
.alert-danger { background: #fde7e9 !important; border-color: #a80000 !important; color: #a80000 !important; }
.alert-success { background: #dff6dd !important; border-color: #107c10 !important; color: #107c10 !important; }

/* ── Modals ── */
.modal-content { border-radius: 0 !important; border: 1px solid #edebe9; }
.modal-header { border-radius: 0 !important; padding: 12px 16px; background: linear-gradient(135deg, #0C1B33, #0A5FA0) !important; color: #fff !important; border-bottom: none !important; }
.modal-header .modal-title,
.modal-header h5, .modal-header h6,
.modal-header span:not(.badge),
.modal-header p { color: #fff !important; }
.modal-header .btn-close { filter: invert(1) grayscale(1); opacity: .8; }
.modal-header.bg-success { background: #107c10 !important; }
.modal-header.bg-danger { background: #a80000 !important; }
.modal-body { font-size: 13px; color: #323130; padding: 18px; }
.modal-footer { border-top: 1px solid #edebe9 !important; padding: 10px 16px; background: #faf9f8; border-radius: 0 !important; }

/* ── Pagination ── */
.pagination .page-link { border-radius: 2px !important; font-size: 13px; color: #0A5FA0; border-color: #edebe9; padding: 5px 10px; margin: 0 2px; }
.pagination .page-link:hover { background: #dce9f8; border-color: #0A5FA0; color: #0A5FA0; }
.pagination .page-item.active .page-link { background: #0A5FA0 !important; border-color: #0A5FA0 !important; color: #fff !important; }
.pagination .page-item.disabled .page-link { color: #c8c6c4; border-color: #edebe9; }

/* ── Lists in content ── */
.list-unstyled li { font-size: 13px; color: #323130; margin-bottom: 5px; line-height: 1.5; }
.list-unstyled.small li, .list-unstyled li.small { font-size: 12px; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; }
h5:not(.modal-title):not(.footer h5) { font-size: 14px; font-weight: 700; color: #0C1B33; }
h6 { font-size: 13px; font-weight: 700; color: #0C1B33; }
p { font-size: 13px; color: #605e5c; line-height: 1.6; }
.lead { font-size: 14px !important; }
.display-1, .display-4, .display-5 { font-family: 'Segoe UI', system-ui, sans-serif; }
.text-muted { color: #a19f9d !important; font-size: 12px; }
.text-navy-blue { color: #0C1B33 !important; }

/* ── Section heading accent ── */
.section-heading { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: #0C1B33; padding-bottom: 10px; margin-bottom: 20px; border-bottom: 2px solid #edebe9; }
.section-heading::before { content: ''; width: 4px; height: 18px; background: #0A5FA0; border-radius: 2px; flex-shrink: 0; }

/* Toast Notifications */
.toast {
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

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

.toast-error {
  border-left: 4px solid #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .quick-access-card {
    margin-bottom: 1rem;
  }
  
  .filter-sidebar {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .card {
    margin-bottom: 1rem;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus indicators */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--saffron);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--navy-blue);
  }
  
  .btn-primary {
    border: 2px solid var(--navy-blue);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Badge Styles */
.badge-success {
  background-color: var(--olive-green) !important;
  color: var(--white) !important;
}

.badge-info {
  background-color: var(--ashoka-blue) !important;
  color: var(--white) !important;
}

.badge-default {
  background-color: var(--dark-gray) !important;
  color: var(--white) !important;
}

/* Form Styles */
.form-control {
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  padding: 12px 16px;
  transition: var(--transition);
  color: var(--dark-gray);
}

.form-control:focus {
  border-color: var(--ashoka-blue);
  box-shadow: 0 0 0 3px rgba(10, 95, 160, 0.1);
  outline: none;
}

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

/* Links */
a {
  color: var(--ashoka-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--ashoka-blue);
  text-decoration: underline;
}

/* Text Gradient */
.text-gradient {
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--ashoka-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Job specific styles */
.job-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.company-logo {
  border: 2px solid var(--medium-gray);
  padding: 0.5rem;
}

/* Modal enhancements */
.modal-content {
  border-radius: var(--border-radius-lg);
  border: none;
  box-shadow: var(--shadow-xl);
}

.modal-header {
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

/* Form validation styles */
.is-invalid {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25) !important;
}

.invalid-feedback {
  color: var(--red);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}