/* ---------- marquee animation (unchanged) ---------- */
@keyframes slide {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-50%,0,0); }
}
.animate-slide {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  width: max-content;
  animation: slide 10s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* ---------- image defaults ---------- */
.animate-slide img,
.animate-slide .icon-svg {
  display: block;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  object-fit: contain;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  image-rendering: optimizeQuality;
  transition: transform .18s ease, filter .18s ease, opacity .18s ease, background-color .18s ease;
}

/* hover lift */
.animate-slide img:hover,
.animate-slide .icon-mask:hover,
.animate-slide .icon-svg:hover {
  transform: translateY(-6px) scale(1.05);
}

/* pause on hover for the marquee container */
.overflow-hidden:hover .animate-slide { animation-play-state: paused; }

/* responsive */
@media (max-width: 640px) {
  .animate-slide { animation-duration: 14s; gap: 1.5rem; }
  .animate-slide img,
  .animate-slide .icon-svg,
  .animate-slide .icon-mask { width: 44px; height: 44px; flex: 0 0 44px; }
}

/* ===================== THEME-AWARE ICONS ===================== */

/* Default: do nothing (logos show in their natural colour) */
.icon {
  /* optional helper: ensure easy override if you want unified sizing */
  width: 60px;
  height: 60px;
  display: inline-block;
}

/* ---- Approach A: filter-based recolor for monochrome icons ----
   Use when your PNGs are single-color on transparent background.
   Mark such <img> with data-mono="true".
   This will invert (black → white) in dark mode and revert in light mode.
*/
img[data-mono="true"] {
  filter: none; /* default (light mode) shows original black/mono */
}

/* dark mode (your theme script sets html.dark and body[data-theme="dark"] ) */
html.dark img[data-mono="true"],
body[data-theme="dark"] img[data-mono="true"] {
  /* Invert and desaturate to get a clean white icon.
     Tweak brightness/contrast if icons are too bright/dim. */
  filter: invert(1) grayscale(1) contrast(1);
}

/* If you want light-mode explicitly black (in case an icon was white originally),
   mark with data-invert-light="true" and it will be inverted in light mode.
   (Rare; kept for completeness) */
html.light img[data-invert-light="true"],
body[data-theme="light"] img[data-invert-light="true"] {
  filter: invert(1) grayscale(1) contrast(1);
}

/* ---- Approach B: mask-based recolor (crisp, recommended for monochrome icons) ----
   Instead of <img>, use a span with class .icon-mask and set the mask-image URL
   (works best with a single-color PNG or SVG mask).
   Example markup:
     <span class="icon-mask" style="--mask:url('/images/Technology_logo/html.png')" aria-hidden="true"></span>
*/
.icon-mask {
  display:inline-block;
  width:60px;
  height:60px;
  background-color: #111;        /* default: dark outline for light theme */
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  transition: background-color .18s ease, transform .18s ease;
  -webkit-mask-image: var(--mask);
  mask-image: var(--mask);
}

/* dark theme: switch mask color to white */
html.dark .icon-mask,
body[data-theme="dark"] .icon-mask {
  background-color: #fff;
}

/* responsive for mask */
@media (max-width: 640px) {
  .icon-mask { width:44px; height:44px; }
}

/* ---- Approach C: SVGs using currentColor (best if you can use SVGs) ----
   Inline or external SVGs where internal paths use fill="currentColor".
   Add class .icon-svg and style color based on theme.
*/
.icon-svg { color: #111; transition: color .15s ease; }

/* dark: make SVG white */
html.dark .icon-svg,
body[data-theme="dark"] .icon-svg {
  color: #fff;
}

/* =================
portfolio
=============*/























/* Make ONLY footer list items smaller */
/* --- IMAGE: make image taller and shifted up so top appears, without moving content --- */
.hero-section { position: relative; }

/* Increase image height and shift up. This DOES NOT move your h1/list because img is absolute. */
.hero-img {
  position: absolute;
  left: 0;
  right: 0;
  /* make it taller than the section so top of original image is visible */
  height: calc(100% + 240px); /* tweak 240px as needed (less -> less top revealed) */
  top: -160px;                /* negative top moves the image up (reveal top). tweak as needed */
  width: 100%;
  object-fit: cover;
  object-position: top center; /* prioritize top of image */
  z-index: -10;
  will-change: transform;
}

/* Smooth multi-stop mask for nicer blending */
.fade-bottom {
  mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 40%,
    rgba(0,0,0,0.85) 62%,
    rgba(0,0,0,0.5) 80%,
    rgba(0,0,0,0.15) 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 40%,
    rgba(0,0,0,0.85) 62%,
    rgba(0,0,0,0.5) 80%,
    rgba(0,0,0,0.15) 92%,
    transparent 100%
  );
  /* improve GPU rendering */
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}










/* Mobile (When screen is small, Xeveloped goes to next line) */
/* Default (Desktop) */
/* Default (Desktop & Tablet) */
.mobile-screen {
  display: inline;
}

/* Mobile (Below 768px) */
@media (max-width: 768px) {

  /* Allow wrapping so Xeveloped can move down */
  h1.desktop-screen-h1,
  h1 {
    white-space: normal !important;
    font-size: clamp(1.9rem, 7vw, 3.8rem) !important;
  }

  /* Put Xeveloped on next line */
  .mobile-screen {
    display: block;
  }
}









/* Keep your home-btn vertical offset but make it adjustable */
.home-btn { transform: translateY(180px); transition: transform 0.4s ease; }

/* --- BUTTON: explore button color + hover (size kept unchanged) --- */
.btn-explore {
  background-color: #A585FF;
  color: #ffffff;
  transition: background-color 220ms ease, color 220ms ease;
}
.btn-explore:hover,
.btn-explore:focus {
  background-color: #000000;
  color: #ffffff;
}

/* --- H1: ensure strong weight and control font-size correctly --- */
.hero-title {
  display: inline-block;
  font-weight: 900; /* numeric control - if font doesn't include 900, visual weight can be boosted by text-shadow below */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  white-space: nowrap;
}

/* extra visual boost if a font variant 900 is not strong enough */
.hero-title {
  text-shadow:
    0 1px 0 rgba(0,0,0,0.25),
    0 0 0 rgba(255,255,255,0.01);
}

/* split spans to keep exact alignment and prevent extra spaces */
.hero-left,
.hero-right {
  display: inline-block;
  vertical-align: middle;
}

/* ensure there's no accidental gap after the comma */
.hero-left { margin-right: 0.5ch; } /* adjust spacing if you want it tighter/looser */

/* ---- Optional: responsive tweak (if you want less vertical push on smaller screens) ---- */
@media (max-width: 768px) {
  .home-btn { transform: translateY(100px); }
  .hero-img { top: -80px; height: calc(100% + 120px); }
}



h1{
  font-weight: 900;
  font-size: 80px !important;
}


/* subtle fade */


/* very subtle fade */
.fade-bottom.soft {
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}


/* ui-ux-service  */

@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
.animate-marquee { display:inline-flex; animation: marquee 20s linear infinite; }
.animate-marquee:hover { animation-play-state: paused; }


@media screen and (max-width: 640px) {
  a.btn-1,
  li.button-2 a {
    padding: 6px 14px !important;  /* smaller padding */
    font-size: 0.9rem !important;  /* smaller text */
  }
}


/*  SEARCH BAR STYLING */
/* =========================================
   SEARCH BAR BASE STYLING
========================================= */
:root {
  --search-h: 48px;
  --btn-w: 140px;
  --btn-w-sm: 96px;
}

/* wrapper */
.search-wrapper {
  max-width: 640px;
  margin: 0.75rem auto;
  padding-top: 8px;
  padding-bottom: 18px;
  box-sizing: border-box;
  position: relative;
  z-index: 20;
}

/* search bar container */
.search-combined {
  display: flex;
  align-items: stretch;
  border-radius: 24px;
  border: 1px solid #d6caff;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 4px rgba(16,24,40,0.04);
  transition: box-shadow .18s ease, border-color .18s ease;
  height: var(--search-h);
}

.search-combined:focus-within {
  border-color: #864FFE;
  box-shadow: 0 6px 24px rgba(134,79,254,0.12);
}

/* input */
.search-input {
  flex: 1 1 auto;
  border: none;
  margin: 0;
  padding: 0 1rem;
  font-size: 14px;
  background: transparent;
  outline: none;
  height: 100%;
  display: flex;
  align-items: center;
  min-width: 0;
}

/* button */
.search-btn {
  appearance: none;
  border: none;
  margin: 0;
  padding: 0 1rem;
  width: var(--btn-w);
  height: 100%;
  background: #864FFE;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .12s ease;
}

.search-btn:hover { background: #7339ff; }
.search-btn:active { background: #6a2fff; }

/* =========================================
   UPDATED SUGGESTIONS — WHITE MODERN DROPDOWN
========================================= */
/* MAIN suggestions box */
#suggestions {
  position: absolute;
  left: 0;
  width: 100%;                /* ✔ Full width of search wrapper */
  max-width: 500px;           /* ✔ Desktop max width */
  top: calc(var(--search-h) + 14px);

  background: #ffffff;
  border-radius: 10px;
  border: #000000;

  padding: 30px;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.12),
    0 6px 14px rgba(0, 0, 0, 0.06);

  z-index: 200;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}



/* Show suggestions cleanly */
#suggestions:not(:empty) {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Add line + spacing between items */
#suggestions .suggestion-item {
  display: block;
  padding: 12px 18px;

  font-size: 15px;
  font-weight: 300;
  color: #1f1f1f;

  border-radius: 10px;
  margin: 6px 10px; /* increased spacing */

  text-decoration: none;
  background: #fff;

  transition: background .18s ease, transform .10s ease;
  cursor: pointer;

  /* adds space between the item and the separator */
  position: relative;
}

/* Soft separator line after each item */
#suggestions .suggestion-item::after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background: #e9e9e9;   /* soft light separator */
  margin-top: 10px;      /* space between item and line */
  border-radius: 2px;
}

/* Remove separator from last item */
#suggestions .suggestion-item:last-child::after {
  display: none;
}
/* Hover: soft, premium feel */
#suggestions .suggestion-item:hover {
  background: #f5f2ff;
  transform: translateY(-1px);
}

/* Small description (if present) */
.suggestion-meta {
  display: block;
  font-size: 12px;
  color: #757575;
  margin-top: 4px;
}

/* Highlighted match */
#suggestions strong {
  color: #7A4BFF;
  font-weight: 700;
}

/* smooth scrollbar */
#suggestions::-webkit-scrollbar {
  width: 6px;
}
#suggestions::-webkit-scrollbar-thumb {
  background: #d0caff;
  border-radius: 4px;
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
========================================= */
@media (max-width: 768px) {
  :root { --search-h: 46px; }
  .search-wrapper { padding: 6px; }
  .search-btn { width: calc(var(--btn-w) - 24px); }
}

@media (max-width: 420px) {
  :root { --search-h: 44px; }

  .search-wrapper { padding: 6px 10px; }

  .search-btn {
    width: var(--btn-w-sm);
    font-size: 13px;
    padding: 0 0.8rem;
  }

  .search-input {
    font-size: 13px;
    padding: 0 0.8rem;
  }

  #suggestions {
    width: 100%;              /* ✔ Always fit inside parent */
    max-width: 100%;          /* ✔ No overflow on small screens */
    left: 0;                  /* ensure perfect alignment */
    padding: 20px;            /* ✔ Reduced padding for mobile */
    top: calc(var(--search-h) + 10px);
  }

  #suggestions .suggestion-item {
    padding: 10px 14px;
    font-size: 14px;          /* ✔ Fit better on smaller screens */
  }
}
/*  SEARCH BAR STYLING */


/* e-commerce services */