/* =============================================
   MILKYWAYTECH LLC — Professional Site Styles
   ============================================= */

:root {
  --navy:       #050d1f;
  --navy-2:     #071428;
  --navy-3:     #0c1e3e;
  --panel:      #0e2044;
  --border:     #1a3260;
  --text:       #e8eeff;
  --muted:      #8fa5cc;
  --faint:      #4a6499;
  --accent:     #4f8ef7;
  --accent-2:   #2563eb;
  --cyan:       #38bdf8;
  --white:      #ffffff;
  --radius:     12px;
  --shadow:     0 4px 32px rgba(0,0,0,0.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ---- Layout ---- */
.container { width: min(1160px, 92%); margin: 0 auto; }

.section { padding: 6rem 0; }
.section-dark { background: var(--navy-2); }

/* ---- Header / Nav ---- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 13, 31, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 2px 30px rgba(0,0,0,0.6); }

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo-icon { color: var(--accent); font-size: 1.4rem; }
.logo-llc { color: var(--muted); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-cta {
  background: var(--accent-2) !important;
  color: var(--white) !important;
  margin-left: 0.5rem;
}
.nav-cta:hover { background: var(--accent) !important; }
.active-nav { color: var(--accent) !important; }

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(37, 99, 235, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(56, 189, 248, 0.12) 0%, transparent 60%),
    linear-gradient(160deg, #050d1f 0%, #071428 50%, #050d1f 100%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 15%, rgba(255,255,255,0.2) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 85% 60%, rgba(79,142,247,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 75%, rgba(255,255,255,0.15) 0%, transparent 100%),
    radial-gradient(1px 1px at 10% 55%, rgba(255,255,255,0.25) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 55% 90%, rgba(56,189,248,0.3) 0%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 3rem 0 4rem;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--border);
  background: rgba(79, 142, 247, 0.1);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-indicator span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(79,142,247,0.7), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent-2);
  color: var(--white);
  box-shadow: 0 0 20px rgba(37,99,235,0.4);
}
.btn-primary:hover {
  background: var(--accent);
  box-shadow: 0 0 28px rgba(79,142,247,0.5);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.btn-full { width: 100%; }

/* ---- Section headers ---- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--muted);
  font-size: 1rem;
}

/* ---- Services Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-2), var(--cyan));
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-2);
  box-shadow: 0 12px 48px rgba(37,99,235,0.2);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(79, 142, 247, 0.12);
  border: 1px solid rgba(79, 142, 247, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.service-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.service-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.service-tags li {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

/* ---- Tech Stack ---- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tech-group {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.tech-group h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.tech-pills span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
}

/* ---- Why Us ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.why-card {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.why-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.why-number {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.why-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* ---- Contact ---- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 {
  text-align: left;
  margin-bottom: 1rem;
}
.contact-info p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-link:hover { color: var(--accent); }
.contact-link svg { flex-shrink: 0; color: var(--accent); }
.contact-link.no-link { cursor: default; }

.contact-form {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
input, textarea, select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}
select { cursor: pointer; }
select option { background: var(--navy-2); }
textarea { resize: vertical; min-height: 120px; }

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--white);
}
.footer-copy { color: var(--faint); font-size: 0.85rem; }
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .hero-title { font-size: 2.4rem; }
  .services-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--navy-2);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.25rem;
  }
  .nav.open a,
  .nav.open .dropdown-toggle { padding: 0.6rem 1rem; }
  .hamburger { display: flex; }

  .footer-wrap { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }

  /* Mobile dropdown */
  .nav.open .has-dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.04);
    border: none;
    border-left: 2px solid var(--border);
    border-radius: 0;
    margin-left: 1rem;
    padding: 0.25rem 0;
    display: none;
  }
  .nav.open .has-dropdown.open .dropdown-menu { display: flex; }
  .overview-grid { grid-template-columns: 1fr; }
  .services-page-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 7rem 0 3rem; }
}

/* =============================================
   DROPDOWN NAV
   ============================================= */
.nav-item { position: relative; }
.has-dropdown { position: relative; }

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.dropdown-toggle:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.dropdown-toggle.active { color: var(--accent); }

.dropdown-toggle .chevron {
  width: 14px; height: 14px;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.has-dropdown:hover .chevron,
.has-dropdown.open .chevron { transform: rotate(180deg); }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 260px;
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  z-index: 300;
  flex-direction: column;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu { display: flex; }

.dropdown-menu a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  margin: 0 !important;
  white-space: nowrap;
}
.dropdown-menu a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}

/* =============================================
   HOME — SERVICES TEASER / OVERVIEW CARDS
   ============================================= */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.overview-card {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.overview-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-2), var(--cyan));
  opacity: 0;
  transition: opacity 0.3s;
}
.overview-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-2);
  box-shadow: 0 12px 40px rgba(37,99,235,0.2);
}
.overview-card:hover::before { opacity: 1; }
.overview-card .ov-icon {
  width: 46px; height: 46px;
  background: rgba(79,142,247,0.12);
  border: 1px solid rgba(79,142,247,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.overview-card .ov-icon svg { width: 22px; height: 22px; }
.overview-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.overview-card p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  flex: 1;
}
.overview-link {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}
.overview-card:hover .overview-link { gap: 0.55rem; }
.section-cta { text-align: center; }

/* =============================================
   INNER PAGE HERO
   ============================================= */
.page-hero {
  padding: 8.5rem 0 4rem;
  background:
    radial-gradient(ellipse 70% 50% at 70% 50%, rgba(37,99,235,0.15) 0%, transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 30% 40%, rgba(255,255,255,0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 25%, rgba(56,189,248,0.25) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 80% 70%, rgba(79,142,247,0.2) 0%, transparent 100%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: var(--faint);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--faint); }
.breadcrumb-current { color: var(--accent); font-weight: 500; }
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--white);
  max-width: 780px;
  margin-bottom: 1.25rem;
}
.page-hero .hero-sub {
  max-width: 680px;
  font-size: 1.05rem;
  margin-bottom: 0;
}
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  background: rgba(79,142,247,0.1);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

/* =============================================
   SERVICES OVERVIEW PAGE GRID
   ============================================= */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-page-card {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.service-page-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-2), var(--cyan));
  opacity: 0;
  transition: opacity 0.3s;
}
.service-page-card:hover { transform: translateY(-4px); border-color: var(--accent-2); box-shadow: 0 12px 40px rgba(37,99,235,0.2); }
.service-page-card:hover::before { opacity: 1; }
.service-page-card .sp-icon {
  width: 52px; height: 52px;
  background: rgba(79,142,247,0.12);
  border: 1px solid rgba(79,142,247,0.25);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.service-page-card .sp-icon svg { width: 26px; height: 26px; }
.service-page-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--white); line-height: 1.3; }
.service-page-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; flex: 1; }
.service-page-card ul {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.service-page-card ul li {
  font-size: 0.75rem; font-weight: 600;
  color: var(--cyan);
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}
.sp-cta {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--accent); font-size: 0.88rem; font-weight: 600;
  transition: gap 0.2s;
}
.service-page-card:hover .sp-cta { gap: 0.6rem; }

/* =============================================
   SERVICE DETAIL PAGES
   ============================================= */
.detail-intro {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  margin-bottom: 3rem;
  border-left: 4px solid var(--accent-2);
}
.detail-intro p { color: var(--muted); font-size: 1rem; line-height: 1.8; margin: 0; }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.detail-card {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.detail-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--cyan));
  opacity: 0;
  transition: opacity 0.3s;
}
.detail-card:hover { transform: translateY(-3px); border-color: var(--accent-2); box-shadow: 0 10px 36px rgba(37,99,235,0.18); }
.detail-card:hover::after { opacity: 1; }
.detail-card-icon {
  width: 44px; height: 44px;
  background: rgba(79,142,247,0.12);
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.detail-card-icon svg { width: 22px; height: 22px; }
.detail-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.65rem; line-height: 1.35; }
.detail-card p { color: var(--muted); font-size: 0.87rem; line-height: 1.7; margin-bottom: 1rem; }
.detail-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.detail-card ul li {
  font-size: 0.8rem; color: var(--muted);
  padding-left: 1rem;
  position: relative;
}
.detail-card ul li::before {
  content: '›';
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Related services / page footer CTA */
.related-services { background: var(--navy-2); border-top: 1px solid var(--border); }
.related-header { text-align: center; margin-bottom: 2rem; }
.related-header h2 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.related-header p { color: var(--muted); font-size: 0.95rem; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.related-card {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: border-color 0.2s, transform 0.2s;
}
.related-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.related-card-icon {
  width: 40px; height: 40px;
  background: rgba(79,142,247,0.1);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.related-card-icon svg { width: 20px; height: 20px; }
.related-card-text h4 { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 0.2rem; }
.related-card-text p { font-size: 0.78rem; color: var(--muted); }
.page-cta-bar {
  background: linear-gradient(135deg, rgba(37,99,235,0.2) 0%, rgba(56,189,248,0.1) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}
.page-cta-bar h3 { font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 0.75rem; }
.page-cta-bar p { color: var(--muted); margin-bottom: 1.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }

@media (max-width: 1024px) {
  .overview-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   WHO WE ARE — PROFILE PAGE
   ============================================= */
.profile-section { padding: 4rem 0 5rem; }

.profile-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
}

/* Left column */
.photo-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 84px;
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--navy-3);
  border: 2px dashed var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  color: var(--faint);
  transition: border-color 0.25s;
  overflow: hidden;
  cursor: default;
}
.photo-placeholder:hover { border-color: var(--accent); }
.photo-placeholder svg { width: 52px; height: 52px; opacity: 0.45; }
.photo-placeholder p {
  font-size: 0.82rem;
  text-align: center;
  max-width: 160px;
  line-height: 1.5;
  color: var(--faint);
}
/* When a real <img> is inside .photo-placeholder */
.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.profile-id-card {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.profile-id-card .pid-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.profile-id-card .pid-title {
  font-size: 0.83rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.profile-socials { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.social-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #0a66c2;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.social-badge:hover { opacity: 0.88; transform: translateY(-1px); }
.social-badge svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Right column */
.profile-content {}
.profile-content .profile-name {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 0.3rem;
  line-height: 1.15;
}
.profile-content .profile-role {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2rem;
}
.profile-content p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

.profile-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* Credentials strip */
.credentials-section { padding: 3rem 0 5rem; background: var(--navy-2); border-top: 1px solid var(--border); }
.credentials-section .section-label { display: block; margin-bottom: 0.5rem; }
.credentials-section h2 { margin-bottom: 2rem; }

.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.cred-card {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: border-color 0.2s, transform 0.2s;
}
.cred-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.cred-icon {
  width: 38px; height: 38px;
  background: rgba(79,142,247,0.12);
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.cred-icon svg { width: 18px; height: 18px; }
.cred-text {}
.cred-text .cred-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); margin-bottom: 0.15rem; }
.cred-text .cred-value { font-size: 0.88rem; font-weight: 600; color: var(--text); }

/* Tech stack tags on who-we-are */
.skill-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.5rem;
}
.skill-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.2);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
}

@media (max-width: 900px) {
  .profile-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .photo-col { position: static; flex-direction: row; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; }
  .photo-placeholder { max-width: 200px; aspect-ratio: 1; }
  .profile-id-card { flex: 1; min-width: 200px; }
}
