/* ==========================================================================
   JAITON TECHNOLOGIES — Premium Polish & Animations
   ========================================================================== */

/* ---------- HIDE OLD DUPLICATE REVIEWS ---------- */
.jt-reviews#reviews { display: none !important; }

/* ---------- 1. HERO — Ken Burns + Entrance Animations ---------- */
@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
.jt-hero__image {
  animation: kenBurns 8s ease-in-out infinite alternate;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.jt-hero__heading { animation: heroFadeUp 1s ease-out 0.3s both; }
.jt-hero__desc { animation: heroFadeUp 1s ease-out 0.5s both; }
.jt-hero__buttons { animation: heroFadeUp 1s ease-out 0.7s both; }

/* Floating stat icons */
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.jt-hero__stat-icon {
  animation: floatIcon 3s ease-in-out infinite;
}
.jt-hero__stat:nth-child(2) .jt-hero__stat-icon { animation-delay: 0.4s; }
.jt-hero__stat:nth-child(3) .jt-hero__stat-icon { animation-delay: 0.8s; }
.jt-hero__stat:nth-child(4) .jt-hero__stat-icon { animation-delay: 1.2s; }
.jt-hero__stat:nth-child(5) .jt-hero__stat-icon { animation-delay: 1.6s; }

/* Stronger overlay */
.jt-hero__overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.55) 100%) !important;
}

/* ---------- 2. TRUSTED COMPANIES — Full Color ---------- */
.company-logo {
  /* Removed aggressive grayscale and opacity !important tags */
  transition: all 0.35s ease !important;
  height: 40px !important;
  width: auto !important;
}
.company-logo:hover {
  transform: scale(1.08) translateY(-3px) !important;
  filter: brightness(1.05) drop-shadow(0 8px 20px rgba(0,0,0,0.12)) !important;
}

/* ---------- 3. WHAT WE DO — Hover Polish ---------- */
.jt-wwd-card {
  transition: all 0.35s ease !important;
  position: relative;
}
.jt-wwd-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.12) !important;
}
.jt-wwd-icon-wrap i {
  transition: transform 0.35s ease;
}
.jt-wwd-card:hover .jt-wwd-icon-wrap i {
  transform: rotate(8deg);
}

/* ---------- 4. ABOUT — Image Zoom + Feature Hover ---------- */
@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}
.jt-about__img {
  animation: slowZoom 12s ease-in-out infinite alternate;
}
.jt-about__feature {
  transition: all 0.35s ease;
}
.jt-about__feature:hover {
  transform: translateX(5px);
  color: #7C3AED;
}

/* ---------- 5. INDUSTRIES — Hover Glow + Image Zoom ---------- */
.jt-ind-card {
  transition: all 0.35s ease !important;
}
.jt-ind-card:hover {
  border-color: rgba(124, 58, 237, 0.3) !important;
  box-shadow: 0 0 25px rgba(124, 58, 237, 0.12) !important;
}
.jt-ind-card-img {
  transition: transform 0.5s ease !important;
}
.jt-ind-card:hover .jt-ind-card-img {
  transform: scale(1.06) !important;
}
.jt-ind-card-link {
  transition: all 0.3s ease !important;
}
.jt-ind-card:hover .jt-ind-card-link {
  transform: translateX(5px);
}

/* ---------- 6. PORTFOLIO — Lift + Zoom ---------- */
.jt-port2-card {
  transition: all 0.35s ease !important;
}
.jt-port2-card:hover {
  transform: translateY(-8px) !important;
}
.jt-port2-img {
  transition: transform 0.5s ease !important;
}
.jt-port2-card:hover .jt-port2-img {
  transform: scale(1.06) !important;
}

/* ---------- 7. STATS CARD — Floating Glow ---------- */
@keyframes statsGlow {
  0%, 100% { box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2); }
  50% { box-shadow: 0 25px 50px rgba(124, 58, 237, 0.35); }
}
.stats-card {
  animation: statsGlow 4s ease-in-out infinite;
}

/* ---------- 8. CTA BANNER — Animated Gradient + Network Pattern ---------- */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.cta-premium-banner {
  background: linear-gradient(90deg, #7C3AED, #8B5CF6, #6D28D9, #7C3AED) !important;
  background-size: 300% 300% !important;
  animation: gradientShift 6s ease infinite;
  position: relative;
  overflow: hidden;
}
.cta-premium-banner::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='2' fill='rgba(255,255,255,0.15)'/%3E%3Ccircle cx='60' cy='40' r='2' fill='rgba(255,255,255,0.1)'/%3E%3Ccircle cx='100' cy='20' r='2' fill='rgba(255,255,255,0.12)'/%3E%3Ccircle cx='140' cy='60' r='2' fill='rgba(255,255,255,0.08)'/%3E%3Ccircle cx='180' cy='30' r='2' fill='rgba(255,255,255,0.15)'/%3E%3Ccircle cx='40' cy='80' r='2' fill='rgba(255,255,255,0.1)'/%3E%3Ccircle cx='80' cy='70' r='2' fill='rgba(255,255,255,0.12)'/%3E%3Ccircle cx='120' cy='90' r='2' fill='rgba(255,255,255,0.08)'/%3E%3Ccircle cx='160' cy='80' r='2' fill='rgba(255,255,255,0.15)'/%3E%3Cline x1='20' y1='20' x2='60' y2='40' stroke='rgba(255,255,255,0.06)' /%3E%3Cline x1='60' y1='40' x2='100' y2='20' stroke='rgba(255,255,255,0.06)' /%3E%3Cline x1='100' y1='20' x2='140' y2='60' stroke='rgba(255,255,255,0.06)' /%3E%3Cline x1='140' y1='60' x2='180' y2='30' stroke='rgba(255,255,255,0.06)' /%3E%3Cline x1='40' y1='80' x2='80' y2='70' stroke='rgba(255,255,255,0.06)' /%3E%3Cline x1='80' y1='70' x2='120' y2='90' stroke='rgba(255,255,255,0.06)' /%3E%3Cline x1='120' y1='90' x2='160' y2='80' stroke='rgba(255,255,255,0.06)' /%3E%3C/svg%3E") repeat;
  opacity: 0.6;
  pointer-events: none;
}
.btn-cta-primary:hover, .btn-cta-secondary:hover {
  transform: translateY(-3px) scale(1.03) !important;
}

/* ---------- 9. FOOTER — Lighter BG + Hover Effects ---------- */
.footer-section {
  background: #111827 !important;
  position: relative;
}
.footer-links a {
  transition: all 0.3s ease !important;
  display: inline-block;
}
.footer-links a:hover {
  color: #A78BFA !important;
  transform: translateX(4px);
}
.footer-social a {
  transition: all 0.3s ease !important;
}
.footer-social a:hover {
  transform: translateY(-3px) scale(1.15);
  color: #A78BFA !important;
}
.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7C3AED, #A855F7, #38BDF8, #7C3AED);
  z-index: 1;
}

/* ---------- 10. GLOBAL POLISH ---------- */
/* Button shine effect */
@keyframes btnShine {
  0% { left: -100%; }
  100% { left: 200%; }
}
.jt-btn {
  position: relative;
  overflow: hidden;
}
.jt-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: none;
  pointer-events: none;
}
.jt-btn:hover::after {
  animation: btnShine 0.6s ease-out;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #7C3AED, #8B5CF6);
  color: #fff;
  border: none;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(124, 58, 237, 0.4);
}

/* Page loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: #0F172A;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}
@keyframes loaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.page-loader::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 3px solid rgba(139, 92, 246, 0.2);
  border-top-color: #8B5CF6;
  border-radius: 50%;
  animation: loaderSpin 0.8s linear infinite;
}

/* Review stars fix - use proper star chars */
.review-stars {
  color: #F59E0B;
  font-size: 20px;
  margin-bottom: 15px;
  letter-spacing: 3px;
}

/* CTA buttons arrow icon */
.btn-cta-primary i, .btn-cta-secondary i {
  transition: transform 0.3s ease;
}
.btn-cta-primary:hover i {
  transform: translateX(3px);
}

/* Responsive polish */
@media (max-width: 575px) {
  .cta-buttons { flex-direction: column !important; }
  .btn-cta-primary, .btn-cta-secondary { width: 100%; }
  .reviews-title { font-size: 26px !important; }
  .cta-premium-banner h2 { font-size: 24px !important; }
}

/* Smooth image reveal */
@keyframes imageReveal {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
