/* ============================================================
   PrecisionSystem - Main Stylesheet
   ============================================================ */

:root {
  --primary: #0d1b2a;
  --secondary: #1b2838;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-glow: rgba(37, 99, 235, 0.15);
  --highlight: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --white: #ffffff;
  --light: #f1f5f9;
  --gray: #94a3b8;
  --dark-gray: #475569;
  --border: rgba(255, 255, 255, 0.08);
  --card-bg: rgba(255, 255, 255, 0.03);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.4);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 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);
  background-color: var(--primary);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent-light);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--white);
  margin-bottom: 16px;
}

.section-title span {
  background: linear-gradient(135deg, var(--accent-light), var(--highlight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 17px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--highlight));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 14px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

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

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--highlight));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: white;
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

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

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

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: var(--accent-glow);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--highlight)) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37, 99, 235, 0.2), transparent),
              radial-gradient(ellipse 60% 60% at 90% 60%, rgba(6, 182, 212, 0.1), transparent);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  color: var(--accent-light);
  margin-bottom: 28px;
  font-weight: 500;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero h1 .gradient {
  background: linear-gradient(135deg, var(--accent-light), var(--highlight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--white), var(--gray));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 13px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================================
   TECH STACK TICKER
   ============================================================ */
.tech-ticker {
  background: var(--secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 40px;
  animation: ticker 25s linear infinite;
  width: max-content;
}

.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tech-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 50px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  transition: var(--transition);
}

.tech-pill .icon { font-size: 16px; }

/* ============================================================
   SERVICES (HOME PREVIEW)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: rgba(37, 99, 235, 0.05);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--white);
}

.service-card p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--accent-light);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
}

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

.why-content h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 20px;
  line-height: 1.2;
}

.why-content p {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--accent-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.why-feature-text h4 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--white);
}

.why-feature-text p {
  font-size: 14px;
  color: var(--gray);
  margin: 0;
}

.why-visual {
  position: relative;
}

.why-card-stack {
  position: relative;
  height: 420px;
}

.wcard {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.wcard-1 {
  top: 0; left: 0;
  width: 72%;
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.2);
}

.wcard-2 {
  bottom: 40px; right: 0;
  width: 72%;
}

.wcard-3 {
  top: 50%; left: 50%;
  transform: translate(-30%, -50%);
  width: 60%;
  background: rgba(6, 182, 212, 0.05);
  border-color: rgba(6, 182, 212, 0.2);
}

.wcard h4 { font-size: 15px; margin-bottom: 8px; }
.wcard p { font-size: 13px; color: var(--gray); }

.wcard-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-light);
  margin-bottom: 4px;
}

/* ============================================================
   PROJECTS PREVIEW
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  position: relative;
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.project-card:hover .project-thumb img {
  transform: scale(1.05);
}

.project-thumb-1 { background: linear-gradient(135deg, #1e3a5f, #0d47a1); }
.project-thumb-2 { background: linear-gradient(135deg, #1b4332, #065f46); }
.project-thumb-3 { background: linear-gradient(135deg, #4a1942, #7b2d8b); }
.project-thumb-4 { background: linear-gradient(135deg, #7c2d12, #9a3412); }
.project-thumb-5 { background: linear-gradient(135deg, #1e293b, #334155); }
.project-thumb-6 { background: linear-gradient(135deg, #1a1a2e, #16213e); }

.project-body {
  padding: 24px;
}

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

.project-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.project-body p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(6, 182, 212, 0.1));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 90px 0;
}

.cta-section h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--gray);
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.page-hero {
  padding: 150px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37, 99, 235, 0.15), transparent);
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--gray);
  font-size: 18px;
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.about-stat-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-4px);
}

.about-stat-card:first-child {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.05));
  border-color: rgba(37, 99, 235, 0.2);
}

.about-stat-num {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-light), var(--highlight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-stat-card p {
  color: var(--gray);
  font-size: 14px;
  margin-top: 4px;
}

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

.mission-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
}

.mission-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-4px);
}

.mission-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.mission-card h3 { font-size: 22px; margin-bottom: 12px; }
.mission-card p { color: var(--gray); font-size: 15px; line-height: 1.7; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

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

.team-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--highlight));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 16px;
  color: white;
}

.team-card h4 { font-size: 17px; margin-bottom: 4px; }
.team-card .role { color: var(--accent-light); font-size: 13px; margin-bottom: 12px; }
.team-card p { color: var(--gray); font-size: 13px; line-height: 1.6; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-4px);
}

.value-icon { font-size: 32px; margin-bottom: 12px; }
.value-card h4 { font-size: 16px; margin-bottom: 8px; }
.value-card p { color: var(--gray); font-size: 13px; line-height: 1.6; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.service-full-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-full-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-full-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-full-card:hover::after { transform: scaleX(1); }

.service-full-icon {
  width: 70px;
  height: 70px;
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 28px;
}

.service-full-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.service-full-card p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray);
}

.service-feature-item::before {
  content: '✓';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--accent-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--accent-light);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 32px 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
}

.process-step:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-4px);
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent), var(--highlight));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.process-step h4 { font-size: 16px; margin-bottom: 8px; }
.process-step p { color: var(--gray); font-size: 13px; line-height: 1.6; }

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--gray);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.projects-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.project-full-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.project-full-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-full-thumb {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}

.project-full-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.project-full-card:hover .project-full-thumb img {
  transform: scale(1.05);
}

.project-full-thumb .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  gap: 12px;
}

.project-full-card:hover .overlay { opacity: 1; }

.project-full-body {
  padding: 28px;
}

.project-full-body .project-cat { margin-bottom: 8px; }
.project-full-body h3 { font-size: 20px; margin-bottom: 10px; }
.project-full-body p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 18px;
}

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

.contact-info h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

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

.contact-item-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-item-text h4 {
  font-size: 14px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-item-text a,
.contact-item-text p {
  font-size: 15px;
  color: var(--white);
  font-weight: 500;
}

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

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

.social-btn {
  width: 44px;
  height: 44px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.contact-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
}

.contact-form-wrap h3 {
  font-size: 22px;
  margin-bottom: 28px;
}

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

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--white);
  font-size: 15px;
  font-family: var(--font);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group select option {
  background: var(--secondary);
  color: var(--white);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--dark-gray);
}

.form-submit { width: 100%; justify-content: center; font-size: 16px; padding: 16px; }

.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius);
  color: var(--success);
  margin-top: 16px;
  font-weight: 500;
}

.map-section {
  background: var(--secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0;
}

.map-placeholder {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 48px;
  color: var(--gray);
}

.map-placeholder p {
  font-size: 15px;
  color: var(--gray);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--secondary);
  border-top: 1px solid var(--border);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: var(--gray);
  font-size: 14px;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.footer-contact-item span:first-child { font-size: 16px; margin-top: 2px; }

.footer-contact-item p {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

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

.footer-bottom a { color: var(--accent-light); }

.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-badge {
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--accent-light);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 968px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(13, 27, 42, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }

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

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

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

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

  .why-card-stack { height: 320px; }

  .wcard-1 { width: 80%; }
  .wcard-2 { width: 80%; }
  .wcard-3 { width: 70%; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .hero-stats { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .services-grid,
  .projects-grid,
  .services-full-grid,
  .projects-full-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 24px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; align-items: center; }
  .filter-tabs { gap: 8px; }
  .filter-btn { padding: 8px 16px; font-size: 13px; }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb { background: rgba(37, 99, 235, 0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
