/*
 * ================================================================
 *   Arnav Infosoft Careers — Global Stylesheet
 *  File: public/css/app.css
 * ================================================================
 *
 *  TABLE OF CONTENTS
 *  ─────────────────────────────────────────────────────────────
 *  1.  Design Tokens (CSS Variables)
 *  2.  Reset & Base
 *  3.  Typography
 *  4.  Utility / Layout
 *  5.  Buttons
 *  6.  Badges & Chips
 *  7.  Navbar
 *  8.  Footer
 *  9.  Toast Notification
 * 10.  Apply Modal
 * 11.  Form Elements
 * 12.  File Upload
 * ─── Page: Job Listing (index) ───────────────────────────────
 * 13.  Hero Section
 * 14.  Jobs Section
 * 15.  Job Card
 * 16.  Empty State
 * 17.  Why  Arnav Infosoft Section
 * ─── Page: Job Detail (show) ─────────────────────────────────
 * 18.  Job Hero (detail page)
 * 19.  Job Body & Layout
 * 20.  Content Card
 * 21.  Styled List
 * 22.  Skills Cloud
 * 23.  Sidebar
 * 24.  Share Buttons
 * ─── Responsive Breakpoints ──────────────────────────────────
 * 25.  ≤ 1024px  (Laptop / Small Desktop)
 * 26.  ≤ 768px   (Tablet)
 * 27.  ≤ 640px   (Large Mobile)
 * 28.  ≤ 480px   (Small Mobile)
 * ================================================================
 */


/* ═══════════════════════════════════════════════════════════════
   1. Design Tokens
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* Brand */
  --primary: #045187;
  --primary-dark: #033a61;
  --primary-pale: #e8f1f9;

  /* Accent */
  --accent: #f59e0b;
  --accent-light: #fef3c7;

  /* Status */
  --success: #10b981;
  --error: #ef4444;

  /* Text */
  --text-dark: #0f172a;
  --text-mid: #475569;
  --text-light: #94a3b8;

  /* Surfaces */
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;

  /* Shape */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(4, 81, 135, .06), 0 1px 2px rgba(4, 81, 135, .04);
  --shadow: 0 4px 16px rgba(4, 81, 135, .10);
  --shadow-lg: 0 12px 40px rgba(4, 81, 135, .14);

  /* Motion */
  --transition: .22s cubic-bezier(.4, 0, .2, 1);
}


/* ═══════════════════════════════════════════════════════════════
   2. Reset & Base
   ═══════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}


/* ═══════════════════════════════════════════════════════════════
   3. Typography
   ═══════════════════════════════════════════════════════════════ */
h1,
h2,
h3,
h4 {
  font-family: 'Syne', sans-serif;
  line-height: 1.2;
}

/* Contextual text helpers (replaces ad-hoc inline styles) */
.text-primary {
  color: var(--primary);
}

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

.text-light {
  color: var(--text-light);
}

.text-white {
  color: #fff;
}

.text-white-75 {
  color: rgba(255, 255, 255, .75);
}

.label-optional {
  color: var(--text-light);
  font-weight: 400;
}

.link-primary {
  color: var(--primary);
}

.link-primary:hover {
  text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════════════
   4. Utility / Layout
   ═══════════════════════════════════════════════════════════════ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Content prose paragraph (job detail body text) */
.content-prose {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* Job card excerpt paragraph on listing */
.job-card-excerpt {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* Section subtitle (used below "Why  Arnav Infosoft?" heading) */
.section-subtitle {
  color: var(--text-mid);
  margin-top: 8px;
  font-size: 15px;
}

/* Hero status wrapper (spacing above badge in job detail hero) */
.hero-status {
  margin-bottom: 10px;
}

/* Job hero department line */
.job-hero-dept {
  color: rgba(255, 255, 255, .75);
  font-size: 15px;
  margin-top: 6px;
}

/* Sidebar apply block top spacing */
.sidebar-apply {
  margin-top: 20px;
}

/* Share card label */
.share-label {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 12px;
}


/* ═══════════════════════════════════════════════════════════════
   5. Buttons
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

/* Primary */
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(4, 81, 135, .35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(4, 81, 135, .40);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* Accent */
.btn-accent {
  background: var(--accent);
  color: #1a0a00;
  box-shadow: 0 4px 14px rgba(245, 158, 11, .30);
}

.btn-accent:hover {
  background: #d97706;
  transform: translateY(-1px);
}

/* Size modifier — used on job cards & modal cancel */
.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* Social share buttons */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 8px 14px;
  font-size: 12px;
  flex: 1;
}

.btn-whatsapp:hover {
  background: #1da851;
  color: #fff;
}

.btn-linkedin {
  background: #0A66C2;
  color: #fff;
  padding: 8px 14px;
  font-size: 12px;
  flex: 1;
}

.btn-linkedin:hover {
  background: #004d99;
  color: #fff;
}

/* Full-width apply CTA button (sidebar) */
.apply-cta-btn {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  border-radius: var(--radius);
  margin-top: 4px;
}

/* Submit button loading state */
.btn-submit {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.btn-submit .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  display: none;
}

.btn-submit.loading .spinner {
  display: block;
}

.btn-submit.loading .btn-text {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* ═══════════════════════════════════════════════════════════════
   6. Badges & Chips
   ═══════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
}

.badge-primary {
  background: var(--primary-pale);
  color: var(--primary);
}

.badge-accent {
  background: var(--accent-light);
  color: #92400e;
}

.badge-success {
  background: #d1fae5;
  color: #065f46;
}

/* Special translucent "Actively Hiring" badge on dark hero */
.badge-hiring {
  background: rgba(16, 185, 129, .2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, .3);
}

/* Skill chip — compact pill for listing page */
.chip {
  background: var(--primary-pale);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

/* Skill chip — slightly larger for detail page */
.skill-chip {
  background: var(--primary-pale);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}


/* ═══════════════════════════════════════════════════════════════
   7. Header, Top Bar & Navbar
   ─────────────────────────────────────────────────────────────
   Layout per breakpoint:
   ┌──────────────┬─────────────────────────────────────────────┐
   │ ≥ 769px      │ TOP-BAR ONLY (one row):                     │
   │ (desktop)    │  [logo] ── [certifications] ── [social+btn] │
   │              │  navbar hidden                              │
   ├──────────────┼─────────────────────────────────────────────┤
   │ 481–768px    │ TOP-BAR: [certifications left][social right]│
   │ (tablet)     │ NAVBAR:  [logo left]         [contact right]│
   ├──────────────┼─────────────────────────────────────────────┤
   │ ≤ 480px      │ TOP-BAR stacked:                            │
   │ (mobile)     │  [certifications — centered]                │
   │              │  [social icons — centered]                  │
   │              │ NAVBAR: [logo left] [📧 icon right]         │
   └──────────────┴─────────────────────────────────────────────┘
   ═══════════════════════════════════════════════════════════════ */

/* ── Sticky wrapper ──────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  box-shadow: 0 2px 12px rgba(4, 81, 135, .08);
}

/* ── Top Bar ─────────────────────────────────────────────────── */
.top-bar {
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.top-bar-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 88px;
}

/* LEFT — logo (desktop only) */
.top-bar-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.top-bar-left a {
  display: flex;
  align-items: center;
}

.top-bar-left img {
  height: 60px;
  width: auto;
}

/* CENTER — certification strip */
.top-bar-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.top-bar-center img {
  height: 60px;
  width: auto;
  max-width: 100%;
}

/* RIGHT — social icons + contact button */
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Social icon circles */
.social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  transition: var(--transition);
  text-decoration: none;
}

.social-icons a:hover {
  transform: scale(1.12);
  opacity: .9;
}

/* Brand colours */
.social-icons a[aria-label="Facebook"] {
  background: #1877F2;
}

.social-icons a[aria-label="Twitter"] {
  background: #000;
}

.social-icons a[aria-label="LinkedIn"] {
  background: #0A66C2;
}

.social-icons a[aria-label="Instagram"] {
  background: radial-gradient(circle at 30% 107%,
      #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* Contact HR button — inside top-bar on desktop */
.top-bar-contact-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Navbar (logo + contact row) ─────────────────────────────── */
/* Hidden on desktop — shown on tablet & mobile */
.navbar {
  position: static;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  display: none;
}

.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

/* Contact HR in navbar */
.navbar-contact-btn {
  flex-shrink: 0;
}


/* ── Header Responsive: Tablet (481–768px) ───────────────────── */
@media (max-width: 768px) {

  /* Reveal the navbar bar */
  .navbar {
    display: block;
  }

  /* Hide logo from top-bar on tablet/mobile */
  .top-bar-left {
    display: none;
  }

  /* Hide Contact HR from top-bar (it lives in navbar now) */
  .top-bar-contact-btn {
    display: none;
  }

  /* Tighten top-bar height */
  .top-bar-inner {
    height: 48px;
    gap: 12px;
  }

  /* Certifications flush-left */
  .top-bar-center {
    justify-content: flex-start;
  }

  .top-bar-center img {
    height: 30px;
  }

  /* Social icons flush-right, no extra gap */
  .top-bar-right {
    gap: 0;
  }

  .social-icons a {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  /* Navbar sizing */
  .navbar-inner {
    height: 56px;
  }

  .navbar-brand img {
    height: 36px;
  }
}


/* ── Header Responsive: Mobile (≤ 480px) ────────────────────── */
@media (max-width: 480px) {

  .top-bar {
    padding: 0 16px;
  }

  /* Stack top-bar items vertically, centered */
  .top-bar-inner {
    flex-direction: column;
    height: auto;
    padding: 10px 0;
    gap: 10px;
    align-items: center;
    justify-content: center;
  }

  /* Certifications centered */
  .top-bar-center {
    justify-content: center;
    width: 100%;
  }

  .top-bar-center img {
    height: 26px;
  }

  /* Social icons centered below certifications */
  .top-bar-right {
    justify-content: center;
    width: 100%;
  }

  .social-icons {
    gap: 10px;
  }

  .social-icons a {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  /* Compact navbar */
  .navbar {
    padding: 0 16px;
  }

  .navbar-inner {
    height: 52px;
  }

  .navbar-brand img {
    height: 32px;
  }

  /* Contact HR: icon only (hide text) */
  .navbar-contact-btn span {
    display: none;
  }
}


/* ═══════════════════════════════════════════════════════════════
   8. Footer
   ═══════════════════════════════════════════════════════════════ */
footer {
  background: var(--primary-pale);
  color: rgba(0, 0, 0, .75);
  padding: 40px 24px;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}

.footer-brand img {
  height: 32px;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 14px;
  margin-bottom: 8px;
  color: rgba(0, 0, 0, .65);
}

.footer-brand a {
  font-size: 13px;
  color: rgba(0, 0, 0, .7);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-links a {
  color: rgba(0, 0, 0, .7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: #000;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-contact i {
  font-size: 14px;
  color: rgba(0, 0, 0, .65);
  min-width: 16px;
  margin-top: 2px;
}

.footer-contact a {
  color: rgba(0, 0, 0, .75);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: #000;
}

.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 13px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, .12);
  margin-top: 10px;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, .12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  gap: 10px;
}

.footer-bottom-left {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-bottom-left a {
  color: rgba(0, 0, 0, .7);
  transition: var(--transition);
}

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

.footer-bottom-right {
  color: rgba(0, 0, 0, .7);
}

.footer-credit {
  width: 100%;
  text-align: center;
  margin-top: 10px;
  font-size: 12.5px;
  color: rgba(0, 0, 0, .6);
}

.footer-credit a {
  color: rgba(0, 0, 0, .75);
  font-weight: 500;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0,0,0,.06);
  color: rgba(0,0,0,.7);
  transition: var(--transition);
}

.footer-social a:hover {
  background: #000;
  color: #fff;
}

/* Tablet */
@media (max-width: 992px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-links {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-bottom-left {
    justify-content: flex-start;
  }

  .footer-bottom-right {
    text-align: left;
  }

  .footer-credit {
    text-align: left;
  }
}

/* ═══════════════════════════════════════════════════════════════
   9. Toast Notification
   ═══════════════════════════════════════════════════════════════ */
#toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all .35s cubic-bezier(.34, 1.56, .64, 1);
  max-width: 360px;
  background: #fff;
}

#toast.show {
  transform: translateY(0);
  opacity: 1;
}

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

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


/* ═══════════════════════════════════════════════════════════════
   10. Apply Modal
   ═══════════════════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 81, 135, .35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(.95) translateY(20px);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), opacity .3s ease;
  opacity: 0;
}

.modal-backdrop.open .modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-title {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 13px;
  color: var(--text-mid);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--text-mid);
}

.modal-close:hover {
  background: var(--bg);
  color: var(--text-dark);
}

.modal-body {
  padding: 24px 28px 28px;
}


/* ═══════════════════════════════════════════════════════════════
   11. Form Elements
   ═══════════════════════════════════════════════════════════════ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-label .req {
  color: var(--error);
  margin-left: 2px;
}

.form-control {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(4, 81, 135, .10);
}

.form-control.is-invalid {
  border-color: var(--error);
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-error {
  font-size: 12px;
  color: var(--error);
  display: none;
}

.form-error.show {
  display: block;
}

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}


/* ═══════════════════════════════════════════════════════════════
   12. File Upload
   ═══════════════════════════════════════════════════════════════ */
.file-upload-wrapper {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg);
}

.file-upload-wrapper:hover,
.file-upload-wrapper.dragover {
  border-color: var(--primary);
  background: var(--primary-pale);
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-upload-icon {
  font-size: 28px;
  margin-bottom: 6px;
}

.file-upload-text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
}

.file-upload-text strong {
  color: var(--primary);
}

.file-name-display {
  font-size: 13px;
  color: var(--success);
  font-weight: 500;
  margin-top: 6px;
  display: none;
}


/* ═══════════════════════════════════════════════════════════════
   13. Hero Section  (Job Listing page)
   ═══════════════════════════════════════════════════════════════ */
.hero {
  background:
    linear-gradient(135deg, rgba(4, 81, 135, .92) 0%, rgba(3, 58, 97, .96) 100%),
    url('https://images.unsplash.com/photo-1581092160607-ee22731a5c52?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  padding: 80px 24px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-logo {
  height: 56px;
  width: auto;
  margin: 0 auto 24px;
  filter: brightness(0) invert(1);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 235, 100, 0.75);
  border: 1px solid rgba(30, 235, 100, 1);
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.1;
}

.hero h1 em {
  font-style: normal;
  color: #fbbf24;
}

.hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, .80);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat {
  color: rgba(255, 255, 255, .85);
  text-align: center;
}

.stat-num {
  font-size: 28px;
  font-weight: 700;
  color: #ffef60;
  display: block;
}

.stat-label {
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
}


/* ═══════════════════════════════════════════════════════════════
   14. Jobs Section  (listing page)
   ═══════════════════════════════════════════════════════════════ */
.jobs-section {
  padding: 60px 0 80px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-head--centered {
  justify-content: center;
  text-align: center;
  display: block;
}

.section-title {
  font-size: 26px;
  color: var(--text-dark);
}

.section-count {
  font-size: 14px;
  color: var(--text-mid);
}


/* ═══════════════════════════════════════════════════════════════
   15. Job Card
   ═══════════════════════════════════════════════════════════════ */
.job-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.job-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(4, 81, 135, .2);
  transform: translateY(-2px);
}

.job-card-top {
  padding: 28px 28px 20px;
}

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

.job-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.job-title {
  font-size: 21px;
  color: var(--primary);
  margin-bottom: 6px;
}

.job-subtitle {
  font-size: 13px;
  color: var(--text-mid);
}

.job-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  padding: 20px 28px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.job-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mid);
}

.job-detail-icon {
  width: 30px;
  height: 30px;
  background: var(--primary-pale);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.job-detail-text strong {
  display: block;
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 600;
}

.job-detail-text span {
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .4px;
}

.job-card-footer {
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.job-deadline {
  font-size: 12px;
  color: var(--text-light);
}

.job-deadline strong {
  color: var(--text-mid);
}

.job-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.skills-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 28px 20px;
}


/* ═══════════════════════════════════════════════════════════════
   16. Empty State
   ═══════════════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-mid);
}

.empty-state-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 8px;
}


/* ═══════════════════════════════════════════════════════════════
   17. Why  Arnav Infosoft Section
   ═══════════════════════════════════════════════════════════════ */
.why-section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.why-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}

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

.why-card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.why-card h4 {
  font-size: 15px;
  margin-bottom: 6px;
}

.why-card p {
  font-size: 13px;
  color: var(--text-mid);
}


/* ═══════════════════════════════════════════════════════════════
   18. Job Hero  (detail page)
   ═══════════════════════════════════════════════════════════════ */
.job-hero {
  background:
    linear-gradient(135deg, rgba(4, 81, 135, .94) 0%, rgba(3, 58, 97, .97) 100%),
    url('https://images.unsplash.com/photo-1581092160607-ee22731a5c52?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  padding: 56px 24px 72px;
  position: relative;
}

.job-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.job-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(255, 255, 255, .7);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: #fff;
}

.job-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #fff;
  margin-bottom: 10px;
}

.job-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
}


/* ═══════════════════════════════════════════════════════════════
   19. Job Body & Layout  (detail page)
   ═══════════════════════════════════════════════════════════════ */
.job-body {
  padding: 48px 0 80px;
}

.job-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}


/* ═══════════════════════════════════════════════════════════════
   20. Content Card  (detail page main column)
   ═══════════════════════════════════════════════════════════════ */
.content-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 20px;
}

.content-card-header {
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.content-card-icon {
  width: 38px;
  height: 38px;
  background: var(--primary-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.content-card-header h2 {
  font-size: 17px;
}

.content-card-body {
  padding: 22px 28px;
}


/* ═══════════════════════════════════════════════════════════════
   21. Styled List  (responsibilities, qualifications, benefits)
   ═══════════════════════════════════════════════════════════════ */
.styled-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.styled-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

.styled-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--primary-pale);
  color: var(--primary);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}


/* ═══════════════════════════════════════════════════════════════
   22. Skills Cloud
   ═══════════════════════════════════════════════════════════════ */
.skills-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}


/* ═══════════════════════════════════════════════════════════════
   23. Sidebar
   ═══════════════════════════════════════════════════════════════ */
.sidebar {
  position: sticky;
  top: 84px;
}

.sidebar-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 16px;
}

.sidebar-card-header {
  background: var(--primary);
  padding: 20px 20px 16px;
  color: #fff;
}

.sidebar-card-header h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;
}

.sidebar-card-header p {
  font-size: 13px;
  color: rgba(255, 255, 255, .75);
}

.sidebar-card-body {
  padding: 20px;
}

.overview-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.overview-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.overview-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: var(--primary-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.overview-key {
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 2px;
}

.overview-value {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
}

.deadline-notice {
  background: var(--accent-light);
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  color: #92400e;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}


/* ═══════════════════════════════════════════════════════════════
   24. Share Buttons
   ═══════════════════════════════════════════════════════════════ */
.share-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════════════════════
   25. Responsive — ≤ 1024px  (Laptop / Small Desktop)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .job-layout {
    grid-template-columns: 1fr 290px;
    gap: 20px;
  }

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


/* ═══════════════════════════════════════════════════════════════
   26. Responsive — ≤ 768px  (Tablet)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Layout */
  .job-layout {
    grid-template-columns: 1fr;
  }

  /* Sidebar no longer sticky; appears below main content */
  .sidebar {
    position: static;
    top: auto;
  }

  /* Hero spacing */
  .hero {
    padding: 60px 20px 80px;
  }

  .hero-stats {
    gap: 20px;
  }

  /* Job body */
  .job-body {
    padding: 32px 0 60px;
  }

  .jobs-section {
    padding: 40px 0 60px;
  }

  /* Job card */
  .job-card-top {
    padding: 20px 20px 16px;
  }

  .job-details {
    padding: 16px 20px;
  }

  .job-card-footer {
    padding: 16px 20px;
  }

  .skills-chips {
    padding: 0 20px 16px;
  }

  .job-card-header {
    flex-direction: column;
    gap: 10px;
  }

  /* Detail page hero */
  .job-hero {
    padding: 40px 20px 56px;
  }

  /* Content cards */
  .content-card-header {
    padding: 18px 20px 14px;
  }

  .content-card-body {
    padding: 18px 20px;
  }

  /* Why grid */
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-links {
    gap: 16px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   27. Responsive — ≤ 640px  (Large Mobile)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {

  /* Modal */
  .modal {
    border-radius: var(--radius);
    max-height: 96vh;
  }

  .modal-header {
    padding: 20px 18px 16px;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .modal-body {
    padding: 18px 18px 22px;
  }

  /* Form collapses to single column */
  .form-grid {
    grid-template-columns: 1fr;
  }

  /* All form groups full-width (no need for .full override) */
  .form-group.full {
    grid-column: auto;
  }

  /* Form actions stack */
  .form-actions {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .form-actions .btn {
    width: 100%;
  }

  /* Hero */
  .hero {
    padding: 48px 16px 72px;
  }

  .hero-logo {
    height: 44px;
  }

  .hero p {
    font-size: 15px;
  }

  /* Stats */
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  /* Job detail hero */
  .job-hero {
    padding: 32px 16px 48px;
  }

  .job-hero-meta {
    gap: 8px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 5px 12px;
  }

  /* Job cards */
  .job-title {
    font-size: 18px;
  }

  .job-details {
    grid-template-columns: 1fr 1fr;
  }

  .job-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .job-actions {
    width: 100%;
  }

  .job-actions .btn {
    flex: 1;
    font-size: 13px;
    padding: 10px 12px;
  }

  /* Why grid single column on small screens */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Section head */
  .section-head {
    flex-direction: column;
    gap: 4px;
  }

  .section-title {
    font-size: 22px;
  }

  /* Toast */
  #toast {
    bottom: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
  }
}


/* ═══════════════════════════════════════════════════════════════
   28. Responsive — ≤ 480px  (Small Mobile)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  /* Hero */
  .hero {
    padding: 36px 16px 60px;
  }

  /* Job detail panels */
  .job-card-top {
    padding: 16px 16px 12px;
  }

  .job-details {
    padding: 12px 16px;
    gap: 8px;
  }

  .job-card-footer {
    padding: 12px 16px;
  }

  .skills-chips {
    padding: 0 16px 12px;
  }

  .job-details {
    grid-template-columns: 1fr;
  }

  /* Content cards */
  .content-card-header {
    padding: 14px 16px 12px;
  }

  .content-card-body {
    padding: 14px 16px;
  }

  /* Sidebar */
  .sidebar-card-body {
    padding: 16px;
  }

  .sidebar-card-header {
    padding: 16px 16px 12px;
  }

  /* Share buttons full width */
  .share-buttons {
    flex-direction: column;
  }

  .btn-whatsapp,
  .btn-linkedin {
    flex: none;
    width: 100%;
  }

  /* Why cards */
  .why-card {
    padding: 20px 16px;
  }

  /* Footer */
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  .modal-header {
    padding: 16px 14px;
  }

  .modal-body {
    padding: 14px 14px 18px;
  }
}