/* ========================================
   Atlaris Advisory - Main Stylesheet
   Differentiated Design: Split layouts,
   horizontal cards, gold accents, left-border cards
   ======================================== */

/* CSS Variables */
:root {
  --primary: #1e3a5f;
  --primary-dark: #152a45;
  --primary-light: #2d4a6f;
  --accent: #c9a227;
  --accent-light: #d4b44a;
  --accent-dark: #a68820;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #0f1c2e;
  --text-primary: #1f2937;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --text-on-dark: #f1f5f9;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: all 0.3s ease;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
}

/* ========================================
   Header - Unique horizontal line accent
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
  opacity: 0.6;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background-image: url('../images/logo.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .company-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-text .tagline {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

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

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

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

.nav-cta {
  margin-left: 16px;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: white;
  padding: 24px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* ========================================
   Buttons - Gold accent style
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(30, 58, 95, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.4);
}

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

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-accent {
  background: var(--accent);
  color: var(--primary-dark);
}

.btn-accent:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 16px;
}

.btn-ghost:hover {
  color: var(--primary);
  background: var(--bg-secondary);
}

/* ========================================
   Hero - Split Layout (Different from others)
   ======================================== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 15% 25%, rgba(30, 58, 95, 0.06) 0%, transparent 55%),
              radial-gradient(circle at 85% 20%, rgba(201, 162, 39, 0.07) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-finance-bg.svg') center / cover no-repeat;
  opacity: 0.3;
  filter: grayscale(100%) contrast(105%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  justify-items: center;
}

.hero-content {
  max-width: 560px;
  text-align: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(30, 58, 95, 0.08);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 24px;
  border-left: 3px solid var(--accent);
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary-dark);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 span {
  color: var(--accent-dark);
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

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

/* Hero Stats Card - Right Side */
.hero-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  position: relative;
  border: 1px solid var(--border);
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.hero-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.stat-item:nth-child(3),
.stat-item:nth-child(4) {
  border-bottom: none;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-value .accent {
  color: var(--accent);
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ========================================
   Sections
   ======================================== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-header {
  margin-bottom: 48px;
}

.section-header.centered {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-dark .section-title {
  color: white;
}

.section-description {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

/* ========================================
   Services - Horizontal Cards (Different)
   ======================================== */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: center;
  background: white;
  padding: 32px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(8px);
  border-left-color: var(--primary);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, white 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  border: 1px solid var(--border-light);
}

.service-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.service-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 500px;
}

.service-arrow {
  width: 48px;
  height: 48px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  transition: var(--transition);
}

.service-card:hover .service-arrow {
  background: var(--primary);
  color: white;
}

/* ========================================
   Process Timeline (New unique section)
   ======================================== */
.process-section {
  padding: 80px 0;
  background: var(--bg-dark);
  color: white;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary-light) 100%);
}

.process-step {
  text-align: center;
  position: relative;
  padding: 0 20px;
}

.process-number {
  width: 80px;
  height: 80px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  border: 3px solid var(--accent);
}

.process-step h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========================================
   Industries Section
   ======================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition);
}

.industry-tag:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.industry-tag-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ========================================
   Quote Section (Unique element)
   ======================================== */
.quote-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
}

.quote-text {
  font-size: 32px;
  font-weight: 300;
  color: white;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto 24px;
  font-style: italic;
}

.quote-text::before {
  content: '"';
  font-size: 60px;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 16px;
}

.quote-author {
  font-size: 14px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ========================================
   Cards Grid (for other sections)
   ======================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.cards-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  display: block;
}

.card.card-clickable {
  cursor: pointer;
}

.card.card-clickable:focus-visible {
  outline: 3px solid rgba(30, 58, 95, 0.25);
  outline-offset: 3px;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card:hover::before {
  height: 100%;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, white 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

.card-link:hover {
  color: var(--accent);
  gap: 10px;
}

.card-link .arrow {
  transition: var(--transition);
}

/* ========================================
   About Preview
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-grid.about-grid-single {
  grid-template-columns: 1fr;
}

.about-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.about-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.about-list {
  margin-bottom: 32px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
}

.about-list li:last-child {
  border-bottom: none;
}

.about-list li::before {
  content: '→';
  color: var(--accent);
  font-weight: 600;
}

.about-visual {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, white 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border);
  position: relative;
}

.about-visual::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 100px;
  height: 100px;
  background: var(--accent);
  opacity: 0.1;
  border-radius: var(--radius-lg);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-stat {
  text-align: center;
  padding: 24px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.about-stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
}

.about-stat-value .accent {
  color: var(--accent);
}

.about-stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.about-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.about-stat-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ========================================
   Insights Preview
   ======================================== */
.insight-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.insight-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
}

.insight-content {
  padding: 24px;
}

.insight-category {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.insight-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.insight-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 32px;
}

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

.cta-section .btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}

.cta-section .btn-primary:hover {
  background: var(--accent-light);
}

.cta-section .btn-secondary {
  border-color: white;
  color: white;
}

.cta-section .btn-secondary:hover {
  background: white;
  color: var(--primary);
}

/* ========================================
   Page Hero (for subpages)
   ======================================== */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero-content {
  max-width: 700px;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

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

.breadcrumb a:hover {
  color: var(--accent);
}

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

/* ========================================
   Team Grid
   ======================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 32px 24px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 36px;
  font-weight: 600;
}

.team-avatar svg {
  width: 44px;
  height: 44px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 12px;
}

.team-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========================================
   Job Cards
   ======================================== */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-card {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 24px 32px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  border-left: 4px solid transparent;
  transition: var(--transition);
}

.job-card:hover {
  border-left-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.job-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.job-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-secondary);
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.job-type {
  padding: 6px 12px;
  background: var(--bg-secondary);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
}

.job-type.intern {
  background: rgba(201, 162, 39, 0.1);
  color: var(--accent-dark);
}

/* ========================================
   Contact Page
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-info h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.contact-item-content p {
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-item-content a {
  color: var(--primary);
}

.contact-item-content a:hover {
  color: var(--accent);
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group label .required {
  color: #ef4444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  background: var(--bg-secondary);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo .logo-icon {
  /* Uses the same logo.svg as header */
  filter: brightness(1.1);
}

.footer-logo .company-name {
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a,
.footer-links li {
  font-size: 14px;
  color: var(--text-light);
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-light);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--text-light);
}

.footer-legal a:hover {
  color: var(--accent);
}

/* ========================================
   Legal Pages
   ======================================== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0;
}

.legal-content h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 40px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.legal-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 24px 0 12px;
}

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

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

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

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

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

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

.legal-meta {
  background: var(--bg-secondary);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  border-left: 4px solid var(--accent);
}

.legal-meta p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

/* ========================================
   Values Grid (for About/Careers)
   ======================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-sm);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, white 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}

.value-content h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.value-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   Job Detail Page
   ======================================== */
.job-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 40px;
}

.job-detail-title h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.job-detail-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.job-detail-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-secondary);
}

.job-detail-content h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 32px 0 16px;
}

.job-detail-content h2:first-of-type {
  margin-top: 0;
}

.job-detail-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.job-detail-content ul {
  margin: 16px 0;
}

.job-detail-content li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
  padding-left: 24px;
  position: relative;
}

.job-detail-content li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.job-detail-sidebar {
  position: sticky;
  top: 100px;
}

.job-apply-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.job-apply-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.job-apply-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.job-apply-card .btn {
  width: 100%;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-card {
    max-width: 500px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .process-grid::before {
    display: none;
  }

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

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

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

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

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

  .cards-grid-2 {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }

  .service-icon {
    margin: 0 auto;
  }

  .service-content {
    text-align: center;
  }

  .service-content p {
    max-width: none;
  }

  .service-arrow {
    margin: 0 auto;
  }

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

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

  .job-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .job-type {
    justify-self: start;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .quote-text {
    font-size: 24px;
  }

  .cta-section h2 {
    font-size: 26px;
  }

  .page-hero h1 {
    font-size: 32px;
  }

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

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 30px;
  }

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

  .hero-buttons .btn {
    width: 100%;
  }

  .stat-value {
    font-size: 28px;
  }

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

  .cta-buttons .btn {
    width: 100%;
  }
}

/* ========================================
   Icon System - Simple SVG Icons
   ======================================== */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Icon in card/service contexts */
.card-icon .icon,
.service-icon .icon,
.value-icon .icon,
.industry-tag-icon .icon,
.contact-item-icon .icon,
.insight-image .icon {
  width: 100%;
  height: 100%;
}

.card-icon svg,
.service-icon svg,
.value-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
}

.industry-tag-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
}

.insight-image svg {
  width: 48px;
  height: 48px;
  stroke: white;
}

.process-number svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
}

/* Meta icons in job cards */
.meta-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 4px;
}

.meta-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Arrow icons */
.arrow-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-left: 4px;
}

.arrow-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-arrow svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* All inline SVGs base styles */
svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
