/* ============================================================
   CBRS Networks – Staffing & Recruiting Website Stylesheet
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary:       #1c3a6b;
  --primary-light: #2b6cb0;
  --accent:        #00adef;
  --accent-hover:  #0099d0;
  --white:         #ffffff;
  --light-bg:      #f3f6fb;
  --text-dark:     #1a1a2e;
  --text-mid:      #4a5568;
  --text-light:    #718096;
  --border:        #e2e8f0;
  --shadow-sm:     0 2px 8px rgba(28,58,107,.08);
  --shadow-md:     0 6px 24px rgba(28,58,107,.12);
  --shadow-lg:     0 16px 48px rgba(28,58,107,.18);
  --radius:        10px;
  --radius-lg:     18px;
  --transition:    .3s ease;
  --max-width:     1200px;
}

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

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

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

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

.section { padding: 90px 0; }
.section-alt { background: var(--light-bg); }

.section-tag {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- SCROLL PROGRESS BAR ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #fb923c);
  z-index: 1001;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ---------- DARK MODE TOGGLE ---------- */
.dark-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.dark-toggle:hover { background: rgba(255,255,255,.28); }
.navbar.scrolled .dark-toggle {
  background: var(--light-bg);
  color: var(--primary);
}

/* ---------- MOBILE OVERLAY ---------- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 998;
  opacity: 0;
  transition: opacity .3s ease;
  backdrop-filter: blur(2px);
}
.nav-overlay.open { display: block; }
.nav-overlay.visible { opacity: 1; }

/* ---------- NAVIGATION ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  /* Dark gradient fades behind navbar so logo always readable over video */
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.0) 100%);
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0;
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.navbar.scrolled .nav-link { color: var(--text-dark); }
.navbar.scrolled .logo-img {
  /* On white navbar: restore original colors, just a subtle shadow */
  filter: none;
  height: 52px;
}
.navbar.scrolled .btn-nav { background: var(--accent); color: var(--white); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 12px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  animation: logoFadeIn 0.8s ease forwards;
}
@keyframes logoFadeIn {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}
.logo-img {
  height: 64px;
  width: auto;
  max-width: 260px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  /* Invert dark logo pixels to white for contrast on dark video, then add glow */
  filter:
    invert(1) brightness(2)
    drop-shadow(0 0 6px rgba(255,255,255,0.5))
    drop-shadow(0 2px 12px rgba(0,0,0,0.8));
  transition: filter var(--transition), height var(--transition), opacity var(--transition);
}
.logo-img:hover { opacity: 0.85; }

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

.nav-link {
  font-size: .93rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--accent); }

.btn-nav {
  padding: 10px 26px;
  border-radius: 50px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-nav:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Animated Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  border: none;
  transition: background var(--transition);
  flex-shrink: 0;
}
.hamburger:hover { background: rgba(255,255,255,.22); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .35s cubic-bezier(.23,1,.32,1), opacity .25s ease, width .3s ease;
  transform-origin: center;
  margin: 0 auto;
}
/* X state */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar.scrolled .hamburger { background: var(--light-bg); }
.navbar.scrolled .hamburger span { background: var(--primary); }
.navbar.scrolled .hamburger:hover { background: var(--border); }

/* ---------- MOBILE DRAWER ---------- */
@media (max-width: 768px) {
  .nav-links {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0;
    width: min(340px, 85vw);
    height: 100vh;
    background: var(--white);
    z-index: 999;
    padding: 90px 0 32px;
    gap: 0;
    box-shadow: -8px 0 40px rgba(0,0,0,.18);
    transform: translateX(100%);
    transition: transform .38s cubic-bezier(.23,1,.32,1);
    overflow-y: auto;
    align-items: stretch;
  }
  .nav-links.open { transform: translateX(0); }

  .nav-links .nav-link {
    color: var(--text-dark);
    font-size: 1.05rem;
    padding: 16px 28px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .nav-links .nav-link::before { font-size: 1.1rem; }
  .nav-links li:nth-child(1) .nav-link::before { content: '🏠'; }
  .nav-links li:nth-child(2) .nav-link::before { content: '👥'; }
  .nav-links li:nth-child(3) .nav-link::before { content: '🛠️'; }
  .nav-links li:nth-child(4) .nav-link::before { content: '💼'; }
  .nav-links li:nth-child(5) .nav-link::before { content: '📞'; }
  .nav-links .nav-link:hover,
  .nav-links .nav-link.active { color: var(--accent); background: rgba(249,115,22,.06); }
  .nav-links .nav-link::after { display: none; }

  .nav-links .btn-nav {
    margin: 20px 28px 8px;
    text-align: center;
    justify-content: center;
    border-radius: 50px;
    display: flex;
  }

  .hamburger { display: flex; }
}

/* ---------- MOBILE FLOATING CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 86px; left: 50%;
  transform: translateX(-50%);
  z-index: 990;
  background: var(--accent);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 8px 24px rgba(249,115,22,.45);
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  animation: floatBounce 2.5s ease-in-out infinite;
}
.mobile-cta:hover { background: var(--accent-hover); box-shadow: 0 12px 32px rgba(249,115,22,.55); }
@keyframes floatBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-5px); }
}
@media (max-width: 768px) { .mobile-cta { display: block; } }

/* ---------- TOAST NOTIFICATIONS ---------- */
.toast-container {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--primary);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 320px;
  pointer-events: all;
  transform: translateY(20px);
  opacity: 0;
  transition: transform .35s cubic-bezier(.23,1,.32,1), opacity .35s ease;
}
.toast.show   { transform: translateY(0); opacity: 1; }
.toast.hide   { transform: translateY(20px); opacity: 0; }
.toast.success { border-left: 4px solid #10b981; }
.toast.info    { border-left: 4px solid var(--accent); }
.toast-icon { font-size: 1.2rem; flex-shrink: 0; }

/* ---------- DARK MODE ---------- */
body.dark {
  --white:    #0f172a;
  --light-bg: #1e293b;
  --text-dark:#f1f5f9;
  --text-mid: #94a3b8;
  --text-light:#64748b;
  --border:   #334155;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
  --shadow-md: 0 6px 24px rgba(0,0,0,.4);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.5);
}
body.dark .navbar.scrolled { background: #0f172a; }
body.dark .service-card,
body.dark .testimonial-card,
body.dark .job-card,
body.dark .value-card,
body.dark .team-card,
body.dark .office-card,
body.dark .contact-form,
body.dark .jobs-sidebar,
body.dark .faq-item,
body.dark .em-card,
body.dark .industry-card,
body.dark .why-badge-card { background: #1e293b; border-color: #334155; }
body.dark .footer { background: #060d1f; }
body.dark .trust-bar { background: #0f172a; border-color: #1e293b; }
body.dark .cta-banner { background: linear-gradient(135deg, #060d1f, #0d2b5e); }
body.dark h1, body.dark h2, body.dark h3, body.dark h4 { color: #f1f5f9; }
body.dark .section-title  { color: #f1f5f9; }
body.dark .faq-question   { color: #f1f5f9; }
body.dark .form-group input,
body.dark .form-group select,
body.dark .form-group textarea {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}
body.dark .nav-links { background: #0f172a; }
body.dark .nav-links .nav-link { color: #f1f5f9; border-color: #334155; }
body.dark .hamburger { background: rgba(255,255,255,.08); }
body.dark .hamburger span { background: #f1f5f9; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
}

/* Video background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

/* Dark gradient overlay so text stays readable */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,30,70,.88) 0%, rgba(10,30,70,.65) 50%, rgba(10,30,70,.50) 100%);
  z-index: 1;
}

.hero::before { display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  /* sit above video + overlay */
  max-width: 700px;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,.18);
  border: 1px solid rgba(249,115,22,.4);
  color: #fdba74;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 22px;
  line-height: 1.15;
}
.hero h1 span { color: var(--accent); }

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.stat {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
}
.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat span {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-top: 4px;
  display: block;
}

.hero-visual {
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  width: 580px;
  opacity: .12;
  pointer-events: none;
}

/* ---------- TRUST LOGOS ---------- */
.trust-bar {
  background: var(--white);
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.trust-bar p {
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #b0bec5;
  letter-spacing: -.01em;
  transition: color var(--transition);
}
.trust-logo:hover { color: var(--primary); }

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 52px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.75;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition);
}
.service-card:hover .learn-more { gap: 10px; }

/* ---------- WHY CHOOSE US ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-image {
  position: relative;
}
.why-image .main-img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}

.why-badge-card {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
}
.why-badge-card .icon-wrap {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--accent), #fb923c);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.why-badge-card strong { display: block; font-size: 1.5rem; color: var(--primary); }
.why-badge-card span { font-size: .8rem; color: var(--text-mid); }

.why-list { margin-top: 28px; display: flex; flex-direction: column; gap: 20px; }

.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.why-item .check {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), #fb923c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-item h4 { font-size: 1rem; margin-bottom: 4px; }
.why-item p  { font-size: .92rem; color: var(--text-mid); }

/* ---------- PROCESS ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 52px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 44px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.step-number {
  width: 88px; height: 88px;
  background: var(--white);
  border: 3px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.process-step:hover .step-number {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.1);
}

.process-step h3 { font-size: 1.05rem; margin-bottom: 10px; }
.process-step p  { font-size: .88rem; color: var(--text-mid); }

/* ---------- INDUSTRIES ---------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px;
  margin-top: 52px;
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}
.industry-card:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.industry-card:hover h4,
.industry-card:hover p { color: var(--white); }

.industry-icon { font-size: 2.2rem; margin-bottom: 12px; }
.industry-card h4 { font-size: .95rem; margin-bottom: 6px; color: var(--primary); transition: color var(--transition); }
.industry-card p  { font-size: .8rem; color: var(--text-light); transition: color var(--transition); }

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 52px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.quote-icon {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: .25;
  position: absolute;
  top: 20px; right: 24px;
  font-family: Georgia, serif;
}

.stars { color: #f59e0b; font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }

.testimonial-card p {
  font-size: .97rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  flex-shrink: 0;
}

.author-name { font-weight: 700; font-size: .95rem; color: var(--primary); }
.author-title { font-size: .82rem; color: var(--text-light); }

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(249,115,22,.2) 0%, transparent 65%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--white); margin-bottom: 18px; }
.cta-banner p  { font-size: 1.1rem; color: rgba(255,255,255,.82); margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-banner-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
.footer {
  background: #0a1e47;
  color: rgba(255,255,255,.75);
  padding: 72px 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,.1);
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 14px;
}
.footer-brand .logo img {
  height: 44px;
  width: auto;
  border-radius: 6px;
}

.footer-brand p {
  font-size: .92rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.social-links { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: var(--transition);
  color: rgba(255,255,255,.8);
}
.social-link:hover { background: var(--accent); color: var(--white); transform: translateY(-3px); }

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: .9rem;
}
.footer-contact-item .ico { color: var(--accent); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: var(--accent); }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 70% 50%, rgba(249,115,22,.18) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* ---------- ABOUT PAGE ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.value-icon { font-size: 2.5rem; margin-bottom: 16px; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.value-card p  { font-size: .9rem; color: var(--text-mid); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 52px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.team-avatar {
  height: 200px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.team-info { padding: 24px; }
.team-info h4 { font-size: 1.1rem; margin-bottom: 4px; }
.team-info .role { font-size: .88rem; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.team-info p { font-size: .88rem; color: var(--text-mid); line-height: 1.7; }

/* ---------- JOBS PAGE ---------- */
.jobs-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.jobs-list { display: flex; flex-direction: column; gap: 20px; }

.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: var(--transition);
  flex-wrap: wrap;
}
.job-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); transform: translateX(4px); }

.job-info h3 { font-size: 1.1rem; margin-bottom: 8px; }
.job-meta { display: flex; gap: 16px; flex-wrap: wrap; }

.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--light-bg);
  color: var(--text-mid);
}
.job-tag.type   { background: rgba(13,43,94,.08); color: var(--primary); }
.job-tag.salary { background: rgba(249,115,22,.1); color: #c2440f; }

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: var(--white);
}
.contact-info-card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 12px; }
.contact-info-card p  { color: rgba(255,255,255,.8); margin-bottom: 36px; }

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-detail .ico {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-detail h4 { color: var(--white); font-size: .92rem; margin-bottom: 4px; }
.contact-detail p  { color: rgba(255,255,255,.75); font-size: .9rem; }

/* ---------- FORM ---------- */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-size: 1.5rem; margin-bottom: 8px; }
.contact-form > p { color: var(--text-mid); margin-bottom: 32px; }

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

.form-group {
  margin-bottom: 22px;
  position: relative;
}
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(26,71,153,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 46px; height: 46px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}
.scroll-top.show { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--accent-hover); transform: translateY(-3px); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .why-grid  { grid-template-columns: 1fr; }
  .why-image { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 24px; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .contact-info-card { padding: 36px 28px; }

  .job-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .logo-img { height: 46px; }
  .nav-inner { height: 68px; }
}

@media (max-width: 480px) {
  .logo-img { height: 38px; }
  .hero h1 { font-size: 1.85rem; }
  .hero p   { font-size: 1rem; }
  .hero-cta { flex-direction: column; }
  .hero-stats { flex-direction: column; gap: 18px; }
  .stat strong { font-size: 1.6rem; }
  .section-title { font-size: 1.6rem; }
  .cta-banner-btns { flex-direction: column; align-items: center; }
  .scroll-top { bottom: 18px; right: 18px; }
}
