/* ============================================================
   IMPORT FONTS
   ============================================================ */
@import url('https://fonts.cdnfonts.com/css/good-timing');
@font-face {
  font-family: "GoodTimesRg";
  src: url("https://i-repair.ro/assets/fonts/GoodTimesRg-Regular.eot");
  src: url("https://i-repair.ro/assets/fonts/GoodTimesRg-Regular.eot?#iefix")
      format("embedded-opentype"),
    url("https://i-repair.ro/assets/fonts/GoodTimesRg-Regular.woff2")
      format("woff2"),
    url("https://i-repair.ro/assets/fonts/GoodTimesRg-Regular.woff")
      format("woff"),
    url("https://i-repair.ro/assets/fonts/GoodTimesRg-Regular.ttf")
      format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-background: #0a0a0f;
  --color-card: #111111;
  --color-text-primary: #ffffff;
  --color-text-secondary: rgba(255, 255, 255, 0.7);
  --color-text-tertiary: rgba(255, 255, 255, 0.5);
  --color-border: rgba(255, 255, 255, 0.1);
  --hue1: 255;
  --hue2: 222;
  --secondary-color1: #ffffff;
  --vh: 100vh;
  --vw: 100vw;
  --primary-blue: #5d8bf4;
  --primary-red: #ff6b6b;
  --primary-cyan: #48dbfb;
  --primary-green: #1dd1a1;
  --glow-size: 50vh;
  --glow-blur: 60px;
  --hue-color: 242;
  --skin-color: hsl(342, 92%, 46%);
  --mirage-color: hsl(210, 10%, 23%);
  --title-color: hsl(var(--hue-color), 8%, 95%);
  --text-color: hsl(var(--hue-color), 8%, 85%);
  --body-color: hsl(var(--hue-color), 19%, 5%);
  --box-color: hsl(var(--hue-color), 14%, 10%);
  --scroll-box-color: hsl(var(--hue-color), 12%, 38%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 26%);
  --body-font: "'Good Timing";
  --signature-font: "Turret Road", sans-serif;
  --biggest-font-size: clamp(2rem, 3vw, 3rem);
  --h1-font-size: clamp(1.5rem, 2.25vw, 2.25rem);
  --h2-font-size: clamp(1.125rem, 1.5vw, 1.5rem);
  --h3-font-size: clamp(1.3rem, 1.25vw, 1.25rem);
  --normal-font-size: clamp(0.875rem, 1vw, 1rem);
  --small-font-size: clamp(0.95rem, 0.75vw, 0.75rem);
  --smaller-font-size: clamp(0.7rem, 0.813vw, 0.813rem);
  --font-medium: 500;
  --font-bold: 600;
  --mb025: 0.25rem;
  --mb05: 0.5rem;
  --mb075: 0.75rem;
  --mb1: 1rem;
  --mb15: 1.5rem;
  --mb2: 2rem;
  --mb25: 2.5rem;
  --mb3: 3rem;
  --z-fixed: 10;
  --z-modal: 100;
  --acc-title-padding: clamp(12px, 20px, 28px) clamp(15px, 25px, 35px) clamp(12px, 20px, 28px) clamp(15px, 20px, 28px);
  --primary-blue: #3b7bce;
  --cyan-glow: rgba(13, 165, 239, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ============================================================
   GLOBAL STYLES
   ============================================================ */

body {
  font-family: 'Good Timing', sans-serif;
  line-height: 1.6;
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 100dvh;
background: linear-gradient(to bottom, #4A90D9 0%, #b5b5ba 50%, #b5b5ba 100%);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

#hero-unified-canvas, #flag-text, .hero-left canvas {
  z-index: 25;
  position: absolute;
  top: clamp(-45%, -37%, -20%);
}

.section-inner {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  position: relative;
  top: clamp(10%, 26%, 35%);
}

#work {
 /* background-image: url("/assets/bg3.avif");
  background-repeat: no-repeat;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-size: 100% 100%;
  background-position: center bottom;
  background-position-x: 100%;
*/
}

/* Small phones */
@media (max-width: 479px) {
  #work {
    background-position-y: 220%;
  }
}

/* Large phones */
@media (min-width: 480px) and (max-width: 767px) {
  #work {
    background-position-y: 210%;
  }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 991px) {
  #work {
    background-position-y: 200%;
  }
}

/* Small laptops */
@media (min-width: 992px) and (max-width: 1199px) {
  #work {
    background-position-y: 190%;
  }
}

/* Desktop */
@media (min-width: 1200px) and (max-width: 1439px) {
  #work {
    background-position-y: 183%;
  }
}

/* Large desktop */
@media (min-width: 1440px) and (max-width: 1919px) {
  #work {
    background-position-y: 66%;
  }
}

/* Full HD and larger */
@media (min-width: 1920px) and (max-width: 2559px) {
  #work {
    background-position-y: 208%;
  }
}

/* 1440p / Ultrawide */
@media (min-width: 2560px) and (max-width: 3839px) {
  #work {
    background-position-y: -26%;
  }
}

/* 4K+ */
@media (min-width: 3840px) {
  #work {
    background-position-y: -29%;
  }
}

/* ============================================================
   Z-INDEX SYSTEM
   ============================================================ */
.hero-bg { z-index: 0; }
#canvas-container { z-index: 1; }
.hero-grid { z-index: 10; position: relative; }
.hero-left { z-index: 20; position: relative; }
#hero-unified-canvas,
#flag-text,
.hero-left canvas { z-index: 25; }
.hero-right { z-index: 30; position: relative; }
.slider-container { z-index: 35; }
#desktopSlider .photoBox { z-index: 40; cursor: pointer; }
#mobileSlider .mCard { z-index: 40; cursor: pointer; }
#scanner-overlay { z-index: 800; position: fixed; pointer-events: none; }
.parent-container { z-index: 700; position: fixed; }
.magic-border-container { z-index: 710; }
.scanner-anchor { z-index: 620; }
.scanner, .sc6 { z-index: 625; }
.magic-border-container.videomini { z-index: 900; position: fixed; }
.scanner-anchor-7th { z-index: 910; position: fixed; }
.scanner-7th { z-index: 915; }
#canvas-container.minimized { z-index: 905; position: fixed; }
#canvas-container.minimized video { z-index: 906; }
#vfxStage { z-index: 1000; position: fixed; }
#closeButton { z-index: 1050; position: fixed; }
#intro-canvas-wrap { z-index: 9999; position: fixed; pointer-events: none; }

/* ============================================================
   SECTION 1 - HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: clamp(1rem, 2rem, 3rem);
  z-index: 1;
  width: 100%;
  height: 100%;
  background-image: url('https://i-repair.ro/assets/services.avif');
  background-size: 100% 100%;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-position-x: 97%;
}

/* ============================================================
   HEADER MENU
   ============================================================ */
.parent-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0px;
  margin: 0px auto;
  justify-items: center;
  position: fixed;
  transform: scale(clamp(0.14, 0.6, 0.9));
  top: clamp(1%, 3%, 5%);
}

.magic-border-container {
  width: clamp(280px, 380px, 480px);
  height: clamp(280px, 380px, 480px);
  position: relative;
  mask: conic-gradient(from 135deg at var(--x, 50%) calc(100% - var(--x, 50%)), #0000 25%, black 0%) calc(-1 * var(--x, 50%)) / 175% 200%;
  --x: 55%;
  --border-thickness: -222px;
  border-radius: 0px 0 30% 30%;
  transform: scale(clamp(0.3, 0.4, 0.6));
  margin: 0 clamp(-100px, -80px, -60px);
  opacity: 0;
  visibility: hidden;
}

.magic-border-container.videomini {
  position: fixed !important;
  width: clamp(280px, 380px, 480px);
  height: clamp(280px, 380px, 480px);
  transform: scale(clamp(0.4, 0.5, 0.7));
  opacity: 0;
  visibility: visible !important;
}

.inner-image {
  position: absolute;
  inset: var(--border-thickness, 18px);
  -webkit-mask: conic-gradient(from 135deg at var(--x, 50%) calc(100% - var(--x, 50%)), #0000 25%, black 0%) calc(-1 * var(--x, 50%)) / 200% 200%;
  mask: conic-gradient(from 135deg at var(--x, 50%) calc(100% - var(--x, 50%)), #0000 25%, black 0%) calc(-1 * var(--x, 50%)) / 175% 217%;
  border-radius: 0 0 30% 30%;
  background: url(https://i-repair.ro/assets/galaxy.jpg) center / cover no-repeat;
  background-size: clamp(400%, 643%, 800%) !important;
  background-position-y: 4%;
  background-position-x: 33%;
  width: 90%;
  height: 90%;
  left: 5%;
  top: 6%;
  z-index: 702;
}

.center-text {
  position: absolute;
  top: 50%;
  font-family: Good Timing;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(1.2em, 1.9em, 2.5em);
  font-weight: bold;
  color: rgba(255, 255, 255, 0.9);
  z-index: 10;
  text-align: center;
  pointer-events: none;
  letter-spacing: 0.1em;
  display: flex;
  z-index: 703;
}

h12 {
  line-height: 1;
  text-transform: uppercase;
  font-family: Good Timing;
  color: #5785F6;
  font-size: clamp(1.2em, 1.6em, 2.2em);
  width: clamp(320px, 431px, 550px);
}

h12 span {
  display: inline-block;
  position: relative;
  background: -webkit-linear-gradient(#87a9f9, #2762f3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h12 span:before {
  content: attr(data-letter);
  position: absolute;
  color: linear-gradient(45deg, #523b14 8%, #7b591e 12% 30%, #b9852d 50%, #7b591e 70% 88%, #523b14 92%);
  top: 0;
  left: 0;
  z-index: -1;
}

h12 span[data-letter=" "] {
  width: 0.25em;
}

h12 span:nth-child(1):before {
  text-shadow: 0.08em 0 #2762f3, 0.16em 0 0.05em #000;
}
h12 span:nth-child(2):before {
  text-shadow: 0.07727em 0 #2762f3, 0.15455em 0 0.05em #000;
}
h12 span:nth-child(3):before {
  text-shadow: 0.06928em 0 #2762f3, 0.13856em 0 0.05em #000;
}
h12 span:nth-child(4):before {
  text-shadow: 0.05657em 0 #2762f3, 0.11314em 0 0.05em #000;
}
h12 span:nth-child(5):before {
  text-shadow: 0.04em 0 #2762f3, 0.08em 0 0.05em #000;
}
h12 span:nth-child(6):before {
  text-shadow: 0.02071em 0 #2762f3, 0.04141em 0 0.05em #000;
}
h12 span:nth-child(7):before {
  text-shadow: 0em 0 #2762f3, 0em 0 0.05em #000;
}
h12 span:nth-child(8):before {
  text-shadow: -0.02071em 0 #2762f3, -0.04141em 0 0.05em #000;
}
h12 span:nth-child(9):before {
  text-shadow: -0.04em 0 #2762f3, -0.08em 0 0.05em #000;
}
h12 span:nth-child(10):before {
  text-shadow: -0.05657em 0 #2762f3, -0.11314em 0 0.05em #000;
}
h12 span:nth-child(11):before {
  text-shadow: -0.06928em 0 #2762f3, -0.13856em 0 0.05em #000;
}
h12 span:nth-child(12):before {
  text-shadow: -0.07727em 0 #2762f3, -0.15455em 0 0.05em #000;
}
h12 span:nth-child(13):before {
  text-shadow: -0.08em 0 #2762f3, -0.16em 0 0.05em #000;
}

.kobraline {
  left: clamp(25%, 35%, 45%);
  top: clamp(150%, 178%, 200%);
  position: absolute;
  box-sizing: border-box;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.9), 0 0 8px #00fff5, 0 0 16px rgba(0, 255, 245, 0.8), 0 0 28px rgba(0, 255, 245, 0.5), 0 0 50px rgba(0, 220, 240, 0.25), 0 0 90px rgba(0, 180, 220, 0.12);
  width: clamp(100px, 149px, 200px);
  height: 3px;
  transform: scale(clamp(0.4, 0.5, 0.7));
  display: flex;
  justify-content: center;
  align-items: center;
}

.parent-container a {
  position: relative;
  display: block;
}

.scanner-anchor {
  position: relative;
  width: 100%;
  height: 0;
  overflow: visible;
}

.scanner,
.sc6 {
  position: absolute;
  top: clamp(30px, 52px, 70px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(150px, 210px, 280px);
  height: clamp(80px, 120px, 160px);
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: visible;
}

.scanner-anchor-7th {
  position: fixed;
  top: clamp(10%, 15%, 20%);
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  overflow: visible;
  pointer-events: none;
}

.scanner-7th {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  width: clamp(80px, 120px, 160px);
  height: clamp(40px, 60px, 80px);
  border-radius: 6px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}

#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: -3;
}

#canvas-container.minimized {
  width: clamp(70px, 97px, 130px);
  height: clamp(75px, 105px, 140px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  overflow: hidden;
  position: fixed;
  mask: conic-gradient(from 135deg at var(--x, 65%) calc(100% - var(--x, 50%)), #0000 25%, black 0%) calc(-1 * var(--x, 50%)) / 154% 152%;
  border-radius: 0 0 30% 30%;
}

#canvas-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#canvas-container.minimized video {
  object-fit: contain;
  transform: scale(clamp(1.5, 2, 2.5));
}

#mobileSlider {
  display: none;
}
#desktopSlider {
  display: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
  }
  100% {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
  }
}

/* ============================================================
   FIXED: RESPONSIVE - MOBILE
   ============================================================ */
@media (max-width: 767px) {
  .magic-border-container {
    transform: scale(0.9) !important;
    margin: 8px auto !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #hero-unified-canvas {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: -18% !important;
    left: 0 !important;
  }

  .kobraline {
    transform: scale(0.85);
    left: 30% !important;
    top: 170% !important;
  }

  #canvas-container {
    max-width: 92vw;
    max-height: 92vh;
  }

  .parent-container {
    transform: scale(0.14) !important;
    top: -18% !important;
    left: 0 !important;
    width: 100% !important;
  }

  .scanner.sc6 {
    top: -80px !important;
  }

  .magic-border-container.videomini,
  .scanner-7th {
    display: none !important;
  }

  .hero-section {
    padding: 0.5rem !important;
    min-height: 100vh;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
    padding: 0.5rem 0 !important;
    min-height: auto !important;
  }

  .hero-left {
    height: clamp(180px, 280px, 380px) !important;
    min-height: 180px !important;
  }

  .hero-right {
    min-height: clamp(150px, 200px, 280px) !important;
    padding: 0.25rem !important;
    top: 0 !important;
  }

  #mobileSlider {
    display: block !important;
  }
  
  #desktopSlider {
    display: none !important;
  }

  .mobileSlider {
    display: block !important;
    height: clamp(25vh, 35vh, 50vh) !important;
    transform: scale(0.85) !important;
    overflow: visible !important;
    margin: 0 auto !important;
  }

  .section-inner {
    top: -15% !important;
  }

  .hero-bg {
    height: 120vh !important;
  }

  .desktop-only {
    display: none !important;
  }

  .my-info {
    gap: 0.5rem !important;
    padding: 0.25rem 0.5rem !important;
    bottom: 0.5rem !important;
    flex-wrap: wrap !important;
    width: 95% !important;
    justify-content: center !important;
  }

  .info-item {
    padding: 0.2rem 0.4rem !important;
  }

  .info-item a {
    gap: 0.3rem !important;
  }

  .icon-svg,
  .icon-img {
    flex: 0 0 20px !important;
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
  }

  .info-title {
    font-size: 0.6rem !important;
  }

  .info-subtitle {
    font-size: 0.5rem !important;
  }
}

@media (max-width: 480px) {
  .hero-grid {
    gap: 0.25rem !important;
  }

  .hero-left {
    height: clamp(140px, 200px, 280px) !important;
    min-height: 140px !important;
  }

  .hero-right {
    min-height: clamp(120px, 160px, 220px) !important;
  }

  .mobileSlider {
    height: clamp(18vh, 25vh, 35vh) !important;
    transform: scale(0.7) !important;
  }

  #closeButton {
    width: 40px !important;
    height: 40px !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    transform: none !important;
  }

  .center-text h12 {
    font-size: clamp(0.8em, 1em, 1.2em) !important;
    width: clamp(180px, 240px, 300px) !important;
  }

  .hero-section {
    background-position-x: 100% !important;
    background-size: 295% 100% !important;
  }

  .hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: clamp(1rem, 2rem, 3rem);
    z-index: 1;
    width: 100%;
    height: 100%;
    background-image: url('https://i-repair.ro/assets/bg3.avif') !important;
    background-size: 100% 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-position-x: 97%;
  }
  
  .section-inner {
    top: -12% !important;
  }
}

@media (max-width: 767px) and (orientation: landscape) {
  .hero-left {
    height: clamp(120px, 180px, 250px) !important;
    min-height: 120px !important;
  }

  .hero-right {
    min-height: clamp(100px, 140px, 200px) !important;
  }

  .mobileSlider {
    height: clamp(15vh, 20vh, 30vh) !important;
  }

  .my-info {
    padding: 0.15rem 0.4rem !important;
    bottom: 0.25rem !important;
  }

  .info-item {
    padding: 0.1rem 0.3rem !important;
  }

  .icon-svg,
  .icon-img {
    flex: 0 0 16px !important;
    width: 16px !important;
    height: 16px !important;
  }

  .info-title {
    font-size: 0.5rem !important;
  }

  .info-subtitle {
    font-size: 0.4rem !important;
  }

  .parent-container {
    transform: scale(0.1) !important;
    top: -25% !important;
  }
}

/* ============================================================
   BACKGROUND IMAGE
   ============================================================ */
.hero-bg {
  position: absolute;
  top: 0;
  left: -20%;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: lighten;
}

.hero-bg video {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: auto;
  max-width: none;
  transform: translateX(-20%);
  object-fit: cover;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-bg {
    height: 30vh;
    display: none;
  }

  .hero-bg video {
    position: absolute;
    top: 0;
    left: 50%;
    height: 30vh;
    width: auto;
    transform: translateX(-50%);
    display: none;
  }
}

/* ============================================================
   HERO GRID
   ============================================================ */
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.5rem, 1rem, 2rem);
  width: 100%;
  max-width: 1200px;
  min-height: clamp(50vh, 70vh, 90vh);
  align-items: center;
  padding: clamp(1rem, 2rem, 3rem) 0;
}

/* ============================================================
   LEFT SIDE - CANVAS
   ============================================================ */
.hero-left {
  width: 100%;
  height: clamp(300px, 600px, 800px);
  position: relative;
  border-radius: 20px;
  overflow: visible;
  background: transparent !important;
}

#flag-text {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================================
   RIGHT SIDE - SLIDER
   ============================================================ */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.25rem, 0.5rem, 1rem);
  height: clamp(90%, 114%, 130%);
  position: relative;
  top: clamp(-18%, -13%, -5%);
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

/* ============================================================
   DESKTOP SLIDER
   ============================================================ */
.mainSlider {
  width: clamp(100%, 140%, 180%);
  height: clamp(50vh, 80vh, 100vh);
  max-height: 100vh;
  position: relative;
  margin: 20px 0;
  perspective: 400px;
  top: clamp(2%, 5%, 10%);
  overflow-y: clip !important;
}

.mainBoxes {
  position: absolute;
  left: 75%;
  transform: translate(-50%, 0%) rotate(19deg) rotateY(-5deg) rotateX(2deg);
  width: clamp(800px, 1200px, 1600px);
  height: 100%;
  background-size: cover;
}

.photoBox {
  position: absolute;
  opacity: 0;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  width: clamp(280px, 400px, 520px);
  height: clamp(440px, 640px, 840px);
  transform: translate(-8%, -32px) rotate(0.0065deg) scale(1);
  background-size: cover !important;
}

/* ============================================================
   MOBILE SLIDER
   ============================================================ */
.mobileSlider {
  display: none;
  position: relative;
  width: 100%;
  height: clamp(40vh, 78vh, 90vh);
  max-height: 760px;
  overflow: visible;
  margin: 0;
  perspective: 900px;
  perspective-origin: 50% 42%;
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0) 60%);
  touch-action: none;
  -webkit-touch-callout: none;
  transform: scale(clamp(0.7, 1, 1.2));
}

.mobileTrack {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  pointer-events: none;
}

.mCard {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--card-w, clamp(180px, 260px, 340px));
  height: var(--card-h, clamp(260px, 380px, 500px));
  margin-left: calc(var(--card-w, clamp(180px, 260px, 340px)) / -2);
  margin-top: calc(var(--card-h, clamp(260px, 380px, 500px)) / -2);
  border-radius: 22px;
  cursor: pointer !important;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
  overflow: hidden;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: auto !important;
}

.mCard .mCardLayer {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
}

.mCard::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
  z-index: 2;
}

.mCard:hover {
  filter: brightness(1.1) !important;
}

.mCard:active {
  transform: scale(0.97) !important;
}

/* ============================================================
   VFX STAGE
   ============================================================ */
#vfxStage {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 10, 0.92);
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#vfxStage.is-active {
  display: flex;
  opacity: 1;
}

#vfxStage .vfx-content {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  position: relative;
  pointer-events: auto;
}

#vfxStage .vfx-content img {
  display: block;
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: inherit;
  pointer-events: none;
}

/* ============================================================
   CLOSE BUTTON
   ============================================================ */
#closeButton {
  position: fixed;
  width: clamp(40px, 60px, 80px);
  height: clamp(40px, 60px, 80px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

#closeButton.active {
  opacity: 1;
  pointer-events: auto !important;
}

#closeButton svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.6));
  pointer-events: none;
}

#closeButton svg circle,
#closeButton svg path {
  pointer-events: none;
}

/* ============================================================
   CONTACT INFO
   ============================================================ */
.my-info {
	position: absolute;
	bottom: clamp(1.5rem, 4rem, 6rem);
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: clamp(0.5rem, 1.2rem, 2rem);
	justify-content: center;
	align-items: center;
	padding: clamp(0.25rem, 0.5rem, 0.75rem) clamp(0.5rem, 1rem, 1.5rem);
	/* background: rgba(126, 126, 126, 0.3); */
	border-radius: 15px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	font-family: 'Good Timing', 'Arial', sans-serif;
	--dst--secondary-color3: #0c353c;
	background-image: linear-gradient(to right,transparent 0,var(--dst--secondary-color3) 40%,var(--dst--secondary-color3) 60%,transparent 100%);
}

.desktop-only {
  display: flex;
}

.info-item {
  display: flex;
  align-items: center;
  padding: clamp(0.2rem, 0.4rem, 0.6rem) clamp(0.4rem, 0.8rem, 1.2rem);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.info-item a {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 0.8rem, 1.2rem);
  text-decoration: none;
  color: #fff;
}

.icon-svg,
.icon-img {
  flex: 0 0 clamp(25px, 35px, 45px) !important;
  width: clamp(25px, 35px, 45px) !important;
  height: clamp(25px, 35px, 45px) !important;
  max-width: clamp(25px, 35px, 45px) !important;
  max-height: clamp(25px, 35px, 45px) !important;
  min-width: clamp(25px, 35px, 45px) !important;
  min-height: clamp(25px, 35px, 45px) !important;
  display: block;
}

.text-container {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.info-title {
  font-size: clamp(1.1rem, 0.85rem, 1.05rem);
  font-weight: 600;
  line-height: 0.5;
  margin: 0;
  color: #fff;
  margin-top:8px;
}
.info-subtitle {
  font-size: clamp(1.1rem, 0.75rem, 0.95rem);
  opacity: 0.8;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* ============================================================
   RESPONSIVE - TABLET & MOBILE
   ============================================================ */
@media screen and (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
  }

  .hero-left {
    height: clamp(250px, 400px, 550px);
  }

  .hero-right {
    min-height: clamp(250px, 400px, 550px);
  }

  .mainSlider {
    display: none !important;
  }

  .mobileSlider {
    display: block !important;
    height: clamp(40vh, 60vh, 80vh);
    transform: scale(1);
    overflow: visible;
  }

  .my-info {
    gap: 0.8rem;
    padding: 0.4rem 0.8rem;
    bottom: 1.5rem;
  }

  .info-item {
    padding: 0.3rem 0.6rem;
  }

  .info-item a {
    gap: 0.6rem;
  }

  .icon-svg,
  .icon-img {
    flex: 0 0 30px !important;
    width: 30px !important;
    height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
  }

  .info-title {
    font-size: 0.75rem;
  }

  .info-subtitle {
    font-size: 0.65rem;
  }
}

@media screen and (max-width: 768px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem;
  }

  .hero-grid {
    gap: 1.5rem;
    padding: 1rem 0;
  }

  .hero-left {
    height: clamp(200px, 300px, 400px);
  }

  .hero-right {
    min-height: clamp(200px, 300px, 400px);
    padding: 0.5rem;
  }

  .section-inner {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    position: relative;
    top: 13% !important;
  }
  
  .hero-bg {
    position: absolute;
    width: 100%;
    height: 130vh;
    flex: 1 0 0;
    display: flex;
    z-index: 0;
  }
  
  .ds-container {
    margin-top: 0% !important;
  }

  .faq-title {
    text-align: center;
    margin-bottom: 0px !important;
    margin-top: 0 !important;
  }

  .mobileSlider {
    height: clamp(30vh, 50vh, 70vh);
    transform: scale(1);
    overflow: visible;
  }

  .desktop-only {
    display: none !important;
  }
}

@media screen and (orientation: portrait) and (max-width: 1024px) {
  .mainSlider {
    display: none !important;
  }

  .mobileSlider {
    display: block !important;
    transform: scale(0.8);
    overflow: visible;
  }

  .slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    top: 34%;
    left: -15%;
  }
}
/* END SECTION ONE*/

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about.section {
  width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  box-sizing: border-box;
  padding: clamp(1rem, 0rem, 3rem) clamp(0.5rem, 2rem, 4rem) clamp(2rem, 4rem, 6rem);
  margin: 0;
  background-image: url(https://i-repair.ro/assets/about.avif);
  background-size: 100% 100%;
  background-position: center;
  background-blend-mode: luminosity;
  position: relative;
  font-family: "Good Timing";
  min-height: 100vh;
  height: auto;
}

/* Fix about-container positioning */
.about-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 4rem, 6rem);
  justify-content: center;
  align-items: center;
  max-width: 1250px;
  position: relative;
  z-index: 2;
  top: -13%;
}

.about-data-left {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
  height: auto;
  position: relative;
}

.about-data {
  max-width: 100%;
  width: fit-content;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: left;
  position: relative;
  top: 0%;
}

.about-heading {
  font-size: var(--h3-font-size, clamp(1rem, 1.25vw, 1.5rem));
  margin-bottom: var(--mb075, 0.75rem);
  text-align: left;
  background: linear-gradient(to right, #9a7a59, #dfc9a9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-description {
  text-align: justify;
  padding-right: clamp(0rem, 4rem, 6rem);
  margin-bottom: var(--mb2, 2rem);
  font-family: Asap, sans-serif;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.about-info {
  display: grid;
  grid-template-columns: repeat(3, clamp(100px, 140px, 180px));
  column-gap: clamp(1rem, 3.5rem, 5rem);
  margin-bottom: var(--mb3);
}

/* ----- grid container: 3 columns, responsive width ----- */
.about-info {
  display: grid;
  grid-template-columns: repeat(3, clamp(100px, 140px, 180px));
  column-gap: clamp(1rem, 3.5rem, 5rem);
  row-gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--mb3, 2rem);
  max-width: 900px;
}

/* each card */
.card {
  border: 4px solid transparent;
  transform: skewX(-10deg);
  width: 100%;
  height: auto;
  aspect-ratio: 350 / 500;
  max-width: 350px;
  min-width: 100px;
  justify-self: center;
  align-self: center;
  overflow: hidden;
  position: relative;
}

/* img-wrapper */
.img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  transform: translate(0px, 0px) skewX(0deg);
  transform-origin: top left;
  overflow: hidden;
}

.img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0;
  display: block;
  transform: skewX(0deg);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  pointer-events: none;
  z-index: 2;
}

/* Text styling - positioned at bottom initially */
.about-title,
.about-subtitle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  width: 90%;
  opacity: 0;
  pointer-events: none;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.about-title {
  bottom: -50px;
  font-size: clamp(0.8rem, 0.5vw, 1.2rem);
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 40px;
  left: 50%;
}

.about-subtitle {
	bottom: -80px;
	font-size: clamp(14px, 20px, 20px);
	color: #c8a780;
	font-weight: 700;
	margin-top: 2px;
}

/* Center position for the text (final resting place) */
.about-title.center {
  bottom: 55%;
  transform: translateX(-50%) translateY(50%);
}

.about-subtitle.center {
  bottom: 40%;
  transform: translateX(-50%) translateY(50%);
}

.card:hover {
  filter: drop-shadow(0 0 12px rgba(255, 170, 220, 0.3));
  transition: filter 0.3s;
}

/* responsive adjustments */
@media (max-width: 700px) {
  .about-info {
    column-gap: clamp(0.8rem, 2vw, 2rem);
  }
}

@media (max-width: 500px) {
  .about-info {
    grid-template-columns: repeat(3, clamp(70px, 26vw, 120px));
    column-gap: 0.8rem;
  }
  .card {
    aspect-ratio: 350 / 500;
    min-width: 60px;
  }
  .about-title {
    font-size: clamp(0.5rem, 3vw, 0.8rem);
  }
  .about-subtitle {
    font-size: clamp(0.7rem, 1.5vw, 1.4rem);
  }
}

/* Canvas fills its container naturally */
#alienware {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  position: relative;
  top: clamp(-30%, -25%, -15%) !important;
}

/* ===== VIDEO CONTAINER ===== */
.video-container-contact {
  width: 100%;
  max-width: 390px;
  height: clamp(60px, 90px, 120px);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border-radius: 20px;
}

.video-container-contact video {
  border: 2px solid #c8a780;
  width: auto;
  height: 100%;
  object-fit: cover;
  transform: scale(clamp(0.4, 0.5, 0.7));
  border-radius: 20px;
}

/* ===== MARQUEE ===== */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: clamp(40%, 60%, 80%);
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  border-radius: 16px;
  padding: clamp(1rem, 2rem, 3rem) 0;
  margin: 0rem auto;
  top: clamp(-25%, -18%, -10%);
  z-index: 100;
}

.marquee-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 16px;
  background: linear-gradient(90deg, #59bbff, #be41ff 32%, #ff98ea);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.4;
}

.marquee-content {
  display: flex;
  animation: scroll 25s linear infinite;
  width: fit-content;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-wrapper:hover .marquee-content {
  animation-play-state: paused;
}

.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(140px, 200px, 260px);
  height: clamp(60px, 100px, 140px);
  margin: 0 clamp(10px, 20px, 30px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: clamp(10px, 20px, 30px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.logo-card:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logo-image {
  max-height: clamp(40px, 60px, 80px);
  width: auto;
  object-fit: contain;
  filter: brightness(1) invert(0);
  transition: all 0.3s ease;
}

/* Glow effects for logo cards */
.google-glow { box-shadow: 0 0 20px rgba(66, 133, 244, 0.3); }
.tesla-glow { box-shadow: 0 0 20px rgba(231, 76, 60, 0.3); }
.openai-glow { box-shadow: 0 0 20px rgba(16, 163, 127, 0.3); }
.microsoft-glow { box-shadow: 0 0 20px rgba(0, 120, 215, 0.3); }
.amazon-glow { box-shadow: 0 0 20px rgba(255, 153, 0, 0.3); }
.twitter-glow { box-shadow: 0 0 20px rgba(29, 161, 242, 0.3); }

/* ============================================================
   FIXED: RESPONSIVE BREAKPOINTS - ABOUT SECTION
   ============================================================ */
@media screen and (max-width: 768px) {
  .about.section {
    padding: 2rem 0.5rem !important;
    min-height: auto !important;
    height: auto !important;
    background-size: cover !important;
    background-position: center !important;
  }

  .about-container {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
    margin: 0.5rem auto !important;
    padding: 0.25rem !important;
    top: 0 !important;
  }

  .about-data-left {
    height: clamp(140px, 200px, 280px) !important;
    max-height: 280px !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  #hero-unified-canvas {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    left: 0 !important;
    position: relative !important;
    transform: scale(1) !important;
    top: -15% !important;
  }

  .about-box-svg {
    top: 5%;
  }

  #alienware {
    top: 0 !important;
    width: 100% !important;
    left: 0 !important;
    position: relative !important;
  }

  .about-data {
    position: relative !important;
    top: 0 !important;
    width: 90% !important;
    padding: 0 0.5rem !important;
    margin: 0 auto !important;
  }

  .about-description {
   	 padding: 0 !important;
	text-align: left !important;
	font-size: clamp(0.75rem, 0.6428571428571428rem + 0.4761904761904762vw, 1rem);
}
  .about-info {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.25rem !important;
    margin: 0.5rem 0 !important;
  }

  .about-box {
    width: 100% !important;
    height: auto !important;
    padding: 0.5rem 0.25rem !important;
    transform: none !important;
    margin-bottom: 0.25rem !important;
  }

  .marquee-wrapper {
    margin: 0.5rem auto !important;
    width: 95% !important;
    top: 0 !important;
    position: relative !important;
    padding: 0.5rem 0 !important;
  }

  .logo-card {
    min-width: clamp(80px, 120px, 160px) !important;
    height: clamp(40px, 60px, 80px) !important;
    margin: 0 clamp(5px, 10px, 15px) !important;
    padding: clamp(5px, 10px, 15px) !important;
  }

  .logo-image {
    max-height: clamp(25px, 35px, 45px) !important;
  }

  .about-heading {
    font-size: clamp(0.8rem, 1rem, 1.2rem) !important;
    text-align: center !important;
  }
}

@media screen and (max-width: 480px) {
  .about.section {
    padding: 7rem 0.25rem !important;
    min-height: 100vh !important;
    height: auto !important;
    position: relative !important;
  }
  .about-data-left {
    height: clamp(100px, 150px, 200px) !important;
    max-height: 200px !important;
  }

  .about-info {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.15rem !important;
  }

  .about-box {
    min-height: 50px !important;
    padding: 0.25rem 0.15rem !important;
  }

  #alienware {
    top: 5% !important;
    width: 110% !important;
    left: -5% !important;
  }
  
  #hero-canvas-wrap {
    display: block;
    margin: 0px auto;
    position: relative;
    width: 502px !important;
    height: 467px !important;
    opacity: 1;
    will-change: opacity, transform;
    overflow: hidden;
    top: -80%;
    left: -16%;
  }
.accordion {
/* overflow: visible !important; */
}

}

@media (min-width: 1200px) {
  #alienware {
    top: 20% !important;
    width: 100% !important;
  }
}

/* ============================================================
   SCROLL INDICATOR - Thunderbolt Dots Navigation
   ============================================================ */
.dots {
  --dots-spacing: 1vw;
  position: fixed;
  right: 0;
  top: 50%;
  color: white;
  z-index: 9999;
  display: grid;
  justify-items: flex-end;
  gap: 4px;
  overflow: visible;
  transform: translateY(-50%);
  padding-right: 0;
}

@media (max-width: 960px) {
  .dots {
    display: none;
  }
}

.dots a {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0px var(--dots-spacing, 1vw);
  min-width: 120px;
  color: rgba(207, 189, 172, 0.5);
  text-decoration: none;
  position: relative;
  cursor: pointer;
  will-change: transform, opacity;
  gap: 8px;
  flex-direction: row-reverse;
  left: 21%;
}

.dots a p {
  white-space: nowrap;
  font-size: 12px;
  text-align: right;
  pointer-events: none;
  padding: 10px 0px 0 0;
  position: relative;
  margin: 0;
  transition: opacity 0.3s ease, color 0.3s ease;
  opacity: 0;
  font-weight: 600;
  font-family: Noto Sans, Arial, 微軟正黑體, Microsoft JhengHei, 微軟雅黑體, Microsoft YaHei, SimHei, メイリオ, Meiryo, ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro, 新細明體, Arial, Verdana, Helvetica, sans-serif;
  color: rgba(207, 189, 172, 0.5);
}

@media (min-width: 1320px) {
  .dots a p {
    opacity: 1;
  }
}

.dots a::after {
  display: none;
}

.dot-svg {
  width: 100px;
  height: 28px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  display: block;
}

.dot-outside {
  transition: fill 0.4s ease;
}

.dot-inner {
  transition: opacity 0.4s ease;
}

.dot-thunder {
  transition: opacity 0.4s ease;
}

.dots a.active {
  color: #CFBDAC;
  font-weight: bold;
}

.dots a.active p {
  opacity: 1;
  color: #FFF;
  text-shadow: 0 0 0.7em #a02785, 0 0 0.7em #a02785, 0 0 0.7em #a02785, 0 0 0.7em #a02785;
  font-size: 15px;
}

.dots a.active .dot-outside {
  fill: #CFBDAC !important;
}

.dots a.active .dot-inner {
  opacity: 1 !important;
  fill: #CFBDAC !important;
}

.dots a.active .dot-thunder {
  animation: thunderFlash 10.5s ease-in-out infinite;
}

.dots a:hover {
  color: #CFBDAC;
}

.dots a:hover p {
  opacity: 1;
}

.dots a:hover .dot-svg {
  transform: scale(1.1);
}

.dots a:hover .dot-outside {
  fill: #CFBDAC;
}

.dots a:hover .dot-inner {
  opacity: 0.3;
  fill: #CFBDAC;
}

.dots a:hover .dot-thunder {
  opacity: 0.3;
}

@keyframes thunderFlash {
  40%{
    opacity: 0;
  }
  60%{
    opacity: 1;
  }
  75%{
    opacity: 0;
  }
  90%{
    opacity: 1;
  }
}

.sticky-dots {
	pointer-events: none;
	position: fixed;   /* was: sticky — sticky only "stuck" for one viewport-height of scroll starting wherever it sat in the DOM, which is why moving it into #home broke it */
	top: 0;
	right: 0;           /* replaces margin-left:auto, which only worked while it was in normal flow */
	height: 100vh;
	z-index: 20;
	display: flex;
	align-items: center;
	width: max-content;
	overflow: visible;
	/* margin-bottom: -100vh removed — that was part of the sticky hack, not needed for fixed */
}
.sticky-dots::after {
  content: "";
  display: block;
  background: url("https://i-repair.ro/assets/sidebar-2.png") 0 0/auto 100% no-repeat;
  width: 21px;
  height: 191px;
  margin-top: 22vw;
  right: 1vw;
  --dots-spacing: 1vw;
  position: absolute;
}

.sticky-dots::before {
  content: "";
  display: block;
  background: url("https://i-repair.ro/assets/vertical-logo.png") 0 0/auto 100% no-repeat;
  width: 21px;
  height: 210px;
  margin-bottom: 1vw;
  margin-top: -21vw;
  right: 1vw;
  position: absolute;
}

.sticky-dots::before,
.sticky-dots::after {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  transform: translateX(220%);   /* fully off-screen right */
  opacity: 0;
  will-change: transform, opacity;
}

.sticky-dots::after {
  transition-delay: 0.08s;
}

.sticky-dots.dots-images-visible::before,
.sticky-dots.dots-images-visible::after {
  transform: translateX(120%);   /* your verified correct on-screen position */
  opacity: 1;
}
.sticky-dots .dots {
  pointer-events: none;
  position: static;
  transform: none;
}

.sticky-dots .dots a {
  pointer-events: auto;
}

@media (max-width: 960px) {
  .sticky-dots {
    display: none;
  }
}

.dots.visible-by-anchor {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.dots.visible-by-anchor.visible {
  opacity: 1 !important;
  transform: none !important;
}

@media (min-width: 1331px) and (max-width: 1600px) {
  .sticky-dots::after {
    top: calc(65% - 320px);
  }
  
  .sticky-dots::before {
    bottom: calc(89% - 320px);
  }
}

@media (min-width: 1601px) and (max-width: 1920px) {
  .sticky-dots::after {
    top: calc(58% - 320px);
  }
  
  .sticky-dots::before {
    bottom: calc(89% - 320px);
  }
}

@media (min-width: 1331px) {
  .dot-svg {
    width: 110px;
    height: 30px;
  }
  
  .dots a {
    min-width: 140px;
  }
}

@media (min-width: 961px) and (max-width: 1330px) {
  .dot-svg {
    width: 85px;
    height: 24px;
  }
  
  .dots a {
    min-width: 100px;
    padding: 4px var(--dots-spacing, 1vw);
  }
  
  .dots a p {
    font-size: 10px;
    padding: 0 4px 0 0;
  }
}

@media (min-width: 768px) and (max-width: 960px) {
  .sticky-dots {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dots a.active .dot-thunder {
    animation: none !important;
    opacity: 1 !important;
  }
  
  .dots a:hover .dot-svg {
    transform: none !important;
  }
  
  .dots a.active .dot-svg {
    transform: none !important;
  }
}

.dots a:not(:has(.dot-svg))::after {
  display: block !important;
  content: "";
  width: 18px;
  height: 9px;
  border-radius: 10px;
  border: 1px solid #CFBDAC;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}

.dots a:not(:has(.dot-svg)).active::after {
  background-color: #CFBDAC;
}

.dots a:not(:has(.dot-svg)):hover::after {
  background-color: #CFBDAC;
}

/* #services is in view — gold dots/text, cyan glow. Toggled by JS via body class. */
body.dots-on-light .dots a .dot-outside {
  fill: #ce672a !important;
}

body.dots-on-light .dots a .dot-inner {
  fill: #ce672a !important;
}

body.dots-on-light .dots a p {
	color: #ce672a !important;
	font-weight: bold;
	font-size: 14px;
}

body.dots-on-light .dots a.active {
  color: #ce672a !important;
}

body.dots-on-light .dots a.active p {
	color: #fff9f9 !important;
	text-shadow: 0 0 0.7em #373d3d, 0 0 0.7em #223335, 0 0 0.7em #17b9cc, 0 0 0.7em #09e6ff85 !important;
}
body.dots-on-light .dots a.active .dot-outside,
body.dots-on-light .dots a.active .dot-inner {
  fill: #d4af37 !important;
}

/* ============================================================
   SCANNER VERTICAL
   ============================================================ */
.vertical {
  position: absolute !important;
  top: -3%;
  right: clamp(-160px, -119px, -80px);
  width: clamp(80px, 124px, 160px);
  height: clamp(120px, 174px, 220px);
  overflow: hidden;
  pointer-events: none;
  z-index: 10000;
  opacity: 1 !important;
  visibility: visible !important;
  transform: rotate(360deg) translateX(-50%);
  transform-origin: left center;
  border-radius: 6px;
}

.vertical::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  animation: scanVertical 2s linear infinite;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), 0 0 60px rgba(0, 255, 255, 0.3);
}

.vertical::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@keyframes scanVertical {
  0% {
    top: -2px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

.vertical .grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(360deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

@media screen and (max-width: 1024px) {
  .vertical {
    right: -80px;
    width: 100px;
    height: 100%;
    transform: rotate(360deg) translateX(-50%);
    top: 0%;
    left: 99.5%;
    right: -100px;
    width: 120px;
  }
}

@media screen and (max-width: 768px) {
  .vertical {
    right: -80px;
    width: 100px;
    height: 100%;
    transform: rotate(360deg) translateX(-50%);
    top: 0%;
    left: 98%;
    right: -100px;
    width: 120px;
  }
}

/* ============================================================
   BROWSER-SPECIFIC FIXES
   ============================================================ */
@media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution:.001dpcm) {
  .inner-image {
    top: 5%;
    left: 5%;
  }
}

@media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution:.001dpcm) {
  .inner-image {
    top: 5%;
    left: 5%;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #alienware {
    top: 10% !important;
    width: 90% !important;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  #alienware {
    top: -106% !important;
    width: 119% !important;
    left: -9% !important;
    position: relative;
  }
}

@media (min-width: 1200px) {
  #alienware {
    top: 20% !important;
    width: 100% !important;
  }
}

/* ============================================================
   FIX: SERVICES SECTION - Allow accordion to expand freely
   ============================================================ */
#services {
  position: relative;
  width: 100vw;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: visible !important;
  padding-bottom: 4rem;
}

/* ============================================================
   FIX: BOAT NIGHT - Keep behind everything
   ============================================================ */
.boat-night {
  position: absolute;
  width: 100vw;
  height: 100%;
  z-index: 0;
  background-image: url('https://i-repair.ro/assets/bg-nav2.avif');
  background-size: 100% 100%;
  background-position: top;
  background-repeat: no-repeat;
  pointer-events: none;
  top: 0;
  left: 0;
}

/* ============================================================
   FIX: SERVICES CONTAINER - Relative positioning
   ============================================================ */
.services-container {
  grid-template-columns: repeat(3, 250px);
  justify-content: center;
  column-gap: 9.8rem;
  text-align: center;
  margin-top: clamp(4%, -5%, 0%);
  transform: scale(0.8);
  position: relative;
  z-index: 5;
  margin-bottom: 2rem;
}

/* ============================================================
   FIX: FAQ TITLE 
   ============================================================ */



.faq-title {
    text-align: center;
    margin-bottom: 1264px; /* Default for Chrome */
    position: relative;
    z-index: 10;
}

/* Firefox only */
@-moz-document url-prefix() {
    .faq-title {
        margin-bottom: 1300px !important;
    }
}
/* ============================================================
   FIX: ACCORDION - HIGHEST Z-INDEX
   ============================================================ */
.accordion {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  max-width: 950px;
  margin: 0 auto 3rem auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--cyan-glow, rgba(13, 165, 239, 0.3));
  background: white;
  font-size: clamp(16px, 2rem, 20px) !important;
/*  overflow: visible !important; */
  position: relative;
  z-index: 100 !important;
}

/* ============================================================
   FIX: ACCORDION ITEMS
   ============================================================ */
.accordion-item {
  border-bottom: 1px solid var(--primary-blue, #0da5ef);
  overflow: visible !important;
  background: white;
  position: relative;
  z-index: 101;
}

.accordion-item:last-child {
  border-bottom: none;
}

/* ============================================================
   FIX: ACCORDION HEADER
   ============================================================ */
.accordion-header {
  background: white;
  padding: var(--acc-title-padding, clamp(12px, 20px, 28px) clamp(15px, 25px, 35px) clamp(12px, 20px, 28px) clamp(15px, 20px, 28px));
  cursor: pointer;
  border: none;
  width: 100%;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  transition: background-color 0.3s ease;
  outline: none;
}

.accordion-header:hover {
  background-color: rgba(13, 165, 239, 0.05);
}

.accordion-header:focus {
  background-color: rgba(13, 165, 239, 0.1);
}

.accordion-number {
  font-weight: bold;
  margin-right: 10px;
  min-width: 30px;
  flex-shrink: 0;
  background: linear-gradient(131.8deg, #009cff 0%, #9536e5 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.accordion-header h3 {
  color: #1b2c5c;
  font-size: clamp(0.85rem, 1.1vw, 1.1rem);
  margin: 0;
  flex-grow: 1;
  transition: color 0.3s ease;
  line-height: 1.3;
  font-weight: 700;
  padding-right: 15px;
  font-family: 'Roboto', sans-serif;
  -webkit-background-clip: text;
  -webkit-text-fill-color: #1b2c5c;
  background-image: none !important;
}

.accordion-header:hover h3 {
  color: var(--primary-blue, #0da5ef);
}

.accordion-arrow {
  width: clamp(18px, 24px, 30px);
  height: clamp(12px, 17px, 22px);
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='17' viewBox='0 0 24 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.17 0.735352L12 10.3378L2.83 0.735352L0 3.69882L12 16.2648L24 3.69882L21.17 0.735352Z' fill='%230da5ef'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
  transform-origin: center;
}

/* ============================================================
   FIX: ACCORDION CONTENT - Use height for GSAP animation
   ============================================================ */
.accordion-content {
  background: white;
  overflow: hidden;
  height: 0;
  padding: 0 25px 0 20px;
  color: #333;
  line-height: 1.5;
  font-size: clamp(0.8rem, 0.95vw, 0.95rem);
  position: relative;
  z-index: 102;
}

.accordion-content p {
  margin: 0;
  padding: clamp(15px, 20px, 28px) clamp(15px, 20px, 28px) clamp(15px, 20px, 28px) clamp(35px, 65px, 75px);
  font-family: Asap, sans-serif;
  font-weight: bold;
}

/* ============================================================
   FIX: CONTACT SECTION - Lower z-index than accordion
   ============================================================ */
.contact.section {
  padding: clamp(3rem, 6.5vw, 6.5rem) 0 2rem;
  position: relative;
  z-index: 20;
  margin-top: 0;
}

/* ============================================================
   FIX: CONTACT CONTAINER
   ============================================================ */
.contact-container1 {
  grid-template-columns: clamp(260px, 300px, 340px) clamp(280px, 340px, 400px);
  column-gap: clamp(1.5rem, 3vw, 3rem);
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  position: relative;
  top: -31%;
  z-index: 50;
}

/* ============================================================
   FIX: CONTACT INFO
   ============================================================ */
.contact-info {
  display: grid;
  row-gap: 1rem;
  top: -66px;
  position: relative;
  left: -173%;
  z-index: 40;
}

/* ============================================================
   FIX: MOBILE RESPONSIVE FOR SERVICES & ACCORDION
   ============================================================ */
@media screen and (max-width: 1024px) {
  .services-container {
    grid-template-columns: repeat(1, 268px);
    width: 415px;
    position: relative;
    margin: 0 auto;
    z-index: 5;
  }
  
  .accordion {
    max-width: 100%;
    margin: 0 10px 3rem 10px;
    font-size: clamp(14px, 4vw, 18px) !important;
    position: relative;
    z-index: 100 !important;
  }
  
  .accordion-header {
    padding: 15px 20px;
    flex-wrap: nowrap;
  }

  .accordion-number {
    min-width: 25px;
    font-size: 0.9rem;
  }

  .accordion-header h3 {
    font-size: 1rem;
    line-height: 1.4;
  }

  .accordion-arrow {
    width: 20px;
    height: 14px;
  }

  .accordion-content {
    padding: 0 20px 0 15px;
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 768px) {
  #services {
    min-height: auto;
    padding-bottom: 2rem;
  }
  
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    transform: scale(0.9);
    margin-bottom: 3rem;
    z-index: 5;
  }
  
  .faq-title {
    margin-top: 0 !important;
    padding-top: 9rem;
  }
  
  .accordion {
    max-width: 100%;
    margin: 0 10px 3rem 10px;
    border-radius: 8px;
    font-size: clamp(14px, 4vw, 18px) !important;
    position: relative;
    z-index: 100 !important;
  }
  
  .accordion-content {
    padding: 0 15px 0 10px;
  }
  
  .accordion-content p {
    padding: 15px 15px 15px 35px;
  }
  
  .contact-container1 {
    z-index: 50;
    top: 0 !important;
    position: relative;
    margin: 2rem auto;
    grid-template-columns: 1fr;
    gap: 2rem;
    transform: scale(0.8);
  }
  
  .contact-info {
    position: relative;
    left: 0;
    top: 0;
    z-index: 40;
  }
  
  .boat-night {
    height: 120vh;
    top: 12%;
    transform: scale(1.3);
    background-size: unset;
  }
}

@media screen and (max-width: 480px) {
  #services {
    padding-bottom: 1rem;
  }
  
  .services-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    transform: scale(0.9);
    margin: 0 auto 2rem;
    z-index: 5;
  }
  
  .accordion {
    margin: 0 10px 2rem 10px;
    position: relative;
    z-index: 100 !important;
  }
  
  .accordion-header {
    padding: 12px 15px;
  }
  
  .accordion-number {
    min-width: 20px;
    font-size: 0.8rem;
    margin-right: 8px;
  }
  
  .accordion-header h3 {
    font-size: 0.9rem;
    padding-right: 10px;
  }
  
  .accordion-arrow {
    width: 18px;
    height: 12px;
  }
  
  .accordion-content {
    padding: 0 15px 0 10px;
    font-size: 0.85rem;
    line-height: 1.6;
  }
  
  .accordion-content p {
    padding: 20px 20px 20px 45px;
  }
  
.contact-container1 {
	z-index: 50;
	position: relative;
	top: -55% !important;
	margin: 0 auto;
	transform: scale(0.) !important;
}
}

/* ============================================================
   PORTFOLIO POPUP
   ============================================================ */
.portfolio-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  opacity: 0;
  visibility: hidden;
  z-index: var(--z-modal);
  transition: 0.4s;
}

.portfolio-popup.open {
  opacity: 1;
  visibility: visible;
}

.portfolio-popup-inner {
  background-color: var(--box-color);
  width: clamp(320px, 900px, 95vw);
  border-radius: 0.5rem;
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  position: relative;
  top: -27%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-image-slice: 1;
  border-image-source: linear-gradient(to left, rgba(0, 156, 255, 0.3), rgba(200, 47, 255, 0.3));
}

.portfolio-popup-content {
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  column-gap: 3rem;
}

.portfolio-popup-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--primary-blue);
  cursor: pointer;
}

.portfolio-popup-img {
  border-radius: 0.5rem;
}

.portfolio-popup-subtitle {
  font-size: var(--smaller-font-size);
  margin-bottom: var(--mb025);
  color: var(--text-color);
}

.details-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(to right, #9a7a59, #dfc9a9 100%);
  background-clip: text;
}

.details-description {
  font-size: var(--small-font-size);
  margin-bottom: var(--mb2);
  color: var(--text-color);
}

.details-info {
  list-style: none;
}

.details-info li {
  margin-bottom: var(--mb075);
  text-transform: capitalize;
  font-size: var(--small-font-size);
  color: var(--text-color);
}

.details-info li:last-child {
  margin-bottom: 0;
}

.details-info li span {
  font-weight: normal;
}

.details-info li a {
  text-transform: lowercase;
  color: var(--primary-blue);
}

/* ============================================================
   CONTENT FROM contact.css MERGED
   ============================================================ */

.grid {
  display: grid;
}

.section {
  z-index: -3;
}

.vid-footer {
  position: relative;
  z-index: 11;
  bottom: 0;
}

.contact-content {
  width: 19%;
  position: absolute;
  left: 49%;
  top: 33%;
}

/* ---------- Magnetic Glow Demo ---------- */
.magnetic-glow-demo {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* ---------- Card Grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* ---------- Glow Card ---------- */
.glow-card {
  position: relative;
  background-color: var(--color-card);
  overflow: hidden;
  cursor: pointer;
  height: 100%;
  transition: transform 0.3s ease;
}

.glow-card:hover {
  transform: translateY(-8px);
}

.glow-card:nth-child(1) {
  --glow-color: rgba(93, 139, 244, 0.5);
}
.glow-card:nth-child(2) {
  --glow-color: rgba(255, 107, 107, 0.5);
}
.glow-card:nth-child(3) {
  --glow-color: rgba(72, 219, 251, 0.5);
}
.glow-card:nth-child(4) {
  --glow-color: rgba(29, 209, 161, 0.5);
}
.glow-card:nth-child(5) {
  --glow-color: rgba(29, 209, 161, 0.5);
}
.glow-card:nth-child(6) {
  --glow-color: rgba(29, 209, 161, 0.5);
}

/* ---------- Card Content ---------- */
.card-content {
  position: relative;
  z-index: 2;
  height: 102%;
  display: flex;
  flex-direction: column;
  background-image: url('https://i-repair.ro/assets/liberty.png');
  background-size: 331%;
  background-repeat: no-repeat;
  background-position-x: 50%;
}

/* ---------- Work Card (Portfolio) ---------- */
.work-card {
  padding: 1.25rem;
  border-radius: 0.5rem;
  background-image: linear-gradient(180deg, #151517 0%, #002256 100%);
}

.work-card:hover {
  box-shadow: 0 0 0 2px var(--glow-color, rgba(93, 139, 244, 0.5)),
              0 0 30px 2px var(--glow-color, rgba(93, 139, 244, 0.25));
  transition: transform 0.9s ease;
  transform: translateY(-8px);
}

/* ---------- Card Image ---------- */
.card-img {
  width: 100%;
  height: clamp(150px, 200px, 250px);
  overflow: hidden;
  position: relative;
}

.card-img img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  border-radius: 14px;
}

.glow-card:hover .card-img img {
  transform: scale(1.05);
}

/* ---------- Card Body ---------- */
.card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
}

/* ---------- Card Title ---------- */
.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
}

.card-title[style*="font-size: 0.8rem"] {
  font-size: 0.8rem !important;
}

/* ---------- Card Tag ---------- */
.card-tag {
  padding: 0.25rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  background: -webkit-linear-gradient(transparent, transparent), -webkit-linear-gradient(top, rgba(213, 173, 109, 1) 0%, rgba(213, 173, 109, 1) 26%, rgba(226, 186, 120, 1) 35%, rgba(163, 126, 67, 1) 45%, rgba(145, 112, 59, 1) 61%, rgba(213, 173, 109, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---------- Card Rating ---------- */
.card-rating {
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
}

.rating-count {
  font-size: 0.875rem;
  color: var(--color-text-tertiary);
  margin-left: 0.25rem;
}

/* ---------- Card Price ---------- */
.card-price {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: auto;
  color: var(--color-text-primary);
}

/* ---------- Card Text ---------- */
.card-text {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ---------- Card Actions ---------- */
.card-actions {
  margin-top: auto;
}

/* ---------- Card Button ---------- */
.card-btn {
  display: block;
  width: 100%;
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  text-decoration: none;
}

.card-btn.primary {
  background-color: var(--color-background);
  color: var(--color-text-primary);
}

.card-btn.primary:hover {
  background-color: #1a1a1a;
}

.card-btn.primary.work-button {
  top: 30%;
  position: relative;
  width: 108%;
  left: -5%;
}

/* ---------- Profile Card ---------- */
.profile-content {
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(45deg, #000, #181b1f, #000);
}

.profile-banner {
  height: clamp(60px, 80px, 100px);
  background: linear-gradient(to right, var(--primary-red), #ff9f43);
}

.profile-img {
  width: clamp(70px, 90px, 110px);
  height: clamp(70px, 90px, 110px);
  border-radius: 50%;
  margin: -45px auto 1rem;
  position: relative;
  z-index: 3;
}

.profile-img img {
  width: 107%;
  height: 131%;
  object-fit: cover;
  top: -13px;
  position: relative;
}

.profile-job {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  padding: 0 1.5rem;
  background: -webkit-linear-gradient(transparent, transparent),
              -webkit-linear-gradient(top, rgba(213, 173, 109, 1) 0%, rgba(213, 173, 109, 1) 26%, rgba(226, 186, 120, 1) 35%, rgba(163, 126, 67, 1) 45%, rgba(145, 112, 59, 1) 61%, rgba(213, 173, 109, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.profile-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
  padding: 0 1rem;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--color-text-tertiary);
}

/* ---------- Feature Card ---------- */
.feature-card-content {
  padding: 0rem;
  text-align: center;
}

.card-icon {
  width: clamp(40px, 54px, 68px);
  height: clamp(40px, 54px, 68px);
  margin: 0 auto 1.25rem;
  color: var(--primary-cyan);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.feature-points {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
  text-align: left;
}

.feature-point {
  font-size: 0.9375rem;
  color: rgb(255, 255, 255);
  font-weight: bolder;
  text-rendering: optimizelegibility;
}

.feature-point svg {
  width: 18px;
  height: 18px;
  color: var(--primary-cyan);
  flex-shrink: 0;
}

/* ---------- Glow Effect ---------- */
.glow-effect {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

/* ---------- Services Content ---------- */
.services-content {
  position: relative;
  padding: 6rem 0 2rem 2.5rem;
  border-radius: 1.25rem;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 156, 255, 0.62) 0, rgba(0, 156, 255, 0.32) 30.21%, rgba(0, 33, 76, 0) 100%);
}

.services-content::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #512614, #a1623a, #ba7447, #edc38b, #b27449, #ddab77, #eac4ae, #b67e4e, #5b2d17, #44271c);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.services-icon {
  display: block;
  font-size: 1.8rem;
  color: var(--skin-color);
  margin-bottom: var(--mb1);
}

.services-title {
  font-size: var(--h3-font-size);
  margin-bottom: -21px;
  font-weight: 700;
  top: -45px;
  position: relative;
  left: -22px;
}

.services-button {
  cursor: pointer;
  display: inline-block;
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transform: translateY(20px);
  animation: floatIn 0.8s ease-out 0.8s forwards;
  transition: all 0.3s ease;
  left: -21px;
  position: relative;
  top: -14px;
  background-image: linear-gradient(180deg, #512614, #a1623a, #ba7447, #edc38b, #b27449, #ddab77, #eac4ae, #b67e4e, #5b2d17, #44271c);
}

.services-button-icon {
  font-size: 1rem;
  transition: 0.4s;
}

.services-button:hover .services-button-icon {
  transform: translateX(0.25rem);
}

.services-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}

.active-modal {
  opacity: 1;
  visibility: visible;
}

.services-modal-content {
  width: clamp(320px, 500px, 90vw);
  position: relative;
  background-color: var(--box-color);
  padding: 4.5rem 2.5rem 2.5rem;
  border-radius: 0.5rem;
  background: rgba(128, 222, 243, 0.25);
  backdrop-filter: blur(20px);
  border: 5px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
  border-image-slice: 1;
  border-image-source: linear-gradient( to left, rgba(0, 156, 255, 0.3), rgba(200, 47, 255, 0.3) );
}

.services-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--skin-color);
  cursor: pointer;
}

.services-modal-title,
.services-modal-description {
  text-align: center;
}

.services-modal-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb1);
}

.services-modal-description {
  font-size: var(--small-font-size);
  padding: 0 3.5rem;
  margin-bottom: var(--mb2);
}

.services-modal-services {
  row-gap: var(--mb075);
}

.services-modal-service {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
}

.services-modal-icon {
  color: #0da5ef;
  font-size: 1.1rem;
}

.services-modal-info {
  font-size: var(--small-font-size);
}

/* ---------- Services Images ---------- */
.services-content img {
  width: auto;
  top: -55px;
  position: relative;
  left: -21px;
  height: clamp(70px, 100px, 130px);
}

.services-content .ui/ux {
  height: 101px;
}

/* ---------- Contact Card ---------- */
.contact-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: clamp(15px, 25px, 35px) clamp(20px, 39px, 50px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: clamp(260px, 330px, 400px);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  height: clamp(110px, 138px, 170px);
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 156, 255, 0.62) 0, rgba(0, 156, 255, 0.32) 30.21%, rgba(0, 33, 76, 0) 110%);
}

.contact-card a {
  display: flex;
  left: 1%;
  position: relative;
  top: 15%;
  gap: 15px;
}

.contact-card img {
  margin-top: 0.3rem;
  width: clamp(45px, 60px, 75px);
  position: relative;
  top: -14px;
  margin-right: 11px;
  height: clamp(45px, 60px, 75px);
}

.contact-card-text {
  display: flex;
  flex-direction: column;
  gap: 0rem;
}

.contact-card-text-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  left: 13%;
  position: relative;
}

.contact-card-title {
  font-weight: var(--font-medium);
  color: var(--title-color);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(to right, #9a7a59, #dfc9a9 100%);
  background-clip: text;
}

.contact-card-data {
  display: block;
  margin-bottom: var(--mb075);
  color: #fff;
}


/* ---------- Shader Button ---------- */
.shader-button {
  font-family: "GoodTimesRg";
  position: relative;
  width: clamp(10rem, 13rem, 16rem);
  height: clamp(3rem, 3.5rem, 4.5rem);
  color: #fff;
  font-size: clamp(0.75rem, 0.9vw, 1.1rem);
  border: 2px solid #c8a780;
  border-radius: 1rem;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
  z-index: 2;
}

.shader-button span {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
  line-height: 60px;
  color: white;
  font-weight: bold;
  font-family: "GoodTimesRg";
}

.shader-button:hover canvas {
  opacity: 1;
}

.shader-button canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.9;
  transition: opacity 100ms ease;
  border-radius: 1rem;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.send {
  left: 3%;
  position: relative;
  z-index: 1000000;
  border: none;
  background: none;
}

/* ---------- Footer ---------- */
.footer-container {
  grid-template-columns: repeat(2, 1fr);
  column-gap: 0.6rem;
  position: relative;
  z-index: 10;
  height: auto !important;
  padding: clamp(8rem, 16rem, 20rem) 0rem;
  gap: clamp(20rem, 38rem, 50rem);
  margin: 0 auto;
  justify-content: center;
  align-content: center;
  max-width: 1250px;
}

.footer-title {
  font-size: var(--h1-font-size);
  margin-bottom: var(--mb025);
  top: -6px;
  background-clip: text;
  background-image: linear-gradient(to right, #9a7a59, #dfc9a9 100%) !important;
  position: relative;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  mix-blend-mode: screen;
  width: max-content;
}

.footer-subtitle {
  font-size: var(--small-font-size);
  background-clip: text;
  background-image: linear-gradient(to right, #dfc9a9, #9a7a59 100%) !important;
  position: relative;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  mix-blend-mode: screen;
  position: relative;
  top: -23%;
}

/* ---------- Video Container Card ---------- */
.video-container-card {
  max-width: 327px;
  height: clamp(80px, 114px, 150px);
  overflow: hidden;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: -39px;
  border-radius: 24px;
  margin-top: -14px;
}

.video-container-card video {
  width: auto;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

/* ---------- Video Container Small ---------- */
.video-container-small {
  width: 101%;
  max-width: 390px;
  height: clamp(60px, 90px, 120px);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
}

.video-container-small video {
  width: auto;
  height: 100%;
  object-fit: cover;
}

/* ---------- Logo ALF ---------- */
.logoalf {
  z-index: 10000;
  position: relative;
  width: 104%;
  left: 50%;
  top: 10%;
  transform: translate(-50%, -60%);
  background-image: url("/assets/logowide.avif");
  background-repeat: no-repeat;
  background-position: center;
  height: 50%;
  background-size: 100%;
}

/* ---------- Brain Video ---------- */
#brainy {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -4;
}

.brain-video {
  position: relative;
  width: 100%;
  height: 100%;
  top: 0%;
}

.video-0-2-175 {
  top: -100px;
  left: 0;
  width: var(--vw, 100vw);
  height: var(--vh, 100vh);
  display: flex;
  z-index: 1;
  overflow: hidden;
  position: absolute;
  font-size: 10vw;
  transform: translateY(100%);
  background: linear-gradient(155deg, black, #2a4a8a, black);
  align-items: center;
  user-select: none;
  pointer-events: none;
  justify-content: center;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.video-0-2-175.loading {
  opacity: 0.7;
}

.video-0-2-175.loaded {
  opacity: 1;
}

/* ---------- Cursor ---------- */
.cursor {
  position: fixed;
  width: clamp(12px, 16px, 20px);
  height: clamp(12px, 16px, 20px);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cursor.active {
  opacity: 1;
}

/* ---------- Triangles ---------- */
.triangles-0-2-173 {
  position: absolute;
  z-index: 4;
  width: auto;
  height: 84%;
  margin: 0;
  left: -5%;
  top: 0;
  transform-origin: left center;
}


/* ---------- Section BG ---------- */
.section-bg {
  background-size: cover;
  background-position: center center;
  height: clamp(40vh, 57vh, 70vh);
  background-image: url("https://i-repair.ro/images/kv.webp");
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  z-index: 2;
  position: relative;
  width: 100%;
  pointer-events: none;
  top: 40%;
  overflow: hidden;
}

.video-boat {
  top: -100px;
  left: 0;
  width: var(--vw);
  height: var(--vh);
  display: flex;
  z-index: 1;
  overflow: hidden;
  position: relative;
  font-size: 10vw;
  transform: translateY(100%);
  background: linear-gradient(155deg, black, #2a4a8a, black);
  align-items: center;
  user-select: none;
  pointer-events: none;
  justify-content: center;
  object-fit: cover;
  transition: opacity 0.3s ease;
  z-index: -990000;
}

.video-boat.loading {
  opacity: 0.7;
}

.video-boat.loaded {
  opacity: 1;
}

/* ---------- ds-wrapper ---------- */
.ds-wrapper {
  min-height: 100vh;
}

.ds-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  border-radius: 2.5rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.7);
  position: relative;
  background: linear-gradient(150deg, rgb(0, 0, 0) 0%, rgb(26, 36, 49) 50%, rgb(0, 0, 0) 100%);
  margin-top: 6%;
}

.ds-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0rem;
  align-items: start;
  background: linear-gradient(149deg, rgb(0, 0, 0) 0%, rgb(26, 36, 49) 50%, rgb(0, 0, 0) 100%);
}

.ds-col {
  max-width: 625px;
  width: 100%;
  justify-self: center;
}

.ds-left-col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
}

.ds-glow-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 0.15rem 0;
  font-size: calc(1.941747572816vw + 2.071844660194rem);
  animation: 5s linear 0.75s infinite ds-lights;
  text-shadow: 0 0 0.3em rgba(255, 51, 187, 0.2);
  word-break: break-word;
  font-size: clamp(var(--dst--title-fsM,var(--dst--min-base-text-size)), var(--clamp-formula,3.5vw), var(--dst--title-fs));
  --dst--title-fs: 2.5rem;
  --dst--h2-clamp-formula: calc(1.941747572816vw + 2.071844660194rem);
  --dst--min-base-text-size: 16px;
  --dst--title-fsM: 11px;
  --clamp-formula: var(--dst--h2-clamp-formula);
}

@keyframes ds-lights {
  0% {
    text-shadow: 0 0 1em #f0a3, 0 0 .125em #ff33bb4d, -1em -.125em .5em #fb30, 1em .125em .5em #3bf0;
  }
  30% {
    text-shadow: 0 0 1em #ff00aa80, 0 0 .125em #ff33bb80, -.5em -.125em .25em #fb33, .5em .125em .25em #3bf6;
  }
  40% {
    text-shadow: 0 0 1em #ff00aa80, 0 0 .125em #ffccee80, -.25em -.125em .125em #fb33, .25em .125em .125em #3bf6;
  }
  70% {
    text-shadow: 0 0 1em #ff00aa80, 0 0 .125em #ff33bb80, .5em -.125em .25em #fb33, -.5em .125em .25em #3bf6;
  }
  to {
    text-shadow: 0 0 1em #f0a3, 0 0 .125em #ff33bb4d, 1em -.125em .5em #fb30, -1em .125em .5em #3bf0;
  }
}

.ds-feature-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.ds-feature-list li {
  position: relative;
  padding-left: 2.4rem;
  font-size: 1.1rem;
  line-height: 1.4;
  color: #eaf0f5;
  font-weight: 450;
  letter-spacing: 0.01em;
  background: transparent;
}

.ds-bullet-icon {
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 22px;
  height: 16px;
  overflow: visible;
  filter: drop-shadow(0 0 2px #04e4ff55);
  will-change: transform, opacity;
}

.ds-bullet-icon path {
  fill: #04e4ff;
}

.ds-bullet-icon path.ds-tail {
  opacity: 0.6;
}

.ds-desc-text {
  font-size: 16px;
  text-align: left;
  color: #fff;
  line-height: 1.6;
  max-width: 100%;
  margin-top: 0.25rem;
  text-wrap: wrap;
  overflow-wrap: break-word;
  word-break: break-word;
  background: rgba(255,255,255,0.02);
  padding: 0.75rem 1rem 0.75rem 0;
  border-left: 2px solid #04e4ff33;
  padding-left: 1rem;
  font-weight: 600;
}

/* 3D Cube Canvas Styling */
#ds-cube-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 400px;
  margin: 1rem auto 0;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
}

#ds-cube-container canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ----- RIGHT SIDE ----- */
.ds-right-col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ds-section-title {
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 0.85rem 0;
  font-size: clamp(1.5rem, 1.3vw + 1.2rem, 2rem);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #04e4ff2e;
  display: flex;
  justify-content: center;
}

.ds-strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.4rem;
}

.ds-strategy-item .ds-item-title {
  display: block;
  color: #04e4ff;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.35rem;
  margin-left: 36px;
}

.ds-strategy-item .ds-feature-list {
  margin: 0;
  gap: 0;
}

.ds-strategy-item .ds-feature-list li {
  font-size: 0.88rem;
  line-height: 1.4;
  padding-left: 2.2rem;
  font-weight: 400;
}


/* ============================================================
   RESPONSIVE DESIGN - ADDITIONAL MEDIA QUERIES
   ============================================================ */
@media screen and (max-width: 576px) {
  .services-container {
    grid-template-columns: 1fr;
  }

  .services-modal-content {
    padding: 4.5rem 1.5rem 2.5rem;
  }

  .services-modal-description {
    padding: 0;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-width: unset;
    transform: scale(0.95);
  }
}

@media screen and (orientation: portrait) and (max-width: 768px) {
  .home {
    background-size: cover;
    background-position: center center;
    height: 100vh;
    background-image: url("https://i-repair.ro/images/bg1.webp");
    box-shadow: none;
    z-index: -1;
    position: relative;
  }

  .home-data {
    width: 95%;
    position: absolute;
    top: 45%;
    margin-left: 10px;
    margin-right: 10px;
  }

  .services-title {
    font-size: var(--h3-font-size);
    margin-bottom: -21px;
    font-weight: 700;
    top: -45px;
    position: relative;
    left: -4px !important;
  }

  .services-button {
    left: -7px !important;
  }

  .logoalf {
    z-index: 10;
    position: relative;
    width: 90%;
    left: 50%;
    top: 89%;
    transform: scale(1) translate(-54%, -103%);
    background-image: url("https://i-repair.ro/images/logowide.png");
    background-repeat: no-repeat;
    background-position: center;
    height: 47%;
    background-size: 100%;
  }

  .shader-button {
    font-family: "GoodTimesRg";
    position: relative;
    width: clamp(10rem, 12rem, 14rem);
    height: clamp(3rem, 3.5rem, 4rem);
    color: #fff;
    font-size: clamp(0.7rem, 0.9vw, 1rem);
    border: 1px solid #fff5;
    border-radius: 1rem;
    background: transparent;
    overflow: hidden;
    cursor: pointer;
    z-index: 2;
    animation: animateBg 5s linear infinite;
    transform: scale(0.85) translate(0%, -60%);
  }

  #gltext {
    width: 250px !important;
    height: 65px !important;
    margin-bottom: 20px;
    margin-left: -2%;
  }

  .ui/ux {
    height: 101px;
  }

  .video-container-boat {
    display: none;
  }

  .container {
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    margin-top: -16%;
  }

  .footer {
    padding-top: 12rem !important;
  }

  .footer-title {
    font-size: var(--h1-font-size);
    margin-bottom: var(--mb025);
  }

  #conversation-container {
    display: none !important;
  }

  #cube {
    width: 400px !important;
    height: 400px !important;
    top: -174%;
    position: absolute;
    left: -5%;
  }

  .home-data {
    width: 100%;
    position: absolute;
    top: 19%;
  }

  #logoContainer {
    position: absolute;
    transform: translate(267%, -140%) scale(0.9);
  }

  .about-data {
    max-width: 80% !important;
    width: fit-content;
    margin: 0 auto;
    box-sizing: border-box;
    right: 5px;
    position: relative;
    text-align: center;
  }

  .contact-content {
    width: 90%;
    position: absolute;
    left: 5%;
    right: 0;
    top: 37%;
  }

  .mainSlider {
    display: none !important;
  }
}

@media screen and (orientation: landscape) and (max-height: 420px) {
  :root {
    --biggest-font-size: 1.5rem;
    --h1-font-size: 1.25rem;
    --h2-font-size: 1.125rem;
    --h3-font-size: 1rem;
    --normal-font-size: 0.875rem;
    --small-font-size: 0.75rem;
    --smaller-font-size: 0.7rem;
  }

  .canvas {
    top: 22% !important;
    left: 52% !important;
    width: 56% !important;
    height: 54% !important;
    transform: none !important;
  }

  .video-container2 {
    width: 100px;
    height: 100px;
    background-color: #000;
    border-radius: 50%;
    overflow: hidden;
    position: fixed;
    bottom: 6% !important;
    z-index: 2;
    left: 0;
    right: 0;
    margin: auto;
  }

  .logoalf {
    z-index: 10000;
    position: relative;
    width: 92%;
    left: 50%;
    top: 47%;
    transform: translate(-62%, -107%);
    background-image: url("https://i-repair.ro/images/logowide.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 55%;
    background-size: 95%;
  }

  .shader-button {
    font-family: "GoodTimesRg";
    position: relative;
    width: clamp(9rem, 13rem, 15rem);
    height: clamp(2.8rem, 3.5rem, 4rem);
    color: #fff;
    font-size: clamp(0.6rem, 0.9vw, 1rem);
    border: 1px solid #fff5;
    border-radius: 1rem;
    background: transparent;
    overflow: hidden;
    cursor: pointer;
    z-index: 2;
    animation: animateBg 5s linear infinite;
    transform: scale(0.8) translate(-14%, -70%);
  }

  #flag {
    width: 360px !important;
    height: 360px !important;
    position: absolute !important;
    top: 19% !important;
    left: -8% !important;
    display: block;
  }
}

@media (min-width: 1366px) and (max-width: 1366px) {
  .video-container-menu video {
    width: 100%;
    height: 242%;
    position: absolute;
    top: -83%;
    left: -1%;
  }

  .brain-video {
    position: relative;
    width: 100%;
    height: 100%;
    top: -133%;
  }

  #experience-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    width: 100%;
    max-width: 800px;
    min-height: 100px;
    padding: 20px;
    box-sizing: border-box;
    top: -17%;
    position: relative;
  }

  .home-data {
    width: 100%;
    position: absolute;
    top: 59%;
    left: 8%;
  }

  #logoContainer {
    position: absolute;
    top: 14%;
    right: 54%;
  }

  .video-container-menu {
    position: absolute;
    width: 100%;
    height: 129%;
    overflow: hidden;
    display: block !important;
  }

  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    left: 4%;
  }

  .photoBox.opened {
    position: fixed;
    top: 1% !important;
    left: -5% !important;
    border-radius: 0;
    z-index: 1000;
    transform: scale(0.8) !important;
    height: 100% !important;
    width: 100% !important;
    background-size: 85% !important;
    background-position: left !important;
  }

  .contact-container1 {
    grid-template-columns: 300px 340px;
    column-gap: 3rem;
    justify-content: center;
    align-items: center;
    top: -6%;
    position: relative;
    z-index: 1000;
  }

  .section-bg {
    background-size: cover;
    background-position: center center;
    height: 101vh;
    background-image: url("https://i-repair.ro/images/kv.webp");
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    z-index: 2;
    position: absolute;
    width: 100%;
    pointer-events: none;
    top: 23%;
    overflow: hidden;
  }

  .footer-container {
    position: absolute;
    z-index: 10;
    height: auto !important;
    left: 17%;
    top: 41%;
  }


  .video-container-boat {
    position: absolute;
    top: 66%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    will-change: transform;
    z-index: 0;
  }

  #conversation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    width: 100%;
    max-width: 800px;
    min-height: 100px;
    padding: 20px;
    box-sizing: border-box;
    transform: scale(1.2);
  }
}

@media (min-width: 1440px) and (max-width: 1440px) {
  .footer-container {
    position: absolute;
    z-index: 10;
    height: auto !important;
    left: 17%;
    top: 57%;
  }
}

@media (min-width: 1600px) and (max-width: 1600px) {
  .contact-container1 {
    grid-template-columns: 300px 340px;
    column-gap: 3rem;
    justify-content: center;
    align-items: center;
    top: 16%;
    position: relative;
    z-index: 1000;
  }

  .footer-container {
    position: absolute;
    z-index: 10;
    height: auto !important;
    left: 17%;
    top: 57%;
  }

  #conversation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    width: 100%;
    max-width: 800px;
    min-height: 100px;
    padding: 20px;
    box-sizing: border-box;
    transform: scale(1.2);
    top: 19%;
    position: relative;
  }

  .vid-footer {
    position: relative;
    z-index: 11;
    bottom: 0;
    top: 137%;
    left: 147%;
  }
}

@media (min-width: 1601px) and (max-width: 1920px) {
  .video-container-menu {
    position: absolute;
    width: 100%;
    height: 125%;
    overflow: hidden;
    display: block !important;
  }

  .video-container-menu video {
    width: auto;
    height: 166%;
    position: absolute;
    top: -54%;
    left: -5%;
  }

  .brain-video {
    position: relative;
    width: 100%;
    height: 113%;
    top: -55%;
    transform: scale(0.8);
    left: 0%;
  }

  .home-data {
    width: 100%;
    position: absolute;
    top: 59%;
    left: 8%;
  }

  #logoContainer {
    position: absolute;
    top: 14%;
    right: 54%;
  }

  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    left: 4%;
  }

  .contact-container1 {
    grid-template-columns: 300px 340px;
    column-gap: 3rem;
    justify-content: center;
    align-items: center;
    top: 32%;
    position: relative;
    z-index: 1000;
  }

  .section-bg {
    background-size: cover;
    background-position: center center;
    height: 101vh;
    background-image: url("https://i-repair.ro/images/kv.webp");
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    z-index: 2;
    position: absolute;
    width: 100%;
    pointer-events: none;
    top: 23%;
    overflow: hidden;
  }

  .footer-container {
    position: absolute;
    z-index: 10;
    height: auto !important;
    left: 17%;
    top: 67%;
    max-width: 1250px;
    display: grid;
    width: 100%;
  }


  .video-container-boat {
    position: absolute;
    top: 66%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    will-change: transform;
    z-index: 0;
  }

  #conversation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    width: 100%;
    max-width: 800px;
    min-height: 100px;
    padding: 20px;
    box-sizing: border-box;
    transform: scale(1.5);
    top: 19%;
    position: relative;
  }

  .vid-footer {
    position: relative;
    z-index: 11;
    bottom: 0;
  }
}

@media screen and (min-width: 320px) and (max-width: 1200px) {
  .video-container-menu {
    display: none;
  }
}

@media screen and (orientation: portrait) and (max-width: 768px) {
  .mainSlider {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .glitch {
    color: white;
    font-size: 47px;
    position: relative;
    width: 335px !important;
  }

  .magnetic-glow-demo {
    padding: 0rem;
    border-radius: 20px;
    position: relative;
    top: -3%;
  }

  #offer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 800px;
    min-height: 100px;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    position: relative;
    margin-top: -87px;
  }

  .shader-button {
    right: -9rem;
  }
}

@media (max-width: 700px) {
  .ds-strategy-grid {
    grid-template-columns: 1fr;
  }
  .ds-grid-two {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .ds-col {
    max-width: 100%;
    justify-self: center;
  }
  .ds-glow-title {
    font-size: calc(-3.058vw + 2.071844660194rem);
  }
  .ds-container {
    padding: 1.8rem 1.2rem;
  }
  #ds-cube-container {
    height: 300px;
  }
}

@keyframes animateBg {
  100% {
    filter: hue-rotate(360deg);
  }
}

@keyframes floatIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Fix for services container on tablet */
@media screen and (max-width: 1024px) {
  .services-container {
    grid-template-columns: repeat(1, 268px);
    width: 415px;
  }
  .contact-container1 {
    grid-template-columns: 300px 340px;
  }
  .footer-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Fix for mobile contact container */
@media screen and (max-width: 768px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .services-content {
    padding: 3.5rem 0.5rem 1.25rem 1.5rem;
  }
  .services-content img {
    width: 101px !important;
    top: -43px !important;
    left: -11px !important;
  }
  .contact-container1 {
    column-gap: 0rem;
    justify-content: center;
    align-items: center;
    width: 51%;
    max-width: 1250px;
    margin: 0 auto;
    position: relative;
    top: -58%;
    left: 2%;
    transform: scale(0.6);
    grid-template-columns: 440px;
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 0.6rem;
    position: relative;
    z-index: 10;
    height: auto !important;
    padding: clamp(8rem, 14rem, 20rem) 1rem;
    gap: clamp(20rem, 38rem, 50rem);
    margin: 0 auto;
    justify-content: center;
    align-content: center;
    max-width: 1250px;
  }
  .contact-info {
    display: grid;
    row-gap: 1rem;
    top: -139px;
    position: relative;
    left: -76%;
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 3rem;
  }
  .portfolio-popup-inner {
    width: 420px;
    padding: 2.8rem 1.5rem 2.5rem;
  }
  .portfolio-popup-content {
    grid-template-columns: 1fr;
    row-gap: 1.6rem;
  }
  .details-title {
    font-size: var(--normal-font-size);
  }
  .portfolio-popup-close {
    top: 0.5rem;
  }
  .about-data-left {
    max-width: 560px;
    max-height: 330px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    left: 5px;
    position: relative;
    text-align: center;
    height: 328px;
  }
}

@media (max-width: 768px) {
  .video-boat {
    top: 50%;
    left: -1%;
    width: 100%;
    height: auto;
    max-height: 50vh;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .video-boat {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: auto;
    max-height: 80vh;
  }
}