/* ==========================================================================
   Public website styles. Bootstrap handles the grid and components;
   this file only adds the brand layer on top.
   Sections: 1 Tokens · 2 Base · 3 Buttons · 4 Navbar · 5 Layout
             6 Hero · 7 Cards · 8 Portfolio · 9 Lists & timeline
             10 Forms · 11 Footer · 12 Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --bs-primary: #6d3a9c;
  --bs-primary-rgb: 109, 58, 156;
  --bs-body-font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: #2a2e3b;
  --bs-border-color: #e4e6ec;

  --ink: #14161f;
  --plum: #6d3a9c;
  --plum-dark: #58307f;
  --lilac: #f4f0f9;
  --mist: #f7f8fa;
  --muted: #5b6272;
}

/* 2. Base ------------------------------------------------------------------ */
html { scroll-padding-top: 80px; }
body { line-height: 1.65; }

h1, h2, h3, h4, h5, h6, .navbar-brand, .display-num {
  font-family: "Sora", "Public Sans", sans-serif;
  color: var(--ink);
  letter-spacing: -0.015em;
}
h1, h2 { font-weight: 700; }
h3, h4, h5, h6 { font-weight: 600; }
h1 { line-height: 1.15; }

p { max-width: 68ch; }
.text-muted, .text-secondary { color: var(--muted) !important; }
a { color: var(--plum); }
a:hover { color: var(--plum-dark); }
:focus-visible { outline: 3px solid rgba(109, 58, 156, 0.55); outline-offset: 2px; }

/* 3. Buttons --------------------------------------------------------------- */
.btn { font-weight: 600; padding: 0.7rem 1.3rem; border-radius: 0.5rem; }
.btn-sm { padding: 0.4rem 0.8rem; }

.btn-primary {
  --bs-btn-bg: var(--plum);
  --bs-btn-border-color: var(--plum);
  --bs-btn-hover-bg: var(--plum-dark);
  --bs-btn-hover-border-color: var(--plum-dark);
  --bs-btn-active-bg: var(--plum-dark);
  --bs-btn-active-border-color: var(--plum-dark);
}
.btn-outline-dark {
  --bs-btn-color: var(--ink);
  --bs-btn-border-color: #c9ccd6;
  --bs-btn-hover-bg: var(--ink);
  --bs-btn-hover-border-color: var(--ink);
}
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* 4. Navbar ---------------------------------------------------------------- */
.navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bs-border-color);
}
.navbar-brand { font-weight: 700; font-size: 1.15rem; }
.navbar-brand span { color: var(--plum); }
.nav-link { font-weight: 500; color: var(--muted); padding: 0.5rem 0.9rem !important; }
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--plum) !important; font-weight: 600; }

/* 5. Layout ---------------------------------------------------------------- */
section { padding: 5rem 0; }
.bg-mist { background: var(--mist); }
.section-head { margin-bottom: 2.75rem; }
.section-head p { margin-bottom: 0; }

.page-hero { padding: 4.5rem 0 3.5rem; background: var(--lilac); border-bottom: 1px solid #e7dff1; }
.page-hero p { font-size: 1.15rem; color: var(--muted); margin: 0; }

.cta { background: var(--ink); color: #fff; }
.cta h2 { color: #fff; }
.cta p { color: #c5c9d6; margin-inline: auto; }

/* 6. Hero & stats ---------------------------------------------------------- */
.hero { padding: 5rem 0 4rem; 
height:100vh;
    
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.hero .lead { color: var(--muted); font-size: 1.15rem; }

.portrait {
  max-width: 420px;
  margin-inline: auto;
  overflow: hidden;
  background: var(--lilac);
  border: 1px solid #e0d5ee;
  border-radius: 50% 50% 1.25rem 1.25rem / 38% 38% 1.25rem 1.25rem;
}
.portrait img { display: block; width: 100%; mix-blend-mode: multiply; }

.stat-strip { padding: 2rem 0; border-block: 1px solid var(--bs-border-color); }
.display-num { font-size: 2rem; font-weight: 700; line-height: 1; }

/* 7. Cards ----------------------------------------------------------------- */
.card-line { height: 100%; background: #fff; border: 1px solid var(--bs-border-color); border-radius: 0.75rem; }

.icon-box {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  color: var(--plum);
  background: var(--lilac);
  border-radius: 0.6rem;
}

.quote { padding-left: 1.25rem; border-left: 3px solid var(--plum); }

/* 8. Portfolio ------------------------------------------------------------- */
.category-block + .category-block { margin-top: 3.5rem; }
.category-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--bs-border-color);
}
.category-title i { color: var(--plum); }

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
}
.project-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  font-size: 2.5rem;
  color: var(--plum);
  background: var(--lilac);
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-body { display: flex; flex-direction: column; flex-grow: 1; padding: 1.5rem; }
.project-link { margin-top: auto; font-weight: 600; text-decoration: none; }

.tag {
  display: inline-block;
  margin: 0 0.3rem 0.3rem 0;
  padding: 0.2rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--mist);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.35rem;
}

/* 9. Lists, timeline, progress -------------------------------------------- */
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin-bottom: 0.4rem; padding-left: 1.6rem; color: var(--muted); }
.check-list li::before { content: "\F26A"; position: absolute; left: 0; font-family: "bootstrap-icons"; color: var(--plum); }

.timeline { margin-left: 0.4rem; padding-left: 1.5rem; border-left: 2px solid var(--bs-border-color); }
.timeline-item { position: relative; padding-bottom: 1.75rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: -1.95rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--plum);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #fff;
}

.step-num {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
}

.progress { height: 0.5rem; background: #ebe6f2; }
.progress-bar { background: var(--plum); }

/* 10. Forms & FAQ ---------------------------------------------------------- */
.form-control, .form-select { padding: 0.7rem 0.9rem; border-radius: 0.5rem; }
.form-control:focus, .form-select:focus { border-color: var(--plum); box-shadow: 0 0 0 0.2rem rgba(109, 58, 156, 0.2); }

/* Spam trap: off-screen so people never see it. */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.accordion {
  --bs-accordion-active-bg: var(--lilac);
  --bs-accordion-active-color: var(--ink);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(109, 58, 156, 0.25);
}

/* 11. Footer --------------------------------------------------------------- */
.site-footer { padding: 3.5rem 0 1.5rem; color: #a9aebd; background: #0e1017; }
.site-footer a { color: #a9aebd; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h6 { color: #fff; }
.site-footer hr { border-color: #232733; opacity: 1; }

/* 12. Responsive ----------------------------------------------------------- */
@media (max-width: 767px) {
  section { padding: 3.5rem 0; }
  .hero { padding: 3rem 0 2.5rem; }
}
