/* ============================================
   ProNetivity Inc. - Styles
   ============================================ */

/* CSS Custom Properties */
:root {
  /* Colors - ProNetivity Palette */
  --color-primary: #e05252;
  --color-primary-hover: #c73e3e;
  --color-secondary: #9b9b99;
  --color-bg: #ffffff;
  --color-surface: #F7F8FA;
  --color-text: #1A1A2E;
  --color-text-secondary: #5A6A7E;
  --color-footer-bg: #1A1A2E;
  --color-footer-text: #F1F5F9;
  --color-nav-bg: #FFFFFF;
  --color-nav-shadow: rgba(0, 0, 0, 0.08);
  --color-card-bg: #F7F8FA;
  --color-card-border: #E2E8F0;
  --color-hero-overlay: rgba(26, 26, 46, 0.72);

  /* Typography */
  --font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, system-ui, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  /* Section Backgrounds */
  --color-section-light: #f8f9fa;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max-width: 1200px;
  --nav-height: 72px;

  /* Transitions */
  --transition-speed: 0.3s;
  --transition-ease: ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: var(--font-size-base);
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-speed) var(--transition-ease);
}

a:hover {
  color: var(--color-primary-hover);
}

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

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Navbar
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-nav-bg);
  box-shadow: 0 1px 3px var(--color-nav-shadow);
  transition: background-color var(--transition-speed) var(--transition-ease),
              box-shadow var(--transition-speed) var(--transition-ease);
}

nav {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-logo .logo {
  height: calc(var(--nav-height) - 24px);
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

@media (min-width: 1024px) {
  .nav-logo .logo {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 4px;
  position: relative;
  transition: color var(--transition-speed) var(--transition-ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-speed) var(--transition-ease);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: all var(--transition-speed) var(--transition-ease);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('../img/bkgrnd/datacenter.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-hero-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 24px;
  color: #FFFFFF;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-tagline {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 16px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-speed) var(--transition-ease);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(224, 82, 82, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-cta {
  background-color: #FFFFFF;
  color: var(--color-text);
  font-weight: 700;
}

.btn-cta:hover {
  background-color: #F1F5F9;
  color: var(--color-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ============================================
   Market Icons Section
   ============================================ */
.market-icons-section {
  padding: 48px 0;
  background-color: var(--color-surface);
  text-align: center;
}

.market-icons-section .tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-secondary);
  font-weight: 600;
  margin-bottom: 32px;
}

.market-icons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.market-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.market-icon-item svg {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
}

.market-icon-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}

.market-icon-item .market-icon-desc {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  font-weight: 400;
}

/* ============================================
   Services Sections
   ============================================ */
.services-section {
  padding: var(--section-padding);
  background-color: var(--color-bg);
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}

.section-heading p {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Expanded service detail cards (full details with accordion) */
.services-full-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-detail-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-speed) var(--transition-ease);
}

.service-detail-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--color-primary);
}

.service-detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-family);
  transition: background-color var(--transition-speed) var(--transition-ease);
}

.service-detail-header:hover {
  background-color: rgba(224, 82, 82, 0.03);
}

.service-detail-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(224, 82, 82, 0.1), rgba(224, 82, 82, 0.05));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.service-detail-icon svg {
  width: 28px;
  height: 28px;
}

.service-detail-info {
  flex: 1;
  min-width: 0;
}

.service-detail-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.service-detail-info .service-subtitle {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 6px;
}

.service-detail-info .service-desc-short {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.service-detail-chevron {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-text-secondary);
  transition: transform var(--transition-speed) var(--transition-ease),
              color var(--transition-speed) var(--transition-ease);
}

.service-detail-card.open .service-detail-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.service-detail-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.service-detail-card.open .service-detail-body {
  max-height: 1200px;
}

.service-detail-body-inner {
  padding: 0 32px 32px;
  border-top: 1px solid var(--color-card-border);
}

.service-detail-long-desc {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  padding-top: 24px;
  margin-bottom: 28px;
}

.service-detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.service-detail-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

.service-detail-col ul {
  list-style: none;
  padding: 0;
}

.service-detail-col ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.service-detail-col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-primary);
  opacity: 0.6;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
  padding: var(--section-padding);
  background-color: var(--color-bg);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-accent {
  background: linear-gradient(135deg, var(--color-primary), #c73e3e);
  border-radius: 16px;
  padding: 48px 40px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.about-accent::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.about-accent-tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
  font-weight: 600;
}

.about-accent h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.about-accent p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

.about-accent-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.about-accent-stat {
  text-align: center;
}

.about-accent-stat .stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
}

.about-accent-stat .stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
  padding: var(--section-padding);
  background-color: var(--color-bg);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-card-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  gap: 16px;
  transition: color var(--transition-speed) var(--transition-ease);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform var(--transition-speed) var(--transition-ease);
  color: var(--color-text-secondary);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  padding: var(--section-padding);
  background-color: var(--color-primary);
  text-align: center;
}

.cta-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */
footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 0 0 24px;
  border-top: 4px solid var(--color-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 40px;
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 12px;
}

.footer-about p {
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.7;
  margin-top: 8px;
}

.footer-social-row {
  text-align: center;
  padding: 24px 24px 0;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.footer-social-row .social-links {
  justify-content: center;
  margin-bottom: 16px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  color: #CBD5E1;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #94A3B8;
  font-size: 0.875rem;
  transition: color var(--transition-speed) var(--transition-ease);
  overflow-wrap: break-word;
  word-break: break-word;
}

.footer-col ul li a:hover {
  color: var(--color-primary);
}

.footer-contact-info {
  color: #94A3B8;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0 0 12px;
}

.footer-contact-label {
  display: block;
  font-weight: 600;
  color: #CBD5E1;
  margin-bottom: 2px;
}

.footer-contact-info em {
  font-style: normal;
  color: #64748B;
  font-size: 0.8rem;
}

.footer-contact-info a {
  color: #94A3B8;
  transition: color var(--transition-speed) var(--transition-ease);
}

.footer-contact-info a:hover {
  color: var(--color-primary);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: #94A3B8;
  transition: color var(--transition-speed) var(--transition-ease);
}

.social-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  text-align: center;
  padding: 24px 24px 0;
  max-width: var(--container-max-width);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.875rem;
  color: #94A3B8;
}

/* Section Light Background */
.section-light {
  background-color: var(--color-section-light) !important;
}

/* ============================================
   Scroll-Triggered Entrance Animations
   ============================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up-delay-2 {
  transition-delay: 0.2s;
}

/* ============================================
   Focus Styles (Accessibility)
   ============================================ */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ============================================
   Expandable Sections (Services, Jobs)
   ============================================ */
.expandable-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: none;
  border: 1px solid var(--color-card-border);
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-family);
  text-align: left;
  gap: 16px;
  transition: all var(--transition-speed) var(--transition-ease);
  margin-bottom: 8px;
  background-color: var(--color-bg);
}

.expandable-header:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.expandable-header.open {
  border-radius: 12px 12px 0 0;
  border-bottom: none;
  margin-bottom: 0;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.expandable-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  border-top: none;
  border-radius: 0 0 12px 12px;
  background-color: var(--color-bg);
}

.expandable-body.open {
  max-height: 2000px;
  border-color: var(--color-primary);
}

.expandable-body-inner {
  padding: 20px;
}

.expand-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform var(--transition-speed) var(--transition-ease);
  color: var(--color-text-secondary);
}

.expandable-header.open .expand-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

/* ============================================
   Careers Page
   ============================================ */
.culture-section {
  padding: var(--section-padding);
  background-color: var(--color-bg);
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.culture-item {
  text-align: center;
  padding: 24px;
}

.culture-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.culture-item p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.benefits-section {
  padding: var(--section-padding);
  background-color: var(--color-surface);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-item {
  background-color: var(--color-bg);
  border: 1px solid var(--color-card-border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all var(--transition-speed) var(--transition-ease);
}

.benefit-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.benefit-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.benefit-item p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.jobs-section {
  padding: var(--section-padding);
  background-color: var(--color-bg);
}

.job-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--color-text-secondary);
}

.job-empty h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--color-text);
}

.job-listing-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.job-listing-meta span {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.job-listing-meta span + span::before {
  content: "\00B7";
  margin-right: 8px;
  color: var(--color-text-secondary);
  font-weight: 700;
}

.job-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.job-apply-btn {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* Copy-link icon inside each job card header (flex sibling of chevron) */
.job-copy-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--color-text-secondary);
  opacity: 0.35;
  cursor: pointer;
  transition: opacity 0.2s, color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.job-copy-link:hover {
  opacity: 1;
  color: var(--color-primary);
  background: rgba(224, 82, 82, 0.08);
}

.job-copy-link.copied {
  opacity: 1;
  color: #2d8a4e;
}

.job-copy-link.copied::after {
  content: 'Copied!';
  position: absolute;
  top: -28px;
  right: -4px;
  background: var(--color-text);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
}

.job-copy-link svg {
  flex-shrink: 0;
}

.job-fb-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #1877F2;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.job-fb-share-btn:hover {
  background: #1565C0;
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
  color: #fff;
}

.job-fb-share-btn svg {
  flex-shrink: 0;
}

/* ── Job Detail Page (standalone /jobs/<slug>) ── */

.job-detail-section {
  padding: 84px 0 80px;
}

.job-breadcrumb {
  margin-bottom: 12px;
}

.job-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

.job-breadcrumb a:hover {
  opacity: 0.75;
}

.job-breadcrumb a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.job-detail-card {
  background: var(--color-bg);
  border: 1px solid var(--color-card-border);
  border-radius: 12px;
  padding: 40px;
  max-width: 800px;
}

.job-detail-header h1 {
  font-size: 1.5rem;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.job-detail-header .gender-indicator {
  font-weight: 400;
  color: var(--color-text-secondary);
  font-size: 0.85em;
}

.job-detail-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.job-detail-meta {
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-card-border);
}

.job-detail-body {
  margin-bottom: 32px;
}

.job-detail-body .job-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 24px;
}

.job-detail-body .job-requirements-heading {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
}

.job-detail-body .job-requirements-list {
  padding-left: 20px;
}

.job-detail-body .job-requirements-list li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: var(--color-text);
}

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

.job-view-all-btn {
  padding: 8px 20px;
  font-size: 0.85rem;
}

@media (max-width: 767px) {
  .job-detail-section {
    padding: 76px 0 60px;
  }

  .job-detail-card {
    padding: 24px 20px;
  }

  .job-actions {
    flex-wrap: wrap;
  }
}

.job-listing-info {
  flex: 1;
  min-width: 0;
}

.job-listing-info .job-listing-meta {
  width: 100%;
  margin-top: 4px;
}

.job-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.always-hiring-badge,
.urgent-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.always-hiring-badge {
  background-color: #2d8a4e;
  color: #FFFFFF;
}

.urgent-badge {
  background-color: #e68a00;
  color: #FFFFFF;
}

.gender-indicator {
  font-weight: 400;
  font-size: 0.85em;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

/* Job Category Groups */
.job-category-group {
  margin-bottom: 40px;
}

.job-category-group:last-child {
  margin-bottom: 0;
}

.job-category-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
  letter-spacing: 0.01em;
}

/* Job Listing Detail Styles */
.job-title-row h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.job-description {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.job-requirements-heading {
  font-weight: 600;
  margin-bottom: 8px;
}

.job-requirements-list {
  list-style: disc;
  padding-left: 24px;
}

.job-requirements-list li {
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}

/* CTA section secondary button white border */
.btn-secondary-white {
  border-color: #FFFFFF;
}

/* Careers page top section (no hero, needs nav offset) */
.careers-top-section {
  margin-top: var(--nav-height);
  padding-top: 64px;
}

/* Application Guidelines Section */
.guidelines-section {
  padding: var(--section-padding);
  background-color: var(--color-surface);
}

.guidelines-list {
  max-width: 800px;
  margin: 0 auto;
}

.guidelines-list ol {
  list-style: none;
  counter-reset: guidelines-counter;
  padding: 0;
}

.guidelines-list ol li {
  counter-increment: guidelines-counter;
  position: relative;
  padding: 24px 24px 24px 72px;
  margin-bottom: 16px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-card-border);
  border-radius: 12px;
  transition: all var(--transition-speed) var(--transition-ease);
}

.guidelines-list ol li:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.guidelines-list ol li::before {
  content: counter(guidelines-counter);
  position: absolute;
  left: 20px;
  top: 24px;
  width: 36px;
  height: 36px;
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.guidelines-list ol li strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.guidelines-list ol li p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
}

.guidelines-list ol li em {
  font-style: italic;
  color: var(--color-text);
  background-color: var(--color-surface);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9rem;
}

.guidelines-cta {
  text-align: center;
  margin-top: 40px;
}

.guidelines-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  font-style: italic;
}

/* ============================================
   Legal Pages
   ============================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 48px) 24px 80px;
  color: var(--color-text);
}

.legal-content .legal-breadcrumb {
  margin-bottom: 32px;
}

.legal-content .legal-breadcrumb a {
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legal-content .legal-breadcrumb a:hover {
  color: var(--color-primary-hover);
}

.legal-content .legal-breadcrumb a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.legal-content .legal-updated {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  font-style: italic;
}

.legal-content h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
  line-height: 1.3;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--color-text);
  line-height: 1.4;
}

.legal-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--color-text);
  line-height: 1.4;
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content ul {
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--color-primary-hover);
}

.legal-content strong {
  color: var(--color-text);
  font-weight: 600;
}

.legal-content hr {
  border: none;
  border-top: 1px solid var(--color-card-border);
  margin: 40px 0;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 1023px) {
  .hamburger {
    display: flex;
    min-width: 44px;
    min-height: 44px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-nav-bg);
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--nav-height) + 24px) 24px 24px;
    transition: right var(--transition-speed) var(--transition-ease);
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 8px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

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

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 40px;
  }

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

  .cta-section h2 {
    font-size: 2rem;
  }

  /* About section: stack on tablet */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Service detail cards */
  .service-detail-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-detail-header {
    padding: 24px;
  }

  .service-detail-body-inner {
    padding: 0 24px 24px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --nav-height: 64px;
    --section-padding: 72px 0;
  }

  .hamburger {
    display: flex;
    min-width: 44px;
    min-height: 44px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-nav-bg);
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--nav-height) + 20px) 24px 20px;
    transition: right var(--transition-speed) var(--transition-ease);
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 8px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .culture-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .careers-top-section {
    padding-top: 40px;
  }

  .job-category-heading {
    font-size: 1.1rem;
  }

  .job-category-group {
    margin-bottom: 32px;
  }

  .job-listing-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .job-listing-info .job-title-row {
    display: contents;
  }

  .job-listing-info .always-hiring-badge,
  .job-listing-info .urgent-badge {
    order: 99;
    margin-top: 4px;
  }

  .gender-indicator {
    display: block;
    font-size: 0.78em;
    margin-top: 2px;
  }

  .expandable-header {
    padding: 16px;
    gap: 12px;
  }

  .job-listing-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-top: 4px;
  }

  .job-listing-meta span {
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .job-listing-meta span + span::before {
    content: none;
  }

  .job-copy-link {
    width: 40px;
    height: 40px;
  }

  /* About section mobile */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-accent {
    padding: 36px 28px;
  }

  .about-accent h3 {
    font-size: 1.4rem;
  }

  .about-accent-stat .stat-value {
    font-size: 1.25rem;
  }

  /* Service detail cards mobile */
  .service-detail-header {
    padding: 20px;
    gap: 14px;
  }

  .service-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .service-detail-icon svg {
    width: 22px;
    height: 22px;
  }

  .service-detail-info h3 {
    font-size: 1.05rem;
  }

  .service-detail-info .service-desc-short {
    font-size: 0.88rem;
  }

  .service-detail-body-inner {
    padding: 0 20px 20px;
  }

  .service-detail-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .guidelines-list ol li {
    padding: 20px 16px 20px 56px;
  }

  .guidelines-list ol li::before {
    left: 12px;
    top: 20px;
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .market-icons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .hero {
    min-height: calc(100vh - var(--nav-height));
    min-height: calc(100svh - var(--nav-height));
    align-items: flex-end;
    padding-bottom: 15vh;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }


  .section-heading h2,
  .about-section h2,
  .cta-section h2 {
    font-size: 1.75rem;
  }

  footer {
    padding: 36px 16px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-col h4 {
    margin-bottom: 10px;
  }

  .footer-col ul li {
    margin-bottom: 0;
  }

  .footer-col ul li a {
    display: inline-flex;
    align-items: center;
    min-height: unset;
    line-height: 1.3;
    padding: 0;
  }

  .btn {
    padding: 14px 28px;
    font-size: 1rem;
    min-height: 44px;
  }

  .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .legal-content {
    padding: calc(var(--nav-height) + 32px) 20px 60px;
  }

  .legal-content h1 {
    font-size: 1.75rem;
  }

  .legal-content h2 {
    font-size: 1.3rem;
    margin-top: 32px;
  }

  .legal-content h3 {
    font-size: 1.1rem;
    margin-top: 24px;
  }
}

/* Small Mobile */
@media (max-width: 374px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .container {
    padding: 0 16px;
  }

  .legal-content {
    padding: calc(var(--nav-height) + 24px) 16px 48px;
  }

  .legal-content h1 {
    font-size: 1.5rem;
  }
}

/* ============================================
   Mobile Nav Drawer Footer
   ============================================ */
.nav-drawer-legal {
  display: none;
}

.nav-drawer-footer {
  display: none;
}

@media (max-width: 1023px) {
  .nav-drawer-legal {
    display: block;
    padding-top: 20px;
    margin-top: 8px;
  }

  .nav-drawer-legal-link {
    display: block;
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    padding: 4px 0;
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-ease);
  }

  .nav-drawer-legal-link:hover {
    color: var(--color-primary);
  }

  .nav-drawer-footer {
    display: block;
    margin-top: auto;
    padding-top: 24px;
    text-align: center;
  }

  .nav-drawer-divider {
    height: 1px;
    background-color: var(--color-card-border);
    margin: 0 0 20px;
  }

  .nav-drawer-contact {
    margin-bottom: 16px;
  }

  .nav-drawer-contact a {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
    min-height: auto;
    line-height: 1.6;
  }

  .nav-drawer-contact a:hover {
    color: var(--color-primary);
  }

  .nav-drawer-contact .nav-drawer-location {
    display: block;
    font-size: 0.8rem;
    color: var(--color-secondary);
    line-height: 1.5;
  }

  .nav-drawer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 14px;
  }

  .nav-drawer-social a {
    color: var(--color-text-secondary);
    transition: color var(--transition-speed) var(--transition-ease);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }

  .nav-drawer-social a:hover {
    color: var(--color-primary);
  }

  .nav-drawer-social svg {
    width: 20px;
    height: 20px;
  }

  .nav-drawer-tagline {
    font-size: 0.75rem;
    color: var(--color-secondary);
    font-style: italic;
    letter-spacing: 0.02em;
    margin: 0;
    padding-bottom: 8px;
  }
}

/* Mobile Menu Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}

/* ============================================
   Accessibility: Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }
}
