/* indx digital — brand overrides. Loaded AFTER iteck style.css.
 *
 * The blue→brand-blue retune lives inside style.css (global find/replace of
 * iteck's #0066ff / #02b5ff / #0c3df4 → #0C41F4 / #204A98). This file only adds
 * brand-only surfaces the theme didn't have: the amber CTA and the wordmark.
 * Palette source: CLAUDE.md → Brand & content → Colors (FINAL). */

/* --- Amber CTA -----------------------------------------------------------
 * Accent button for the single primary call-to-action per section. Amber fill
 * with dark text (#5c3b00) — passes WCAG AA; never white text on amber. */
.butn-amber {
  background: #f59e0b;
  background-image: none;
  color: #5c3b00 !important;
  transition: background-color 0.2s ease;
}
.butn-amber:hover,
.butn-amber:focus {
  background: #d98904;
  color: #5c3b00 !important;
}

/* --- Wordmark ------------------------------------------------------------
 * Interim text logo until a real SVG exists (CLAUDE.md → Logo). "indx" in the
 * brand blue, "digital" in ink; the --light modifier flips "digital" to white
 * for use on the dark footer. */
.app-logo {
  display: inline-block;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
}
.app-logo:hover {
  text-decoration: none;
}
.app-logo__indx {
  color: #0c41f4;
}
.app-logo__digital {
  color: #0f172a;
}
.app-logo--light .app-logo__digital {
  color: #ffffff;
}

/* --- About intro heading -------------------------------------------------
 * The theme styles the about card's title only for the <h3> tag. We render it
 * as <h2> (one logical heading order per page — seo.md), so mirror the theme's
 * h3 treatment onto the h2 here. Colour/gradient come from the retuned theme. */
.about.style-1 .content .title h2 {
  color: #fff;
  font-size: 30px;
  line-height: 1.5;
}

/* --- Service card titles -------------------------------------------------
 * The theme styles service-card titles only for the <h5> tag. We render them as
 * <h3> (logical heading order — seo.md), so mirror the theme's h5 treatment
 * onto h3. Hover colour comes from the retuned --color-main (brand blue). */
.services.style-1 .service-box h3 {
  font-weight: 600;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.services.style-1 .service-box h3 a {
  font-size: 18px;
}
.services.style-1 .service-box h3 .num {
  font-size: 40px;
  font-weight: 700;
  color: #f0f0f0;
  line-height: 1;
}
.services.style-1 .service-box:hover h3 a {
  color: var(--color-main);
}

/* Service icons: lucide set via @nuxt/icon (AppIcon component). Size/colour are
 * set as props on AppIcon; this just keeps the icon block's vertical rhythm. */
.services.style-1 .service-box .icon {
  line-height: 1;
}

/* Tag pills pinned to the bottom of each card. The card is a flex column
 * (h-100 d-flex flex-column), so growing .info pushes .tags down; equal-height
 * cards therefore align their tag rows. Pill look (bg/padding/radius) comes from
 * the theme's `.service-box .info .tags a` rule. */
.services.style-1 .service-box .info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.services.style-1 .service-box .info .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}
/* theme `.tags a` adds margin-top:10px for stacked pills; with flex+gap that
 * double-spaces the row — zero it out. */
.services.style-1 .service-box .info .tags a {
  margin-top: 0;
}

/* --- Portfolio card titles -----------------------------------------------
 * The theme styles portfolio-card titles only for the <h5> tag. We render them
 * as <h3> (logical heading order — seo.md), so mirror the theme's h5 treatment
 * onto h3. */
.portfolio.style-1 .portfolio-slider .portfolio-card .info h3 {
  font-weight: bold;
  margin-bottom: 12px;
  font-size: 20px;
}
.portfolio.style-1 .portfolio-slider .portfolio-card .info h3 a {
  color: #000;
}

/* Category tag — product type, NOT the build stack. Brand-tint pill. */
.portfolio.style-1 .portfolio-slider .portfolio-card .info .cat-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: #eaf0ff;
  color: var(--color-main);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
/* Platform-reach row (Web · iOS · Android). */
.portfolio.style-1 .portfolio-slider .portfolio-card .info .platforms {
  margin-top: 16px;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
}
.portfolio.style-1 .portfolio-slider .portfolio-card .info .platforms .sep {
  color: var(--color-main);
  margin: 0 6px;
}

/* Unified cover treatment for all three cards (matched set): one brand-blue
 * gradient backdrop, every mockup shown UNCROPPED (object-fit:contain) and
 * centred, identical height + padding so the covers line up. (Theme default
 * crops with object-fit:cover, which chops the tall phone mockups.) */
.portfolio.style-1 .portfolio-slider .portfolio-card .img {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #0c41f4 0%, #204a98 100%);
}
/* The image is generated aspect-true (fit=inside); cap it to the cover box and
 * let the other dimension scale, so the WHOLE mockup shows as large as possible
 * with small blue margins. Overrides the theme's width/height:100% cover img. */
.portfolio.style-1 .portfolio-slider .portfolio-card .img .cover-img {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
/* "In development" badge — amber accent, top-left of the cover. */
.portfolio.style-1 .portfolio-slider .portfolio-card .status-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  background-color: #f59e0b;
  color: #5c3b00;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
/* "Not-yet-launched" status is shown by the "In development" badge only — no
 * darkening/desaturation on the cover image (it must render at full brightness). */

/* --- Stats band heading --------------------------------------------------
 * The theme's about-numbers block has no heading; we add an <h2> (spec).
 * White text to sit on the brand-blue gradient card. */
.about.style-1 .content .stats-head {
  margin-bottom: 50px;
}
.about.style-1 .content .stats-head h2 {
  color: #fff;
  font-size: 30px;
}

/* --- CTA band ------------------------------------------------------------
 * iteck's contact band repurposed as a centered call-to-action on the brand
 * gradient. Constrain width and space the supporting line + button. */
.contact.style-1 .cta-band {
  max-width: 680px;
  margin: 0 auto;
}
.contact.style-1 .cta-band p {
  font-size: 16px;
  margin: 18px 0 30px;
  opacity: 0.95;
}

/* --- Decorative dot pattern ----------------------------------------------
 * iteck's tileable dot grid (services/pattern1.png) as a subtle section
 * background. The PNG is a dark dot grid, so we drive it through `mask` and
 * paint it with a brand colour — keeping it on-palette and contrast-safe at
 * very low opacity. aria-hidden span, behind content (the section's own
 * container/content sit above via their existing z-index). */
.services.style-1 .dot-bg,
.about.style-1 .content .dot-bg {
  position: absolute;
  pointer-events: none;
  -webkit-mask: url("/assets/img/services/pattern1.png") repeat 0 0 / 26px 26px;
  mask: url("/assets/img/services/pattern1.png") repeat 0 0 / 26px 26px;
}
/* Services: dots over the white section, brand blue, very faint. Inset from the
 * edges so the grid reads as texture, not a full bleed. */
.services.style-1 {
  position: relative;
}
.services.style-1 .dot-bg {
  top: 60px;
  right: 0;
  width: 340px;
  height: 340px;
  background-color: var(--color-main);
  opacity: 0.06;
  z-index: 0;
}
.services.style-1 .container {
  position: relative;
  z-index: 1;
}
/* Stats: dots over the brand-blue gradient card, white, faint. Covers the card;
 * the stats markup already sits above it (z-index 5 in the theme). */
.about.style-1 .content {
  position: relative;
}
.about.style-1 .content .dot-bg--light {
  inset: 0;
  background-color: #fff;
  opacity: 0.08;
  z-index: 0;
}

/* --- How we work (process) -----------------------------------------------
 * Repurposes the testimonials section shell into a 4-step process grid. Card
 * styling here (the theme had no equivalent); brand palette only. */
.testimonials.style-1 .process-step {
  position: relative;
  background: #fff;
  border: 1px solid rgba(12, 65, 244, 0.1);
  border-radius: 10px;
  padding: 40px 28px 30px;
  text-align: center;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease;
}
.testimonials.style-1 .process-step:hover {
  border-color: transparent;
  box-shadow: 0 30px 60px rgba(12, 65, 244, 0.12);
  transform: translateY(-4px);
}
.testimonials.style-1 .process-step .step-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: #eaf0ff;
}
.testimonials.style-1 .process-step .step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #eaf0ff;
  margin-bottom: 22px;
}
.testimonials.style-1 .process-step h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}
.testimonials.style-1 .process-step p {
  color: #475569;
  font-size: 14px;
  margin-bottom: 0;
}

/* --- Why-choose-us checklist: theme's original bullet (brand-blue gradient
 * badge + white bi-check2) is unchanged from iteck — no override needed. */

/* --- Tech-stack orbit graphic (decorative) -------------------------------
 * iteck's `integration` orbit, rebuilt for our stack: dashed rings rotate
 * slowly, logo bubbles float up/down. Absolutely positioned on the left on lg+
 * and OUT of normal flow, so the section sits flush to the previous one (no top
 * gap); hidden on small screens. Sizes scale with the container, so enlarging
 * `.tech-orbit` scales rings and bubble positions together. CSS-only — SSR-safe. */
.choose-us.style-1 {
  position: relative;
  overflow: hidden;
}
.choose-us.style-1 .tech-orbit {
  display: none;
}
@media (min-width: 992px) {
  .choose-us.style-1 .tech-orbit {
    display: block;
    position: absolute;
    top: 50%;
    left: -1%;
    transform: translateY(-50%);
    /* bigger cluster that fills the left column; scales with viewport */
    width: clamp(480px, 44vw, 660px);
    aspect-ratio: 1 / 1;
    z-index: 1;
    pointer-events: none;
  }
}
.choose-us.style-1 .orbit-rings,
.choose-us.style-1 .orbit-logos {
  position: absolute;
  inset: 0;
}
/* keep the text/content above the decorative circles (which now span the whole
 * section). The container is transparent, so this only affects stacking. */
.choose-us.style-1 .container {
  position: relative;
  z-index: 2;
}

/* --- Decorative floating circles -----------------------------------------
 * Ported from iteck's choose_bubbles.png. Recreated as individual spans that
 * span the WHOLE section (not the orbit box) so they sit in the margins,
 * corners and gaps — peeking out around/between the logo bubbles, not under
 * them. Each floats on its own timing (varied duration + delay). iteck's
 * cyan/periwinkle fills are retuned to the brand-blue family (no stray cyan).
 * Behind everything in z-order; decorative only. */
.choose-us.style-1 .deco-circles {
  display: none;
}
@media (min-width: 992px) {
  .choose-us.style-1 .deco-circles {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }
}
.choose-us.style-1 .dc {
  position: absolute;
  border-radius: 50%;
  animation: slide_up_down 3s ease-in-out infinite alternate both;
}
/* Spread to edges/corners and the gap between the orbit (left ~46% mid-height)
 * and the text column. Sizes in px relative to the full section. */
.choose-us.style-1 .dc1 {
  width: 88px;
  height: 88px;
  top: 9%;
  left: 2%;
  background: rgba(12, 65, 244, 0.1);
  animation-duration: 3.4s;
  animation-delay: 0s;
}
.choose-us.style-1 .dc2 {
  width: 30px;
  height: 30px;
  top: 7%;
  left: 52%;
  background: #204a98;
  animation-duration: 2.6s;
  animation-delay: 0.5s;
}
.choose-us.style-1 .dc3 {
  width: 56px;
  height: 56px;
  top: 14%;
  left: 93%;
  background: rgba(12, 65, 244, 0.12);
  animation-duration: 3.8s;
  animation-delay: 0.2s;
}
.choose-us.style-1 .dc4 {
  width: 20px;
  height: 20px;
  top: 50%;
  left: 48%;
  background: #0c41f4;
  animation-duration: 2.9s;
  animation-delay: 0.9s;
}
.choose-us.style-1 .dc5 {
  width: 44px;
  height: 44px;
  top: 85%;
  left: 95%;
  background: rgba(32, 74, 152, 0.16);
  animation-duration: 4.2s;
  animation-delay: 0.3s;
}
.choose-us.style-1 .dc6 {
  width: 30px;
  height: 30px;
  top: 88%;
  left: 32%;
  background: #c7d6ff;
  animation-duration: 3.1s;
  animation-delay: 1.2s;
}

/* dashed rings — rotate as one layer so the dashes visibly turn */
.choose-us.style-1 .orbit-rings {
  z-index: 1;
  animation: rotate-center 90s linear infinite both;
}
/* logo bubbles sit above the rings and the decorative circles */
.choose-us.style-1 .orbit-logos {
  z-index: 2;
}
.choose-us.style-1 .ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px dashed rgba(12, 65, 244, 0.22);
}
.choose-us.style-1 .ring.one {
  width: 46%;
  height: 46%;
}
.choose-us.style-1 .ring.two {
  width: 73%;
  height: 73%;
}
.choose-us.style-1 .ring.three {
  width: 100%;
  height: 100%;
}
/* logo bubbles — separate (non-rotating) layer so logos stay upright. Sizes are
 * % of the container so they scale up with the enlarged orbit. */
.choose-us.style-1 .bubble {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 26px 52px rgba(15, 23, 42, 0.12);
  animation: slide_up_down 2.2s ease-in-out infinite alternate both;
}
.choose-us.style-1 .bubble svg {
  width: 56%;
  height: 56%;
}
/* 8 bubbles evenly distributed around the orbit (alternating outer/inner radius
 * so they sit across the rings). */
.choose-us.style-1 .bubble.b1 {
  width: 15%;
  height: 15%;
  top: 2.5%;
  left: 42.5%;
  animation-delay: 0s;
}
.choose-us.style-1 .bubble.b2 {
  width: 13%;
  height: 13%;
  top: 26.5%;
  left: 60.5%;
  animation-delay: 0.4s;
}
.choose-us.style-1 .bubble.b3 {
  width: 15%;
  height: 15%;
  top: 42.5%;
  left: 82.5%;
  animation-delay: 0.8s;
}
.choose-us.style-1 .bubble.b4 {
  width: 13%;
  height: 13%;
  top: 59.5%;
  left: 60.5%;
  animation-delay: 1.2s;
}
.choose-us.style-1 .bubble.b5 {
  width: 15%;
  height: 15%;
  top: 82.5%;
  left: 42.5%;
  animation-delay: 0s;
}
.choose-us.style-1 .bubble.b6 {
  width: 13%;
  height: 13%;
  top: 59.5%;
  left: 24.5%;
  animation-delay: 0.4s;
}
.choose-us.style-1 .bubble.b7 {
  width: 15%;
  height: 15%;
  top: 42.5%;
  left: 2.5%;
  animation-delay: 0.8s;
}
.choose-us.style-1 .bubble.b8 {
  width: 13%;
  height: 13%;
  top: 26.5%;
  left: 24.5%;
  animation-delay: 1.2s;
}

/* --- Scroll reveal -------------------------------------------------------
 * SSR-safe replacement for WOW.js (see app/plugins/reveal.client.ts). Reuses
 * the existing `.wow` markup. Elements off-screen at load get `.wow-hide`
 * (hidden + slid down), then `.is-revealed` on scroll-in fades + slides them up.
 * Subtle: short duration, small offset, runs once. The theme's animate.css would
 * otherwise also animate `.wow` — we don't init WOW, so animate.css's classes
 * (fadeInUp etc.) stay inert; this transition drives the effect instead.
 * Respects prefers-reduced-motion (no transform/opacity changes). */
.wow.wow-hide {
  opacity: 0;
  transform: translateY(24px);
}
.wow.wow-hide.is-revealed {
  opacity: 1;
  transform: none;
}
.wow.wow-hide,
.wow.wow-hide.is-revealed {
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  will-change: opacity, transform;
}
@media (prefers-reduced-motion: reduce) {
  .wow.wow-hide,
  .wow.wow-hide.is-revealed {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
