/* ============================================================
   CADSPIRA ENGINEERING CONSULTANTS — STYLESHEET
   ============================================================ */

:root {
  --navy:       #0B1F3A;
  --navy-dark:  #071529;
  --navy-mid:   #0f2340;
  --blue:       #1479FF;
  --blue-dim:   rgba(20,121,255,0.10);
  --blue-glow:  rgba(20,121,255,0.25);
  --gray:       #6E7B8B;
  --gray-light: #F2F5F9;
  --white:      #FFFFFF;
  --border:     rgba(110,123,139,0.15);
  --border-dark: rgba(255,255,255,0.07);
  --radius:     3px;
  --radius-md:  8px;
  --ease:       cubic-bezier(.4,0,.2,1);
  --font:       'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--navy); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── PAGE TRANSITION ── */
.page-overlay {
  position: fixed; inset: 0;
  background: var(--navy-dark);
  z-index: 9999; pointer-events: none;
  opacity: 0; transition: opacity 0.28s var(--ease);
}
.page-overlay.active { opacity: 1; pointer-events: all; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 60px;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s;
}
.navbar.scrolled {
  background: rgba(7,21,41,0.97);
  backdrop-filter: blur(12px);
  padding: 14px 60px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 8px 32px rgba(0,0,0,0.3);
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--blue);
  color: white;
  font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-text {
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--white); line-height: 1;
}
.logo-text em {
  display: block;
  font-size: 8.5px; font-weight: 500; font-style: normal;
  letter-spacing: 0.2em; color: rgba(255,255,255,0.45);
  text-transform: uppercase; margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.04em; color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links .nav-btn {
  padding: 9px 22px;
  border: 1px solid rgba(20,121,255,0.6);
  color: var(--blue); border-radius: var(--radius);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-links .nav-btn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

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

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  background: var(--navy-dark);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20,121,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,121,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-bg-grid::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 50%, rgba(20,121,255,0.06) 0%, transparent 70%);
}

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

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); font-weight: 500;
  margin-bottom: 32px;
}
.tag-dot {
  width: 6px; height: 6px;
  background: var(--blue); border-radius: 50%;
  box-shadow: 0 0 8px var(--blue);
}

.hero-title {
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 800;
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.title-accent {
  color: var(--blue);
  position: relative;
  display: inline-block;
}
.title-accent::after {
  content: '';
  position: absolute; bottom: 4px; left: 0; right: 0;
  height: 2px; background: rgba(20,121,255,0.3);
}

.hero-sub {
  font-size: 16px; color: rgba(255,255,255,0.5);
  max-width: 460px; line-height: 1.75;
  margin-bottom: 44px;
}

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

.hero-meta {
  display: flex; align-items: center; gap: 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.hero-meta-item { padding: 0 32px; }
.hero-meta-item:first-child { padding-left: 0; }
.meta-num {
  font-size: 22px; font-weight: 700;
  color: var(--white); letter-spacing: -0.02em;
}
.meta-label {
  font-size: 11px; color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-top: 2px;
}
.hero-meta-divider {
  width: 1px; height: 36px;
  background: rgba(255,255,255,0.08);
}

/* Hero visual (right side) */
.hero-visual {
  position: relative; display: flex;
  align-items: center; justify-content: center;
}
.hero-svg {
  width: 100%; max-width: 520px;
  border: 1px solid rgba(20,121,255,0.12);
  border-radius: 4px;
  background: rgba(20,121,255,0.02);
}

.hero-float-card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  background: rgba(7,21,41,0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(20,121,255,0.2);
  border-radius: 6px;
  padding: 12px 18px;
  white-space: nowrap;
}
.card-top { top: 10%; right: -24px; }
.card-bottom { bottom: 12%; left: -24px; }
.float-icon {
  width: 32px; height: 32px;
  background: var(--blue-dim);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); flex-shrink: 0;
}
.float-label {
  font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue);
  font-weight: 600;
}
.float-value {
  font-size: 13px; font-weight: 600;
  color: var(--white); margin-top: 1px;
}

.hero-scroll-hint {
  position: absolute; bottom: 40px; left: 60px;
  display: flex; align-items: center; gap: 16px;
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2));
}
.hero-scroll-hint span {
  font-size: 10px; letter-spacing: 0.25em;
  text-transform: uppercase; color: rgba(255,255,255,0.25);
  writing-mode: vertical-lr;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--blue); color: var(--white);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: var(--radius); border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { background: #1265e0; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(20,121,255,0.3); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.55); color: var(--white); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--blue); background: var(--blue-dim); }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--white); color: var(--blue);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: opacity 0.2s, transform 0.2s;
}
.btn-white:hover { opacity: 0.92; transform: translateY(-1px); }

/* ── SECTION BASE ── */
.section { padding: 100px 60px; }
.section-sm { padding: 72px 60px; }
.section-dark { background: var(--navy); }
.section-mid { background: var(--navy-mid); }
.section-light { background: var(--gray-light); }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--blue); font-weight: 600; margin-bottom: 16px;
}
.section-label::before {
  content: ''; display: block; width: 24px; height: 1px; background: var(--blue);
}
.section-title {
  font-size: clamp(28px, 3.5vw, 46px); font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.1;
  color: var(--navy); margin-bottom: 20px;
}
.section-title.light { color: var(--white); }
.section-sub { font-size: 16px; color: var(--gray); line-height: 1.75; max-width: 520px; }
.section-sub.light { color: rgba(255,255,255,0.45); }
.section-header { margin-bottom: 64px; }

/* ── SERVICES GRID (Home) ── */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; max-width: 1180px;
}
.sc-full { grid-column: 1 / -1; }
.sc-full .sc-list { grid-template-columns: repeat(3, 1fr); }

.service-card {
  padding: 52px 48px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  position: relative; overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover { border-color: rgba(20,121,255,0.3); box-shadow: 0 16px 48px rgba(20,121,255,0.08); transform: translateY(-2px); }
.service-card:hover::before { transform: scaleX(1); }

.sc-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }
.sc-num {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--blue); opacity: 0.7;
}
.sc-icon { width: 52px; height: 52px; flex-shrink: 0; }

.service-card h3 {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.01em; color: var(--navy);
  margin-bottom: 14px;
}
.service-card p {
  font-size: 15px; color: var(--gray);
  line-height: 1.7; margin-bottom: 28px;
}

.sc-list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px 20px; margin-bottom: 36px;
}
.sc-list li {
  font-size: 13px; color: var(--navy);
  display: flex; align-items: center; gap: 8px;
  font-weight: 500;
}
.sc-list li::before {
  content: ''; display: block;
  width: 5px; height: 5px;
  background: var(--blue); border-radius: 50%; flex-shrink: 0;
}

.sc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue);
  transition: gap 0.2s;
}
.sc-link:hover { gap: 10px; }

/* ── WHO WE SERVE ── */
.clients-inner {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: center; max-width: 1180px;
}
.clients-right {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.client-type {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.client-type:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(20,121,255,0.08); }
.ct-icon {
  width: 36px; height: 36px;
  background: var(--blue-dim);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); flex-shrink: 0;
}
.client-type span {
  font-size: 13px; font-weight: 600; color: var(--navy);
  line-height: 1.3;
}

/* ── WHY CADSPIRA ── */
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; margin-top: 60px;
  background: rgba(255,255,255,0.05);
}
.why-card {
  padding: 44px 36px;
  background: var(--navy);
  position: relative;
  border: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s;
}
.why-card:hover { background: var(--navy-mid); }
.why-num {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.25em; color: var(--blue);
  opacity: 0.6; margin-bottom: 28px;
}
.why-icon { width: 40px; height: 40px; margin-bottom: 24px; }
.why-card h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.why-card p { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.75; }

/* ── VISION / MISSION ── */
.vm-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; max-width: 1180px;
}
.vm-card {
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 60px 52px;
  position: relative; overflow: hidden;
}
.vm-accent {
  position: absolute; top: 0; left: 0;
  width: 3px; height: 64px; background: var(--blue);
}
.vm-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 24px;
}
.vm-card h3 {
  font-size: clamp(18px, 2vw, 24px); font-weight: 700;
  letter-spacing: -0.01em; color: var(--navy);
  line-height: 1.3; margin-bottom: 20px;
}
.vm-card p { font-size: 15px; color: var(--gray); line-height: 1.8; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--navy);
  border-top: 1px solid rgba(20,121,255,0.15);
  display: grid; grid-template-columns: 1fr 320px;
  overflow: hidden; position: relative;
}
.cta-inner {
  padding: 88px 72px;
}
.cta-tag {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.cta-tag::before { content: ''; display: block; width: 20px; height: 1px; background: var(--blue); }
.cta-inner h2 {
  font-size: clamp(26px, 3vw, 42px); font-weight: 800;
  letter-spacing: -0.025em; color: var(--white);
  line-height: 1.15; margin-bottom: 16px;
}
.cta-inner p { font-size: 16px; color: rgba(255,255,255,0.45); margin-bottom: 40px; line-height: 1.7; }

.cta-svg-wrap {
  display: flex; align-items: stretch;
  border-left: 1px solid rgba(20,121,255,0.1);
  background: rgba(20,121,255,0.03);
}
.cta-svg { width: 100%; height: 100%; }

/* ── SERVICES DETAIL PAGE ── */
.services-detail { display: flex; flex-direction: column; gap: 20px; max-width: 1180px; }

.svc-block {
  display: grid; grid-template-columns: 300px 1fr;
  border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.svc-block:hover { border-color: rgba(20,121,255,0.3); box-shadow: 0 8px 32px rgba(20,121,255,0.07); }

.svc-block-left {
  padding: 48px 40px;
  background: var(--gray-light);
  border-right: 1px solid var(--border);
  position: relative;
}
.svc-block-left::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 100%; background: var(--blue);
}
.svc-num {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 20px;
}
.svc-block-left h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 14px; line-height: 1.25; }
.svc-block-left p { font-size: 14px; color: var(--gray); line-height: 1.7; }

.svc-block-right {
  padding: 48px 52px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 32px 40px; align-content: start;
}

.svc-group h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.svc-list { display: flex; flex-direction: column; gap: 9px; }
.svc-list li {
  font-size: 14px; color: var(--gray);
  display: flex; align-items: center; gap: 10px;
}
.svc-list li::before {
  content: ''; display: block;
  width: 4px; height: 4px;
  background: var(--blue); border-radius: 50%; flex-shrink: 0;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy-dark);
  padding: 160px 60px 88px;
  position: relative; overflow: hidden;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20,121,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,121,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-hero-inner { position: relative; z-index: 2; max-width: 640px; }
.page-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--blue); font-weight: 600; margin-bottom: 20px;
}
.page-tag::before { content: ''; display: block; width: 24px; height: 1px; background: var(--blue); }
.page-hero h1 {
  font-size: clamp(34px, 4vw, 56px); font-weight: 800;
  color: var(--white); line-height: 1.08;
  letter-spacing: -0.025em; margin-bottom: 18px;
}
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.45); max-width: 460px; line-height: 1.75; }

/* ── CONTACT ── */
.contact-grid {
  display: grid; grid-template-columns: 360px 1fr;
  gap: 88px; max-width: 1100px;
}

.contact-info h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.contact-info .sub { font-size: 15px; color: var(--gray); line-height: 1.7; margin-bottom: 40px; }

.c-item { display: flex; gap: 16px; margin-bottom: 28px; }
.c-item-icon {
  width: 42px; height: 42px;
  background: var(--blue-dim); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); flex-shrink: 0;
}
.c-item h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 5px;
}
.c-item p { font-size: 14px; color: var(--gray); line-height: 1.5; }

.contact-form h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.contact-form .sub { font-size: 15px; color: var(--gray); line-height: 1.7; margin-bottom: 36px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--font); font-size: 14px; color: var(--navy);
  background: var(--white); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-dim); }
.form-group textarea { resize: vertical; min-height: 120px; }

.file-upload-area {
  border: 1.5px dashed rgba(110,123,139,0.3);
  border-radius: var(--radius); padding: 32px 20px;
  text-align: center; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.file-upload-area:hover { border-color: var(--blue); background: var(--blue-dim); }
.file-upload-area input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; padding: 0; border: none;
}
.file-upload-icon { width: 32px; height: 32px; color: var(--blue); margin: 0 auto 12px; }
.file-upload-area p { font-size: 13px; color: var(--gray); margin-bottom: 4px; }
.file-upload-area span { font-size: 12px; color: var(--gray); opacity: 0.6; }
#fileName { font-size: 13px; color: var(--blue); font-weight: 600; margin-top: 8px; }

#successMsg {
  display: none;
  background: #e8f5e9; color: #2e7d32;
  border: 1px solid #c8e6c9;
  padding: 16px 20px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500; margin-bottom: 20px;
}

#progressWrap {
  display: none; height: 3px; background: var(--border);
  border-radius: 2px; margin-bottom: 16px; overflow: hidden;
}
#progressFill { height: 100%; background: var(--blue); width: 0%; transition: width 0.25s; }

.submit-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 36px;
  background: var(--blue); color: var(--white);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: none; border-radius: var(--radius);
  cursor: pointer; margin-top: 8px;
  transition: background 0.2s, transform 0.2s;
}
.submit-btn:hover { background: #1265e0; transform: translateY(-1px); }
.submit-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

/* ── ADMIN ── */
.admin-login {
  min-height: 100vh; background: var(--navy-dark);
  display: flex; align-items: center; justify-content: center;
  padding: 40px; position: relative; overflow: hidden;
}
.admin-login-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20,121,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,121,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}
.login-card {
  background: var(--white);
  padding: 52px 48px; border-radius: var(--radius-md);
  width: 100%; max-width: 420px;
  position: relative; z-index: 2;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}
.login-logo { font-size: 17px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.login-logo em { display: block; font-size: 8px; letter-spacing: 0.2em; font-style: normal; color: var(--blue); margin-top: 3px; }
.login-card h2 { font-size: 22px; font-weight: 700; color: var(--navy); margin: 28px 0 6px; }
.login-card p { font-size: 14px; color: var(--gray); margin-bottom: 32px; }
.login-card .form-group { margin-bottom: 16px; }
.login-btn {
  width: 100%; padding: 14px;
  background: var(--blue); color: var(--white);
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: none; border-radius: var(--radius); cursor: pointer; margin-top: 8px;
  transition: background 0.2s;
}
.login-btn:hover { background: #1265e0; }
.login-error { font-size: 13px; color: #e53935; margin-top: 12px; display: none; }

.admin-panel { display: none; }
.admin-header {
  background: var(--navy-dark); padding: 18px 60px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logout-btn {
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: var(--radius); background: transparent; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.logout-btn:hover { border-color: var(--white); color: var(--white); }

.admin-content { padding: 60px; background: var(--gray-light); min-height: calc(100vh - 61px); }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.stat-card { background: var(--white); border: 1px solid var(--border); padding: 28px 32px; border-radius: var(--radius); }
.stat-num { font-size: 36px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; }
.stat-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); margin-top: 4px; }

.enquiries-table-wrap {
  background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.table-header {
  padding: 20px 28px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.table-header h3 { font-size: 15px; font-weight: 700; color: var(--navy); }
table { width: 100%; border-collapse: collapse; }
th {
  text-align: left; padding: 14px 20px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray); background: var(--gray-light);
  border-bottom: 1px solid var(--border);
}
td { padding: 16px 20px; font-size: 14px; color: var(--navy); border-bottom: 1px solid var(--border); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #fafbfc; }
.file-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 13px; font-weight: 600; }
.badge { display: inline-block; padding: 3px 10px; font-size: 11px; font-weight: 600; border-radius: 2px; background: var(--blue-dim); color: var(--blue); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray); font-size: 15px; }

/* ── ABOUT PAGE ── */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1180px; }
.about-intro-text h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.02em; color: var(--navy); margin-bottom: 20px; line-height: 1.15; }
.about-intro-text p { font-size: 16px; color: var(--gray); line-height: 1.8; margin-bottom: 16px; }
.about-intro-visual {
  position: relative;
}
.about-diagram {
  width: 100%; border: 1px solid var(--border); border-radius: 4px;
  background: var(--gray-light); padding: 40px;
}

/* ── FOOTER ── */
footer { background: var(--navy-dark); padding: 80px 60px 40px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-logo {
  font-size: 16px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white); margin-bottom: 16px;
}
.footer-logo em { font-style: normal; color: var(--blue); display: block; font-size: 9px; letter-spacing: 0.2em; margin-top: 3px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.35); line-height: 1.75; max-width: 300px; margin-bottom: 20px; }
.footer-contact-row { display: flex; flex-direction: column; gap: 6px; }
.footer-contact-row a { font-size: 13px; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-contact-row a:hover { color: var(--blue); }
.footer-col h4 { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.35); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 40px; font-size: 13px; color: rgba(255,255,255,0.2);
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}

/* ── BACK TO TOP ── */
#backToTop {
  position: fixed; bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--navy); color: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); font-size: 20px;
  cursor: pointer; display: none; align-items: center; justify-content: center;
  z-index: 500; transition: background 0.2s, border-color 0.2s;
}
#backToTop.show { display: flex; }
#backToTop:hover { background: var(--blue); border-color: var(--blue); }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 120px 40px 72px; }
  .hero-visual { display: none; }
  .section, .section-sm { padding: 80px 40px; }
  .navbar, .navbar.scrolled { padding: 20px 40px; }
  .page-hero { padding: 140px 40px 72px; }
  .services-grid { grid-template-columns: 1fr; }
  .clients-inner { grid-template-columns: 1fr; gap: 48px; }
  .svc-block { grid-template-columns: 1fr; }
  .svc-block-left::before { width: 100%; height: 3px; }
  .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .vm-grid { grid-template-columns: 1fr; }
  .admin-content { padding: 40px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .cta-banner { grid-template-columns: 1fr; }
  .cta-svg-wrap { display: none; }
  .cta-inner { padding: 72px 40px; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .navbar, .navbar.scrolled { padding: 16px 24px; }
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 0; right: 0;
    height: 100vh; width: 280px;
    background: var(--navy-dark);
    padding: 80px 40px 40px; gap: 24px;
    z-index: 999; transform: translateX(100%);
    transition: transform 0.3s var(--ease);
  }
  .nav-links.open { display: flex; transform: translateX(0); }
  .nav-links a { font-size: 16px; }
  .hamburger { display: flex; z-index: 1000; }
  .section, .section-sm { padding: 60px 24px; }
  .page-hero { padding: 120px 24px 56px; }
  .hero-inner { padding: 100px 24px 60px; }
  .hero-scroll-hint { left: 24px; }
  .hero-actions { flex-direction: column; }
  .why-grid { grid-template-columns: 1fr; gap: 2px; }
  .clients-right { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-inner { padding: 60px 24px; }
  .admin-content { padding: 24px; }
  .admin-stats { grid-template-columns: 1fr; }
  table { font-size: 13px; }
  th, td { padding: 12px 14px; }
  .sc-list { grid-template-columns: 1fr; }
  .admin-header { padding: 16px 24px; }
  .hero-meta { flex-wrap: wrap; gap: 20px; }
  .hero-meta-divider { display: none; }
  .hero-meta-item { padding: 0; }
}
