:root {
  --ink: #17342c;
  --muted: #66736a;
  --paper: #f6f7f2;
  --line: #dce2d9;
  --lime: #d5f481;
  --white: #fff;
  --radius: 18px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  line-height: 1.55;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid #598028;
  outline-offset: 5px;
}
::selection {
  background: var(--lime);
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1240px, calc(100% - 80px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  background: var(--ink);
  color: white;
  padding: 12px 20px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  font-weight: 700;
}
.arrow {
  font-size: 20px;
  line-height: 1;
}
.site-header {
  position: sticky;
  top: 0;
  background: rgba(246, 247, 242, 0.96);
  z-index: 10;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 90px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 43px;
  color: var(--lime);
  background: var(--ink);
  border-radius: 11px 3px 11px 3px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}
.brand-name {
  font-size: 18px;
  letter-spacing: -0.7px;
  font-weight: 800;
  line-height: 1.3;
}
.brand-caption {
  display: block;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.header-nav {
  display: flex;
  gap: 29px;
  align-items: center;
}
.header-nav a {
  font-size: 13px;
  color: var(--muted);
}
.header-nav a:hover {
  color: var(--ink);
}
.header-nav .nav-active {
  color: var(--ink);
}
.nav-active::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #60823b;
  vertical-align: middle;
  margin-right: 7px;
}
.button {
  border: 1px solid transparent;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.45;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-dark {
  background: var(--ink);
  color: white;
}
.button-dark:hover {
  background: #285443;
}
.button-light {
  background: var(--lime);
  color: var(--ink);
}
.button-outline {
  border-color: var(--line);
  background: transparent;
}
.button-outline:hover {
  background: white;
}
.header-cta {
  padding: 11px 17px;
  font-size: 12px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 13px;
}
.hero {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 68px;
  padding-bottom: 64px;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.status-dot {
  width: 7px;
  height: 7px;
  background: #5d8033;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #e8efdd;
  margin: 0 5px;
}
.hero h1 {
  font-size: clamp(42px, 4.7vw, 66px);
  font-weight: 500;
  letter-spacing: -3.6px;
  line-height: 1.07;
  margin: 26px 0 23px;
}
.hero h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -3px;
  color: #5b783c;
}
.hero-description {
  font-size: 15px;
  color: var(--muted);
  max-width: 390px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 29px;
  flex-wrap: wrap;
}
.text-link {
  font-weight: 600;
  font-size: 12px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
}
.text-link:hover {
  text-decoration: underline;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
  font-size: 11px;
  color: var(--muted);
}
.hero-note span:first-child {
  color: #486a2d;
}
.hero-art {
  position: relative;
  isolation: isolate;
  min-height: 408px;
  border-radius: 24px;
  background: #e7ebdf;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #dfe5d7;
}
.hero-art::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid #ccd5c1;
  border-radius: 50%;
  z-index: -1;
}
.hero-art::after {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid #ccd5c1;
  border-radius: 50%;
  z-index: -1;
}
.art-caption {
  position: absolute;
  top: 22px;
  left: 24px;
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 700;
}
.art-spark {
  position: absolute;
  right: 27px;
  top: 25px;
  font-size: 35px;
  font-weight: 300;
  line-height: 1;
}
.preview-window {
  width: 78%;
  background: white;
  border-radius: 10px;
  box-shadow: 0 23px 40px #24372126;
  transform: rotate(-5deg) translate(-8px, -7px);
  border: 5px solid white;
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 6px 8px;
  font-size: 8px;
  color: #6c756d;
}
.window-dots {
  display: flex;
  gap: 4px;
}
.window-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b9c3b3;
}
.preview-window img {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
}
.floating-preview {
  position: absolute;
  width: 43%;
  right: 21px;
  bottom: 42px;
  transform: rotate(7deg);
  border: 5px solid white;
  border-radius: 8px;
  box-shadow: 0 14px 30px #24372130;
  overflow: hidden;
}
.floating-preview img {
  aspect-ratio: 1.6;
  object-fit: cover;
  width: 100%;
}
.art-stamp {
  position: absolute;
  bottom: 25px;
  left: 24px;
  background: var(--ink);
  color: var(--lime);
  font-size: 10px;
  border-radius: 100px;
  padding: 9px 13px;
  transform: rotate(-5deg);
}
.hero-trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 21px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
}
.hero-trust-intro {
  font-size: 11px;
  color: var(--muted);
  max-width: 125px;
  line-height: 1.5;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.trust-item strong {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -1px;
}
.trust-item span {
  color: var(--muted);
  font-size: 11px;
  max-width: 94px;
}
.trust-icon {
  border: 1px solid #c9d3c1;
  border-radius: 9px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 17px;
}
.catalog {
  padding-top: 68px;
  padding-bottom: 72px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 26px;
}
.section-heading .eyebrow {
  color: #6c8056;
}
.section-heading h2 {
  font-size: 35px;
  font-weight: 500;
  letter-spacing: -1.5px;
  line-height: 1.2;
  margin: 10px 0;
}
.section-heading p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.catalog-tools {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-shrink: 0;
}
.search-box {
  position: relative;
  display: flex;
  align-items: center;
}
.search-box svg {
  position: absolute;
  left: 15px;
  width: 17px;
  height: 17px;
  pointer-events: none;
  color: var(--muted);
}
.search-box input {
  width: 230px;
  min-height: 45px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 33px 10px 42px;
  background: white;
  color: var(--ink);
  font-size: 12px;
}
.search-box input::placeholder {
  color: #768174;
}
.saved-filter {
  min-height: 45px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  font-size: 12px;
  padding: 10px 13px;
  white-space: nowrap;
}
.saved-filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.filter {
  font-size: 11px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 6px;
  color: #576751;
  transition: background 0.15s;
}
.filter:hover {
  background: #e8eedd;
}
.filter[aria-pressed="true"] {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.filter-count {
  opacity: 0.65;
  margin-left: 6px;
  font-size: 10px;
}
.results-bar {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin: 0 0 20px;
  font-size: 11px;
  color: var(--muted);
}
.results-bar p {
  margin: 0;
}
.sort-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
}
.sort-wrap select {
  background: transparent;
  border: 0;
  padding: 5px;
  color: var(--ink);
  font-size: 11px;
  max-width: 155px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 23px;
}
.project-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 28px #223d2910;
}
.project-image {
  position: relative;
  background: #e8ece1;
  aspect-ratio: 1.6;
  overflow: hidden;
}
.project-image > a {
  display: block;
  height: 100%;
}
.project-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s;
}
.project-card:hover .project-image img {
  transform: scale(1.03);
}
.save-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #edf0e8;
  background: #fffffff2;
  border-radius: 50%;
  box-shadow: 0 2px 9px #0000000d;
}
.save-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.save-button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--lime);
  border-color: var(--ink);
}
.save-button[aria-pressed="true"] svg {
  fill: currentColor;
}
.project-body {
  padding: 20px 21px 17px;
}
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.project-meta h3 {
  font-size: 18px;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin: 0;
  font-weight: 600;
}
.project-category {
  font-size: 9px;
  white-space: nowrap;
  color: #66745c;
  background: #f0f3eb;
  padding: 4px 8px;
  border-radius: 4px;
}
.project-description {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  min-height: 41px;
  margin: 11px 0 18px;
}
.project-links {
  border-top: 1px solid #eef0eb;
  padding-top: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.project-demo {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
}
.project-demo:hover {
  color: #6a8733;
}
.project-select {
  font-size: 10px;
  color: var(--muted);
}
.project-select:hover {
  text-decoration: underline;
}
.image-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 38px;
  letter-spacing: -1.5px;
  font-family: Georgia, serif;
  background: linear-gradient(135deg, #dde8ce, #eff3e8);
  color: #4e6b36;
}
.catalog-bottom {
  text-align: center;
  margin-top: 34px;
}
.catalog-bottom p {
  color: var(--muted);
  font-size: 11px;
}
.empty-state {
  text-align: center;
  padding: 70px 20px;
  background: #edf1e7;
  border: 1px dashed #c8d3ba;
  border-radius: 18px;
}
.empty-state h3 {
  font-size: 22px;
  font-weight: 500;
}
.empty-state p {
  font-size: 13px;
  color: var(--muted);
}
.process {
  background: #edf1e7;
  padding: 63px 0;
}
.process-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}
.process h2 {
  font-size: 33px;
  font-weight: 500;
  letter-spacing: -1.4px;
  line-height: 1.15;
  margin: 12px 0 16px;
}
.process-intro > p {
  color: var(--muted);
  font-size: 13px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step-number {
  display: inline-grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid #c8d5bc;
  border-radius: 50%;
  font-size: 11px;
  margin-bottom: 22px;
}
.steps h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin: 0 0 10px;
}
.steps p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.8;
}
.contact {
  padding-block: 66px;
}
.contact-panel {
  background: var(--ink);
  color: var(--white);
  border-radius: 22px;
  padding: 43px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.contact-panel .eyebrow {
  color: var(--lime);
}
.contact-panel h2 {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -1.6px;
  margin: 12px 0;
}
.contact-panel p {
  color: #bfcdc1;
  font-size: 13px;
  margin-bottom: 0;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
.contact-actions > span {
  font-size: 10px;
  color: #c0cdbf;
}
.site-footer {
  padding: 0 0 25px;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 30px;
}
.footer-main p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 13px;
}
.footer-nav {
  display: flex;
  gap: 60px;
}
.footer-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}
.footer-group strong {
  font-size: 11px;
  color: var(--ink);
  margin-bottom: 3px;
}
.footer-group a:hover {
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  padding-top: 20px;
  color: var(--muted);
  font-size: 10px;
}
.partners {
  font-size: 11px;
  color: var(--muted);
  margin: 20px 0;
}
.partners summary {
  cursor: pointer;
}
.partner-links {
  display: flex;
  gap: 10px 24px;
  flex-wrap: wrap;
  padding: 15px 0;
}
.partner-links a:hover {
  text-decoration: underline;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.no-js-note {
  display: block;
  background: #e8eedd;
  padding: 12px 18px;
  font-size: 12px;
  border-radius: 8px;
  margin-bottom: 25px;
}
.storage-note {
  font-size: 12px;
  color: var(--muted);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.js-only {
  display: none;
}
body.enhanced .js-only {
  display: flex;
}
body.enhanced .catalog-bottom.js-only {
  display: block;
}
@media (min-width: 1500px) {
  .hero {
    gap: 90px;
  }
  .hero h1 {
    font-size: 70px;
  }
  .hero-art {
    min-height: 440px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero {
    gap: 35px;
  }
  .hero h1 {
    font-size: 51px;
  }
  .hero-art {
    min-height: 350px;
  }
  .header-nav {
    gap: 20px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 17px;
  }
  .catalog-tools {
    width: 100%;
  }
  .search-box {
    flex: 1;
  }
  .search-box input {
    width: 100%;
  }
  .project-grid {
    gap: 20px;
  }
  .project-body {
    padding: 17px;
  }
  .project-meta {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }
  .project-category {
    white-space: normal;
  }
  .process-layout {
    gap: 30px;
  }
  .steps {
    gap: 20px;
  }
  .footer-nav {
    gap: 30px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 90px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .header-inner {
    min-height: 74px;
    gap: 12px;
  }
  .brand-name {
    font-size: 16px;
  }
  .brand-mark {
    width: 33px;
    height: 37px;
    font-size: 25px;
  }
  .brand-caption {
    font-size: 8px;
  }
  .header-cta {
    display: none;
  }
  .header-nav {
    gap: 15px;
  }
  .header-nav a {
    font-size: 11px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 40px 35px;
    gap: 30px;
  }
  .hero h1 {
    font-size: clamp(40px, 9vw, 61px);
    letter-spacing: -2.4px;
    margin: 22px 0;
  }
  .hero h1 em {
    letter-spacing: -2.4px;
  }
  .hero-description {
    max-width: 470px;
    font-size: 14px;
  }
  .hero-art {
    min-height: 335px;
    max-width: 530px;
    width: 100%;
    margin: auto;
  }
  .hero-actions .button {
    padding: 13px 18px;
  }
  .hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px 16px;
    padding-block: 24px;
  }
  .hero-trust-intro {
    max-width: 160px;
    font-size: 12px;
  }
  .trust-item strong {
    font-size: 25px;
  }
  .trust-item span {
    max-width: 90px;
  }
  .catalog {
    padding-block: 42px;
  }
  .section-heading h2 {
    font-size: 30px;
  }
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
  }
  .project-description {
    min-height: 62px;
  }
  .filters {
    gap: 6px;
    margin-block: 20px;
  }
  .filter {
    padding: 8px 11px;
    font-size: 10px;
  }
  .process {
    padding-block: 40px;
  }
  .process-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .process h2 {
    font-size: 29px;
    max-width: 320px;
  }
  .step-number {
    margin-bottom: 15px;
  }
  .contact {
    padding-block: 40px;
  }
  .contact-panel {
    padding: 30px;
    flex-direction: column;
    align-items: start;
    gap: 25px;
  }
  .contact-panel h2 {
    font-size: 32px;
  }
  .contact-actions {
    align-items: start;
  }
  .footer-main {
    flex-direction: column;
    gap: 20px;
  }
  .footer-nav {
    width: 100%;
    justify-content: space-between;
  }
  .footer-bottom {
    font-size: 9px;
  }
}
@media (max-width: 480px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 15px;
  }
  .header-nav {
    width: 100%;
    justify-content: space-between;
    padding: 8px 0 2px;
  }
  body.enhanced .menu-toggle {
    display: block;
    margin-left: auto;
  }
  body.enhanced .header-nav {
    display: none;
  }
  body.enhanced .header-nav.is-open {
    display: flex;
  }
  .hero-kicker {
    font-size: 9px;
  }
  .hero h1 {
    font-size: 45px;
  }
  .hero-art {
    min-height: 295px;
  }
  .art-caption {
    font-size: 8px;
  }
  .floating-preview {
    bottom: 40px;
  }
  .art-stamp {
    font-size: 9px;
  }
  .hero-actions {
    gap: 17px;
  }
  .hero-actions .text-link {
    font-size: 11px;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .search-box input {
    font-size: 11px;
  }
  .saved-filter {
    font-size: 11px;
    padding-inline: 10px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .project-meta {
    flex-direction: row;
    align-items: center;
  }
  .project-description {
    min-height: 0;
  }
  .project-body {
    padding: 19px;
  }
  .project-meta h3 {
    font-size: 20px;
  }
  .project-category {
    font-size: 10px;
  }
  .project-demo {
    font-size: 12px;
  }
  .project-select {
    font-size: 11px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .step {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 16px;
  }
  .step-number {
    grid-row: 1/3;
    margin: 0;
  }
  .steps h3 {
    margin-bottom: 5px;
  }
  .sort-wrap label {
    display: none;
  }
  .contact-panel {
    padding: 28px 23px;
  }
  .contact-panel h2 {
    font-size: 30px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 25px;
  }
  .footer-group {
    font-size: 11px;
  }
  .catalog-tools {
    gap: 7px;
  }
  .search-box input {
    padding-left: 36px;
  }
  .search-box svg {
    left: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .project-card:hover,
  .button:hover {
    transform: none;
  }
}


/* ==========================================================================
   MODERN 3D & FULL SCREEN AESTHETICS OVERRIDES
   ========================================================================== */

:root {
  --primary-accent: #2563eb;
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-3d: 0 20px 40px -10px rgba(0,0,0,0.15), 0 10px 20px -5px rgba(0,0,0,0.1);
  --shadow-hover: 0 25px 50px -12px rgba(0,0,0,0.25);
  --radius-lg: 24px;
}

/* Full Screen (Plein écran) Layouts */
.wrap {
  width: 96%;
  max-width: 1800px;
  margin-inline: auto;
}

/* Glassmorphism Header */
.site-header {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-subtle);
}

.brand {
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Hero Section Enhancements */
.hero {
  padding: 80px 0 60px !important;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(213, 244, 129, 0.2) 0%, transparent 60%);
  border-radius: var(--radius-lg);
  margin-top: 20px;
  margin-bottom: 60px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 24px !important;
}

.hero-description {
  font-size: 1.25rem !important;
  max-width: 800px !important;
  margin: 0 auto 40px !important;
  color: var(--muted) !important;
}

.hero-actions {
  justify-content: center !important;
  gap: 20px !important;
}

.hero-actions .button-dark {
  background: var(--ink);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(23, 52, 44, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-actions .button-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(23, 52, 44, 0.3);
}

/* 3D Project Cards */
.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: var(--shadow-hover) !important;
  border-color: transparent !important;
}

.project-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.project-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.project-card:hover .project-image img {
  transform: scale(1.08) !important;
}

/* Add a subtle overlay on images */
.project-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.project-card:hover .project-image::after {
  opacity: 1;
}

/* Card Content Styling */
.project-content {
  padding: 24px !important;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-header h3 {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
}

.category-badge {
  background: var(--paper) !important;
  color: var(--muted) !important;
  padding: 4px 12px !important;
  border-radius: 50px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 12px;
}

.project-description {
  color: var(--muted) !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin-bottom: 24px !important;
  flex: 1;
}

/* Modern Filter Buttons */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px !important;
}

.filter {
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
  padding: 10px 20px !important;
  border-radius: 50px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  box-shadow: var(--shadow-subtle);
}

.filter:hover {
  background: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
}

.filter[aria-pressed="true"], .filter.active {
  background: var(--ink) !important;
  color: var(--white) !important;
  border-color: var(--ink) !important;
  box-shadow: 0 8px 16px rgba(23, 52, 44, 0.25) !important;
}

.filter-count {
  background: rgba(0,0,0,0.08) !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
  font-size: 0.8em !important;
  margin-left: 6px !important;
}

.filter[aria-pressed="true"] .filter-count, .filter.active .filter-count {
  background: rgba(255,255,255,0.2) !important;
  color: white !important;
}

/* Unified Footer Styling */
.site-footer {
  background: var(--ink) !important;
  color: var(--white) !important;
  padding: 60px 0 40px !important;
  margin-top: 80px !important;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
}

.site-footer a {
  color: rgba(255,255,255,0.7) !important;
  transition: color 0.3s ease !important;
}

.site-footer a:hover {
  color: var(--white) !important;
}

/* Buttons in Card */
.btn-outline-primary {
  border: 2px solid var(--ink) !important;
  color: var(--ink) !important;
  background: transparent !important;
  border-radius: 8px !important;
  padding: 8px 16px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  text-align: center;
  display: block;
  margin-bottom: 8px;
}

.btn-outline-primary:hover {
  background: var(--ink) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
}

.whatsapp-link {
  color: #25D366 !important;
  font-weight: 600 !important;
  text-align: center;
  display: block;
  transition: all 0.3s ease !important;
}

.whatsapp-link:hover {
  transform: translateY(-2px);
  text-shadow: 0 4px 8px rgba(37, 211, 102, 0.2);
}


/* Responsive Grid Upgrade */
.project-grid {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)) !important;
    gap: 40px !important;
}

@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
        gap: 24px !important;
    }
}




/* ==========================================================================
   DROPDOWN MENU FOR FILTERS (HEADER)
   ========================================================================== */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  background: transparent;
  border: none;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 16px;
  color: var(--ink);
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-toggle:hover {
  opacity: 0.8;
  background: rgba(0,0,0,0.05);
  border-radius: 8px;
}

.dropdown-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 16px;
  z-index: 100;
  min-width: 280px;
  flex-direction: column !important;
  gap: 8px !important;
}

.nav-dropdown:hover .dropdown-menu {
  display: flex !important;
  animation: fadeIn 0.2s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.dropdown-menu .filter {
  text-align: left !important;
  padding: 10px 16px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 8px !important;
  justify-content: space-between !important;
  display: flex !important;
  align-items: center !important;
  box-shadow: none !important;
}

.dropdown-menu .filter:hover {
  background: rgba(0,0,0,0.05) !important;
  transform: translateX(5px) !important;
}

.dropdown-menu .filter[aria-pressed="true"], 
.dropdown-menu .filter.active {
  background: var(--ink) !important;
  color: var(--white) !important;
}

/* ==========================================================================
   SIDEBAR STYLES (3D, CLEAR, MODERN)
   ========================================================================== */
.site-header {
  display: flex !important;
  align-items: center !important;
  padding: 10px 0 !important;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 96% !important;
  max-width: 1800px !important;
  margin: 0 auto !important;
  gap: 20px;
}

.filter-sidebar-toggle {
  background: var(--ink) !important;
  color: var(--white) !important;
  border: none;
  padding: 10px 20px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(23, 52, 44, 0.2) !important;
  transition: all 0.3s ease !important;
}

.filter-sidebar-toggle:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(23, 52, 44, 0.3) !important;
}

.filter-sidebar {
  position: fixed;
  top: 0;
  left: -400px;
  width: 350px;
  max-width: 85vw;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  box-shadow: 20px 0 50px rgba(0,0,0,0.15);
  transition: left 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.filter-sidebar.active {
  left: 0;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.sidebar-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
}

.close-sidebar {
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.3s ease;
}

.close-sidebar:hover {
  color: var(--ink);
}

.sidebar-filters {
  display: flex !important;
  flex-direction: column !important;
  padding: 24px !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
}

.sidebar-filters .filter {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 14px 20px !important;
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02) !important;
}

.sidebar-filters .filter:hover {
  transform: translateX(5px) !important;
  background: var(--white) !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08) !important;
  border-color: var(--ink) !important;
}

.sidebar-filters .filter[aria-pressed="true"],
.sidebar-filters .filter.active {
  background: var(--ink) !important;
  color: var(--white) !important;
  border-color: var(--ink) !important;
  box-shadow: 0 10px 25px rgba(23, 52, 44, 0.3) !important;
  transform: translateX(10px) !important;
}

.sidebar-filters .filter-count {
  background: rgba(0,0,0,0.08) !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  font-size: 0.85em !important;
  font-weight: 800 !important;
}

.sidebar-filters .filter[aria-pressed="true"] .filter-count,
.sidebar-filters .filter.active .filter-count {
  background: rgba(255,255,255,0.2) !important;
  color: var(--white) !important;
}


/* ==========================================================================
   SEAMLESS DARK FOOTER & CTA (THEME DIGITALISTE)
   ========================================================================== */
.full-width-dark {
  background-color: var(--ink) !important;
  color: var(--white) !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.contact.full-width-dark {
  padding-top: 80px !important;
  padding-bottom: 60px !important;
}

.site-footer.full-width-dark {
  padding-top: 20px !important;
  padding-bottom: 40px !important;
  border-top: 1px solid rgba(255,255,255,0.05) !important;
}

.contact-panel.wrap {
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  max-width: 1800px !important;
  margin: 0 auto !important;
  width: 96% !important;
  box-shadow: none !important;
}

/* Ensure links look good on dark bg */
.full-width-dark a {
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none !important;
}
.full-width-dark a:hover {
  color: var(--white) !important;
}

/* Fix any remaining margin on the main element */
main {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}


/* ==========================================================================
   ✨ MAGIC UI & 3D PREMIUM AESTHETICS (WA3ER STYLE) ✨
   ========================================================================== */

/* 1. Magical Page Background */
body {
  background: radial-gradient(circle at top left, #f8fafc, #eff6ff) !important;
  color: var(--ink);
}

/* 2. Supercharged 3D Cards */
.project-card {
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.project-card:hover {
  transform: translateY(-12px) scale(1.02) !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08), 
              0 0 30px rgba(23, 52, 44, 0.05), /* Subtle brand color glow */
              inset 0 0 0 1px rgba(255, 255, 255, 0.8) !important;
}

.project-card .project-image {
  overflow: hidden !important;
}

.project-card .project-image img {
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.project-card:hover .project-image img {
  transform: scale(1.08) !important; /* Smooth zoom on hover */
}

/* 3. Magic Header & Mega Menu */
.site-header {
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.mega-dropdown {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(30px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(200%) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 30px 60px rgba(0,0,0,0.1), 
              0 0 0 1px rgba(255,255,255,0.8) inset !important;
  border-radius: 16px !important;
}

.mega-dropdown .filter {
  background: rgba(255, 255, 255, 0.5) !important;
  border: 1px solid rgba(255,255,255,0.8) !important;
  border-radius: 12px !important;
  transition: all 0.3s ease !important;
}

.mega-dropdown .filter:hover {
  background: var(--ink) !important;
  color: var(--white) !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 10px 20px rgba(23, 52, 44, 0.2) !important;
}

/* 4. Glowing Buttons */
.header-cta {
  background: linear-gradient(135deg, var(--ink), #1a4235) !important;
  box-shadow: 0 4px 15px rgba(23, 52, 44, 0.3) !important;
  border: none !important;
  transition: all 0.4s ease !important;
  position: relative;
  overflow: hidden;
}

.header-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: all 0.6s ease;
}

.header-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(23, 52, 44, 0.4) !important;
}

.header-cta:hover::before {
  left: 100%;
}

/* 5. Smooth Text Selection */
::selection {
  background: rgba(23, 52, 44, 0.2) !important; /* Brand color selection */
  color: var(--ink) !important;
}

/* 6. Footer Magic Typography */
.site-footer a:hover {
  color: #fff !important;
  text-shadow: 0 0 10px rgba(255,255,255,0.5) !important;
  transform: translateX(4px) !important;
  display: inline-block;
}

/* 7. Grid Animation (Fade In) */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.project-card {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger the animation for first few cards */
.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }



/* Fix header alignment after removing CTA */
.header-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

/* Ensure filter-sidebar-toggle stays on the right */
.filter-sidebar-toggle {
    margin-left: auto !important;
}


/* 4 Column Footer Layout */
.footer-main.wrap {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr 1fr 1fr !important;
    gap: 40px !important;
    align-items: flex-start !important;
}

.footer-group strong {
    color: var(--white) !important;
    font-size: 1.1rem !important;
    margin-bottom: 15px !important;
    display: block !important;
}
.footer-group a {
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.95rem !important;
    margin-bottom: 10px !important;
    display: block !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}
.footer-group a:hover {
    color: var(--white) !important;
    transform: translateX(5px) !important;
}
@media (max-width: 900px) {
    .footer-main.wrap {
        grid-template-columns: 1fr 1fr !important;
    }
}
@media (max-width: 600px) {
    .footer-main.wrap {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================================
   🚀 NEON CYBERPUNK THEME (FROM POSTER) 🚀
   ========================================================================== */

:root {
  /* Core Colors overriding everything */
  --ink: #05010d !important; /* Deep space black/purple */
  --paper: #0b0216 !important; /* Very dark purple */
  --stone: #ff007f !important; /* Neon Pink */
  --sand: #1c053a !important; /* Dark purple */
  --white: #ffffff !important;
  
  --neon-purple: #b000ff;
  --neon-pink: #ff0055;
  --neon-glow: rgba(176, 0, 255, 0.6);
}

/* Base Body Override */
body, html {
  background: var(--ink) !important;
  background-image: radial-gradient(circle at 50% 0%, #200542 0%, #05010d 60%) !important;
  color: var(--white) !important;
}

/* Header Override */
.site-header {
  background: rgba(5, 1, 13, 0.8) !important;
  border-bottom: 1px solid rgba(176, 0, 255, 0.3) !important;
  box-shadow: 0 4px 30px rgba(176, 0, 255, 0.15) !important;
}

.site-header .brand-name {
  background: linear-gradient(90deg, #b000ff, #ff0055) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.mega-dropdown {
  background: rgba(11, 2, 22, 0.95) !important;
  border: 1px solid var(--neon-purple) !important;
  box-shadow: 0 0 20px var(--neon-glow), inset 0 0 10px var(--neon-glow) !important;
}

.mega-dropdown .filter {
  background: rgba(28, 5, 58, 0.6) !important;
  border: 1px solid rgba(176, 0, 255, 0.4) !important;
  color: var(--white) !important;
}

.mega-dropdown .filter:hover, .mega-dropdown .filter.active {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink)) !important;
  border-color: transparent !important;
  box-shadow: 0 0 15px var(--neon-glow) !important;
}

/* Text Colors */
h1, h2, h3, h4, h5, h6 {
  color: var(--white) !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2) !important;
}
p {
  color: #d1b3ff !important; /* Soft purple text */
}

/* Sidebar & Buttons */
.filter-sidebar-toggle, .dropdown-toggle {
  color: var(--white) !important;
  border-color: var(--neon-purple) !important;
  background: rgba(176, 0, 255, 0.1) !important;
}
.filter-sidebar-toggle:hover, .dropdown-toggle:hover {
  background: var(--neon-purple) !important;
  box-shadow: 0 0 15px var(--neon-glow) !important;
}

/* Project Cards */
.project-card {
  background: rgba(11, 2, 22, 0.7) !important;
  border: 1px solid rgba(176, 0, 255, 0.3) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
}
.project-card:hover {
  border: 1px solid var(--neon-pink) !important;
  box-shadow: 0 0 30px rgba(255, 0, 85, 0.4), inset 0 0 15px rgba(255, 0, 85, 0.2) !important;
}
.project-card h3 {
  color: var(--neon-pink) !important;
  text-shadow: 0 0 5px rgba(255, 0, 85, 0.5) !important;
}
.project-card .project-category {
  color: #e0ccff !important;
}

/* CTA & Footer */
.full-width-dark {
  background-color: #080112 !important;
  border-top: 1px solid rgba(176, 0, 255, 0.2) !important;
}
.contact-panel .eyebrow {
  color: var(--neon-pink) !important;
  text-shadow: 0 0 8px rgba(255, 0, 85, 0.5) !important;
}
.button-light {
  background: linear-gradient(90deg, #ff0055, #b000ff) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 0 20px rgba(255, 0, 85, 0.5) !important;
}
.button-light:hover {
  box-shadow: 0 0 30px rgba(255, 0, 85, 0.8) !important;
  transform: scale(1.05) !important;
}

.footer-group strong {
  color: var(--neon-purple) !important;
  text-shadow: 0 0 5px var(--neon-glow) !important;
}
.footer-group a:hover {
  color: var(--neon-pink) !important;
  text-shadow: 0 0 8px rgba(255, 0, 85, 0.6) !important;
}

/* Selection */
::selection {
  background: var(--neon-pink) !important;
  color: white !important;
}


/* ==========================================================================
   🚀 ADVANCED 3D NEON CYBERPUNK STYLES 🚀
   ========================================================================== */

/* Enhanced Global Glow */
body {
    background: radial-gradient(circle at 10% 20%, #1a032e 0%, #05010d 50%, #0f021f 100%) !important;
}

/* 3D Glassmorphism Cards with Neon Border */
.project-card {
    background: linear-gradient(145deg, rgba(30, 5, 60, 0.7), rgba(10, 2, 20, 0.9)) !important;
    border: 1px solid rgba(255, 0, 128, 0.3) !important;
    border-radius: 20px !important;
    position: relative;
    overflow: visible !important;
    z-index: 1;
}

/* Glossy 3D Reflection on Cards */
.project-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1), transparent);
    border-radius: 20px 20px 0 0;
    pointer-events: none;
    z-index: 2;
}

/* Pulse Animation for Cards on Hover */
@keyframes neonPulse {
    0% { box-shadow: 0 0 20px rgba(255, 0, 85, 0.4), inset 0 0 10px rgba(255, 0, 85, 0.2); }
    50% { box-shadow: 0 0 40px rgba(176, 0, 255, 0.6), inset 0 0 20px rgba(176, 0, 255, 0.4); }
    100% { box-shadow: 0 0 20px rgba(255, 0, 85, 0.4), inset 0 0 10px rgba(255, 0, 85, 0.2); }
}

.project-card:hover {
    transform: translateY(-15px) perspective(1000px) rotateX(2deg) rotateY(2deg) !important;
    border: 1px solid rgba(255, 0, 128, 0.8) !important;
    animation: neonPulse 2s infinite alternate !important;
}

/* 3D Styling for Categories / Tags (Icons) */
.project-card .project-category {
    display: inline-block;
    padding: 6px 12px !important;
    background: linear-gradient(90deg, rgba(176,0,255,0.2), rgba(255,0,85,0.2)) !important;
    border: 1px solid rgba(176, 0, 255, 0.5) !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5), inset 0 2px 5px rgba(255,255,255,0.2) !important;
    color: #fff !important;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5) !important;
}

/* Mega Menu 3D Buttons */
.mega-dropdown .filter {
    border-radius: 15px !important;
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.1), 0 5px 15px rgba(0,0,0,0.5) !important;
}

.mega-dropdown .filter:hover {
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: inset 0 2px 10px rgba(255,255,255,0.4), 0 10px 20px rgba(255, 0, 128, 0.5) !important;
}

/* Animated Gradient CTA */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.button-light, .header-cta {
    background: linear-gradient(270deg, #ff0055, #b000ff, #ff00a0, #6600ff) !important;
    background-size: 300% 300% !important;
    animation: gradientMove 4s ease infinite !important;
    border-radius: 50px !important;
    box-shadow: 0 5px 15px rgba(255, 0, 128, 0.5), inset 0 2px 5px rgba(255,255,255,0.4) !important;
}

.button-light:hover, .header-cta:hover {
    transform: scale(1.1) translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(176, 0, 255, 0.8), inset 0 2px 10px rgba(255,255,255,0.6) !important;
}


/* Fix Main Layout (Remove old flex layout that causes gaps) */
main#main {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Ensure catalog (collection) has proper top margin */
.catalog {
    margin-top: 20px !important;
    padding-top: 40px !important;
}


/* ==========================================================================
   🔧 FIXES: BLURRY IMAGES & SIDEBAR COLORS 🔧
   ========================================================================== */

/* 1. Remove the 'fog' (dbaba) glossy effect from the images */
.project-card::before {
    display: none !important; /* Remove the white overlay causing fog */
}
.project-card {
    background: rgba(15, 2, 30, 0.9) !important; /* Make card darker so image pops */
}
.project-card img, .project-card video, .project-card iframe {
    opacity: 1 !important;
    filter: none !important;
}

/* 2. Fix Sidebar Menu Colors */
.filter-sidebar {
    background: var(--paper) !important;
    border-right: 1px solid var(--neon-purple) !important;
    box-shadow: 5px 0 20px rgba(176, 0, 255, 0.2) !important;
}

.filter-sidebar .filter {
    background: rgba(176, 0, 255, 0.1) !important;
    color: var(--white) !important;
    border: 1px solid rgba(176, 0, 255, 0.3) !important;
    margin-bottom: 10px !important;
    border-radius: 10px !important;
}

.filter-sidebar .filter:hover, .filter-sidebar .filter[aria-pressed="true"], .filter-sidebar .filter.active {
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink)) !important;
    color: var(--white) !important;
    border-color: transparent !important;
    box-shadow: 0 0 15px var(--neon-glow) !important;
}

.filter-sidebar .filter-count {
    background: rgba(0, 0, 0, 0.5) !important;
    color: var(--white) !important;
}


/* ==========================================================================
   🚨 URGENT FIXES: DROPDOWNS & WHITE SECTION 🚨
   ========================================================================== */

/* 1. Fix the Header Menus (Make them actual dropdowns) */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.mega-dropdown {
    display: none; /* Hide by default */
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(11, 2, 22, 0.95) !important;
    min-width: 200px;
    padding: 10px;
    border: 1px solid var(--neon-purple) !important;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px var(--neon-glow) !important;
    z-index: 2000;
    flex-direction: column;
    gap: 5px;
}

/* Show dropdown on hover */
.nav-dropdown:hover .mega-dropdown {
    display: flex !important;
}

/* Fix buttons inside dropdown so they stack */
.mega-dropdown .filter {
    display: block;
    width: 100%;
    text-align: left;
    margin: 0 !important;
}

/* 2. Fix the Massive White Section ("Simple, du début à la fin") */
.process, .steps, section:not(.contact):not(.catalog):not(.hero) {
    background: var(--ink) !important; /* Force dark background */
    color: var(--white) !important;
    border-top: 1px solid rgba(176, 0, 255, 0.2) !important;
    border-bottom: 1px solid rgba(176, 0, 255, 0.2) !important;
}

/* Fix text colors in that white section */
.process *, .steps *, section:not(.contact):not(.catalog):not(.hero) * {
    color: var(--white) !important;
}
.process .eyebrow, .steps .eyebrow, section .eyebrow {
    color: var(--neon-pink) !important;
}
.process h2, .process h3 {
    color: var(--white) !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2) !important;
}
.process p, .steps p {
    color: #d1b3ff !important;
}

/* Fix circles/numbers in the process section */
.process .step-number, .steps .step-number, .circle {
    background: rgba(176, 0, 255, 0.1) !important;
    border: 1px solid var(--neon-pink) !important;
    color: var(--neon-pink) !important;
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.5) !important;
}

/* Ensure background gradient applies everywhere */
body {
    background-color: var(--ink) !important;
    background-image: none !important; /* Remove gradient that might cut off */
}


/* ==========================================================================
   📱 MOBILE & PREMIUM CLEANUP (FINAL TOUCHES) 📱
   ========================================================================== */

/* --- 1. Header Mobile Perfection --- */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap !important;
        gap: 10px !important;
        justify-content: space-between !important;
        padding: 10px 15px !important;
    }
    
    .brand-name {
        font-size: 1.2rem !important;
    }

    /* Stack navigation on mobile to avoid horizontal scroll */
    .header-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 5px;
    }
    
    /* Make dropdowns full width on mobile */
    .nav-dropdown {
        width: 100%;
    }
    
    .dropdown-toggle {
        width: 100%;
        text-align: left;
        padding: 10px !important;
        background: rgba(176, 0, 255, 0.1) !important;
        border-radius: 8px !important;
    }

    .mega-dropdown {
        position: relative !important;
        top: 0 !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 2px solid var(--neon-purple) !important;
        background: transparent !important;
        padding-left: 15px !important;
        margin-top: 5px !important;
    }
    
    .project-grid {
        grid-template-columns: 1fr !important; /* Single column for projects on mobile */
    }
    
    .contact-panel {
        padding: 20px !important;
    }
    
    .footer-main.wrap {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
}

/* --- 2. Color Cleanup & Readability --- */

/* Ensure form inputs (search) don't look broken */
input[type="search"], .search-box {
    background: rgba(11, 2, 22, 0.8) !important;
    border: 1px solid rgba(176, 0, 255, 0.4) !important;
    color: var(--white) !important;
}

input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Cleanup contact section gradient to match neon */
.contact.full-width-dark {
    background: linear-gradient(180deg, var(--ink) 0%, #15032a 100%) !important;
    border-top: 1px solid rgba(176, 0, 255, 0.3) !important;
}

/* Smooth transitions for EVERYTHING */
* {
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* Avoid flashing/breaking transitions on pseudo elements */
.project-card::before, .project-card::after {
    transition: none !important;
}


/* ==========================================================================
   🚀 INLINE SCROLLABLE CATEGORIES IN HEADER 🚀
   ========================================================================== */

.scrollable-categories {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    gap: 10px !important;
    padding: 10px !important;
    max-width: 60vw;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollable-categories::-webkit-scrollbar {
    display: none;
}

.header-filter {
    background: rgba(176, 0, 255, 0.1) !important;
    color: var(--white) !important;
    border: 1px solid rgba(176, 0, 255, 0.3) !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-size: 0.9rem !important;
    cursor: pointer;
    flex-shrink: 0; /* Prevent squishing */
    transition: all 0.3s ease !important;
}

.header-filter:hover, .header-filter.active, .header-filter[aria-pressed="true"] {
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink)) !important;
    border-color: transparent !important;
    box-shadow: 0 0 15px var(--neon-glow) !important;
    color: white !important;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .scrollable-categories {
        max-width: 100vw;
        padding-bottom: 5px !important;
    }
}


/* ==========================================================================
   🔧 FIX: MAKE ALL HEADER CATEGORIES VISIBLE (WRAP INSTEAD OF SCROLL) 🔧
   ========================================================================== */

.scrollable-categories {
    display: flex !important;
    flex-wrap: wrap !important; /* Wrap instead of scroll */
    justify-content: center !important;
    overflow-x: visible !important;
    white-space: normal !important;
    max-width: 100% !important; /* Take full width */
    width: 100% !important;
}

/* Header inner flex adjustment so the categories don't squash other buttons */
.header-inner {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 15px !important;
}

/* Ensure the header filter buttons don't get cut off */
.header-filter {
    flex-shrink: 0;
    margin-bottom: 5px;
}


/* ==========================================================================
   🔧 FIX: THIN HEADER & 1-LINE SCROLLABLE CATEGORIES 🔧
   ========================================================================== */

/* Force header to be thin and single line */
.header-inner {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 20px !important;
    height: 70px !important; /* Fixed thin height */
    overflow: hidden !important;
}

/* Force categories into ONE line with horizontal scrolling */
.scrollable-categories {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important; /* NO WRAPPING */
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 10px !important;
    margin: 0 !important;
    max-width: 60vw !important; /* Constrain width so it scrolls */
    
    /* Smooth scrolling */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    
    /* Hide scrollbar for a clean look but allow scrolling */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.scrollable-categories::-webkit-scrollbar {
    display: none;
}

/* Ensure the pills don't shrink or break */
.header-filter {
    display: inline-block !important;
    flex-shrink: 0 !important; /* NEVER SHRINK */
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 6px 14px !important;
    font-size: 0.85rem !important; /* Slightly smaller to fit better */
}

/* Adjust the other buttons so they stay inline */
.menu-toggle, .filter-sidebar-toggle {
    flex-shrink: 0 !important;
    margin: 0 !important;
}

/* Override mobile layout for this specific thin header */
@media (max-width: 768px) {
    .header-inner {
        height: auto !important;
        flex-wrap: wrap !important;
    }
    .scrollable-categories {
        max-width: 100vw !important;
        order: 3; /* Move to bottom of header on mobile */
        padding-bottom: 10px !important;
    }
}


/* ==========================================================================
   🔧 ULTIMATE FIX: HEADER SCROLLING UX 🔧
   ========================================================================== */

/* Fix the header flex layout */
.header-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 20px !important;
    height: 75px !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Make categories take all available middle space */
.scrollable-categories {
    flex: 1 !important; /* Take up remaining space */
    max-width: none !important; /* Remove 60vw restriction */
    margin: 0 20px !important; /* Breathing room */
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    align-items: center !important;
    gap: 12px !important;
    padding-bottom: 5px !important; /* Space for scrollbar */
    
    /* Show a sleek custom scrollbar for desktop users so they know they can scroll */
    scrollbar-width: thin !important;
    scrollbar-color: var(--neon-purple) transparent !important;
}

/* Custom Webkit Scrollbar */
.scrollable-categories::-webkit-scrollbar {
    display: block !important;
    height: 4px !important; /* Very thin */
}
.scrollable-categories::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 4px !important;
}
.scrollable-categories::-webkit-scrollbar-thumb {
    background: var(--neon-purple) !important;
    border-radius: 4px !important;
}
.scrollable-categories::-webkit-scrollbar-thumb:hover {
    background: var(--neon-pink) !important;
}

/* Ensure the pills stay pristine */
.header-filter {
    display: inline-block !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 8px 16px !important;
    font-size: 0.9rem !important;
}


/* ==========================================================================
   🔧 FIX: CLASSIC HEADER MENU (LESS SPACE, CLEANER) 🔧
   ========================================================================== */

/* Reduce gap between categories to make them closer (classic) */
.scrollable-categories {
    gap: 2px !important; /* Almost no space between them */
}

/* Classic Button Styling */
.header-filter {
    background: transparent !important; /* Remove the permanent pill background */
    border: none !important; /* Remove borders */
    border-radius: 8px !important; /* Softer radius instead of extreme pills */
    padding: 8px 12px !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.7) !important; /* Dimmed text */
}

/* Hover & Active States (Classic but neon) */
.header-filter:hover, .header-filter.active, .header-filter[aria-pressed="true"] {
    background: transparent !important;
    color: var(--neon-pink) !important;
    box-shadow: none !important;
    transform: none !important; /* Stop the bouncing/moving */
    text-shadow: 0 0 10px rgba(255, 0, 85, 0.6) !important; /* Just a text glow */
}

/* Add a classic underline effect on hover/active instead of full box */
.header-filter::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    transition: width 0.3s;
    margin-top: 4px;
}
.header-filter:hover::after, .header-filter.active::after, .header-filter[aria-pressed="true"]::after {
    width: 100%;
}


/* ==========================================================================
   🔧 FIX: NO SCROLLING & MICRO TEXT MENU 🔧
   ========================================================================== */

/* Disable scrolling completely, let it fit */
.scrollable-categories {
    overflow-x: hidden !important; /* NO SCROLLING */
    justify-content: center !important;
    padding: 0 !important;
    gap: 8px !important; /* Minimal gap */
}

/* Hide scrollbar strictly */
.scrollable-categories::-webkit-scrollbar {
    display: none !important;
}

/* Make font super tiny and compact to fit all words */
.header-filter {
    font-size: 11px !important; /* Micro size */
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important; /* Make it look like a pro HUD */
    padding: 4px 6px !important;
}

/* Ensure the header itself isn't too cramped */
.header-inner {
    padding: 5px 15px !important;
}


/* ==========================================================================
   🔧 FIX: INCREASE FONT SIZE FOR CLASSIC MENU 🔧
   ========================================================================== */

/* Restore a reasonable gap now that words are short */
.scrollable-categories {
    gap: 15px !important;
}

/* Increase font size and padding so it's readable */
.header-filter {
    font-size: 14px !important; /* Bigger, readable size */
    padding: 6px 10px !important;
    font-weight: 500 !important;
    letter-spacing: 0.2px !important;
    text-transform: capitalize !important; /* Back to normal capitalization, not shouting */
}


/* ==========================================================================
   🔧 FIX: COMPACT CARD CONTENT (10% SPACE) & VISIBLE COLORS 🔧
   ========================================================================== */

/* Make the image take up most of the space */
.project-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.project-image {
    flex-grow: 1 !important; /* Let image take all available space */
    aspect-ratio: auto !important; /* Remove fixed ratio if it restricts growth */
    min-height: 250px !important;
}

.project-image img {
    height: 100% !important;
    object-fit: cover !important;
}

/* Shrink the content area significantly (just 10-20% of the feel) */
.project-content {
    padding: 12px 15px !important; /* Tiny padding */
    gap: 5px !important; /* Tiny gap */
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    background: var(--dark-purple) !important;
}

/* Make texts smaller to fit perfectly */
.project-title {
    font-size: 1.1rem !important; /* Smaller title */
    margin: 0 !important;
    line-height: 1.2 !important;
}

.project-category {
    font-size: 0.65rem !important; /* Micro category */
    padding: 3px 8px !important;
    margin: 2px 0 !important;
    display: inline-block !important;
}

/* Make description 1 line only with ellipsis to save space */
.project-description {
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.85) !important; /* Brighter color so it's visible */
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important; /* Just 1 line! */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.3 !important;
}

/* FIX BUTTON COLORS (Make them BAYNI / Visible) */
.project-link, .project-content .btn, .project-content a {
    margin-top: 5px !important;
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink)) !important;
    color: white !important;
    border: none !important;
    border-radius: 5px !important;
    text-align: center !important;
    text-decoration: none !important;
    font-weight: bold !important;
    display: block !important;
    box-shadow: 0 2px 10px rgba(255, 0, 85, 0.4) !important;
    transition: all 0.3s ease !important;
}

.project-link:hover, .project-content .btn:hover, .project-content a:hover {
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.7) !important;
    transform: scale(1.02) !important;
}


/* ==========================================================================
   🔧 FIX: REMOVE EMPTY SPACE ABOVE CARDS 🔧
   ========================================================================== */

/* Push the catalog directly below the header with 0 wasted space */
.catalog {
    padding-top: 10px !important; /* Minimal breathing room */
    margin-top: 0 !important;
}

main {
    padding-top: 80px !important; /* Just enough for the fixed header (which is ~70px) */
}

/* Ensure grid starts immediately */
.catalog-grid {
    margin-top: 0 !important;
    padding-top: 0 !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important; /* Allow 4 columns easily on large screens */
}

/* For huge screens, allow 4 columns to show 8 cards perfectly */
@media (min-width: 1400px) {
    .catalog-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}


/* ==========================================================================
   ✨ NADI EFFECTS: CUSTOM CURSOR & PARTICLES ✨
   ========================================================================== */

/* Disable default cursor for the whole body to show custom one */
body {
    cursor: none !important;
}

/* Ensure hoverables also have no native cursor so custom one shines */
a, button, input, .project-card, .filter {
    cursor: none !important;
}

/* Custom Cursor Dot */
.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--neon-pink);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 999999;
    box-shadow: 0 0 10px var(--neon-pink);
    transition: transform 0.2s ease, background-color 0.2s;
}

/* Custom Cursor Outline */
.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid var(--neon-purple);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 999998;
    box-shadow: 0 0 15px rgba(176, 0, 255, 0.4);
    transition: width 0.2s ease, height 0.2s ease, border-color 0.2s;
}

/* Hover States for Cursor */
.cursor-dot.cursor-hover {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: #fff;
    box-shadow: 0 0 15px #fff;
}
.cursor-outline.cursor-hover {
    width: 50px;
    height: 50px;
    border-color: var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.6);
    background-color: rgba(255, 0, 85, 0.05); /* Slight fill on hover */
}

/* Particles Canvas Background */
#particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Behind everything */
    pointer-events: none;
    background: transparent;
}


/* ==========================================================================
   🔧 FIX: SECONDARY BUTTON AND DESCRIPTION WRAPPING 🔧
   ========================================================================== */

/* Fix description to be exactly ONE line using reliable nowrap */
.project-description {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    font-size: 0.75rem !important; /* Slightly smaller to fit more words */
    margin-bottom: 5px !important;
}

/* Base button sizing - make them compact */
.project-content .btn, .project-content a {
    padding: 5px 10px !important;
    font-size: 0.75rem !important;
    margin-top: 4px !important;
}

/* Primary Button (Explorer le modèle) - Keep the neon glow */
.project-content a.btn-primary {
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink)) !important;
    color: white !important;
    border: none !important;
}

/* Secondary Button (Ce modèle m'intéresse) - Ghost outline style */
.project-content a.btn-secondary {
    background: transparent !important;
    border: 1px solid var(--neon-pink) !important;
    color: var(--neon-pink) !important;
    box-shadow: none !important;
}

.project-content a.btn-secondary:hover {
    background: rgba(255, 0, 85, 0.1) !important;
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.4) !important;
}


/* ==========================================================================
   🔧 FIX: BUTTONS SIDE-BY-SIDE TO SAVE SPACE 🔧
   ========================================================================== */

/* Make the actions container flex so buttons are side-by-side */
.project-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    justify-content: space-between !important;
    margin-top: 5px !important;
}

/* Ensure buttons take equal space */
.project-content .btn, .project-content a.btn-primary, .project-content a.btn-secondary {
    flex: 1 !important;
    margin-top: 0 !important;
    padding: 6px 4px !important; /* Very tight padding */
    font-size: 0.65rem !important; /* Tiny font to fit side-by-side */
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Revert custom cursor to be safe if user hates it */
body, a, button, input, .project-card, .filter {
    cursor: auto !important; /* Bring back standard cursor */
}

/* Hide the dot/outline so it doesn't glitch if they hated it */
.cursor-dot, .cursor-outline {
    display: none !important;
}


/* ==========================================================================
   🔧 ZERO WASTED SPACE: KILL ALL TOP PADDING/MARGIN ON CATALOG 🔧
   ========================================================================== */

#collection, .catalog {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

main#main {
    padding-top: 80px !important; /* Only enough for the fixed header height */
    margin-top: 0 !important;
}

.section-heading {
    display: none !important; /* Hard kill as a safety net */
}


/* ==========================================================================
   🔧 COMPACT GRID: SHOW CARDS IN 2 ROWS ON SCREEN 🔧
   ========================================================================== */

/* More columns per row = smaller cards = 2 rows fit on screen */
.catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 10px !important;
}

@media (min-width: 1200px) {
    .catalog-grid {
        grid-template-columns: repeat(6, 1fr) !important; /* 6 per row */
        gap: 10px !important;
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .catalog-grid {
        grid-template-columns: repeat(5, 1fr) !important; /* 5 per row */
    }
}

/* Make the card itself compact in height */
.project-card {
    min-height: unset !important;
    height: auto !important;
}

/* Shrink the image */
.project-image, .project-thumbnail {
    height: 130px !important;
    min-height: 130px !important;
    max-height: 130px !important;
    overflow: hidden !important;
}

.project-image img, .project-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Shrink the content area */
.project-content {
    padding: 8px 10px !important;
    gap: 3px !important;
}

/* Shrink title */
.project-title, .project-content h3 {
    font-size: 0.85rem !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Shrink category badge */
.project-category, .category-badge {
    font-size: 0.55rem !important;
    padding: 2px 6px !important;
    margin: 2px 0 !important;
}

/* Hide description to save space */
.project-description {
    display: none !important;
}

/* Make buttons very small and inline */
.project-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 5px !important;
    margin-top: 5px !important;
}

.project-content a.btn, .project-actions a {
    flex: 1 !important;
    font-size: 0.55rem !important;
    padding: 4px 3px !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}


/* ==========================================================================
   ♻️ REVERT: ANNULER TOUS LES CHANGEMENTS SUR LES CARTES 
   ========================================================================== */

/* Restore original grid - 4 columns */
.catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 20px !important;
}

@media (min-width: 1200px) {
    .catalog-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .catalog-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Restore original image height */
.project-image, .project-thumbnail {
    height: auto !important;
    min-height: unset !important;
    max-height: unset !important;
    aspect-ratio: 16/9 !important;
}

.project-image img, .project-thumbnail img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
}

/* Restore card content */
.project-content {
    padding: 15px !important;
    gap: 8px !important;
}

/* Restore title size */
.project-title, .project-content h3 {
    font-size: 1.1rem !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
}

/* Restore category badge */
.project-category, .category-badge {
    font-size: 0.7rem !important;
    padding: 4px 10px !important;
}

/* Restore description - show it again */
.project-description {
    display: block !important;
    font-size: 0.85rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Restore buttons */
.project-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    margin-top: 8px !important;
}

.project-content a.btn, .project-actions a {
    font-size: 0.8rem !important;
    padding: 7px 10px !important;
}


/* ==========================================================================
   🔧 FIX: TITLE + CATEGORY ON SAME LINE 🔧
   ========================================================================== */

/* Make the project-header a flex row so title and category sit side-by-side */
.project-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
}

/* Title: don't let it overflow */
.project-header h3, .project-title {
    font-size: 1rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex-shrink: 1 !important;
    margin: 0 !important;
}

/* Category badge: stays compact */
.project-header .category-badge, 
.project-header .project-category {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-size: 0.6rem !important;
    padding: 3px 7px !important;
    letter-spacing: 0.5px !important;
}
