/* ============================================================
   🟣 Root Variables
============================================================ */
:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --text-dim: #4b575a;
  --primary: #00C2FF;
  --accent: #d771e9;
  --card: #f8f8f8;

  --text-body: clamp(1rem, 1.75vw, 1.25rem);
  --text-subtitle: clamp(1.25rem, 2.5vw, 1.75rem);
  --text-title: clamp(2rem, 5vw, 3.5rem);

  
  --font-body: 'Roboto', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --letter-spacing-wide: 0.08em;

  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;


  --shadow: 0 10px 20px rgba(0,0,0,0.2);

  --space-xs: 0.25rem;
  --space-sm: .5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;

  --container-max: 1200px;
  --container-pad: 1rem;
  --container-max-min: clamp(80%, 30vw, 50%);

  --video-max-width: 100%;
  --video-height: auto;

  --button-bg: var(--accent);
  --button-padding: clamp(0.5rem, 2vw, 1rem) clamp(1rem, 4vw, 2rem);
  --button-radius: 2rem;
  --button-shadow: var(--shadow);
  --button-transition: all 0.3s ease;

}

/* ============================================================
   🧼 Global Resets & Base Elements
============================================================ */
* {
  position: relative;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: visible;
}


body {
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
}

h1, h2, h3, nav a {
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);

  font-size: var(--text-title);
  letter-spacing: var(--letter-spacing-wide);
}

p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text);
}


/* ============================================================
   🖼️ Background Image
============================================================ */
html {
  scroll-behavior: smooth;
}


/* ============================================================
   🧭 Header / Navigation
============================================================ */
#main-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  pointer-events: none;
  transition:
    background-color 0.5s ease,
    backdrop-filter 0.5s ease,
    box-shadow 0.5s ease,
    opacity 0.5s ease; /* 👈 this controls the fade-in */
}

.home #main-header {
  opacity: 0;
   height: 15vh; /* fade length */
}

.with-gradient #main-header {
  height: 15vh; /* fade length */
  background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%, #7de1ff 100%);
}


#main-header.scrolled {
  opacity: 1;
}


.home #main-header.scrolled::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15vh; /* fade length */
  background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%, #7de1ff 100%);
  pointer-events: none;
  z-index: 0;
}


#main-header .nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: black;
  font-size: var(--text-body);
  font-weight: 400;
  transition: color 0.3s ease;
  display: inline-block;
}


.navbar {
  color: white;
  z-index: 20000;
  left: 0;
  top: 1;
  width: 200%;
}

.nav-links a.highlight-link {
  background-color: var(--accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5%;
  font-weight: 800 !important;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: inline-block;
   /* 👈 Fixes scaling direction */
  vertical-align: middle;   /* 👈 Keeps text aligned properly */
}




.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: var(--text-body);
  letter-spacing: 0.08em; /* ⬅️ A bit more spacing to feel "open" and artistic */
  text-transform: uppercase; /* ⬅️ ALL CAPS for serious branding feel */
  color: var(--text);
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
  transition: color 0.3s ease;
}





.logo-wrapper:hover .logo-text {
  color: var(--accent);
  transition: color 0.3s ease;
}



/* Logo Swap */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  width: auto; /* allows text to flow next to logo */
  height: auto; /* avoid fixed heights, let content size naturally */
  transition: transform 0.2s ease;
  transform-origin: center center;
}


.logo-img {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0rem;
  width: 10%;
  height: 10%;
  transition: opacity 0.4s ease;
}

.logo-img.front {
  z-index: 2;
  opacity: 1;
  filter: brightness(0);
}

.logo-img.back {
  z-index: 1;
  opacity: 0;
}



/* ============================================================
   🎬 Hero Section
============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
 padding-top: 10vh !important;
}

.hero-title {
  font-size: var(--text-title);
  font-weight: 700;
  color: black;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: var(--text-subtitle);
  color: var(--text-dim);
  max-width: 80%;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.section-title,
.hero-title,
h1 {
  font-size: var(--text-title);
  text-align: center;
}

.cta-button {
  background-color: var(--accent);
  color: white;
  padding: var(--button-padding);
  border: none;
  border-radius: var(--button-radius);
  font-size: var(--text-body);
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.hero .cta-button {
  animation: auto-hover-prompt 1s ease 2s forwards;
}

@keyframes auto-hover-prompt {
  0% { transform: scale(1); }
  50% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.padding-top {
  padding-top: 22vh;
}

.padding-small {
  padding-top: 11vh;
}



.hero-ar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  gap: 2rem;
}


.ar-container {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 1; /* behind the text */
  overflow: hidden;
  touch-action: none;
  pointer-events: all;
}

.hero-ar-text {
  position: relative;
  z-index: 2; /* above AR */
  margin: 0 auto;
}


@media screen and (max-width: 768px) {
  .hero-ar {
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .hero-ar .ar-container {
    width: 100%;
    max-width: 100%;
  }

  .hero-ar-text {
    text-align: center;
  }
}


/* ============================================================
   🎥 Video Showcase Section
============================================================ */
.bloom-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-video {
    width: 100%;
    height: auto;
    max-height: none;
    top: 0;
    object-fit: contain;
    object-position: top;
  }

.hero-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

  .hero-content {
    padding-top: 60vh; /* Adjust if text overlaps or feels too tight */
    text-align: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    top: 0;
    left: 0;
    transform: none;
  }

  .hero-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }

  .hero-content {
    padding-top: 50vh; /* Adjust to taste */
    text-align: center;
  }
}



/* ============================================================
   bloom Background Images
============================================================ */

.bloom-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100% !important;
  pointer-events: none;
  z-index: -1; /* critical: put it behind all other content */
}





.bloom-img {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: 200vh; /* covers ~60% of screen width */
  max-width: none; /* override default max if needed */
  opacity: 1;
  transition: opacity 0.3s ease;
}


/* Optional override for layering above content */
.bloom-img.foreground {
  z-index: 10;
}

/* Custom positioning */
.bloom-left    { top: 50%;  transform: translateX(50%) !important ; }
.bloom-right   { bottom: 20%; right: 0; }
.bloom-top     { top: 0; left: 50%; transform: translateX(-50%); }
.bloom-bottom  { bottom: 60%; right: 5%; transform: translateX(50%); }

.parallax-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.parallax {
  position: absolute;
  will-change: transform;
  transform: translateY(0);
  transition: transform 0.1s ease-out;
}


/* ============================================================
   💼 Project Cards & Portfolio Grid
============================================================ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--card-min-width, 14rem), 1fr));
  gap: var(--space-lg);
  padding-left: 5%;
  padding-right: 5%;
}

@media (max-width: 400px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  background: var(--card);
  border-radius: var(--button-radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 36px 40px rgba(0, 0, 0, 0.22); /* Optional: turn into --shadow-hover if reused */
}

.project-img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.project-content {
  padding: var(--space-md);
  flex-grow: 1;
}

.project-content h3 {
  font-size: var(--text-subtitle);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-xs);
  color: var(--text);
  font-family: var(--font-heading);
}

.project-content p {
  font-size: var(--text-body);
  line-height: 1.5;
  color: var(--text-dim);
}

.work-hero { padding: 6rem 1.25rem 2rem; text-align: center; }
.work-hero h1 { font-family: Poppins, sans-serif; font-weight: 600; font-size: clamp(2rem, 3vw, 3rem); margin: 0 0 .5rem; }
.work-hero .sub { color: #8a8a8a; margin: 0; }

.work-grid {
  display: grid;
  gap: 1rem;
  padding: 1rem 1.25rem 4rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.work-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #222; /* sharp edges */
  background: #0b0b0b;   /* tweak to your theme */
}

.work-card .media {
  position: relative;
  aspect-ratio: 4/3;   /* prevents layout shift */
  overflow: hidden;
}

.work-card img,
.work-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card .hover-loop { opacity: 0; transition: opacity .2s ease; }

@media (hover:hover) and (pointer:fine) {
  .work-card:hover .hover-loop { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .work-card .hover-loop { transition: none; }
}

.work-card .meta { padding: .9rem 1rem 1rem; }
.work-card .meta h3 { font-family: Poppins, sans-serif; font-weight: 600; font-size: 1.05rem; margin: 0 0 .3rem; }
.work-card .meta p { margin: 0; color: #bdbdbd; font-size: .95rem; }


/* ============================================================
   🙋‍♂️ About Section
============================================================ */
.about-section, .about-preview {
  padding: var(--space-xl) var(--space-md);
  padding-top: calc(var(--space-xl) + 2rem); /* Ensures emphasis on top padding */
  text-align: center;
  background-color: var(--bg);
}

.about-section h1, .about-preview h2 {
  font-size: var(--text-title);
  color: var(--text);
  margin-bottom: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
}

.about-intro, .about-preview p {
  max-width: 80%;
  margin: 0 auto var(--space-md);
  font-size: var(--text-body);
  color: var(--text-dim);
  line-height: 1.6;
  font-family: var(--font-body);
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.about-card {
  background-color: var(--card);
  padding: var(--space-md);
  border-radius: var(--button-radius);
  max-width: 40%;
  text-align: left;
  color: var(--text);
  box-shadow: var(--shadow);
}

.about-card h2 {
  font-size: var(--text-subtitle);
  margin-bottom: var(--space-xs);
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: var(--weight-medium);
}

.about-card ul {
  list-style: none;
  padding: 0;
}

.about-card li {
  padding-left: var(--space-sm);
  margin-bottom: var(--space-xs);
  position: relative;
  font-family: var(--font-body);
  font-size: var(--text-body);
}

.about-card li::before {
  content: "•";
  color: var(--text);
  position: absolute;
  left: 0;
}





/* ============================================================
   📫 Contact Section
============================================================ */
.contact-section {
  padding: 6rem 1rem 3rem;
  padding-top: 8rem !important;
  text-align: center;
}


.contact-section h1 {
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: var(--container-max-min);
  margin: 2rem auto;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: none;
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font-body);
}

.contact-form textarea {
  min-height: 20vh;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
}

.direct-contact p {
  color: var(--text-dim);
  margin-top: 2rem;
}

.direct-contact a {
  color: var(--primary);
}


/* ============================================================
   📦 Utility / Shared
============================================================ */
.center {
  margin: auto;
  width: 90%;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

@media (min-width: 1600px) {
  .center {
    max-width: var(--container-max);
  }
}

@media (max-width: 768px) {
  .center {
    width: 95%;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
  }
}

.extra-section {
  background-color: #1e1e1e;
  color: var(--text);
  padding: var(--space-xl) var(--space-md);
  min-height: 100vh;
}

.site-footer {
  padding: var(--space-md);
  font-style: var(--font-body);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.card {
  background-color: var(--card);
  padding: var(--space-sm);
  border-radius: var(--button-radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}


/* ============================================================
   🔒 Privacy Policy Page Styling
============================================================ */
#privacy-policy {
  padding: var(--space-xl) var(--space-md);
  background-color: var(--bg);
  max-width: 80%;
  margin: 0 auto;
  line-height: 1.8;
}

#privacy-policy h1 {
  font-size: var(--text-title);
  font-family: var(--font-heading);
  color: var(--text);
  margin-bottom: var(--space-md);
  text-align: center;
}

#privacy-policy h2 {
  font-size: var(--text-subtitle);
  font-family: var(--font-heading);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--text);
}

#privacy-policy p,
#privacy-policy li {
  font-size: var(--text-body);
  color: var(--text-dim);
}

#privacy-policy ul {
  margin-left: var(--space-md);
  margin-bottom: var(--space-md);
}

#privacy-policy a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.2s ease;
}

#privacy-policy a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  #privacy-policy {
    padding: var(--space-lg) var(--space-sm);
  }

  #privacy-policy h1 {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  #privacy-policy h2 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
  }

  #privacy-policy p,
  #privacy-policy li {
    font-size: clamp(1rem, 3.5vw, 1.1rem);
  }
}



/* ============================================================
   📘 What is AR Page Styles
============================================================ */

/* Section Base */
.section {
  padding: var(--space-lg) var(--space-md);
  padding-top: var(--space-xl) !important;
  text-align: center;
  background-color: var(--bg);
}

.section-title {
  padding: var(--space-md) var(--space-md);
  font-size: var(--text-title);
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.section-subtitle {
  max-width: 70%;
  margin: 0 auto var(--space-md);
  font-size: var(--text-body);
  color: var(--text-dim);
  line-height: 1.6;
}

.section-cta {
  display: flex;
  justify-content: center;
  padding-top: var(--space-md);
  padding-bottom: var(--space-lg);
}

/* ============================================================
   📘 footer
============================================================ */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-links {
  margin-top: 0.5rem;
  display: inline-flex;
  gap: 1rem;
  align-items: center;
}

.footer-links a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}


.testimonials-section {
  background-color: var(--bg);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.testimonial-card {
  background-color: var(--card);
  padding: var(--space-md);
  border-radius: var(--button-radius);
  box-shadow: var(--shadow);
  text-align: left;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: var(--text-body);
  color: var(--text);
  margin-bottom: var(--space-sm);
  font-style: italic;
}

.testimonial-author {
  font-size: 0.95rem;
  color: var(--text-dim);
  font-weight: var(--weight-medium);
}

/* ============================================================
   📘 alt styling
============================================================ */

.premium-block {
  background: var(--card);
  border-radius: 1rem; /* Replaces 16px */
  padding: var(--space-lg) var(--space-md);
  max-width: 90%;
  margin: var(--space-lg) auto;
  box-shadow: var(--shadow);
  text-align: center;
}

.premium-intro {
  font-size: var(--text-subtitle);
  color: white !important;
  font-weight: var(--weight-regular);
  margin: var(--space-sm) 0;
}

.premium-description {
  font-size: var(--text-body);
  color: var(--text-dim);
  max-width: 40%;
  margin: 0 auto var(--space-md);
  line-height: 1.6;
}

.why-me-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 50%;
  text-align: left;
  padding-left: var(--space-md);
}

.why-me-list li {
  margin-bottom: var(--space-sm);
  font-size: var(--text-body);
  color: var(--text);
  position: relative;
  padding-left: 2.5rem; /* you can replace with a var if reused elsewhere */
}

.why-me-list li span {
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: var(--weight-bold);
}



/* Contact CTA (shared at bottom of pages) */
.contact-cta {
  padding: 6rem 2rem;
  text-align: center;
}

.contact-cta h2 {
  font-size: 2.5rem;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1rem;
}

.contact-cta p {
  max-width: 70%;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.extra-contact-info {
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  visibility: hidden !important;
}


.extra-contact-info label,
.extra-contact-info input {
  opacity: 0;
  pointer-events: none;
  user-select: none;
  height: 0;
  margin: 0;
  padding: 0;
  font-size: 0;
  font-family: 'Poppins', sans-serif;
}




.ar-cta-fixed {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  text-align: center;
}

.ar-cta-fixed .cta-button {
  background-color: var(--accent);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.ar-cta-fixed .cta-button:hover {
  background-color: #b832d9;
  transform: scale(1.05);
}

a-scene .a-enter-vr-button {
  display: none !important;
}

body {
  overscroll-behavior: auto; /* Allow swipe-to-refresh */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}
.ar-markers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 80%;
}
.ar-markers img {
  width: 80% !important;
  max-width: 40%;
  height: auto;
  border-radius: 12px;
}


.rounded-img {
  border-radius: 12px !important;
}


/* ============================================================
   📱 Mobile AR CTA Button*/
.mobile-ar-cta {
  display: none;
}

@media (max-width: 768px) {

  .logo-img {
    display: block; /* Show on mobile */
    width: 3rem; /* optional: shrink slightly for small screens */
    height: 3rem;
     transform: translateY(-1.5rem); 
  }

  .logo-text {
    display: none !important;
  }

.auto-hover.cta-button {
  background-color: #b832d9;
  transform: scale(1.075);
}

.auto-hover.project-card {
  transform: scale(1.05);
  box-shadow: 0 0px 48px var(--accent);
}

.auto-hover.logo-wrapper {
  transform: scale(1.075);
}

.ar-demo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
  margin-top: 2rem;
  text-align: center;
}

.ar-demo-item {
  flex: 1 1 30%;
  max-width: 30%;
  gap: 4rem
}


@media (min-width: 768px) {
  .ar-demo-grid-multi {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }

  .ar-demo-grid-multi > div {
    flex: 1;
    max-width: p;
  }
}
  .ar-markers {
   flex-direction: row;
   flex-wrap: wrap;
   justify-content: center;
}
}

/* 1. Standard way (works on iOS + most) */
@media (hover: none) and (pointer: coarse) {
  a:hover,
  .cta-button:hover,
  .project-card:hover,
  .card:hover,
  .logo-wrapper:hover,
  .nav-links a:hover,
  .nav-links a.highlight-link:hover,
  .cta-circle-button:hover {
    transform: none !important;
    background-color: inherit !important;
    color: inherit !important;
    box-shadow: none !important;
    transition: none !important;
  }
}

/* 2. JavaScript-detected fallback (fixes Android Chrome issues) */
/* JavaScript-detected fallback (fixes Android Chrome issues) */
.no-hover a:hover,
.no-hover .cta-button:hover,
.no-hover .project-card:hover,
.no-hover .card:hover,
.no-hover .logo-wrapper:hover,
.no-hover .nav-links a:hover,
.no-hover .nav-links a.highlight-link:hover,
.no-hover .cta-circle-button:hover {
  transform: none !important;
  background-color: inherit !important;
  color: inherit !important;
  box-shadow: none !important;
  transition: none !important;
}

@media (hover: hover) and (pointer: fine) {
  .benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0px 48px var(--accent);
  }
  .card:hover {
    transform: translateY(-4px);
  }
  .direct-contact a:hover {
    color: var(--accent);
    transform: scale(1.05);
  }
  .project-card:hover {
    transform: scale(1.025);
    box-shadow: 0 0px 48px var(--accent);
  }
  .cta-button:hover {
    background-color: #b832d9;
    transform: scale(1.075);
  }
  .logo-wrapper:hover .logo-img.front {
    opacity: 0;
  }
  
  .logo-wrapper:hover .logo-img.back {
    opacity: 1;
  }
  .logo-wrapper:hover {
    transform: scale(1.025); /* matches your CTA button hover scale */
    transform-origin: center center !important;
  }
  .nav-links a.highlight-link:hover {
    background-color: #b832d9;
    transform: scale(1.05);

  }
  .nav-links a:hover {
    color: var(--accent);
    transform: scale(1.05);
  }

}