:root {
    --bg-dark: #07111f;
    --bg-deep: #020814;
    --panel: rgba(8, 20, 38, 0.78);
    --panel-border: rgba(77, 163, 255, 0.22);
    --accent: #4da3ff;
    --accent-soft: #79c2ff;
    --text: #f4f8ff;
    --muted: #b8c7da;
    --shadow: 0 12px 30px rgba(0,0,0,0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 20%, rgba(24, 87, 160, 0.30), transparent 35%),
        radial-gradient(circle at 80% 25%, rgba(77, 163, 255, 0.16), transparent 30%),
        linear-gradient(135deg, var(--bg-dark), var(--bg-deep));
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background tech glow */
body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

body::before {
    background:
        linear-gradient(rgba(77,163,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(77,163,255,0.06) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
    opacity: 0.35;
}

body::after {
    background:
        radial-gradient(circle at 70% 35%, rgba(77,163,255,0.24), transparent 18%),
        radial-gradient(circle at 30% 55%, rgba(77,163,255,0.10), transparent 24%);
    filter: blur(20px);
    opacity: 0.55;
}

.site-wrap {
    position: relative;
    z-index: 1;
}

/* NAV */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 6%;
    background: rgba(2, 8, 20, 0.78);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(77, 163, 255, 0.14);
}

.logo {
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 1px;
    line-height: 1.25;
    color: white;
}

.nav-links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.82;
    transition: 0.25s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-soft);
    opacity: 1;
}

.nav-links a.active::after,
.nav-links a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(77,163,255,0.6);
}




.eyebrow {
    display: inline-block;
    color: var(--accent-soft);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 18px;
}

/* SECTION BASE */
.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 6%;
}
.section-heading {
    text-align: center;
    margin-bottom: 20px;
}

.section-heading h2 {
    margin: 0 0 12px;
    color: white;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.section-heading p {
    margin: 0 auto;
    max-width: 760px;
    color: var(--muted);
    line-height: 1.8;
}

/* SPLIT SERVICES */
.services {
    padding-top: 24px;
    padding-bottom: 40px;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    transition: 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(77,163,255,0.35);
}

.service-image {
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(77,163,255,0.16), rgba(0,0,0,0.05));
    position: relative;
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(77,163,255,0.22), transparent 20%),
        linear-gradient(135deg, #0a1a34, #081120);
}

.placeholder-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(77,163,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(77,163,255,0.06) 1px, transparent 1px);
    background-size: 38px 38px;
    opacity: 0.45;
}

.placeholder-label {
    position: relative;
    z-index: 1;
    color: var(--accent-soft);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    padding: 0 20px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.88;
}

.service-body {
    padding: 28px;
}

.service-body h3 {
    margin: 0 0 12px;
    color: var(--accent-soft);
    font-size: 1.45rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.service-list li {
    color: var(--muted);
    margin-bottom: 10px;
    padding-left: 18px;
    position: relative;
}

.service-list li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
}

/* PROCESS */
.process {
    padding: 38px 6% 70px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.process-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(77,163,255,0.12);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
}

.process-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(77,163,255,0.18), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 20px;
    pointer-events: none;
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.25);
    border-color: rgba(77,163,255,0.4);
}
.process-card:hover::before {
    opacity: 1;
}

.process-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--accent-soft);
    font-size: 1.3rem;
    border: 1px solid rgba(77,163,255,0.22);
    background: rgba(77,163,255,0.06);
    font-weight: 800;
}

.process-card h3 {
    margin: 0 0 10px;
    color: white;
}

.process-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

/* CTA */
.cta {
    padding: 10px 6% 80px;
}

.cta-panel {
    max-width: 1180px;
    margin: 0 auto;
    padding: 38px;
    text-align: center;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(8,25,48,0.92), rgba(5,15,28,0.9));
    border: 1px solid rgba(77,163,255,0.16);
    box-shadow: var(--shadow);
}

.cta-panel h2 {
    margin: 0 0 14px;
    font-size: 2rem;
}

.cta-panel p {
    margin: 0 auto 24px;
    max-width: 760px;
    color: var(--muted);
    line-height: 1.8;
}

.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(77,163,255,0.15), transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(77,163,255,0.12), transparent 50%);
    pointer-events: none;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 28px 20px 42px;
    color: #a7b5c9;
    border-top: 1px solid rgba(77,163,255,0.12);
    background: rgba(1,6,14,0.45);
}

footer p {
    margin: 6px 0;
}

/* FADE IN */
.fade-in {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.hero.hero-clicks {
    min-height: 70vh;
    background:
        radial-gradient(circle at 74% 52%, rgba(77,163,255,0.45), transparent 40%),
        radial-gradient(circle at 88% 12%, rgba(77,163,255,0.22), transparent 18%),
        url("images/hero-bjc-final.png") no-repeat center 4%;
    background-size: cover;
    animation: heroFade 1.2s ease-out;
}

@media (max-width: 980px) {
    nav {
        padding: 14px 5%;
    }

    .logo {
        font-size: 0.82rem;
        line-height: 1.15;
    }

    .nav-links {
        gap: 14px;
    }

    .hero.hero-clicks {
        padding-top: 100px;
        min-height: 52vh !important;
        background:
            radial-gradient(circle at 74% 52%, rgba(77,163,255,0.32), transparent 42%),
            radial-gradient(circle at 88% 12%, rgba(77,163,255,0.16), transparent 18%),
            url("images/hero-bjc-final.png") no-repeat 68% 14%;
        background-size: cover;
    }

    .section {
        padding: 24px 5%;
    }

    .section.services {
        margin-top: 0;
        padding-top: 40px;
    }

    .section-heading {
        padding-top: 8px;
        margin-bottom: 16px;
    }

    .section-heading h2 {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
        line-height: 1.15;
        margin-bottom: 10px;
    }

    .section-heading p {
        font-size: 0.98rem;
        line-height: 1.65;
        margin-bottom: 20px;
    }

    .service-body,
    .process-card,
    .cta-panel {
        padding: 20px;
    }

    .service-grid,
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .btn {
        width: 100%;
    }

    .hero-actions,
    .center-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .process-icon {
        width: 52px;
        height: 52px;
    }

    .service-card,
    .process-card,
    .cta-panel {
        border-radius: 18px;
    }
}

@media (max-width: 640px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 5%;
    }

    .logo {
        font-size: 0.76rem;
        line-height: 1.1;
    }

    .nav-links {
        width: 100%;
        gap: 12px;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .nav-links a {
        font-size: 0.72rem;
        letter-spacing: 1px;
    }

    .hero.hero-clicks {
        min-height: 0 !important;
        padding-top: 0 !important;
        background-image:
            radial-gradient(circle at 80% 40%, rgba(77,163,255,0.22), transparent 42%),
            url("images/hero-bjc-final.png");
        background-repeat: no-repeat, no-repeat;
        background-position: 80% 40%, 68% 15%;
        background-size: auto, 160% auto;
    }

    .section {
        padding: 24px 5%;
    }

    .section.services {
        margin-top: 0;
        padding-top: 40px;
    }

    .section-heading {
        padding-top: 8px;
        margin-bottom: 16px;
    }

    .section-heading h2 {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
        line-height: 1.15;
        margin-bottom: 10px;
    }

    .section-heading p {
        font-size: 0.98rem;
        line-height: 1.65;
        margin-bottom: 20px;
    }

    .service-body,
    .process-card,
    .cta-panel {
        padding: 20px;
    }

    .service-grid,
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .btn {
        width: 100%;
    }

    .hero-actions,
    .center-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .process-icon {
        width: 52px;
        height: 52px;
    }
}
a {
    color: #4da3ff;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    color: #7cc0ff;
    text-decoration: underline;
}
/* ===== DESKTOP RESTORE ===== */
@media (min-width: 1181px) {
  .hero {
    height: 710px !important;
    padding: 0 !important;
    background-size: 100% auto !important;
    background-position: center top !important;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ===== TABLET ONLY ===== */
@media (min-width: 768px) and (max-width: 1400px) {
  .hero {
    height: 430px !important;
    padding: 0 !important;
    background-size: 120% auto !important;
    background-position: center top !important;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
/* ===== MOBILE ONLY HERO FIX ===== */
@media (max-width: 767px) {
  .hero {
    height: 185px !important;
    min-height: 0 !important;
    padding: 0 !important;
    background-size: 150% auto !important;
    background-position: left top !important;
    background-repeat: no-repeat !important;
  }

  .service-grid {
    grid-template-columns: 1fr !important;
  }
}
/* ===== DUPLICATE RULES REMOVED - SEE FINAL SECTION AT END OF FILE ===== */
/* ===== FIX HERO CLICK LAYERS ===== */
.hero {
  position: relative;
}

/* Make hotspots always on top */
.hero-services-hotspot,
.hero-consultation-hotspot {
  position: absolute;
  z-index: 10 !important;
}

/* Prevent overlays from blocking clicks */
.hero::before,
.hero::after {
  pointer-events: none;
}

.hero-panel,
.hero-overlay,
.hero-content {
  pointer-events: none;
}

/* ===== MOBILE HERO VISUAL RESTORE ===== */
@media (max-width: 767px) {
  .hero {
    height: 185px !important;
    min-height: 0 !important;
    padding: 0 !important;
    background-size: 150% auto !important;
    background-position: left top !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
  }
}
/* ===== FINAL MOBILE HERO FIX ===== */
@media (max-width: 767px) {
  .hero,
  .hero.hero-clicks {
    height: 185px !important;
    min-height: 0 !important;
    padding: 0 !important;
    background-size: 150% auto !important;
    background-position: left top !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
  }
}
/* ===== FINAL HERO BUTTON HOTSPOT ALIGNMENT ===== */

.hero {
  position: relative;
  z-index: 1;
}

.hero-hotspot {
  position: absolute;
  display: block;
  z-index: 50 !important;
  background: transparent;
  text-decoration: none;
  pointer-events: auto;
}

/* Desktop */
.hero-services-hotspot {
  left: 21.7% !important;
  top: 63.5% !important;
  width: 14% !important;
  height: 8% !important;
}

.hero-consultation-hotspot {
  left: 36.3% !important;
  top: 63.5% !important;
  width: 17% !important;
  height: 8% !important;
}

/* iPad / Tablet */
@media (min-width: 768px) and (max-width: 1180px) {
  .hero-services-hotspot {
    left: 20% !important;
    top: 58% !important;
    width: 18% !important;
    height: 10% !important;
  }

  .hero-consultation-hotspot {
    left: 39% !important;
    top: 58% !important;
    width: 23% !important;
    height: 10% !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hero,
  .hero.hero-clicks {
    height: 185px !important;
    min-height: 0 !important;
    padding: 0 !important;
    background-size: 150% auto !important;
    background-position: left top !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
  }

  @media (max-width: 767px) {
  .hero-services-hotspot {
    left: 33% !important;
    top: 78% !important;
    width: 21% !important;
    height: 12% !important;
  }

  .hero-consultation-hotspot {
    left: 55% !important;
    top: 78% !important;
    width: 30% !important;
    height: 12% !important;
  }
}
}/* ===== HERO CLICK FIX (ALL DEVICES) ===== */
.hero {
  position: relative;
  z-index: 1;
}

/* Kill invisible overlay layer */
.hero::before,
.hero::after {
  display: none !important;
  content: none !important;
}

/* Make hero content clickable and aligned */
.hero-content {
  position: relative;
  z-index: 5;
}

/* Buttons */
.hero-buttons {
  position: relative;
  z-index: 10;
}

/* Make buttons ALWAYS clickable */
.hero-buttons a,
.hero-buttons button {
  position: relative;
  z-index: 20;
  pointer-events: auto;
}

/* ===== MOBILE ALIGNMENT FIX ===== */
@media (max-width: 767px) {
  .hero {
    height: auto !important;
    padding: 40px 20px !important;
    background-size: cover !important;
    background-position: center !important;
  }

  .hero-content {
    margin-top: 20px !important;
  }

  .hero-buttons {
    margin-top: 20px !important;
  }
}