/* ============================================================
   Mates Group Australia — APG-Inspired Design System
   ============================================================ */

:root {
  --primary: #1a3a6e;
  --primary-mid: #1e4d9b;
  --primary-light: #e8f0fb;
  --accent: #e63000;
  --accent2: #ff6b35;
  --bg: #f5f7fa;
  --white: #ffffff;
  --dark: #0d1b2a;
  --gray: #5a6a7a;
  --border: #e0e8f0;
  --card-bg: #ffffff;
  --hero-grad: linear-gradient(135deg, #0d1b2a 0%, #1a3a6e 60%, #1e4d9b 100%);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(26,58,110,0.10);
  --shadow-lg: 0 12px 48px rgba(26,58,110,0.18);
  --success: #16a34a;
  --success-light: #f0fdf4;
  --warning: #d97706;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--dark); overflow-x: hidden; line-height: 1.6; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* =================================
   TOP BAR (APG-Style)
   ================================= */
.top-bar {
  background: var(--primary);
  padding: 8px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}
.top-bar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.top-bar-left { display: flex; align-items: center; gap: 20px; }
.top-bar-item { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.75); text-decoration: none; transition: color .2s; }
.top-bar-item:hover { color: white; }
.top-bar-item i { font-size: 11px; }
.top-bar-right { display: flex; align-items: center; gap: 12px; }
.top-bar-social { display: flex; gap: 8px; }
.top-bar-social a { color: rgba(255,255,255,0.55); font-size: 12px; transition: color .2s; }
.top-bar-social a:hover { color: white; }
.top-bar-rating { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,0.75); }
.stars { color: #fbbf24; font-size: 11px; letter-spacing: 1px; }

/* =================================
   NAVBAR
   ================================= */
.navbar {
  position: sticky; top: 0; left: 0; right: 0; z-index: 1000;
  background: white;
  box-shadow: 0 2px 16px rgba(26,58,110,0.10);
  transition: box-shadow 0.3s ease;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; height: 72px;
}
.nav-container { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; height: 72px; width: 100%; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 900; color: white; font-size: 20px;
  box-shadow: 0 4px 14px rgba(26,58,110,0.30);
  flex-shrink: 0;
}
.logo-text strong { font-size: 17px; font-weight: 800; color: var(--dark); display: block; line-height: 1.2; font-family: var(--font-heading); }
.logo-text span { font-size: 11px; color: var(--gray); }

.nav-links, .nav-menu { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links a, .nav-menu a {
  text-decoration: none; color: var(--dark); font-weight: 600; font-size: 13.5px;
  padding: 10px 16px; border-radius: 8px; transition: all 0.2s; white-space: nowrap; display: block;
}
.nav-links a:hover, .nav-menu a:hover,
.nav-links a.active, .nav-menu a.active { color: var(--primary); background: var(--primary-light); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-family: var(--font-body); cursor: pointer; border: none; transition: all 0.2s; font-weight: 700; border-radius: 8px; }
.btn-outline { padding: 9px 20px; border: 2px solid var(--primary); color: var(--primary); font-size: 13px; background: transparent; }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-primary { padding: 10px 22px; background: var(--primary); color: white; font-size: 13px; box-shadow: 0 4px 14px rgba(26,58,110,0.28); }
.btn-primary:hover { background: var(--primary-mid); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,58,110,0.35); }
.btn-accent { padding: 12px 28px; background: var(--accent); color: white; font-size: 14px; box-shadow: 0 4px 14px rgba(230,48,0,0.28); border-radius: 8px; }
.btn-accent:hover { background: #c42800; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,48,0,0.35); color: white; }
.btn-white { padding: 13px 30px; background: white; color: var(--primary); font-size: 14px; box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.2); color: var(--primary); }
.btn-ghost-white { padding: 13px 30px; border: 2px solid rgba(255,255,255,0.45); color: white; font-size: 14px; }
.btn-ghost-white:hover { background: rgba(255,255,255,0.12); color: white; }
.btn-lg { padding: 14px 36px !important; font-size: 15px !important; }
.btn-sm { padding: 7px 14px !important; font-size: 12px !important; }
.btn-block { width: 100%; justify-content: center; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }

/* Mobile Nav */
.mobile-nav {
  display: none; position: fixed; inset: 0;
  background: rgba(13,27,42,0.97); backdrop-filter: blur(20px);
  z-index: 999; padding: 90px 28px 40px;
  flex-direction: column; gap: 4px;
  animation: mobileNavIn 0.3s ease;
}
.mobile-nav.open { display: flex; }
@keyframes mobileNavIn { from { opacity:0; transform:translateY(-16px); } to { opacity:1; transform:translateY(0); } }
.mobile-nav a { color: white; text-decoration: none; font-size: 17px; font-weight: 600; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.07); display: flex; align-items: center; gap: 12px; transition: color .2s; }
.mobile-nav a:hover { color: #93c5fd; }
.mobile-nav a i { width: 22px; color: rgba(255,255,255,0.35); font-size: 15px; }
.close-nav { position: absolute; top: 20px; right: 20px; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.1); cursor: pointer; color: white; font-size: 17px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.close-nav:hover { background: rgba(255,255,255,0.15); }

/* =================================
   HERO — APG STYLE
   ================================= */
.hero {
  background: var(--hero-grad);
  min-height: 88vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='40' cy='40' r='30' fill='none' stroke='white' stroke-width='0.3' opacity='0.06'/%3E%3C/svg%3E") repeat;
}
.hero-shape1, .hero-shape2 { position: absolute; pointer-events: none; opacity: 0.07; }
.hero-shape1 { right: -60px; top: -60px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, #ffffff, transparent); }
.hero-shape2 { left: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, #1e4d9b, transparent); }

.hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 80px 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 2; width: 100%;
}

/* Left text */
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.9); font-size: 12px; font-weight: 700;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 24px;
  text-transform: uppercase; letter-spacing: 0.8px;
}
.hero-title {
  font-family: var(--font-heading); font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 800; color: white; line-height: 1.15; margin-bottom: 20px;
}
.hero-title span.highlight {
  color: #fbbf24;
  position: relative;
}
.hero-title .typed-word { color: #fbbf24; }
.hero-sub { font-size: 16px; color: rgba(255,255,255,0.72); line-height: 1.75; margin-bottom: 32px; max-width: 480px; }

.hero-search {
  display: flex; align-items: center;
  background: white; border-radius: 10px;
  overflow: hidden; margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.hero-search-input {
  flex: 1; border: none; outline: none; padding: 16px 14px;
  font-size: 14px; font-family: var(--font-body); color: var(--dark);
}
.hero-search-sep { width: 1px; height: 32px; background: var(--border); flex-shrink: 0; }
.hero-search-select {
  border: none; outline: none; padding: 16px 12px;
  font-size: 13px; font-family: var(--font-body); color: var(--gray);
  background: transparent; cursor: pointer; min-width: 120px;
}
.btn-search {
  padding: 16px 28px; background: var(--accent);
  color: white; font-weight: 700; font-size: 14px; border: none; cursor: pointer;
  font-family: var(--font-body); transition: all .2s; display: flex; align-items: center; gap: 6px; white-space: nowrap;
}
.btn-search:hover { background: #c42800; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; align-items: center; }
.hero-tags-label { font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.hero-tag { padding: 5px 14px; border-radius: 100px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.8); font-size: 12px; font-weight: 600; text-decoration: none; transition: all .2s; }
.hero-tag:hover { background: rgba(255,255,255,0.2); color: white; }

.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stat { text-align: left; }
.hero-stat-num { font-family: var(--font-heading); font-size: 28px; font-weight: 800; color: white; display: block; line-height: 1; }
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: .5px; margin-top: 3px; }
.hero-stat-div { width: 1px; background: rgba(255,255,255,0.18); align-self: stretch; }

/* Hero Right — Image */
.hero-visual { display: flex; align-items: center; justify-content: flex-end; position: relative; }
.hero-img-wrap { position: relative; width: 100%; max-width: 540px; }
.hero-img-main {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  display: block;
}
.hero-img-default {
  width: 100%; height: 480px; border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  flex-direction: column; gap: 16px; text-align: center; padding: 40px;
}

/* Floating cards */
.floating-card {
  position: absolute; background: white; border-radius: 14px;
  padding: 12px 16px; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 36px rgba(0,0,0,0.18);
  animation: fcFloat 4s ease-in-out infinite;
  white-space: nowrap; z-index: 3;
}
.fc1 { bottom: 40px; left: -40px; animation-delay: 0s; }
.fc2 { top: 40px; left: -30px; animation-delay: 1.5s; }
.fc3 { top: 50%; right: -40px; transform: translateY(-50%); animation-delay: 0.8s; }
@keyframes fcFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.fc3 { animation: fc3Float 4s ease-in-out infinite 0.8s; }
@keyframes fc3Float { 0%,100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 8px)); } }
.fc-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fc-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--dark); }
.fc-text span { font-size: 11px; color: var(--gray); }

/* =================================
   SERVICE CARDS — APG Top 3 Boxes
   ================================= */
.services-cards-section {
  background: white;
  padding: 0;
  position: relative; z-index: 5;
}
.services-cards-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: -60px;
}
.service-card-top {
  background: white; padding: 36px 28px;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 14px;
  transition: all 0.3s; cursor: pointer; position: relative; overflow: hidden;
  text-decoration: none; color: inherit;
}
.service-card-top:first-child { border-radius: 16px 0 0 16px; border-right: none; }
.service-card-top:nth-child(2) { border-radius: 0; }
.service-card-top:last-child { border-radius: 0 16px 16px 0; border-left: none; }
.service-card-top::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.service-card-top:hover::before { transform: scaleX(1); }
.service-card-top:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.sct-img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; }
.sct-title { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: var(--dark); }
.sct-desc { font-size: 13px; color: var(--gray); line-height: 1.7; }
.sct-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-size: 13px; font-weight: 700; margin-top: auto; text-decoration: none; transition: gap .2s; }
.sct-link:hover { gap: 10px; }

/* =================================
   STATS BAND (dark)
   ================================= */
.stats-band {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3a6e 100%);
  padding: 64px 20px; position: relative; overflow: hidden;
}
.stats-band::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20px 20px, rgba(255,255,255,0.025) 1px, transparent 0);
  background-size: 40px 40px; pointer-events: none;
}
.stats-grid { max-width: 1200px; margin: 0 auto; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { text-align: center; padding: 28px 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: 16px; transition: all .3s; }
.stat-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-4px); }
.stat-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.stat-num { font-family: var(--font-heading); font-size: 36px; font-weight: 800; color: white; display: block; margin-bottom: 4px; line-height: 1; }
.stat-name { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.85); }
.stat-desc { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 3px; }

/* =================================
   SERVICES TABS
   ================================= */
.services-section { padding: 90px 20px; background: var(--bg); }
.services-inner { max-width: 1200px; margin: 0 auto; }
.services-header { margin-bottom: 48px; }
.section-label { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 100px; background: var(--primary-light); border: 1px solid rgba(26,58,110,0.18); color: var(--primary); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; margin-bottom: 14px; }
.section-title { font-family: var(--font-heading); font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--dark); line-height: 1.18; margin-bottom: 10px; }
.section-sub { font-size: 15px; color: var(--gray); max-width: 540px; line-height: 1.75; }
.services-layout { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.service-tabs { display: flex; flex-direction: column; gap: 8px; }
.service-tab { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 12px; background: white; border: 2px solid transparent; cursor: pointer; transition: all .3s; text-align: left; width: 100%; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.service-tab:hover { border-color: rgba(26,58,110,0.15); box-shadow: 0 4px 16px rgba(26,58,110,.07); }
.service-tab.active { background: linear-gradient(135deg, var(--primary-light), #dce8fa); border-color: rgba(26,58,110,0.28); box-shadow: 0 6px 24px rgba(26,58,110,0.10); }
.service-tab.active::after { content: ''; position: absolute; right: -17px; top: 50%; transform: translateY(-50%); border: 8px solid transparent; border-left: 10px solid rgba(26,58,110,0.18); }
.service-tab { position: relative; }
.tab-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; background: var(--primary-light); color: var(--primary); transition: all .3s; }
.service-tab.active .tab-icon { background: linear-gradient(135deg, var(--primary), var(--primary-mid)); color: white; box-shadow: 0 4px 14px rgba(26,58,110,0.3); }
.tab-label { font-size: 14px; font-weight: 600; color: var(--dark); }
.service-tab.active .tab-label { color: var(--primary); }
.service-content-area { background: white; border-radius: 20px; padding: 40px; border: 1px solid var(--border); min-height: 340px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.service-content-area::before { content: ''; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(26,58,110,0.04), transparent); pointer-events: none; }
.service-panel { display: none; animation: panelFade .35s ease; }
.service-panel.active { display: block; }
@keyframes panelFade { from { opacity:0; transform:translateX(14px); } to { opacity:1; transform:translateX(0); } }
.service-panel h2 { font-family: var(--font-heading); font-size: 26px; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.service-panel p { font-size: 14px; color: var(--gray); line-height: 1.8; margin-bottom: 10px; }
.btn-view { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 10px; background: var(--primary); color: white; font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 6px 20px rgba(26,58,110,0.25); transition: all .2s; margin-top: 20px; border: none; cursor: pointer; font-family: var(--font-body); }
.btn-view:hover { background: var(--primary-mid); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(26,58,110,0.35); color: white; }

/* =================================
   TEAM / CLIENTS
   ================================= */
.team-section { padding: 80px 20px; background: white; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; margin-top: 40px; }
.team-card { background: var(--bg); border-radius: 16px; overflow: hidden; border: 1px solid var(--border); transition: all .3s; text-align: center; padding-bottom: 20px; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card img { width: 100%; height: 200px; object-fit: cover; }
.team-card h4 { font-size: 14px; font-weight: 700; color: var(--dark); margin: 14px 12px 4px; }
.team-card span { font-size: 12px; color: var(--gray); }

.clients-section { padding: 60px 20px; background: var(--bg); border-top: 1px solid var(--border); }
.clients-inner { max-width: 1200px; margin: 0 auto; }
.clients-label { text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); margin-bottom: 32px; }
.clients-grid { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.client-card { background: white; border-radius: 14px; padding: 10px; border: 1px solid var(--border); transition: all .3s; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.client-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.client-card img { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; display: block; }

/* =================================
   FEATURED + LATEST JOBS
   ================================= */
.jobs-section { padding: 80px 20px; background: white; }
.jobs-section.bg-gray { background: var(--bg); }
.container { max-width: 1200px; margin: 0 auto; }
.jobs-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; gap: 20px; flex-wrap: wrap; }
.view-all-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-size: 13px; font-weight: 700; padding: 8px 16px; border: 2px solid var(--primary); border-radius: 8px; text-decoration: none; transition: all .2s; white-space: nowrap; }
.view-all-link:hover { background: var(--primary); color: white; }
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.job-card { background: white; border: 1.5px solid var(--border); border-radius: 16px; padding: 22px; cursor: pointer; transition: all .3s; position: relative; overflow: hidden; }
.job-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(26,58,110,0.2); }
.job-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.job-card:hover::before { transform: scaleX(1); }
.card-badge-abs { position: absolute; top: 14px; right: 14px; }
.job-card-header { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 13px; }
.company-logo { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; color: white; flex-shrink: 0; overflow: hidden; }
.company-logo img { width: 100%; height: 100%; object-fit: cover; }
.job-title { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 3px; line-height: 1.3; }
.company-name { font-size: 12px; color: var(--gray); }
.company-name i { font-size: 10px; margin-right: 3px; }
.job-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 13px; }
.badge { padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.badge-blue { background: #eff6ff; color: #1d4ed8; }
.badge-green { background: #f0fdf4; color: #15803d; }
.badge-purple { background: #faf5ff; color: #7e22ce; }
.badge-orange { background: #fff7ed; color: #c2410c; }
.badge-featured { background: #fffbeb; color: #b45309; }
.badge-urgent { background: #fef2f2; color: #dc2626; }
.badge-gray { background: #f3f4f6; color: #374151; }
.job-info { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--gray); gap: 8px; flex-wrap: wrap; }
.job-info-item { display: flex; align-items: center; gap: 4px; }
.job-salary { font-weight: 700; color: var(--success); font-size: 13px; }
.job-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); gap: 10px; }
.job-time { font-size: 11px; color: var(--gray); display: flex; align-items: center; gap: 4px; }
.btn-apply { padding: 8px 18px; border-radius: 8px; background: var(--primary); color: white; font-weight: 700; font-size: 12px; text-decoration: none; transition: all .2s; white-space: nowrap; font-family: var(--font-body); }
.btn-apply:hover { background: var(--primary-mid); transform: translateY(-1px); color: white; }

/* State pills */
.state-filter { background: white; border-bottom: 1px solid var(--border); padding: 12px 20px; }
.state-filter-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.state-pill { background: var(--bg); border: 1.5px solid var(--border); color: var(--dark); border-radius: 100px; padding: 4px 14px; font-size: 12px; font-weight: 600; transition: all .2s; text-decoration: none; white-space: nowrap; }
.state-pill:hover { background: var(--primary); color: white; border-color: var(--primary); }
.state-pill.remote { background: var(--primary-light); border-color: rgba(26,58,110,0.25); color: var(--primary); }
.state-pill.ongoing { background: #fef3c7; border-color: #d97706; color: #d97706; }

/* Categories */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 14px; }
.cat-card { background: white; border: 1.5px solid var(--border); border-radius: 14px; padding: 22px 16px; text-align: center; transition: all .25s; display: block; text-decoration: none; position: relative; overflow: hidden; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-icon-wrap { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 22px; }
.cat-name { font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 5px; line-height: 1.3; }
.cat-count { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 100px; }

/* =================================
   HOW IT WORKS
   ================================= */
.how-section { padding: 80px 20px; background: var(--bg); }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.how-card { background: white; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 4px 24px rgba(26,58,110,0.05); }
.how-card-header { padding: 24px 28px; display: flex; align-items: center; gap: 14px; }
.how-card-body { padding: 4px 28px 28px; }
.how-step { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.step-num { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.step-title { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.step-desc { font-size: 12px; color: var(--gray); line-height: 1.65; }

/* =================================
   TESTIMONIALS
   ================================= */
.testimonials-section { padding: 80px 20px; background: white; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; }
.testimonial-card { background: var(--bg); border-radius: 16px; padding: 28px; border: 1px solid var(--border); transition: all .3s; position: relative; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial-card::before { content: '"'; position: absolute; top: 20px; right: 24px; font-size: 72px; font-family: Georgia, serif; color: var(--primary-light); line-height: 1; }
.tc-stars { color: #fbbf24; font-size: 13px; margin-bottom: 12px; }
.tc-text { font-size: 14px; color: var(--gray); line-height: 1.75; margin-bottom: 20px; }
.tc-author { display: flex; align-items: center; gap: 10px; }
.tc-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.tc-author-info strong { font-size: 13px; font-weight: 700; color: var(--dark); display: block; }
.tc-author-info span { font-size: 11px; color: var(--gray); }

/* =================================
   CTA BANNER
   ================================= */
.cta-banner { background: linear-gradient(135deg, #0d1b2a 0%, #1a3a6e 60%, #1e4d9b 100%); padding: 80px 20px; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='18' fill='none' stroke='white' stroke-width='0.4' opacity='0.06'/%3E%3C/svg%3E") repeat; }
.cta-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.cta-chip { display: inline-block; padding: 5px 14px; border-radius: 100px; background: rgba(255,255,255,0.1); color: white; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border: 1px solid rgba(255,255,255,0.18); margin-bottom: 18px; }
.cta-inner h2 { font-family: var(--font-heading); font-size: clamp(26px, 4vw, 40px); font-weight: 800; color: white; margin-bottom: 14px; }
.cta-inner p { font-size: 15px; color: rgba(255,255,255,0.65); margin-bottom: 32px; line-height: 1.7; }
.cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* =================================
   FOOTER
   ================================= */
.footer { background: #0a1628; padding: 64px 20px 0; color: rgba(255,255,255,0.62); }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { font-size: 13px; line-height: 1.8; margin-top: 14px; max-width: 280px; }
.footer-addr { margin-top: 16px; padding: 13px; background: rgba(255,255,255,0.04); border-radius: 10px; border: 1px solid rgba(255,255,255,0.07); font-size: 12px; line-height: 1.8; }
.social-links { display: flex; gap: 8px; margin-top: 16px; }
.social-link { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.09); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.55); text-decoration: none; font-size: 14px; transition: all .2s; }
.social-link:hover { background: var(--primary); color: white; border-color: var(--primary); }
.footer-col h4 { font-size: 12px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-col ul a:hover { color: white; }
.footer-bottom { max-width: 1200px; margin: 40px auto 0; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: var(--accent2); text-decoration: none; }

/* =================================
   JOBS PAGE — FULL DESIGN
   ================================= */
.search-hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3a6e 60%, #1e4d9b 100%);
  padding: 48px 20px 36px;
  margin-top: 0;
}
.search-hero h1 { font-family: var(--font-heading); font-size: 28px; font-weight: 800; color: white; margin-bottom: 6px; }
.search-hero p { color: rgba(255,255,255,0.65); font-size: 14px; margin-bottom: 24px; }
.search-form-bar {
  display: flex; align-items: center;
  background: white; border-radius: 12px; overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25); max-width: 760px;
}
.search-field { display: flex; align-items: center; gap: 10px; padding: 0 16px; flex: 1; }
.search-field i { color: var(--gray); font-size: 14px; flex-shrink: 0; }
.search-field input { border: none; outline: none; width: 100%; font-size: 14px; font-family: var(--font-body); padding: 16px 0; color: var(--dark); }
.search-divider { width: 1px; height: 38px; background: var(--border); flex-shrink: 0; }
.search-btn { padding: 16px 28px; background: var(--accent); color: white; font-weight: 700; font-size: 14px; border: none; cursor: pointer; font-family: var(--font-body); transition: all .2s; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.search-btn:hover { background: #c42800; }

.jobs-page-layout {
  max-width: 1280px; margin: 32px auto; padding: 0 28px;
  display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start;
}

/* Sidebar */
.filter-sidebar { position: sticky; top: 90px; }
.filter-card { background: white; border-radius: 16px; border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow); }
.filter-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: linear-gradient(135deg, var(--primary), var(--primary-mid)); }
.filter-header h4 { font-size: 14px; font-weight: 700; color: white; display: flex; align-items: center; gap: 8px; }
.filter-header h4 i { font-size: 13px; }
.filter-header a { font-size: 12px; color: rgba(255,255,255,0.7); text-decoration: none; }
.filter-header a:hover { color: white; }
.filter-body { padding: 18px 20px; }
.filter-body + .filter-body { border-top: 1px solid var(--border); }
.filter-body h4 { font-size: 12px; font-weight: 700; color: var(--dark); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .5px; }
.filter-option { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filter-option label { font-size: 13px; color: var(--dark); cursor: pointer; display: flex; align-items: center; gap: 8px; }
.filter-option input[type=radio] { accent-color: var(--primary); width: 14px; height: 14px; cursor: pointer; }
.filter-count { background: var(--bg); color: var(--gray); font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 100px; border: 1px solid var(--border); }

/* Jobs List */
.jobs-list-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: white; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.jobs-count { font-size: 14px; color: var(--dark); }
.jobs-count strong { color: var(--primary); font-weight: 800; }
.sort-select { border: 1.5px solid var(--border); border-radius: 8px; padding: 7px 12px; font-size: 13px; color: var(--dark); outline: none; cursor: pointer; background: white; font-family: var(--font-body); }
.sort-select:focus { border-color: var(--primary); }

.job-list-item {
  background: white; border: 1.5px solid var(--border); border-radius: 14px;
  padding: 20px 22px; margin-bottom: 12px; display: flex; align-items: flex-start;
  gap: 16px; cursor: pointer; transition: all .3s; position: relative; overflow: hidden;
}
.job-list-item:hover { box-shadow: var(--shadow-lg); border-color: rgba(26,58,110,0.2); transform: translateX(4px); }
.job-list-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--primary), var(--accent)); transform: scaleY(0); transform-origin: top; transition: transform .3s; }
.job-list-item:hover::before { transform: scaleY(1); }
.job-list-info { flex: 1; min-width: 0; }
.job-list-title { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.job-list-company { font-size: 13px; color: var(--gray); margin-bottom: 10px; }
.job-list-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; gap: 12px; flex-wrap: wrap; }
.job-list-actions { display: flex; align-items: center; gap: 8px; }
.save-btn { width: 34px; height: 34px; border-radius: 8px; border: 1.5px solid var(--border); background: white; color: var(--gray); font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.save-btn:hover { border-color: var(--primary); color: var(--primary); }

/* Empty state */
.empty-state { text-align: center; padding: 80px 20px; background: white; border-radius: 16px; border: 1px solid var(--border); }
.empty-state i { font-size: 48px; color: var(--border); margin-bottom: 16px; }
.empty-state h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.empty-state p { font-size: 14px; color: var(--gray); }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.page-item { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--border); background: white; color: var(--dark); font-size: 14px; font-weight: 600; text-decoration: none; transition: all .2s; cursor: pointer; }
.page-item:hover { border-color: var(--primary); color: var(--primary); }
.page-item.active { background: var(--primary); border-color: var(--primary); color: white; }

/* =================================
   SCROLL REVEAL
   ================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =================================
   RESPONSIVE
   ================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-sub, .hero-tags, .hero-stats { text-align: center; justify-content: center; margin-left: auto; margin-right: auto; }
  .hero-visual { justify-content: center; }
  .fc3 { display: none; }
  .services-layout { grid-template-columns: 1fr; }
  .service-tab.active::after { display: none; }
  .service-tabs { flex-direction: row; flex-wrap: wrap; }
  .service-tab { flex: 1; min-width: 140px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-cards-inner { grid-template-columns: 1fr; margin-top: 0; }
  .service-card-top:first-child, .service-card-top:last-child, .service-card-top:nth-child(2) { border-radius: 16px; border: 1px solid var(--border); }
  .jobs-page-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions, .nav-menu + .nav-actions { display: none !important; }
  .nav-menu { display: none !important; }
  .hamburger { display: flex; }
  .top-bar-left { display: none; }
  .hero-img-main { height: 280px; max-width: 100%; }
  .fc1, .fc2 { display: none; }
  .hero-search { flex-wrap: wrap; }
  .hero-search-select { width: 100%; border-left: none; border-top: 1px solid var(--border); }
  .btn-search { width: 100%; border-radius: 0 0 10px 10px; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .jobs-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .service-tab { min-width: 100%; }
  .search-form-bar { flex-direction: column; border-radius: 12px; }
  .search-divider { width: 100%; height: 1px; }
  .search-field { width: 100%; }
  .search-btn { width: 100%; border-radius: 0 0 12px 12px; justify-content: center; }
  .jobs-page-layout { padding: 0 16px; grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .clients-grid { gap: 12px; }
}
@media (max-width: 480px) {
  .hero-inner { padding: 40px 16px; }
  .hero-title { font-size: 28px; }
  .section-title { font-size: 22px; }
  .stats-grid { gap: 12px; }
  .stat-num { font-size: 28px; }
  .service-tabs { flex-direction: column; }
}

/* ============================================================
   AUTH PAGES — Login / Register
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 420px 1fr;
}
.auth-left {
  background: linear-gradient(160deg, #0d1b2a 0%, #1a3a6e 50%, #1e4d9b 100%);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.auth-left::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06), transparent);
  pointer-events: none;
}
.auth-left h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: white;
  line-height: 1.25;
  margin-bottom: 6px;
}
.auth-left p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; }
.auth-features { display: flex; flex-direction: column; gap: 16px; }
.auth-feature {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
}
.auth-feature i {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 15px;
  flex-shrink: 0;
}
.auth-feature strong { display: block; color: white; font-size: 13px; font-weight: 700; }
.auth-feature span { font-size: 12px; color: rgba(255,255,255,0.5); }
.auth-right {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
  overflow-y: auto;
}
.auth-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; }
.auth-title { font-family: var(--font-heading); font-size: 26px; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.auth-subtitle { font-size: 14px; color: var(--gray); margin-bottom: 28px; }
.auth-subtitle a { color: var(--primary); font-weight: 600; text-decoration: none; }
.auth-subtitle a:hover { text-decoration: underline; }

/* Role tabs */
.role-tabs {
  display: flex; gap: 6px;
  background: var(--border);
  padding: 4px; border-radius: 12px;
  margin-bottom: 24px;
}
.role-tab {
  flex: 1; padding: 9px 12px;
  border: none; background: transparent;
  border-radius: 10px; cursor: pointer;
  font-size: 13px; font-weight: 600;
  color: var(--gray); font-family: var(--font-body);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: all .2s;
}
.role-tab.active { background: white; color: var(--primary); box-shadow: 0 2px 10px rgba(0,0,0,0.10); }
.role-tab:hover:not(.active) { color: var(--dark); }

/* Form elements */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 7px; }
.input-group {
  display: flex; align-items: center;
  background: white; border: 1.5px solid var(--border);
  border-radius: 10px; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  position: relative;
}
.input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,110,0.10);
}
.input-group > i {
  padding: 0 14px;
  color: var(--gray);
  font-size: 14px;
  flex-shrink: 0;
}
.input-group .form-control,
.form-control {
  border: none; outline: none;
  width: 100%; padding: 13px 14px;
  font-size: 14px; font-family: var(--font-body);
  color: var(--dark); background: transparent;
}
.input-group .form-control { padding-left: 0; }
.form-control::placeholder { color: #b0bec5; }
/* Standalone form-control (not in input-group) */
div:not(.input-group) > .form-control {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: white;
}
div:not(.input-group) > .form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,110,0.10);
}
.form-select { width: 100%; }

/* Alerts */
.alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.alert-danger { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.alert-warning { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.alert-success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

/* Auth footer */
.auth-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--gray);
}
.auth-footer a { color: var(--primary); font-weight: 600; text-decoration: none; }

/* Extra vars used in login */
:root {
  --secondary: #e63000;
  --purple: #7c3aed;
  --purple-light: #faf5ff;
  --danger: #dc2626;
  --gray-light: #9ca3af;
}

@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { padding: 40px 24px; min-height: 100vh; }
}

/* ============================================================
   STATS BAND v2 — APG Image 3 Style (white bg, icon circles,
   connecting line, animated numbers with + suffix)
   ============================================================ */
.stats-band-v2 {
  background: white;
  padding: 72px 20px;
  position: relative;
  overflow: hidden;
}
.stats-band-v2-header {
  text-align: center;
  margin-bottom: 56px;
}
.stats-band-v2-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: var(--dark);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.25;
}
.stats-band-v2 .stats-track {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
/* Connecting timeline line */
.stats-band-v2 .stats-track::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-light));
  opacity: 0.35;
  z-index: 0;
}
.stats-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.stat-card-v2 {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 32px 20px 28px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.stat-card-v2::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-accent, var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.stat-card-v2:hover::before { transform: scaleX(1); }
.stat-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(26,58,110,0.13);
  border-color: transparent;
}
.stat-icon-v2 {
  width: 76px; height: 76px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  transition: transform 0.4s ease;
}
.stat-card-v2:hover .stat-icon-v2 { transform: scale(1.12) rotate(-4deg); }
.stat-icon-v2 img, .stat-icon-v2 span {
  font-size: 32px;
  line-height: 1;
}
.stat-num-v2 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--num-c1, #1a3a6e), var(--num-c2, #1e4d9b));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label-v2 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.stat-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 3px rgba(26,58,110,0.15);
  margin: 14px auto 0;
}

@media (max-width: 900px) {
  .stats-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .stats-band-v2 .stats-track::before { display: none; }
}
@media (max-width: 480px) {
  .stats-grid-v2 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-num-v2 { font-size: 32px; }
}

/* ============================================================
   TEAM CARDS v2 — Image 4 Style (hover flip / slide-up overlay)
   ============================================================ */
.team-section-v2 {
  padding: 80px 20px;
  background: var(--bg);
}
.team-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 44px;
}
.team-card-v2 {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
}
.team-card-v2:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 24px 56px rgba(26,58,110,0.16);
  border-color: transparent;
}
.team-card-img {
  position: relative;
  overflow: hidden;
  height: 240px;
}
.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.team-card-v2:hover .team-card-img img { transform: scale(1.08); }
/* Overlay on hover */
.team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,58,110,0.88) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 16px;
}
.team-card-v2:hover .team-card-overlay { opacity: 1; }
.team-overlay-social {
  display: flex; gap: 8px; justify-content: center; margin-bottom: 8px;
}
.team-overlay-social a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 13px;
  text-decoration: none;
  transition: background .2s;
}
.team-overlay-social a:hover { background: var(--primary); }
.team-overlay-role {
  text-align: center;
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.team-card-body {
  padding: 18px 16px 20px;
  text-align: center;
  position: relative;
}
.team-card-body::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity .35s ease;
}
.team-card-v2:hover .team-card-body::before { opacity: 1; }
.team-card-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
  font-family: var(--font-heading);
}
.team-card-role-text {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 10px;
}
.team-card-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
}

/* ============================================================
   HERO FIX — ensure 2-col layout always shows image
   ============================================================ */
.hero-inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 60px;
  align-items: center;
}
.hero-visual {
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
}
.hero-img-main {
  width: 100%;
  max-width: 520px;
  height: 460px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  display: block !important;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  .hero-visual { justify-content: center !important; }
  .hero-img-main { max-width: 100%; height: 260px; }
  .stats-grid-v2 { grid-template-columns: repeat(2,1fr); }
  .team-grid-v2 { grid-template-columns: repeat(2,1fr); }
}
