:root {
  --bg: #0b0b0d;
  --fg: #ffffff;
  --muted: #a1a1aa;
  --accent: #8b5cf6;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
}

/* ===================== */
/* CONTAINER */
/* ===================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

#process .container {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}


/* ===================== */
/* HEADER */
/* ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 13, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #1f1f1f;
}

.header.scrolled {
  background: rgba(11, 11, 13, 0.95);
}

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

.logo {
  font-weight: 600;
}

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

.nav a {
  color: #fafafa;          /* default text color */
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--accent);   /* purple on hover */
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: #ffffff;              /* default text = white */
  font-weight: 500;
  border: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover {
  background: #6631bc;         /* darker purple on hover */
  transform: translateY(-1px);
}

/* ===================== */
/* SECTION INDICATOR */
/* ===================== */
.section-indicator {
  position: fixed;
  top: 50%;
  left: 32px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 50;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #7c7c84;
  opacity: 0.6;
}

.section-indicator:hover {
  opacity: 1;
}

.section-indicator button {
  position: relative;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  padding-left: 16px;
  cursor: pointer;
  text-align: left;
}

.section-indicator button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2a2a2a;
  transform: translateY(-50%);
}

.section-indicator button.active {
  color: var(--accent);
}

.section-indicator button.active::before {
  background: var(--accent);
  transform: translateY(-50%) scale(1.3);
}

@media (max-width: 900px) {
  .section-indicator {
    display: none;
  }
}

/* ===================== */
/* HERO */
/* ===================== */
.hero {
  padding: 140px 0 80px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.5fr;
  align-items: center;
  gap: 1px;
}

.hero-image {
  display: flex;
  justify-content: flex-end;
}

.hero-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #7c7c84;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 60px);
  font-weight: 700;
  line-height: 1.0;
  margin-bottom: 24px;
}

.hero span {
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 680px;
}

.hero::after {
  display: none;
}

/* ✅ PORTRAIT IMAGE — THIS WILL NOW APPLY */
.hero-image img {
  width:400px;
  height: auto;
  object-fit: contain;          /* important for PNG */
  background: transparent;      /* ✅ remove shade */
  box-shadow: none;    
  filter: drop-shadow(0 20px 40px rgba(139, 92, 246, 0.25));
}

/* MOBILE */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-image {
    justify-content: flex-start;
  }

  .hero-image img {
    width: 220px;
  }
}


/* ===================== */
/* STATS */
/* ===================== */
.stats {
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  background: #15092d;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 48px 0;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
}

.stat span {
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ===================== */
/* ABOUT */
/* ===================== */
.about {
  padding: 160px 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
}

.about-intro {
  font-size: 22px;
  margin-bottom: 24px;
}

.about p {
  color: var(--fg);
  margin-bottom: 16px;
}

.about-focus h3 {
  margin-bottom: 16px;
  color: var(--accent);
}

.about-focus ul {
  list-style: none;
  padding: 0;
}

.about-focus li {
  margin-bottom: 12px;
  color: var(--fg);
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
}

/* ===================== */
/* WORK */
/* ===================== */
.work {
  padding: 160px 0;
  background: #0e0e11;
}

.section-title {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 48px;
}

/* ===================== */
/* WORK CARDS */
/* ===================== */
.card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px;
  border-radius: 16px;
  border: 1px solid #1f1f1f;
  background: linear-gradient(180deg, #111, #0b0b0d);
  margin-bottom: 64px;
   transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.card:hover {
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.55);
}

.card h2 {
  font-size: 42px;
}

.card-desc {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.card-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid #1f1f1f;
}

.card-meta div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-meta span {
  font-size: 12px;
  text-transform: uppercase;
  color: #7c7c84;
}

.card-meta strong {
  font-size: 14px;
}

/* ===== WORK CARD IMAGE FIX ===== */

.card {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Top row */
.card-header {
 display: flex;
  align-items: flex-start;
  gap: 24px;
}

/* Image */
.card-cover {
  width: 220px;       /* 👈 smaller image */
  height: auto;
  border-radius: 12px;
  flex-shrink: 0;
}

/* Text block grows, CTA stays fixed */
.card-text {
  flex: 1;
  min-width: 0; /* 👈 allows text wrapping */
}

/* Text */
.card-text h2 {
  font-size: 42px;
  margin: 0 0 8px;
}

.card-text .card-desc {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
}

/* Mobile */
@media (max-width: 900px) {
  .card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-cover {
    width: 100%;
    max-width: 420px;
  }

    .card-cta {
    margin-top: 16px;
  }
}


@media (max-width: 900px) {
  .card-meta {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Card color identities */
.card--grid {
  background:
    radial-gradient(600px circle at top right, rgba(220,38,38,0.08), transparent 75%),
    linear-gradient(180deg, #111, #0b0b0d);
}

.card--solaramps {
  background:
    radial-gradient(600px circle at top right, rgba(20,184,166,0.08), transparent 75%),
    linear-gradient(180deg, #111, #0b0b0d);
}

.card--medicra {
  background:
    radial-gradient(600px circle at top right, rgba(59,130,246,0.08), transparent 75%),
    linear-gradient(180deg, #111, #0b0b0d);
}

/* Stronger tint glow on hover */
.card--grid:hover {
  background:
    radial-gradient(
      600px circle at top right,
      rgba(220, 38, 38, 0.22),
      transparent 55%
    ),
    linear-gradient(180deg, #111, #0b0b0d);
     border-color: rgba(220, 38, 38, 0.55);
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(220, 38, 38, 0.35);
}

.card--solaramps:hover {
  background:
    radial-gradient(
      600px circle at top right,
      rgba(20, 184, 166, 0.22),
      transparent 55%
    ),
    linear-gradient(180deg, #111, #0b0b0d);
      border-color: rgba(20, 184, 166, 0.55);
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(20, 184, 166, 0.35);
}

.card--medicra:hover {
  background:
    radial-gradient(
      600px circle at top right,
      rgba(59, 130, 246, 0.22),
      transparent 55%
    ),
    linear-gradient(180deg, #111, #0b0b0d);
     border-color: rgba(59, 130, 246, 0.55);
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(59, 130, 246, 0.35);
}

/* Subtle image emphasis */
.card-cover {
  transition: filter 0.35s ease;
}

.card:hover .card-cover {
  filter: brightness(1.06) contrast(1.05);
}

/* ===================== */
/* WORK CARD CTA */
/* ===================== */
.card-cta {
   margin-top: 6px;              /* aligns with tagline on desktop */
  white-space: nowrap;
  padding: 10px 16px;
  font-size: 13px;
  border-radius: 999px;
  font-weight: 500;

  text-decoration: none;
  color: #ffffff;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid transparent;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.card-cta:hover {
  transform: translateY(-1px);
}

.card--grid .card-cta {
  background: rgba(220, 38, 38, 0.15);
  border-color: rgba(220, 38, 38, 0.35);
}

.card--grid .card-cta:hover {
  background: rgba(220, 38, 38, 0.25);
}

.card--solaramps .card-cta {
  background: rgba(20, 184, 166, 0.15);
  border-color: rgba(20, 184, 166, 0.35);
}

.card--solaramps .card-cta:hover {
  background: rgba(20, 184, 166, 0.25);
}

.card--medicra .card-cta {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.35);
}

.card--medicra .card-cta:hover {
  background: rgba(59, 130, 246, 0.25);
}


/* PROCESS – DARK THEME (STRUCTURE PRESERVED) */
.process {
  max-width: 1100px;
  margin: 160px auto;   /* 👈 this centers the section */
  padding: 48px;
  border-radius: 16px;
}

/* Full-width background for PROCESS section */
#process {
  background: radial-gradient(
    1200px circle at 50% 0%,
    rgba(139, 92, 246, 0.15),
    rgba(11, 11, 13, 1) 55%
  );
  padding: 160px 0; /* space above & below */
}


#process h2 {
  margin-bottom: 12px;
  color: var(--accent);
}

.process-intro {
  max-width: 165ch;
  margin-top: 0;
  margin-bottom: 32px;
  color: var(--fg);
}

.process-flow {
  position: relative;
  display: grid;
  gap: 44px;
}

/* Vertical line */
.process-flow::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #1f1f1f;
}

/* Each step */
.process-item {
  display: grid;
  grid-template-columns: 44px 48px 1fr;
  gap: 24px;
  position: relative;
  align-items: center;
}

/* Count circle */
.process-index {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #111;
  border: 2px solid #2a2a2a;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* Icon */
.process-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.process-icon img {
  width: 50px;
  height: 50px;
  filter: none; /* keep original SVG colors */
}

/* Text */
.process-content h3 {
  margin: 5px;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--fg);
}

.process-content p {
  margin: 5px;
  max-width: 55ch;
  font-weight: 300;
  color: #a1a1aa;
}

/* ===================== */
/* CONTACT */
/* ===================== */
.contact {
  padding: 160px 0;
}

.contact h2 {
  color: var(--accent);   /* purple */
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* Card */
.contact-list a {
  display: flex;                 /* 👈 key fix */
  flex-direction: column;        /* 👈 stack text */
  gap: 8px;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid #1f1f1f;
  text-decoration: none;
  color: var(--fg);
  background: linear-gradient(180deg, #111, #0b0b0d);
}

/* Label */
.contact-list span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7c7c84;
}

/* Value */
.contact-list strong {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  word-break: break-word;   /* 👈 prevents overlap */
}

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

@media (max-width: 640px) {
  .contact-list {
    grid-template-columns: 1fr;
  }
}


/* ===================== */
/* FOOTER */
/* ===================== */
footer {
  border-top: 1px solid #222;
}

.footer-inner {
  padding: 64px 0;
  display: flex;
  justify-content: space-between;
  color: #666;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 16px;
  }
}

/* PROCESS: center content while keeping full-width background */
#process .container {
  max-width: 1100px;
  margin: 0 auto;        /* 👈 centers content */
  padding-left: 24px;
  padding-right: 24px;
}


/* PROCESS: remove section width constraint */
#process.section {
  max-width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}


