/* ============================================================
   TECHFICS SDN BHD — CORPORATE WEBSITE DESIGN SYSTEM
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── VARIABLES ──────────────────────────────────────────────── */
:root {
  --navy: #040d1a;
  --navy-mid: #07152b;
  --navy-light: #0d2040;
  --blue: #1a6bff;
  --blue-bright: #3d82ff;
  --blue-glow: #5e9dff;
  --cyan: #00e5ff;
  --gold: #f5c842;
  --gold-dim: rgba(245, 200, 66, 0.15);
  --gold-glow: 0 0 30px rgba(245, 200, 66, 0.25);
  --white: #ffffff;
  --white-70: rgba(255, 255, 255, 0.72);
  --white-30: rgba(255, 255, 255, 0.3);
  --white-10: rgba(255, 255, 255, 0.07);
  --white-5: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.09);
  --border-gold: rgba(245, 200, 66, 0.2);
  --shadow-blue: 0 0 60px rgba(26, 107, 255, 0.25);
  --font-head: 'Space Grotesk', 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-h: 76px;
  --radius: 14px;
  --radius-lg: 22px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── LIGHT THEME ─────────────────────────────────────────── */
[data-theme="light"] {
  --navy: #f0f4ff;
  --navy-mid: #e2eaf8;
  --navy-light: #d4dfff;
  --blue: #1a6bff;
  --blue-bright: #1055cc;
  --blue-glow: #3d82ff;
  --cyan: #007bbd;
  --gold: #c8860a;
  --gold-dim: rgba(200, 134, 10, 0.12);
  --gold-glow: 0 0 30px rgba(200, 134, 10, 0.2);
  --white: #0d1a33;
  --white-70: rgba(13, 26, 51, 0.7);
  --white-30: rgba(13, 26, 51, 0.35);
  --white-10: rgba(13, 26, 51, 0.07);
  --white-5: rgba(13, 26, 51, 0.04);
  --border: rgba(13, 26, 51, 0.12);
  --border-gold: rgba(200, 134, 10, 0.25);
  --shadow-blue: 0 0 40px rgba(26, 107, 255, 0.15);
}

[data-theme="light"] body {
  background-color: #f0f4ff;
  color: #0d1a33;
}

[data-theme="light"] #navbar {
  background: rgba(240, 244, 255, 0.95) !important;
  border-bottom: 1px solid rgba(13, 26, 51, 0.1);
}

[data-theme="light"] .nav-logo-name,
[data-theme="light"] .nav-links a {
  color: #0d1a33;
}

[data-theme="light"] .nav-links {
  background: rgba(240, 244, 255, 0.98) !important;
}

[data-theme="light"] .hamburger span {
  background: #0d1a33 !important;
}

[data-theme="light"] .card {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(13, 26, 51, 0.1);
  box-shadow: 0 4px 24px rgba(13, 26, 51, 0.08);
}

[data-theme="light"] .card:hover {
  background: #ffffff;
  border-color: var(--border-gold);
  box-shadow: var(--gold-glow);
}

[data-theme="light"] .hero,
[data-theme="light"] .page-hero {
  background: linear-gradient(135deg, #e8f0ff 0%, #f5f8ff 100%);
}

[data-theme="light"] .hero-bg,
[data-theme="light"] .page-hero-bg {
  opacity: 0.04;
}

[data-theme="light"] .footer {
  background: #e2eaf8;
  color: #0d1a33;
}

[data-theme="light"] .footer h4,
[data-theme="light"] .footer a {
  color: #0d1a33;
}

[data-theme="light"] .footer-bottom {
  border-color: rgba(13, 26, 51, 0.12);
  color: rgba(13, 26, 51, 0.5);
}

[data-theme="light"] .social-link {
  background: rgba(13, 26, 51, 0.08);
  border-color: rgba(13, 26, 51, 0.15);
  color: #0d1a33;
}

[data-theme="light"] .footer-newsletter input {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(13, 26, 51, 0.2);
  color: #0d1a33;
}

[data-theme="light"] .divider {
  background: rgba(13, 26, 51, 0.08);
}

[data-theme="light"] .form-control {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(13, 26, 51, 0.15);
  color: #0d1a33;
}

[data-theme="light"] .form-control:focus {
  border-color: var(--blue);
}

[data-theme="light"] .tech-scroll {
  background: rgba(26, 107, 255, 0.05);
  border-color: rgba(13, 26, 51, 0.08);
}

[data-theme="light"] .tech-item {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(13, 26, 51, 0.1);
  color: #0d1a33;
}

[data-theme="light"] .btn-outline {
  border-color: rgba(13, 26, 51, 0.2);
  color: #0d1a33;
}

[data-theme="light"] .btn-outline:hover {
  background: rgba(13, 26, 51, 0.05);
  border-color: rgba(13, 26, 51, 0.4);
  color: #0d1a33;
}

/* ── THEME TOGGLE BUTTON ─────────────────────────────────── */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white-10);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  flex-shrink: 0;
  color: var(--white);
  line-height: 1;
}

.theme-toggle:hover {
  background: var(--gold-dim);
  border-color: var(--border-gold);
  transform: scale(1.1);
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--navy);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

input,
textarea,
select {
  font-family: var(--font-body);
}

/* ── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--navy);
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 3px;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--white-70);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 3rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
}

.section-centered {
  text-align: center;
}

.section-centered .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: var(--transition);
  background: transparent;
}

#navbar.scrolled {
  background: rgba(6, 16, 31, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  font-family: var(--font-head);
  color: white;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: white;
  letter-spacing: -0.3px;
}

.nav-logo-tagline {
  font-size: 0.65rem;
  color: var(--cyan);
  letter-spacing: 0.5px;
  margin-top: 2px;
  font-weight: 500;
  opacity: 0.9;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .nav-logo-tagline {
    display: none;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white-70);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: var(--white-10);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-bright)) !important;
  color: white !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
  box-shadow: 0 4px 15px rgba(0, 87, 231, 0.4);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(0, 87, 231, 0.55) !important;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue)) !important;
  color: white !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #e8a020);
  color: #040d1a;
  font-weight: 700;
  box-shadow: 0 6px 25px rgba(245, 200, 66, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(245, 200, 66, 0.55);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--blue-bright);
  color: var(--cyan);
  background: var(--white-5);
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

/* ── CARDS ──────────────────────────────────────────────────── */
.card {
  background: var(--white-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.card:hover {
  background: var(--white-10);
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: var(--gold-glow), var(--shadow-blue);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(245, 200, 66, 0.18), rgba(0, 229, 255, 0.10));
  border: 1px solid var(--border-gold);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--white-70);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ── HERO (HOME) ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero_bg.png') center/cover no-repeat;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(6, 16, 31, 0.85) 0%,
      rgba(6, 16, 31, 0.6) 50%,
      rgba(0, 87, 231, 0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 87, 231, 0.15);
  border: 1px solid rgba(0, 87, 231, 0.35);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--white-70);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.hero-stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--white), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--white-70);
  margin-top: 2px;
}

/* ── PAGE HERO (inner pages) ─────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 70px) 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 0%, rgba(0, 87, 231, 0.12) 0%, transparent 70%);
  z-index: 0;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--white-70);
  max-width: 560px;
  margin: 0 auto;
}

/* ── SECTION DIVIDER ─────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ── FEATURES / HIGHLIGHTS ───────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* ── TIMELINE ────────────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.9rem;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 87, 231, 0.3);
}

.timeline-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--white-70);
}

/* ── STAT BAND ───────────────────────────────────────────────── */
.stat-band {
  background: linear-gradient(135deg, rgba(0, 87, 231, 0.1), rgba(0, 212, 255, 0.05));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--white-70);
  margin-top: 0.25rem;
}

/* ── TAG / BADGE ─────────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 87, 231, 0.15);
  border: 1px solid rgba(0, 87, 231, 0.3);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--cyan);
}

/* ── PROCESS STEPS ───────────────────────────────────────────── */
.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-blue);
}

/* ── CONTACT FORM ────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white-70);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--white-5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: white;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--blue);
  background: var(--white-10);
  box-shadow: 0 0 0 3px rgba(0, 87, 231, 0.15);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

select.form-control option {
  background: var(--navy-mid);
}

/* ── INFO CARD ───────────────────────────────────────────────── */
.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 87, 231, 0.2), rgba(0, 212, 255, 0.1));
  border: 1px solid rgba(0, 87, 231, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.info-text p,
.info-text a {
  font-size: 0.9rem;
  color: var(--white-70);
}

.info-text a:hover {
  color: var(--cyan);
}

/* ── PORTFOLIO CARD ──────────────────────────────────────────── */
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white-5);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 87, 231, 0.4);
  box-shadow: var(--shadow-blue);
}

.project-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy-light), rgba(0, 87, 231, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.project-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 60%, rgba(0, 212, 255, 0.08));
}

.project-card-body {
  padding: 1.5rem;
}

.project-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.project-card-body p {
  font-size: 0.87rem;
  color: var(--white-70);
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* ── JOB CARD ────────────────────────────────────────────────── */
.job-card {
  background: var(--white-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  transition: var(--transition);
}

.job-card:hover {
  border-color: rgba(0, 87, 231, 0.4);
  background: var(--white-10);
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.job-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
}

.job-badge.full-time {
  background: rgba(0, 212, 100, 0.15);
  color: #00d464;
}

.job-badge.remote {
  background: rgba(0, 87, 231, 0.15);
  color: var(--cyan);
}

.job-badge.hybrid {
  background: rgba(255, 165, 0, 0.15);
  color: #ffa500;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--white-70);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--white-10);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: white;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: var(--white-70);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--cyan);
}

.footer-newsletter input {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--white-5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: white;
  font-size: 0.9rem;
  outline: none;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.footer-newsletter input:focus {
  border-color: var(--blue);
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.footer-newsletter button {
  width: 100%;
  padding: 0.7rem;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  border: none;
  border-radius: var(--radius);
  color: white;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.footer-newsletter button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 87, 231, 0.45);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--white-70);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--cyan);
}

/* ── SCROLL REVEAL ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── TECH STACK LOGOS ────────────────────────────────────────── */
.tech-scroll {
  overflow: hidden;
  padding: 40px 0;
  position: relative;
}

.tech-scroll::before,
.tech-scroll::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
}

.tech-scroll::before {
  left: 0;
  background: linear-gradient(90deg, var(--navy), transparent);
}

.tech-scroll::after {
  right: 0;
  background: linear-gradient(-90deg, var(--navy), transparent);
}

.tech-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: scroll-left 25s linear infinite;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 2rem;
  background: var(--white-5);
  border: 1px solid var(--border);
  border-radius: 100px;
  margin: 0 0.5rem;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white-70);
}

.tech-item span {
  font-size: 1.1rem;
}

/* ── GLOW DOT BG ─────────────────────────────────────────────── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.orb-blue {
  width: 500px;
  height: 500px;
  background: rgba(0, 87, 231, 0.12);
}

.orb-cyan {
  width: 300px;
  height: 300px;
  background: rgba(0, 212, 255, 0.07);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 16, 31, 0.97);
    backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 0.5rem;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
  }

  .hamburger {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  div[style*="display:grid"],
  div[style*="display: grid"] {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .job-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}