/* ══════════════════════════════════════════════════════════
   PREMIUM.CSS — Next-level visual suite v10
   Preloader · Ambient orbs · Marquee · Animated borders
   · Mobile overlay nav · Section markers · Neon glow
   · Glassmorphism · Cinematic hovers · Gradient mesh
══════════════════════════════════════════════════════════ */

/* ── PRELOADER ───────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #0B142F;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-logo {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #C9A45C;
  letter-spacing: -0.04em;
  opacity: 0;
  animation: pre-logo-in 0.5s 0.2s ease forwards;
}
.preloader-logo span { color: #fff; }

.preloader-bar-wrap {
  width: 160px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.preloader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #C9A45C, #f0d07a);
  border-radius: 2px;
  animation: pre-bar 1.2s 0.3s cubic-bezier(0.19,1,0.22,1) forwards;
}
.preloader-percent {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.14em;
  animation: pre-count 1.2s 0.3s ease forwards;
}

@keyframes pre-logo-in { to { opacity: 1; } }
@keyframes pre-bar     { to { width: 100%; } }
@keyframes pre-count   { 0%{content:'0%'} 100%{content:'100%'} }

/* ── AMBIENT ORBS ───────────────────────────────────── */
.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  will-change: transform;
  animation: orb-float 12s ease-in-out infinite;
}
.orb-1 { width:500px; height:500px; background:rgba(201,164,92,0.07); top:-100px; right:-100px; animation-delay:0s; }
.orb-2 { width:400px; height:400px; background:rgba(99,102,241,0.05);  bottom:20%; left:-80px;  animation-delay:-4s; }
.orb-3 { width:300px; height:300px; background:rgba(236,72,153,0.04); top:40%;   right:10%;   animation-delay:-8s; }
@keyframes orb-float {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(40px,-30px) scale(1.06); }
  66%     { transform: translate(-30px,40px) scale(0.94); }
}
@media (max-width:768px) { .ambient-orb { display:none; } }

/* ── BOLD MARQUEE TEXT BAND ─────────────────────────── */
.marquee-band {
  background: #0B142F;
  overflow: hidden;
  padding: 22px 0;
  border-top: 0.5px solid rgba(201,164,92,0.12);
  border-bottom: 0.5px solid rgba(201,164,92,0.12);
  position: relative;
}
.marquee-band::before, .marquee-band::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-band::before { left: 0;  background: linear-gradient(90deg, #0B142F, transparent); }
.marquee-band::after  { right: 0; background: linear-gradient(-90deg, #0B142F, transparent); }
.marquee-band-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: band-scroll 28s linear infinite;
}
.marquee-band-item {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  padding: 0 2rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.08);
  text-transform: uppercase;
}
.marquee-band-item.accent { color: #C9A45C; }
.marquee-band-sep {
  color: rgba(201,164,92,0.3);
  margin: 0 1rem;
  font-size: 0.5em;
}
@keyframes band-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion:reduce) { .marquee-band-track { animation: none; } }

/* ── SECTION SIDE MARKERS ───────────────────────────── */
.section-marker {
  position: absolute;
  left: -3rem;
  top: 0;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(201,164,92,0.3);
  text-transform: uppercase;
  transform: rotate(180deg);
  pointer-events: none;
}
@media (max-width: 1400px) { .section-marker { display: none; } }

/* ── GLASSMORPHISM FEATURE CARDS ────────────────────── */
.feature-item {
  background: rgba(255,255,255,0.7) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.5) !important;
  border-radius: 24px !important;
  position: relative;
  overflow: hidden;
}
.feature-item::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(201,164,92,0.3), transparent, rgba(201,164,92,0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  padding: 1px;
  opacity: 0;
  transition: opacity .4s ease;
}
.feature-item:hover::after { opacity: 1; }
.feature-item::before { display: none; }

/* ── ANIMATED GRADIENT BORDER SERVICE CARDS ─────────── */
.service-item {
  position: relative;
}
.service-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1.5px;
  background: linear-gradient(
    var(--grad-angle, 135deg),
    rgba(201,164,92,0.5),
    transparent 40%,
    transparent 60%,
    rgba(201,164,92,0.3)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  z-index: 2;
}
.service-item:hover::before { opacity: 1; }
@property --grad-angle { syntax: '<angle>'; initial-value: 135deg; inherits: false; }

/* ── NEON GLOW ON PRIMARY BUTTONS ───────────────────── */
.btn-primary {
  position: relative;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, #C9A45C, #f0d07a);
  filter: blur(12px);
  opacity: 0;
  z-index: -1;
  transition: opacity .4s ease, transform .4s ease;
  transform: scale(0.85);
}
.btn-primary:hover::after { opacity: 0.5; transform: scale(1.1); }

/* ── MOBILE FULL-SCREEN OVERLAY NAV ─────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(11,20,47,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}
.nav-overlay.open { opacity: 1; visibility: visible; }
.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
}
.nav-overlay-links a {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  letter-spacing: -0.03em;
  line-height: 1.2;
  transition: color .25s ease, transform .25s ease;
  display: block;
}
.nav-overlay-links a:hover { color: #C9A45C; transform: translateX(12px); }
.nav-overlay-close {
  position: absolute;
  top: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.06);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.nav-overlay-close:hover { background: rgba(255,255,255,0.12); }
.nav-overlay-social {
  position: absolute;
  bottom: 2rem;
  display: flex;
  gap: 14px;
}
.nav-overlay-social a {
  color: rgba(255,255,255,0.3);
  font-size: 16px;
  transition: color .2s ease;
  text-decoration: none;
}
.nav-overlay-social a:hover { color: #C9A45C; }
@media (min-width: 992px) { .nav-overlay { display: none !important; } }

/* ── HAMBURGER → X ANIMATED ─────────────────────────── */
.navbar-toggler { border: none !important; padding: 4px 8px; background: none !important; }
.navbar-toggler:focus { box-shadow: none !important; }
.ham-icon { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.ham-icon span {
  display: block;
  height: 1.5px;
  background: #1D1D1F;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, width .3s ease;
  transform-origin: left center;
}
.ham-icon span:nth-child(2) { width: 75%; }
.nav-open .ham-icon span:nth-child(1) { transform: rotate(44deg) translateY(-1px); }
.nav-open .ham-icon span:nth-child(2) { opacity: 0; width: 0; }
.nav-open .ham-icon span:nth-child(3) { transform: rotate(-44deg) translateY(1px); }

/* ── CINEMATIC PROJECT CARDS ────────────────────────── */
.project-item { overflow: hidden; }
.project-item img {
  transition: transform .7s cubic-bezier(0.25,0.46,0.45,0.94) !important;
  transform-origin: center;
}
.project-item:hover img { transform: scale(1.08) !important; }
.project-item .project-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%) !important;
  opacity: 0;
  align-items: flex-end !important;
  padding: 1.5rem !important;
}
.project-item:hover .project-overlay { opacity: 1 !important; transform: none !important; }

/* ── TESTIMONIAL — giant pull quote ────────────────── */
.testimonial-item p::before {
  content: '\201C';
  font-family: "Playfair Display", serif;
  font-size: 3em;
  color: #C9A45C;
  line-height: 0;
  vertical-align: -0.5em;
  margin-right: 4px;
  opacity: 0.6;
}

/* ── ABOUT SECTION — glowing border image ───────────── */
.about-play-col::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(201,164,92,0.25);
  border-radius: 16px;
  pointer-events: none;
  z-index: 2;
  animation: border-glow 3s ease-in-out infinite;
}
@keyframes border-glow {
  0%,100% { border-color: rgba(201,164,92,0.2); box-shadow: none; }
  50%      { border-color: rgba(201,164,92,0.5); box-shadow: inset 0 0 30px rgba(201,164,92,0.05); }
}

/* ── FOOTER WAVE TOP ────────────────────────────────── */
.footer-wave {
  line-height: 0;
  overflow: hidden;
  background: transparent;
}
.footer-wave svg { display: block; width: 100%; height: 50px; }

/* ── SCROLLBAR TRACK GRADIENT ───────────────────────── */
::-webkit-scrollbar-track { background: #f5f5f5; }
html:has(.footer) ::-webkit-scrollbar-track { background: transparent; }

/* ── HERO ANIMATED GRID LINES ───────────────────────── */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.06;
}
.hero-grid-line-h, .hero-grid-line-v {
  position: absolute;
  background: rgba(201,164,92,0.6);
}
.hero-grid-line-h { height: 1px; left: 0; right: 0; }
.hero-grid-line-v { width: 1px; top: 0; bottom: 0; }
.hero-grid-line-h:nth-child(1)  { top: 25%; animation: line-pulse 4s 0.0s ease-in-out infinite; }
.hero-grid-line-h:nth-child(2)  { top: 50%; animation: line-pulse 4s 0.5s ease-in-out infinite; }
.hero-grid-line-h:nth-child(3)  { top: 75%; animation: line-pulse 4s 1.0s ease-in-out infinite; }
.hero-grid-line-v:nth-child(4)  { left: 25%; animation: line-pulse 4s 0.2s ease-in-out infinite; }
.hero-grid-line-v:nth-child(5)  { left: 50%; animation: line-pulse 4s 0.7s ease-in-out infinite; }
.hero-grid-line-v:nth-child(6)  { left: 75%; animation: line-pulse 4s 1.2s ease-in-out infinite; }
@keyframes line-pulse { 0%,100%{opacity:0.3} 50%{opacity:1} }

/* ── STATS — horizontal flip-number animation ───────── */
.stats-section .col-6.col-md-3 {
  animation: stat-enter .6s var(--ease-bounce, cubic-bezier(0.34,1.56,0.64,1)) both;
}
.stats-section .col-6.col-md-3:nth-child(1) { animation-delay: .1s; }
.stats-section .col-6.col-md-3:nth-child(2) { animation-delay: .2s; }
.stats-section .col-6.col-md-3:nth-child(3) { animation-delay: .3s; }
.stats-section .col-6.col-md-3:nth-child(4) { animation-delay: .4s; }
@keyframes stat-enter {
  from { opacity:0; transform: translateY(30px); }
  to   { opacity:1; transform: translateY(0); }
}

/* ── INDUSTRY CARDS — gradient background on hover ──── */
.industry-card { overflow: hidden; }
.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ind-color, rgba(201,164,92,0.06)), transparent);
  opacity: 0;
  transition: opacity .4s ease;
  border-radius: inherit;
}
.industry-card:hover::before { opacity: 1; }

/* ── COMPARISON TABLE — row hover highlight ─────────── */
.comparison-table tbody tr {
  transition: background .2s ease;
  cursor: default;
}
.comparison-table tbody tr:hover td { background: rgba(255,255,255,0.03) !important; }
.comparison-table tbody tr:hover td.highlight-col { background: rgba(201,164,92,0.1) !important; }

/* ── FAQ — numbered items ───────────────────────────── */
.accordion-button::before {
  content: counter(faq-counter, decimal-leading-zero);
  counter-increment: faq-counter;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #C9A45C;
  margin-right: 14px;
  opacity: 0.7;
}
.faq-accordion { counter-reset: faq-counter; }

/* ── HERO TEXT — shimmer on hover ───────────────────── */
.hero-title:hover .gradient-text {
  animation-duration: 1.5s;
}

/* ── BACK-TO-TOP — pulsing gold ring ────────────────── */
.back-to-top::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 100px;
  border: 1.5px solid rgba(201,164,92,0.3);
  animation: btt-pulse 2s ease infinite;
  pointer-events: none;
}
@keyframes btt-pulse {
  0%,100% { opacity: .5; transform: scale(1); }
  50%     { opacity: 0;  transform: scale(1.15); }
}

/* ── QUOTE SECTION — premium form card ──────────────── */
.quote-section .row .col-lg-6:last-child > * {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 8px 60px rgba(0,0,0,0.08);
}

/* ── MOBILE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .marquee-band-item { font-size: 1.2rem; }
  .preloader-logo    { font-size: 1.8rem; }
}

/* Prevent scroll during preload */
body.preloading { overflow: hidden; }

/* ══════════════════════════════════════════════════════════
   BLOG — Article & listing styles
══════════════════════════════════════════════════════════ */

/* Blog listing cards */
.blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-base);
  transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium);
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-premium);
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 1.75rem; }
.blog-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 0.75rem;
}
.blog-card h3 a {
  color: var(--text-dark);
  text-decoration: none;
}
.blog-card h3 a:hover { color: var(--brand-primary); }

/* Article body typography */
.blog-article {
  max-width: 760px;
  margin: 0 auto;
}
.blog-article .blog-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.blog-article .blog-meta-row i { color: var(--brand-primary); margin-right: 0.4rem; }
.blog-article .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.blog-article h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}
.blog-article p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}
.blog-article ul {
  margin-bottom: 1.5rem;
  padding-left: 1.4rem;
}
.blog-article ul li {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}
.blog-article ul li::marker { color: var(--brand-primary); }
.blog-article .blog-callout {
  background: var(--light-soft, rgba(201,164,92,0.06));
  border-left: 4px solid var(--brand-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  color: var(--text-dark);
  font-size: 1.02rem;
}
.blog-share {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin: 2.5rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.blog-share span { font-weight: 600; margin-right: 0.5rem; color: var(--text-dark); }
.blog-toc {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-base);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
}
.blog-toc h2 {
  margin-top: 0 !important;
  font-size: 1.1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-mono) !important;
  font-weight: 600 !important;
}
.blog-toc ol {
  padding-left: 1.2rem;
  margin-bottom: 0;
}
.blog-toc ol li { margin-bottom: 0.4rem; }
.blog-toc a { color: var(--text-dark); text-decoration: none; }
.blog-toc a:hover { color: var(--brand-primary); }

@media (max-width: 768px) {
  .blog-article h2 { font-size: 1.4rem; }
}

/* ══════════════════════════════════════════════════════════
   ANIMATED HERO BACKGROUND — replaces static hero photos
   on the homepage carousel and every interior page-header
══════════════════════════════════════════════════════════ */
.page-header,
#header-carousel .carousel-item {
  background-color: #0b142f;
  background-image:
    radial-gradient(circle at 18% 25%, rgba(201,164,92,0.28), transparent 55%),
    radial-gradient(circle at 82% 75%, rgba(99,102,241,0.22), transparent 50%),
    linear-gradient(135deg, #0b142f 0%, #16245a 50%, #0b142f 100%);
  background-size: 180% 180%, 180% 180%, 220% 220%;
  background-position: 0% 0%, 100% 100%, 0% 50%;
  background-repeat: no-repeat;
  animation: heroBgShift 24s ease-in-out infinite alternate;
}

@keyframes heroBgShift {
  0%   { background-position: 0% 0%,   100% 100%, 0% 50%; }
  100% { background-position: 35% 45%, 65% 55%,  100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .page-header,
  #header-carousel .carousel-item {
    animation: none;
  }
}

/* ══════════════════════════════════════════════════════════
   HERO — playful upgrades (dots, live badge, hover pop)
══════════════════════════════════════════════════════════ */

/* Dot navigation replacing the old prev/next arrows */
.carousel-indicators.hero-dots {
  position: absolute;
  z-index: 10;
  top: 50%;
  right: 1.5rem;
  left: auto;
  bottom: auto;
  margin: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.hero-dots [data-bs-target].hero-dot {
  width: 10px;
  height: 10px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  background-color: transparent;
  opacity: 1;
  padding: 0;
  margin: 0;
  text-indent: 0;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.hero-dots [data-bs-target].hero-dot:hover {
  transform: scale(1.25);
  border-color: var(--brand-primary);
}
.hero-dots [data-bs-target].hero-dot.active {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  transform: scale(1.15);
}
@media (max-width: 768px) {
  .carousel-indicators.hero-dots { top: auto; bottom: 1.25rem; right: 50%; transform: translateX(50%); flex-direction: row; }
  .hero-dots [data-bs-target].hero-dot:hover,
  .hero-dots [data-bs-target].hero-dot.active { transform: scale(1.15); }
}

/* 4th badge — "Now Accepting New Clients" with a live pulse dot */
.hero-badge-4 {
  top: 14%;
  right: 6%;
  bottom: auto;
  animation-delay: 2.4s;
}
.live-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52,211,153,0.6);
  animation: live-pulse 2s ease-out infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52,211,153,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}

/* Playful hover-pop on every hero badge */
.hero-badge {
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}
.hero-badge:hover {
  transform: translateY(-6px) scale(1.05) rotate(-1deg);
  background: rgba(255,255,255,0.18);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

@media (max-width: 1100px) {
  .hero-badge-4 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
  .hero-badge:hover { transform: none; }
}

/* ══════════════════════════════════════════════════════════
   FIX: Hide floating WA button on mobile — sticky bar
   already has a WhatsApp button there
══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .wa-float-wrap,
  .wa-float:not(.mobile-cta-btn) {
    display: none !important;
  }
}

/* ══════════════════════════════════════════════════════════
   ABOUT — Animated process steps (replaces broken video)
══════════════════════════════════════════════════════════ */
.about-process-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 2.5rem 2rem;
}
.apv-step {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,164,92,0.25);
  border-radius: 16px;
  padding: 1rem 1.75rem;
  width: 280px;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.3s ease, border-color 0.3s ease;
}
.apv-step:hover {
  background: rgba(201,164,92,0.12);
  border-color: rgba(201,164,92,0.6);
}
.about-process-visual.active .apv-step { opacity: 1; transform: translateX(0); }
.about-process-visual.active .apv-step-1 { transition-delay: 0.1s; }
.about-process-visual.active .apv-step-2 { transition-delay: 0.3s; }
.about-process-visual.active .apv-step-3 { transition-delay: 0.5s; }
.about-process-visual.active .apv-step-4 { transition-delay: 0.7s; }

.apv-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: #0b142f;
}
.apv-label {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.apv-arrow {
  color: rgba(201,164,92,0.5);
  font-size: 0.85rem;
  padding: 0.35rem 0;
  animation: apv-bob 2s ease-in-out infinite;
}
.apv-step-1 .apv-icon { background: var(--brand-primary); }
.apv-step-2 .apv-icon { background: rgba(201,164,92,0.75); }
.apv-step-3 .apv-icon { background: rgba(52,211,153,0.85); }
.apv-step-4 .apv-icon { background: rgba(99,102,241,0.85); }

@keyframes apv-bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}

@media (max-width: 991px) {
  .about-process-visual { padding: 2rem 1rem; }
  .apv-step { width: 100%; max-width: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .apv-step { transition: none; opacity: 1; transform: none; }
  .apv-arrow { animation: none; }
}

/* ══════════════════════════════════════════════════════════
   HERO V2 — Colourful, modern, engaging
══════════════════════════════════════════════════════════ */
.hero-v2 {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 80% 60% at 10%  20%, rgba(201,164,92,0.22)  0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90%  80%, rgba(236,72,153,0.18)  0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 80%  10%, rgba(99,102,241,0.20)  0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 20%  85%, rgba(52,211,153,0.14)  0%, transparent 55%),
    linear-gradient(135deg, #080f2a 0%, #0f1d4a 40%, #080f2a 100%);
  background-size: 200% 200%, 200% 200%, 200% 200%, 200% 200%, 100% 100%;
  animation: h2BgPulse 18s ease-in-out infinite alternate;
}
@keyframes h2BgPulse {
  0%   { background-position: 0% 0%,100% 100%,100% 0%,0% 100%, 0 0; }
  100% { background-position: 40% 40%,60% 60%,70% 40%,30% 70%, 0 0; }
}

/* Particle canvas */
#heroParticles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Colour orbs */
.h2-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: h2OrbFloat 12s ease-in-out infinite alternate;
}
.h2-orb-gold   { width:420px; height:420px; top:-80px;  left:-60px;  background:rgba(201,164,92,0.28); animation-duration:14s; }
.h2-orb-pink   { width:340px; height:340px; bottom:0;   right:-40px; background:rgba(236,72,153,0.22); animation-duration:11s; animation-delay:2s; }
.h2-orb-indigo { width:300px; height:300px; top:30%;    right:15%;   background:rgba(99,102,241,0.22); animation-duration:16s; animation-delay:1s; }
.h2-orb-green  { width:260px; height:260px; bottom:10%; left:20%;    background:rgba(52,211,153,0.18); animation-duration:13s; animation-delay:3s; }
@keyframes h2OrbFloat {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(30px,20px) scale(1.12); }
}

/* Content layer */
.h2-content { position: relative; z-index: 2; padding-top: 6rem; padding-bottom: 3rem; }

/* Eyebrow */
.h2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
  animation: h2FadeUp 0.7s ease both;
}

/* Headline */
.h2-headline {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  animation: h2FadeUp 0.7s 0.15s ease both;
}

/* Multi-colour gradient text */
.gradient-text-multi {
  background: linear-gradient(90deg, #C9A45C 0%, #f472b6 40%, #818cf8 70%, #34d399 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientSlide 4s linear infinite;
  display: inline;
}
@keyframes gradientSlide {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Typewriter word */
.h2-typewriter {
  position: relative;
  color: #C9A45C;
  display: inline-block;
}
.h2-typewriter::after {
  content: '|';
  color: #C9A45C;
  animation: blink 0.75s step-end infinite;
  margin-left: 2px;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* Subheading */
.h2-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 2rem;
  animation: h2FadeUp 0.7s 0.3s ease both;
}

/* CTA row */
.h2-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  animation: h2FadeUp 0.7s 0.45s ease both;
}
.h2-btn-primary {
  background: linear-gradient(135deg, #C9A45C, #f5d07a);
  color: #0b142f;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 24px rgba(201,164,92,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.h2-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(201,164,92,0.6);
  color: #0b142f;
}
.h2-btn-ghost {
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.h2-btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  transform: translateY(-3px);
}

/* Counter strip */
.h2-counters {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  animation: h2FadeUp 0.7s 0.6s ease both;
}
.h2-counter { display:flex; flex-direction:column; }
.h2-counter-num {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: #C9A45C;
  line-height: 1;
}
.h2-counter-suffix { color: #f472b6; font-weight: 700; font-size: 1.4rem; display:inline; }
.h2-counter-label { font-size: 0.72rem; color: rgba(255,255,255,0.5); letter-spacing:0.05em; text-transform:uppercase; margin-top:0.25rem; }
.h2-counter-divider { width:1px; height:40px; background:rgba(255,255,255,0.15); }

/* Right side card */
.h2-right {
  position: relative;
  justify-content: center;
  align-items: center;
  animation: h2FadeUp 0.7s 0.2s ease both;
}
.h2-card-main {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 24px;
  padding: 2rem;
  width: 300px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
  animation: h2CardFloat 6s ease-in-out infinite alternate;
}
@keyframes h2CardFloat {
  0%   { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-14px) rotate(1deg); }
}
.h2-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #34d399;
  background: rgba(52,211,153,0.12);
  border: 1px solid rgba(52,211,153,0.3);
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
  display: inline-block;
  margin-bottom: 1rem;
}
.h2-card-brand { color:rgba(255,255,255,0.55); font-size:0.82rem; margin-bottom:0.5rem; }
.h2-card-stat {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(90deg,#C9A45C,#f5d07a);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  line-height: 1.1;
}
.h2-card-sub { color:rgba(255,255,255,0.45); font-size:0.8rem; margin-bottom:1.25rem; }
.h2-card-bar { height:6px; background:rgba(255,255,255,0.1); border-radius:100px; overflow:hidden; margin-bottom:0.4rem; }
.h2-card-bar-fill {
  height:100%;
  border-radius:100px;
  background: linear-gradient(90deg,#C9A45C,#f472b6);
  animation: barGrow 2s 0.8s ease both;
  width: 0;
}
@keyframes barGrow { to { width: 82%; } }
.h2-card-bar-label { color:rgba(255,255,255,0.4); font-size:0.72rem; }

/* Sparkline */
.h2-sparkline { margin-top:1.25rem; height:40px; }
.h2-sparkline svg { width:100%; height:100%; }
.h2-spark-line {
  fill: none;
  stroke: url(#sparkGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: sparkDraw 2s 1s ease forwards;
}
@keyframes sparkDraw { to { stroke-dashoffset: 0; } }

/* Mini floating badges */
.h2-mini-badge {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  border-radius: 100px;
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.h2-mini-1 { top: 5%;  right: -10px; animation: h2MiniBadge 7s ease-in-out infinite alternate; }
.h2-mini-2 { bottom: 22%; left: -30px; animation: h2MiniBadge 8s 1s ease-in-out infinite alternate; }
.h2-mini-3 { bottom: 5%; right: 20px;  animation: h2MiniBadge 6s 2s ease-in-out infinite alternate; }
.h2-mini-1 i { color: #f472b6; }
.h2-mini-2 i { color: #34d399; }
.h2-mini-3 i { color: #C9A45C; }
@keyframes h2MiniBadge {
  0%   { transform: translateY(0) rotate(-1deg); }
  100% { transform: translateY(-10px) rotate(1deg); }
}

/* Fade-up entrance */
@keyframes h2FadeUp {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}

/* Mobile */
@media (max-width: 991px) {
  .h2-headline { font-size: clamp(2rem, 8vw, 3rem); }
  .h2-counters { gap: 1rem; }
  .h2-counter-num { font-size: 1.5rem; }
  .h2-content { padding-top: 7rem; }
}
@media (max-width: 576px) {
  .h2-cta-row { flex-direction: column; }
  .h2-cta-row .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-v2, .h2-orb, .h2-card-main, .h2-mini-badge, .h2-sparkline { animation: none; }
  .h2-eyebrow,.h2-headline,.h2-sub,.h2-cta-row,.h2-counters,.h2-right { animation: none; opacity:1; }
  .h2-card-bar-fill { width: 82%; }
  .h2-spark-line { stroke-dashoffset: 0; }
}

/* ══════════════════════════════════════════════════════════
   FIX: Project card images — consistent ratio on all
   screens (previously rendered at full intrinsic size
   on mobile, looking oversized/uncropped)
══════════════════════════════════════════════════════════ */
.project-item .project-card-img-wrap,
.project-item > .position-relative {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.project-card img.img-fluid,
.project-item img.img-fluid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 576px) {
  .project-item .project-card-img-wrap,
  .project-item > .position-relative {
    aspect-ratio: 4 / 3;
  }
}
