/* ==========================================================================
   QASHON INC. — Enhanced Animations, Micro-Interactions & Spotlight Styles
   ========================================================================== */

/* Top Scroll Progress Bar */
.qashon-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand, #EA2B16), #FF6B4A, #FF3B26);
  box-shadow: 0 0 12px rgba(234, 43, 22, 0.75);
  z-index: 99999;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* Header scroll glass elevation */
header.header-scrolled {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

/* Enhanced Hero Banner (keeps POS monitor clearly visible in center) */
.section-hero.hero-banner-only {
  position: relative;
  overflow: hidden;
}

.section-hero.hero-banner-only .hero-image {
  animation: heroKenBurns 22s ease-in-out infinite alternate;
  will-change: transform;
}

.section-hero.hero-banner-only::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 9, 11, 0.82) 0%,
    rgba(9, 9, 11, 0.22) 34%,
    rgba(9, 9, 11, 0.16) 62%,
    rgba(9, 9, 11, 0.88) 100%
  );
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
}

.section-hero.hero-banner-only .container {
  position: relative;
  z-index: 3;
}

.section-hero.hero-banner-only .hero-top-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 780px;
  margin: 0 auto;
}

.section-hero.hero-banner-only .hero-headline {
  font-size: clamp(2.1rem, 4.4vw, 3.75rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.55);
}

.section-hero.hero-banner-only .hero-headline .hero-accent {
  background: linear-gradient(90deg, #FF5A45 0%, #EA2B16 50%, #FF8A65 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 5s ease infinite;
}

.section-hero.hero-banner-only .hero-subtitle {
  font-size: clamp(0.95rem, 1.35vw, 1.125rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 580px;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.section-hero.hero-banner-only .hero-bottom-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-metrics-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(15, 15, 20, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f4f4f5;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.hero-metric-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(234, 43, 22, 0.65);
  background: rgba(24, 24, 27, 0.85);
}

.hero-metric-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand, #EA2B16);
  box-shadow: 0 0 0 0 rgba(234, 43, 22, 0.7);
  animation: pulseRing 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

.hero-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 4px;
  transition: color 0.25s ease;
}

.hero-scroll-cue:hover {
  color: #ffffff;
}

.hero-scroll-cue .scroll-mouse {
  width: 18px;
  height: 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-cue .scroll-mouse::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: var(--brand, #EA2B16);
  transform: translateX(-50%);
  animation: scrollWheel 1.8s ease-in-out infinite;
}

/* Product Lead Spotlight Card (Vishal Devgun — solo leadership focus) */
.team-lead-spotlight {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left !important;
  padding: 44px !important;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.4s ease;
}

.team-lead-spotlight::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(234, 43, 22, 0.22) 0%, rgba(234, 43, 22, 0) 70%);
  pointer-events: none;
  animation: ambientGlowPulse 6s ease-in-out infinite;
}

.team-lead-spotlight:hover {
  transform: translateY(-6px);
  border-color: rgba(234, 43, 22, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 36px rgba(234, 43, 22, 0.14);
}

.team-lead-spotlight .image {
  flex: 0 0 230px;
  width: 230px;
  height: 230px;
  margin-bottom: 0 !important;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.team-lead-spotlight .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-lead-spotlight:hover .image img {
  transform: scale(1.06);
}

.team-lead-spotlight .lead-monogram-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}

.team-lead-spotlight .lead-content {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.team-lead-spotlight .lead-role-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(234, 43, 22, 0.14);
  border: 1px solid rgba(234, 43, 22, 0.35);
  color: #ff6b57;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.team-lead-spotlight .name {
  justify-content: flex-start !important;
  font-size: 2rem;
  margin-bottom: 6px !important;
}

.team-lead-spotlight .sub {
  margin-bottom: 16px !important;
  color: var(--neutral-300, #d4d4d8) !important;
}

.team-lead-spotlight .lead-quote {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  border-left: 2px solid var(--brand, #EA2B16);
  padding-left: 14px;
  margin-bottom: 24px;
}

.team-lead-spotlight .tf-social {
  justify-content: flex-start !important;
}

@media (max-width: 767px) {
  .team-lead-spotlight {
    flex-direction: column;
    text-align: center !important;
    padding: 28px !important;
    gap: 24px;
  }
  .team-lead-spotlight .image {
    flex: none;
    width: 190px;
    height: 190px;
  }
  .team-lead-spotlight .name,
  .team-lead-spotlight .tf-social {
    justify-content: center !important;
  }
  .team-lead-spotlight .lead-quote {
    border-left: none;
    padding-left: 0;
  }
}

/* Interactive Card Hover Elevations & Glow */
.pricing-item,
.features-item,
.benefits-box,
.process-card,
.awards-item,
.review-box,
.box-quotes,
.contact-item,
.featured-works-item {
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.35s ease;
  will-change: transform;
}

.pricing-item:hover,
.features-item:hover,
.benefits-box:hover,
.process-card:hover,
.review-box:hover,
.box-quotes:hover,
.contact-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
}

.awards-item:hover {
  transform: translateX(8px);
  border-color: rgba(234, 43, 22, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

.featured-works-item .image {
  overflow: hidden;
  border-radius: 20px;
}

.featured-works-item .image img {
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-works-item:hover .image img {
  transform: scale(1.05);
}

/* Button Shimmer & Lift */
.tf-btn,
.tf-btn-2 {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

.tf-btn::after,
.tf-btn-2::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.tf-btn:hover,
.tf-btn-2:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(234, 43, 22, 0.28);
}

.tf-btn:hover::after,
.tf-btn-2:hover::after {
  left: 140%;
}

/* Floating Ambient Motion for Tools Icons & Glows */
.section-tools .img-1,
.section-tools .img-3,
.section-tools .img-5 {
  animation: floatSlow 6.5s ease-in-out infinite;
}

.section-tools .img-2,
.section-tools .img-4,
.section-tools .img-6 {
  animation: floatSlowReverse 7.5s ease-in-out infinite;
}

.box-black .light-top,
.box-black .light-bot {
  animation: ambientGlowPulse 7s ease-in-out infinite;
  pointer-events: none;
}

/* Shimmer on Animated Progress Lines */
.progress-line {
  position: relative;
  overflow: hidden;
}

.progress-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-100%);
  animation: shimmerSweep 2.6s ease-in-out infinite;
}

/* Smooth Services Image Fade & Scale */
.services-image img {
  transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-image:hover img {
  transform: scale(1.03);
}

/* Live Status Dot Pulse in About Us */
.section-about-us .sub .dot {
  animation: pulseRing 2.2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

/* Ambient Floating Particles Canvas in Hero / Dark Sections */
.qashon-ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.55;
}

/* Keyframes */
@keyframes heroKenBurns {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.07) translate3d(0, -1.5%, 0);
  }
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(234, 43, 22, 0.7);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(234, 43, 22, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(234, 43, 22, 0);
  }
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}

@keyframes floatSlowReverse {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(14px); }
}

@keyframes ambientGlowPulse {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

@keyframes shimmerSweep {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* Accessibility: Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .section-hero.hero-banner-only .hero-image,
  .section-tools .img-1,
  .section-tools .img-2,
  .section-tools .img-3,
  .section-tools .img-4,
  .section-tools .img-5,
  .section-tools .img-6,
  .box-black .light-top,
  .box-black .light-bot,
  .progress-line::after,
  .hero-metric-pill .pulse-dot,
  .hero-scroll-cue .scroll-mouse::after {
    animation: none !important;
  }
}

/* ==========================================================================
   Layout Polish — Contact Form, Equal-Height Cards, Embedded Map & Footer
   ========================================================================== */

/* Keep Contact Form & Info cleanly aligned side-by-side */
.section-contact .row {
  align-items: center;
  row-gap: 32px;
}

.section-contact .form-contact {
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

/* Equal-height Contact Info Cards on Contact Page */
.box-contact-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Embedded Google Map Frame */
.wg-map {
  padding: 0 15px 72px;
}

.wg-map .map-frame-wrap {
  max-width: 1296px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
  background: #18181b;
}

.wg-map iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

@media (max-width: 767px) {
  .wg-map {
    padding: 0 12px 48px;
  }
  .wg-map iframe {
    height: 340px;
  }
}

/* Footer Clean Block Arrangement */
footer .footer-content {
  padding-bottom: 84px;
}

footer .footer-content .text {
  line-height: 1.75;
  margin-bottom: 32px !important;
}

footer .footer-bottom {
  gap: 20px;
}

footer .footer-bottom .footer-links {
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  footer .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 28px 0;
  }
  footer .footer-bottom .footer-links,
  footer .footer-bottom .action-go-top {
    justify-content: center !important;
  }
}
