/* ProspectBD Careers Styles */

:root {
  --primary: #003A5C;
  --primary-dark: #002840;
  --accent: #8FD8E8;
  --bg: #f5f7fb;
  --text: #14151b;
  --border: #d5d9e6;
  --card: #ffffff;
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e2e6f0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #334155;
}

.brand-logo {
  height: 32px;
  width: auto;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.brand-logo:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 0 6px rgba(143, 216, 232, 0.55));
}

nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  font-size: 0.9rem;
  color: #64748b;
}

nav a {
  position: relative;
  overflow: hidden;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

nav a:hover {
  color: #111827;
}

nav a:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.16s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 76, 129, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(143, 216, 232, 0.55);
}

.btn-outline {
  border-color: #cbd5f5;
  color: #1e293b;
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  box-shadow: 0 0 12px rgba(143, 216, 232, 0.55);
  transform: translateY(-2px);
}

.btn.full-width {
  width: 100%;
  justify-content: center;
}

/* Sections */
section {
  padding: 3.2rem 0;
}

/* Hero */
.hero {
  background: #ffffff;
  border-bottom: 1px solid #e2e6f0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #0f172a;
}

h1 span {
  color: var(--primary);
}

.hero-sub {
  color: #4b5563;
  font-size: 0.98rem;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.4rem 0 0.9rem;
}

.hero-note {
  font-size: 0.82rem;
  color: #6b7280;
}

.hero-image-wrapper {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: var(--card);
  border-radius: 18px;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
  max-width: 360px;
}

.hero-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.hero-card ul {
  list-style: disc;
  padding-left: 1.1rem;
  margin-bottom: 0.8rem;
  color: #4b5563;
}

.hero-card li + li {
  margin-top: 0.25rem;
}

.hero-tagline {
  font-size: 0.82rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

/* Shared section styles */
h2 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  color: #0f172a;
}

.section-intro {
  max-width: 640px;
  color: #6b7280;
  font-size: 0.94rem;
  margin-bottom: 2rem;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  border-radius: 16px;
  padding: 1.5rem 1.4rem;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.45rem;
  color: #111827;
}

.card p {
  color: #6b7280;
  font-size: 0.87rem;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 14px rgba(143, 216, 232, 0.55);
  border-color: rgba(143, 216, 232, 0.9);
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin-top: 1rem;
}

.tags li {
  font-size: 0.78rem;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  border: 1px solid #cbd5f5;
  color: #4b5563;
  background: #f9fafb;
}

/* Why grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Fit section */
.fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1.7fr);
  gap: 2rem;
  align-items: flex-start;
}

.fit-list {
  list-style: disc;
  padding-left: 1.1rem;
  color: #4b5563;
  font-size: 0.9rem;
}

.fit-list li + li {
  margin-top: 0.35rem;
}

.fit-box {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

.fit-box h3 {
  margin-bottom: 0.6rem;
  color: #111827;
}

.fit-box ul {
  list-style: disc;
  padding-left: 1.1rem;
  color: #4b5563;
}

.fit-box li + li {
  margin-top: 0.35rem;
}

/* Apply section */
.apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.8fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.contact-card {
  border-radius: 18px;
  padding: 1.7rem 1.6rem;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.small-note {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

/* Form */
form {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

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

label {
  font-size: 0.8rem;
  color: #6b7280;
}

label span {
  color: #ef4444;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid #cbd5f5;
  background: #ffffff;
  color: var(--text);
  font-size: 0.86rem;
  outline: none;
  font-family: inherit;
}

input::placeholder,
textarea::placeholder,
select::placeholder {
  font-family: inherit !important;
  font-size: inherit !important;
  color: #9ca3af;
  opacity: 1;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(0, 58, 92, 0.18);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.form-footnote {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: #6b7280;
}

/* Apply side info */
.apply-side {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.side-card {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.88rem;
  color: #4b5563;
}

.side-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #111827;
}

.side-card ol {
  padding-left: 1.1rem;
}

.side-card li + li {
  margin-top: 0.3rem;
}

/* Footer */
footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid #e2e6f0;
  font-size: 0.8rem;
  color: #6b7280;
  background: #ffffff;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-image-wrapper {
    justify-content: flex-start;
  }

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

  .fit-grid,
  .apply-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  nav ul {
    display: none;
  }
}

@media (max-width: 640px) {
  section {
    padding: 2.6rem 0;
  }

  .cards-grid,
  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn,
  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }
}
