body,
html {
  scroll-behavior: smooth; /* smooth scroll */
  width: 100%;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
}

body {
  scroll-snap-type: y mandatory; /* enables vertical snapping */
  overflow-y: scroll;
}

.page-section {
  scroll-snap-align: start; /* each section snaps to top */
  transition: transform 0.4s ease;
}

.hero-section {
  scroll-snap-align: start; /* each section snaps to top */
  height: calc(var(--vh) * 100);
  display: flex;
  background: linear-gradient(to right, #00000096 0%, #000000 100%);
}

.top {
  color: white !important;
}

.blur-video {
  filter: blur(2px);
}

#particles-bg {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  contain: layout paint; /* force isolation */
  backface-visibility: hidden;
  transform: translateZ(0); /* force GPU promotion */
}

#particles-bg {
  mask-image: linear-gradient(to top, rgb(0, 0, 0) 30%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.555) 30%,
    rgba(0, 0, 0, 0) 100%
  );
}

.left-side {
  width: 40%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 0, 0, 0);
  position: relative;
}

.right-side {
  display: flex;
  padding: 3%;
  width: 60%;
  height: 100%;
  color: black;
}

.diagonal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #414141ab; /* or any color you want */
  clip-path: polygon(100% 33%, 38% 100%, 100% 100%);
  z-index: 1;
  pointer-events: none; /* Let buttons under it stay clickable */
  opacity: 0.5; /* Optional transparency */
}

.video-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40%; /* same as video or responsive */
  height: 55%; /* show only top 85% */
  overflow: hidden; /* crops the video */
  z-index: 1000;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.main-title {
  font-size: 4rem;
  position: relative;
  font-weight: bold;
  z-index: 1000;
}

.price-emphasis {
  position: relative;
  display: inline-block;
}

.price-text {
  color: white !important;
  display: inline-block;
  font-weight: 900;
  font-size: 4rem;
  background: linear-gradient(
    120deg,
    #0a0a0a 0%,
    #0a0a0a 40%,
    #0053a1 50%,
    #0a0a0a 60%,
    #0a0a0a 100%
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: shimmerSweep 3s infinite ease-in-out;
  z-index: 1;
  position: relative;
}

.price-emphasis::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.15em;
  width: 100%;
  height: 0.7em;
  background: rgb(22, 138, 255);
  border-radius: 4px;
  z-index: 0; /* sits between container and text */
}

@keyframes shimmerSweep {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: 0% center;
  }
}

.cta-container {
  width: 100%;
  margin-top: 10%;
  display: flex;
  margin-left: 20%;
}

.cta-button {
  display: inline-block;
  padding: 1.75rem 3.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  background-color: #658eff; /* dark gray */
  color: #1e1e1e;
  border: 2px solid #1e1e1e;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 1;
  isolation: isolate;
}

/* Shimmer effect using ::before */
.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(148, 202, 255, 0.2),
    transparent
  );
  transform: skewX(-20deg);
  animation: shimmer 2.5s infinite linear;
  z-index: -1;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    left: -75%;
  }
  100% {
    left: 100%;
  }
}

.subtitle {
  color: white !important;
  font-size: 1.5rem;
  font-weight: 400;
  display: flex;
  gap: 0.5rem;
}

.word {
  transition: font-weight 0.3s;
  font-weight: 400;
}

.word.active {
  font-weight: 700; /* bold */
}

/* Hover interaction */
.cta-button:hover {
  background-color: #429ffd;
  color: #0a0a0a;
  border-color: #94caff;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.514);
  transform: translateY(-2px) scale(1.02);
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
}
.cta-button:active {
  transform: scale(0.97);
}

.video-section {
  scroll-snap-align: start; /* each section snaps to top */
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.233);
}

#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Gradient overlays */
.video-section::before,
.video-section::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 15%; /* adjust height for stronger effect */
  pointer-events: none; /* so it doesn’t block clicks */
  z-index: 1;
}

.video-section::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
}

.video-section::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  color: white;
  z-index: 2; /* above gradients */
}

.video-overlay h1,
.video-overlay p {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.video-overlay h1 {
  font-size: clamp(1.8rem, 2vw + 2rem, 3.5rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.video-overlay p {
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.5rem);
  font-weight: 400;
  margin: 0;
}

.device-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background: linear-gradient(to bottom, #1a1a1a, #0a0a0a);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  perspective: 300px; /* Controls depth — smaller = more intense */
  overflow: hidden;
}

.floor {
  position: absolute;
  bottom: 0px; /* pull it slightly below view for realism */
  left: 50%;
  width: 100%;
  height: 50%;
  transform: translateX(-50%) rotateX(80deg) rotateZ(15deg); /* smaller angle = more visible */
  transform-origin: center top;
  background-color: #8f8f8f00;
  background-image: linear-gradient(#c5c5c54d 1px, transparent 1px),
    linear-gradient(90deg, #c5c5c54d 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 0;
}

.left-part {
  display: flex;
  align-items: center;
  width: 60%;
  height: 100%;
  background: rgba(0, 81, 255, 0);
  padding: 5%;
}

.left-part .content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.left-part .main-title {
  color: white !important;
  font-size: 3rem;
  font-weight: 400 !important;
  opacity: 0.8;
  line-height: 1.2;
}

.left-part .main-title .highlight {
  font-weight: bold;
  color: #4ba2ff;
  opacity: 1;
}

/* === Card Grid === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* === Feature Card === */
.feature-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.feature-card .material-symbols-outlined {
  font-size: 2.8rem;
  color: #4ba2ff;
  margin-right: 1rem;
  flex-shrink: 0;
}

.feature-card .feature-text h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: white;
}

.feature-card .feature-text p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.right-part {
  display: flex;
  width: 40%;
  height: 100%;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.gradient-box {
  position: absolute;
  margin-top: 80vh;
  bottom: 0;
  right: 12vw;
  width: 12.5%; /* 🔧 adjust width here */
  height: 25%; /* 🔧 adjust height here */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.8),
    rgba(0, 0, 0, 0)
  );
  pointer-events: none; /* lets clicks pass through */
}

.device-render {
  display: flex;
  width: 100%;
  height: 80%;
}

.device-render img {
  margin-top: 10%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1000;
}

@media (max-width: 768px) {
  .device-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100vh; /* keep full height */
    overflow: hidden;
    background: #000;
    padding: 0;
  }

  .right-part {
    width: 100%;
    position: absolute;
    z-index: 1;
    top: 10vh;
    opacity: 0.6;
  }

  .floor {
    display: flex;
  }

  /* === CONTENT AREA === */
  .left-part {
    position: relative;
    padding: 0;
    z-index: 2;
    height: 100%;
    width: 100%;
    text-align: center;
    transform: translateY(-5%); /* pull up slightly */
  }

  .left-part .content-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 0rem;
  }

  .left-part .main-title {
    font-size: 1.7rem;
    color: #fff;
    margin-bottom: 1.8rem;
  }

  .left-part .highlight {
    color: #4ba2ff;
  }

  /* === FEATURE GRID (2x2 Compact) === */
  .features-grid {
    display: grid;
    height: 30vh;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    justify-items: center;
  }

  .feature-card {
    width: 100%;
    max-width: 140px;
    min-height: 120px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.8rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
  }

  .feature-card:hover {
    transform: translateY(-4px);
  }

  .feature-card .material-symbols-outlined {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
    color: #4ba2ff;
  }

  .feature-card .feature-text h3 {
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 0.2rem;
  }

  .feature-card .feature-text p {
    display: none;
  }

  .device-render {
    width: 120%;
    display: flex;
    justify-content: center;
    overflow: visible !important;
  }

  .device-render img {
    margin-top: 1%;
    max-width: 100%;
    margin-left: 45%;
    height: auto;
    overflow: visible !important;
  }
}

.portal-section {
  display: flex;
  position: relative;
  overflow: hidden;
  padding: 2%;
  flex-direction: column;
  background: radial-gradient(circle, #242424, #0a0a0a);
  height: 100vh;
}

.portal-title {
  color: white;
  font-size: 2rem;
}

.portal-content {
  display: flex;
  flex-direction: row;
  height: 90%;
  width: 100%;
}

.portal-left {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 3%;
  color: white;
  width: 60%;
  height: 100%;
  background: rgba(255, 0, 0, 0);
  z-index: 2;
}

.portal-step-top {
  width: 80%;
  height: 30%;
  display: flex;
}

.presentracker-device {
  width: 40%;
  display: flex;
  justify-content: flex-end;
}

.presentracker-device img {
  height: 80%;
  object-fit: cover;
  display: block;
}

.presentracker-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  height: 80%;
}

.portal-step-bottom {
  width: 80%;
  height: 70%;
  display: flex;
  flex-direction: column;
}

.portal-title .highlight {
  font-size: 2.5rem;
  font-weight: 700;
}

.scanner-mirrored {
  width: 100%;
  height: 70%;
  display: flex;
}

.scanner-mirrored img {
  height: 100%;
  margin-top: 12%;
  object-fit: cover;
  display: block;
}

.scanner-text {
  display: flex;
  font-size: 1rem;
  font-weight: 700;
  height: 30%;
}

.portal-right {
  display: flex;
  width: 60%;
  height: 100%;
  position: relative; /* important for layering context */
  z-index: 2;
  transform: translateX(900px);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.portal-section.visible .portal-right {
  opacity: 1;
  transform: translateX(0);
}

.phone-text {
  width: 45%;
  height: 100%;
  display: flex;
  text-align: right;
  flex-direction: column;
  justify-content: center;
}

.right-title {
  color: white;
  font-size: 2.5rem;
}

.phone-mockup {
  position: absolute; /* makes it float freely */
  width: 100%;
  height: 150%;
  left: 10vw;
  bottom: -10vh;
  display: flex;
}

.phone-mockup img {
  height: 100%;
  object-fit: cover;
  display: block;
}

.demo-button {
  background: linear-gradient(135deg, #ff6b6b, #ff3b3b);
  color: white;
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 90, 90, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* subtle light reflection sweep */
.demo-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  transition: all 0.6s ease;
}

/* hover effect */
.demo-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 90, 90, 0.55);
  background: linear-gradient(135deg, #ff5b5b, #ff2020);
}

/* animated shine moves on hover */
.demo-button:hover::before {
  left: 120%;
}

/* optional active click effect */
.demo-button:active {
  transform: scale(0.97);
  box-shadow: 0 4px 15px rgba(255, 90, 90, 0.35);
}

.highlight {
  font-weight: 700;
}

.highlight-bl {
  font-weight: 700;
  color: #80bdff;
}

.circle-1 {
  position: absolute;
  top: -20vh;
  left: -10vw;
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  background: wheat;
  opacity: 0.1;
  z-index: 1; /* behind main elements */
}

.circle-2 {
  position: absolute;
  bottom: -20vh;
  left: -10vw;
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  background: wheat;
  opacity: 0.1;
  z-index: 1; /* behind main elements */
}

.circle-3 {
  position: absolute;
  bottom: -20vh;
  right: -10vw;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  background: wheat;
  opacity: 0.1;
  z-index: 1; /* behind main elements */
}

.portal-line {
  position: absolute;
  bottom: 35vh; /* move vertically */
  left: 15vw; /* move horizontally */
  z-index: 10; /* make sure it's above background */
  scale: 0.6;
}

.portal-line2 {
  position: absolute;
  bottom: 20vh; /* move vertically */
  left: 11vw; /* move horizontally */
  z-index: 10; /* make sure it's above background */
  scale: 0.6;
}

.electric-line {
  fill: linear-gradient(90deg, #555555, #c0c0c0, #555555);
  animation: electricFlow 3s linear infinite;
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Animate the gradient shift */
@keyframes electricFlow {
  0% {
    fill: #555555;
  }
  50% {
    fill: #c0c0c0;
  }
  100% {
    fill: #555555;
  }
}

@media (max-width: 768px) {
  .portal-section {
    padding: 5%;
    flex-direction: column;
  }

  .portal-title {
    height: 20%;
    font-size: 1.8rem !important;
    padding: 3%;
  }

  .portal-title .highlight {
    font-size: 1.8rem;
  }

  .portal-content {
    flex-direction: column;
    height: 80%;
    padding: 2%;
    padding-top: 5%;
  }

  .portal-left {
    width: 100%;
    height: 50%;
    padding: 0;
  }

  .portal-step-top {
    width: 100%;
    flex-direction: row-reverse;
  }

  .presentracker-device {
    width: 30%;
    margin-left: 3%;
  }

  .presentracker-device img {
    height: auto;
    width: 90%;
    object-fit: cover;
    display: block;
  }

  .presentracker-text {
    text-align: right;
    font-weight: 400;
    opacity: 0.8;
  }

  .portal-step-bottom {
    width: 100%;
    height: 40%;
    flex-direction: row;
  }

  .scanner-mirrored {
    height: auto;
    width: 20%;
  }

  .scanner-text {
    font-weight: 400;
    opacity: 0.8;
  }

  .portal-right {
    width: 100%;
    height: 50%;
  }

  .circle-1 {
    display: none;
  }

  .circle-2 {
    display: none;
  }

  .circle-3 {
    display: none;
  }

  .portal-line {
    display: none;
  }

  .portal-line2 {
    display: none;
  }

  .phone-text {
    text-align: left;
  }

  .right-title {
    font-size: 1.5rem;
  }

  .phone-mockup {
    left: 40vw;
    height: 50vh;
  }

  .demo-button {
    width: 50vw;
    min-height: 10vh !important;
    font-size: 0.8rem;
  }
}

.upgrade-section {
  display: flex;
  position: relative;
  overflow: hidden;
  padding: 2%;
  background: linear-gradient(to top, #242424, #0a0a0a);
  width: 100vw;
  height: 100vh;
}

.upgrade-left {
  display: flex;
  width: 50%;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.upgrade-title {
  text-align: center;
  margin-bottom: 5%;
  font-size: 4rem;
  color: white;
}

.upgrade-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff7676, #ff3b3b);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.9rem 2.2rem;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 80, 80, 0.35);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  user-select: none;
  width: 50%;
}

/* light reflection sweep */
.upgrade-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  transition: all 0.6s ease;
}

/* hover animation */
.upgrade-btn:hover {
  background: linear-gradient(135deg, #ff5c5c, #ff1f1f);
  box-shadow: 0 10px 25px rgba(255, 60, 60, 0.45);
  transform: translateY(-3px);
}

/* sweeping shine animation */
.upgrade-btn:hover::before {
  left: 125%;
}

/* click feedback */
.upgrade-btn:active {
  transform: scale(0.96);
  box-shadow: 0 4px 10px rgba(255, 80, 80, 0.25);
}

.upgrade-right {
  display: flex;
  width: 50%;
  height: 100%;
  padding-top: 5%;
}

.feature-vertical-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding-left: 20%;
}

.feature-vertical-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.8s ease-in-out;
  height: 100%;
}

/* Each Card */
.feature-vertical-card {
  position: relative;
  max-width: 80%;
  flex: 0 0 50%;
  border-radius: 1rem;
  margin: 0.5rem 1rem;
  overflow: hidden;
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.116);
}

/* Dark overlay for readability */
.feature-vertical-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 90%);
  z-index: 1;
}

/* Hover effects */
.feature-vertical-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 25px rgba(8, 8, 8, 0.4);
}

/* Text container */
.feature-vertical-content {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  text-align: left;
}

/* Title */
.feature-vertical-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.3rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.feature-vertical-content p {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .upgrade-section {
    flex-direction: column-reverse;
  }

  .upgrade-left {
    width: 100%;
    height: 40%;
    padding: 2%;
    padding-top: 0%;
  }

  .upgrade-title {
    font-size: 2rem;
  }

  .upgrade-right {
    width: 100%;
    height: 60%;
  }

  .feature-vertical-carousel {
    padding-left: 10%;
  }

  .feature-vertical-content h3 {
    font-size: 1.2rem;
  }

  .feature-vertical-content p {
    display: none;
  }

  .feature-vertical-card {
    max-height: 25vh;
  }
}

.faq-section {
  display: flex;
  position: relative;
  overflow: hidden;
  padding: 3%;
  background: linear-gradient(to top, #242424, #0a0a0a);
  width: 100vw;
  height: 100vh;
}

.faq-left {
  padding: 5%;
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: white;
}

.faq-title {
  font-size: 3rem;
  font-weight: 700;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 0;
  font-family: "Poppins", sans-serif;
}

.faq-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.faq-question {
  cursor: pointer;
  padding: 0.5rem 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-card.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0 1.5rem;
  transition: all 0.4s ease;
}

.faq-card.active .faq-answer {
  max-height: 300px;
  opacity: 1;
  padding: 1rem 1.5rem 1.5rem;
}

.faq-right {
  padding: 5%;
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: white;
}

.faq-right-title {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: right;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.project-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.4s ease;
}

.project-card:hover .project-image img {
  scale: 1.05;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.5) 90%
  );
  z-index: 1;
  transition: opacity 0.3s ease;
}

.project-card:hover::after {
  opacity: 0.8;
}

.project-info {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  color: white;
}

.project-subtitle {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.2rem;
}

.project-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .faq-section {
    flex-direction: column-reverse;
  }

  .faq-left {
    width: 100%;
    max-height: 50%;
  }

  .faq-title {
    font-size: 1.5rem;
  }

  .project-gallery {
    grid-template-columns: repeat(2, 1fr); /* ✅ force 2 columns */
    gap: 1rem; /* tighter spacing for small screens */
  }

  .faq-right {
    width: 100%;
    height: 50%;
  }

  .faq-right-title {
    font-size: 1rem;
    text-align: left;
    justify-content: flex-start;
  }

  .faq-question {
    font-size: 0.7rem;
  }

  .faq-answer {
    font-size: 0.65rem;
  }
}

@media (max-width: 768px) {
  .video-overlay {
    top: 50%;
    text-align: left;
    max-width: 100%;
  }

  .hero-section {
    height: calc(var(--vh) * 100);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 5%;
    margin-top: 50%;
  }

  .left-side {
    width: 100%;
    height: 100%;
  }

  .main-title {
    font-size: 2.2rem;
  }

  .price-text {
    font-size: 2.2rem;
  }

  .subtitle {
    font-size: medium;
  }

  .cta-container {
    margin-right: 0%;
    margin-left: 5%;
  }

  .cta-button {
    padding: 1rem 5rem;
  }

  .video-wrapper {
    width: 100%; /* same as video or responsive */
    height: 45%; /* show only top 85% */
    overflow: hidden; /* crops the video */
  }

  .diagonal-overlay {
    clip-path: polygon(100% 67%, 0% 100%, 100% 100%);
    z-index: 1;
    pointer-events: none; /* Let buttons under it stay clickable */
    opacity: 0.5; /* Optional transparency */
  }
}
