@import url('https://fonts.googleapis.com/css2?family=Baloo2:wght@600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --primary: #1b4f8a;
  --primary-dark: #0f2f52;
  --primary-light: #2a7de1;
  --green: #4caf50;
  --green-dark: #2e7d32;
  --yellow: #f4be00;
  --ink: #1f232b;
  --paper: #ffffff;
  --bg: #f5f7fb;
  --muted: #5f6674;
  --blue: #1b4f8a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* =====================
   TOPBAR
   ===================== */
.topbar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 0.92rem;
}

.topbar-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
}

.topbar-left {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.topbar-left,
.topbar-right {
  flex-shrink: 0;
}

.topbar-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}

.topbar-social:hover { background: rgba(255,255,255,0.15); }

.topbar-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.topbar-right { white-space: nowrap; }

.topbar-contact {
  color: #e9f8ff;
  text-decoration: none;
  font-weight: 600;
}

.topbar-contact:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .topbar-grid { flex-direction: column; align-items: center; gap: 0.45rem; }
  .topbar-right { gap: 0.6rem; }
}

@media (max-width: 420px) {
  .topbar-contact { font-size: 0.88rem; }
}

/* =====================
   MASTHEAD (sticky)
   ===================== */
.masthead {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.96));
  backdrop-filter: blur(4px);
  box-shadow: 0 6px 18px rgba(31, 35, 43, 0.08);
}

.masthead .nav-wrap {
  margin-top: 0.6rem;
  transition: padding 220ms ease, margin-top 220ms ease, box-shadow 220ms ease;
}

.masthead .brand-mark {
  transition: width 220ms ease, height 220ms ease, transform 220ms ease;
}

.masthead.compact .nav-wrap {
  padding: 0.45rem 1rem;
  margin-top: 0.35rem;
  box-shadow: 0 6px 12px rgba(31, 35, 43, 0.06);
}

.masthead.compact .brand-mark {
  width: 52px;
  height: 52px;
}

.masthead.compact .brand-text strong { font-size: 1rem; }

/* =====================
   HEADER & NAV
   ===================== */
.site-header {
  background: linear-gradient(180deg, #f5f8fd 0%, #eef3fb 100%);
  border-bottom: 3px solid #e5e9ef;
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border: 1px solid #dde5f0;
  border-radius: 0.9rem;
  margin-top: 0.8rem;
  box-shadow: 0 6px 18px rgba(27, 44, 71, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  border: 2px solid #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.brand-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
}

.menu-toggle {
  display: none;
  border: 1px solid #cad5e5;
  border-radius: 0.45rem;
  background: #fff;
  padding: 0.35rem 0.6rem;
  font-size: 1.2rem;
}

.menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
}

.menu a {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  text-decoration: none;
  color: var(--ink);
  padding: 0.55rem 0.65rem;
  border-radius: 0.45rem;
  font-weight: 600;
}

.menu a:hover,
.menu a:focus-visible {
  background: #e3f0ff;
  color: var(--primary);
}

.has-dropdown {
  position: relative;
}

.dropdown {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  min-width: 170px;
  border-radius: 0.5rem;
  background: var(--paper);
  border: 1px solid #d8dee9;
  box-shadow: 0 8px 18px rgba(24, 36, 56, 0.14);
  display: none;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}

.language-switcher {
  display: inline-flex;
  gap: 0.4rem;
}

.lang-btn {
  border: 1px solid #c8d4e3;
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
  padding: 0.32rem 0.65rem;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
}

.lang-btn:hover {
  background: #f5f8ff;
}

.lang-dropdown {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 160px;
  border-radius: 0.5rem;
  background: var(--paper);
  border: 1px solid #d8dee9;
  box-shadow: 0 8px 18px rgba(24, 36, 56, 0.14);
  display: none;
  z-index: 1000;
}

.lang-dropdown.is-open {
  display: block;
}

.lang-option {
  display: block;
  padding: 0.6rem 0.75rem;
  text-decoration: none;
  color: var(--ink);
  border-radius: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.lang-option:hover {
  background: #e3f0ff;
  color: var(--primary);
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
  padding: 3rem 1.4rem 3.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  background: linear-gradient(135deg, #e6f0ff 0%, #e8f5e9 55%, #f0f7e6 100%);
  border: 1px solid #d0dfe8;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(27, 79, 138, 0.08);
  margin-top: 1rem;
}

.hero-content {
  min-width: 0;
}

.hero-image-wrap {
  margin: 0;
  background: #fff;
  border: 1px solid #dbe3f0;
  border-radius: 1rem;
  padding: 0.9rem;
  box-shadow: 0 12px 25px rgba(23, 39, 65, 0.1);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.7rem;
}

.kicker {
  margin: 0;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.86rem;
  margin-bottom: 0.6rem;
}

.hero h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  max-width: 18ch;
  font-family: 'Baloo 2', 'Poppins', 'Segoe UI', sans-serif;
  color: var(--primary-dark);
}

.hero p {
  max-width: 62ch;
  color: #334056;
  font-size: 1.07rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  padding: 0.85rem 1.8rem;
  border-radius: 0.6rem;
  border: none;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(76, 175, 80, 0.35);
}

.btn-hero-secondary {
  display: inline-block;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  background: #fff;
  padding: 0.85rem 1.8rem;
  border-radius: 0.6rem;
  border: 2px solid var(--primary);
  font-size: 1.05rem;
  transition: all 0.2s;
}

.btn-hero-secondary:hover {
  background: var(--primary);
  color: #fff;
}

/* =====================
   STATS BAR
   ===================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(27, 79, 138, 0.06);
  border: 1px solid #e2e8f0;
}

.stat-item {
  text-align: center;
  padding: 0.5rem;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Baloo 2', 'Poppins', sans-serif;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 760px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .stats-bar {
    grid-template-columns: 1fr;
  }
}

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3 {
  font-family: 'Baloo 2', 'Poppins', 'Segoe UI', sans-serif;
  letter-spacing: 0.01em;
}

h2 {
  margin-top: 0;
  font-size: 1.7rem;
}

.section-title {
  text-align: center;
  color: var(--primary-dark);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 0;
  margin-bottom: 2rem;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* =====================
   SECTIONS
   ===================== */
.section {
  padding: 2.5rem 0;
}

.btn {
  display: inline-block;
  margin-top: 0.8rem;
  text-decoration: none;
  font-weight: 700;
  padding: 0.72rem 1rem;
  border-radius: 0.55rem;
  cursor: pointer;
}

/* =====================
   ABOUT SECTION
   ===================== */
.about-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.about-introduction-card,
.about-visual-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-introduction-card h2,
.about-visual-card h2 {
  color: var(--primary-dark);
}

.about-introduction-card p {
  color: #374151;
  line-height: 1.7;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 1rem;
  color: #374151;
}

.why-list li:last-child {
  border-bottom: none;
}

.why-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
}

/* =====================
   SERVICES
   ===================== */
.service-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  text-align: center;
  padding: 1.5rem 1.25rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(27, 79, 138, 0.1);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  margin-top: 0;
  color: var(--primary-dark);
  font-size: 1.15rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 920px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================
   HOW IT WORKS
   ===================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(27, 79, 138, 0.06);
  border: 1px solid #e2e8f0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: 'Baloo 2', 'Poppins', sans-serif;
}

.step-card h3 {
  color: var(--primary-dark);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* =====================
   REGISTRATION
   ===================== */
.registration-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.registration-card {
  padding: 2rem 1.5rem;
  text-align: center;
}

.reg-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.registration-card h3 {
  margin-top: 0;
  color: var(--primary-dark);
  font-size: 1.3rem;
}

.registration-card p {
  color: #374151;
  font-size: 0.98rem;
}

.reg-benefits {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  text-align: left;
}

.reg-benefits li {
  padding: 0.4rem 0;
  color: #374151;
  font-size: 0.95rem;
}

.reg-benefits li::before {
  content: '✓ ';
  color: var(--green);
  font-weight: 700;
}

.employer-card {
  background: linear-gradient(135deg, #f5f8ff 0%, #f0f5ff 100%);
  border-color: #c8d9f0;
}

.btn-secondary-outline {
  display: inline-block;
  margin-top: 0.8rem;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  background: transparent;
  padding: 0.72rem 1.5rem;
  border-radius: 0.55rem;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary-outline:hover {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 760px) {
  .registration-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================
   CONTACT
   ===================== */
.contact-grid {
  max-width: 700px;
  margin: 0 auto;
}

.contact-info-card {
  padding: 2rem;
}

.contact-info-card h2 {
  color: var(--primary-dark);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  color: var(--ink);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-item p {
  margin: 0.15rem 0 0;
  color: #374151;
}

.contact-item a {
  color: var(--primary);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .contact-details {
    grid-template-columns: 1fr;
  }
}

/* =====================
   CARDS
   ===================== */
.card {
  background: var(--paper);
  border: 1px solid #e2e6ee;
  border-radius: 0.85rem;
  padding: 1.15rem;
}

/* =====================
   FOOTER
   ===================== */
.site-footer {
  background: var(--primary-dark);
  color: #e6f7ff;
  padding: 2.25rem 0 0;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  padding: 1.1rem 0 1.6rem;
  align-items: start;
}

.footer-column h4 {
  margin: 0 0 0.6rem;
  color: #fff;
  font-size: 1rem;
}

.footer-column p,
.footer-column a,
.footer-column li {
  color: rgba(230, 247, 255, 0.95);
  font-size: 0.95rem;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li {
  margin: 0.35rem 0;
}

.footer-column a {
  color: inherit;
  text-decoration: none;
  opacity: 0.95;
}

.footer-column a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.footer-brand .brand-mark {
  box-shadow: none;
  border-color: transparent;
}

.footer-brand .brand-text small {
  color: rgba(230, 247, 255, 0.8);
}

.social-icons {
  display: flex;
  gap: 0.6rem;
  margin: 0.4rem 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #e6f7ff;
  text-decoration: none;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.9rem 0;
  margin-top: 1.2rem;
  background: transparent;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-bottom-row p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(230, 247, 255, 0.75);
}

.footer-bottom-row a {
  color: rgba(230, 247, 255, 0.85);
  text-decoration: none;
}

.footer-bottom-row a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.muted {
  color: rgba(230, 247, 255, 0.75);
}

@media (max-width: 920px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .social-icons {
    gap: 0.5rem;
  }
  .footer-column {
    padding-bottom: 0.6rem;
  }
}

/* =====================
   RESPONSIVE NAV
   ===================== */
@media (max-width: 920px) {
  .nav-wrap {
    grid-template-columns: auto auto;
  }

  nav {
    grid-column: 1 / -1;
  }

  .menu {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .language-switcher {
    justify-self: end;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1.5rem 1rem 2rem;
  }

  .hero-image-wrap {
    max-width: 560px;
    justify-self: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .menu-toggle {
    display: inline-block;
  }

  nav {
    grid-column: 1 / -1;
  }

  .menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e3e8f0;
    border-radius: 0.5rem;
    padding: 0.4rem;
    margin-top: 0.35rem;
  }

  .menu.is-open {
    display: flex;
  }

  .menu li,
  .menu a {
    width: 100%;
  }

  .dropdown {
    position: static;
    margin-top: 0.2rem;
    display: block;
    box-shadow: none;
    border: none;
    padding-left: 0.6rem;
  }

  .language-switcher {
    justify-self: start;
    grid-column: 1 / -1;
    margin-top: 0.4rem;
  }
}

/* =====================
   MODAL STYLES
   ===================== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease-in;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-content {
  background-color: var(--paper);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  max-width: 980px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideDown 0.3s ease-out;
  position: relative;
}

.modal-close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.2s ease;
  user-select: none;
}

.modal-close:hover {
  color: var(--ink);
}

.modal-title {
  margin: 0 0 1.5rem 0;
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 700;
  word-break: break-word;
  padding-right: 2rem;
}

/* =====================
   FORM STYLES
   ===================== */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form.form-two-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

@media (max-width: 960px) {
  .form.form-two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-group label {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 2px solid #e0e3e8;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-color: var(--paper);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 79, 138, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.form-group select {
  cursor: pointer;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.25rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  flex: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(27, 79, 138, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: transparent;
  color: var(--ink);
  border: 2px solid #e0e3e8;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  flex: 1;
}

.btn-secondary:hover {
  border-color: var(--muted);
  color: var(--muted);
  background-color: #f7f8fa;
}

.form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  animation: slideDown 0.3s ease-out;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    padding: 1.5rem;
    margin: 1rem;
  }

  .modal-title {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .form.form-two-column {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}

/* =====================
   JOBS PAGE STYLES
   ===================== */
.jobs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: flex-start;
}

.job-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08), 0 1.5px 4px rgba(0,0,0,0.04);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  min-width: 300px;
  max-width: 350px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid #e2e8f0;
}

.job-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.job-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: var(--primary);
}

.job-card p {
  margin: 0.2rem 0 0.2rem 0;
  color: #333;
  font-size: 1rem;
}

.job-card strong {
  color: #222;
}

.job-card form {
  margin-top: 1rem;
}

.job-card button[type="submit"] {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.job-card button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(27, 79, 138, 0.25);
}

/* =====================
   PAGE TITLE FOR JOBS
   ===================== */
.page-title {
  color: var(--primary-dark);
  font-family: 'Baloo 2', 'Poppins', 'Segoe UI', sans-serif;
}
