/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description:  Child theme for Astra Theme
 Author:       Abdul Wahab
 Author URI:   https://abdulwahab.website/
 Template:     astra
 Version:      1.0.0
*/

/* ====== Your custom CSS goes here ====== */
/* Sticky header - Desktop only */
@media (min-width: 1025px) {
  .ast-primary-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 9999;
      background-color: rgba(0,0,0,0); /* fully transparent at top */
      transition: top 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  }

}



/* ===================
   Preloader
   =================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0d0d0d;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.4s ease; /* faster fade */
}
#preloader.fade-out { opacity: 0; }

/* Logo size */
.preloader-logo {
  width: 420px;
  height: 420px;
}

/* Keyframe for logo drawing */
@keyframes drawLogo {
  to { stroke-dashoffset: 0; }
}

/* ===================
   Split Reveal Overlays
   =================== */
.reveal-overlay {
  position: fixed;
  left: 0;
  width: 100%;
  height: 50%;
  background: #0d0d0d;
  z-index: 9999;
  transition: transform 0.6s ease-in-out; /* slightly faster */
}
.reveal-overlay.top { top: 0; transform: translateY(0); }
.reveal-overlay.bottom { bottom: 0; transform: translateY(0); }
.reveal-overlay.top.slide-up { transform: translateY(-100%); }
.reveal-overlay.bottom.slide-down { transform: translateY(100%); }

/* Responsive logo sizing */
@media (max-width: 1200px) { .preloader-logo { width: 340px; height: 340px; } }
@media (max-width: 992px)  { .preloader-logo { width: 280px; height: 280px; } }
@media (max-width: 768px)  { .preloader-logo { width: 240px; height: 240px; } }
@media (max-width: 480px)  { .preloader-logo { width: 220px; height: 220px; } }

/* Optional: hide logo on non-home pages to speed up */
body:not(.home) #preloader .preloader-logo {
  display: none;
}

/* Small Flipping Text */
.hero-intro {
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  color: #ffffff; /* "I am" text default color */
  text-align: center;
  letter-spacing: 1px;
}
.hero-intro .intro-static {
  color: #ffffff; /* sticky "I am" stays white */
  margin-right: 5px; /* small spacing between "I am" and flipping roles */
}
#flipping-text {
  display: inline-block;
  color: #c9ff90; /* brand color for roles */
  font-weight: 600;
  transform-origin: top;
  backface-visibility: hidden;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* ================= Base Button Styles ================= */
.hover-fill-btn {
  position: relative;
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid #C9FF90;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  border-radius: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-fill-btn span {
  position: relative;
  z-index: 2;
  transition: color 0.5s ease;
}

/* Floating animation */
.hover-fill-btn {
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

/* ---------------- Fill Layer ---------------- */
.hover-fill-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #C9FF90;
  z-index: 1;
  transition: width 0.6s ease;
}

/* ---------------- Shimmer Overlay ---------------- */
.hover-fill-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.3) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
  z-index: 3;
  transition: none;
}

/* Shimmer animation on hover */
.hover-fill-btn:hover::after {
  animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
  0% { left: -50%; }
  100% { left: 100%; }
}

/* ================= Dark Section ================= */
.dark-section .hover-fill-btn {
  background: transparent;
  box-shadow: none; /* no shadow by default */
}
.dark-section .hover-fill-btn span { color: #fff; }
.dark-section .hover-fill-btn:hover::before { width: 100%; }
.dark-section .hover-fill-btn:hover span { color: #000; }
.dark-section .hover-fill-btn:hover {
  box-shadow: 0 0 10px #C9FF90, 0 0 10px #C9FF90; /* slightly less intense glow */
  transform: scale(1.02);
}

/* ================= Light Section ================= */
.light-section .hover-fill-btn {
  background: #C9FF90;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* subtle shadow even when not hovered */
}
.light-section .hover-fill-btn span { color: #27363c; }
.light-section .hover-fill-btn::before { width: 100%; } /* fully filled initially */
.light-section .hover-fill-btn:hover::before { width: 0; } /* unfill */
.light-section .hover-fill-btn:hover {
  background: transparent;
  box-shadow: 0 0 15px #C9FF90, 0 0 30px #C9FF90; /* glow on hover */
  transform: scale(1.02);
}
.light-section .hover-fill-btn:hover span { color: #000; }
/* Icon inside button */
.hover-fill-btn .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0; /* no space at first */
  width: 0;       /* collapsed */
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
}

.hover-fill-btn span {
  display: inline-block;
  transition: transform 0.4s ease, color 0.4s ease;
}

/* Hover: icon appears, text shifts */
.hover-fill-btn:hover .btn-icon {
  width: 18px;          /* reveal space */
  margin-left: 8px;     /* spacing between text & icon */
  opacity: 1;
}

.hover-fill-btn:hover span {
  transform: translateX(-4px); /* tiny shift for balance */
}


.cursor-circle {
  position: fixed;
  top: 0; left: 0;
  width: 20px; height: 20px;
  border: 2px solid #C9FF90;
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 120ms ease, opacity 150ms ease;
  z-index: 99999;
  opacity: 0.95;
  box-shadow: 0 0 8px #C9FF90;   /* 👈 glow added */
}

/* =======================
   Global Typography Setup ()
   ======================= */

/* Headings */
h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 0.8em;
}

/* Body Text */
body, p, li {
  font-family: 'Inter', sans-serif ;
  font-weight: 400 !important;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 1.2em;
}

/* Buttons & Navigation */
button,
.hover-fill-btn span,
nav a,
.elementor-button {
  font-family: 'Space Grotesk', sans-serif !important;
  text-transform: uppercase;
  font-weight: 600 !important;
  letter-spacing: 1px;
}

/* =======================
   Section Styles
   ======================= */

/* Dark Section */
.dark-section {
  background: #0f0f0f;
  color: #eaeaea;
}
.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section p,
.dark-section li {
  color: #fff;
}

/* Light Section */
.light-section {
  background: #ffffff;
  color: #333;
}
.light-section h1,
.light-section h2,
.light-section h3,
.light-section p,
.light-section li {
  color: #111;
}

/* =======================
   Responsive Font Sizes
   ======================= */
@media (max-width: 768px) {
  h1 { font-size: 32px }
  h2 { font-size: 26px ; }
  h3 { font-size: 20px; }
  body { font-size: 15px ; }
}

@media (min-width: 769px) {
  h1 { font-size: 56px  }
  h2 { font-size: 40px; }
  h3 { font-size: 28px ; }
  body { font-size: 16px ; }
}

@media (max-width: 768px) {
  .big-buttons {
    padding: 10px 10px;
    font-size: 12px;
  }
}
/* ===========================
   Luxury animation + fixes
   =========================== */

/* Visible helper */
.visible {
  opacity: 1 !important;
  transform: translate(0,0) scale(1) !important;
}

/* ---------------------------
   Headings & Paragraphs
   --------------------------- */
.creative-heading,
.why-heading {
  opacity: 0;
  transform: translateY(-40px) scale(0.92);
  transition: all 1.6s cubic-bezier(0.77,0,0.175,1);
}
.why-heading { transform: translateX(-60px) scale(0.92); }

.creative-paragraph,
.why-text {
  opacity: 0;
  transform: scale(0.85) translateY(30px);
  transition: all 1.4s cubic-bezier(0.77,0,0.175,1);
}

/* ---------------------------
   Skills / Progress Bars
   --------------------------- */
/* Animate the widget wrappers inside the skills column (so Elementor's fill still runs) */
.skills-list .elementor-widget {
  opacity: 0;
  transform: translateX(-80px);
  transition: all 1.4s cubic-bezier(0.77,0,0.175,1);
  will-change: transform, opacity;
}
.skills-list.visible .elementor-widget {
  opacity: 1;
  transform: translateX(0);
}

/* Also support alternative progress elements (if structure differs) */
.skills-list .elementor-progress-wrapper,
.skills-list .elementor-progress-bar,
.skills-list .elementor-widget-progress {
  opacity: 0;
  transform: translateX(-80px);
  transition: all 1.4s cubic-bezier(0.77,0,0.175,1);
}
.skills-list.visible .elementor-progress-wrapper,
.skills-list.visible .elementor-progress-bar,
.skills-list.visible .elementor-widget-progress {
  opacity: 1;
  transform: translateX(0);
}
/* =========================== Projects Section =========================== */
.projects-section {
  background: #111;
  padding: 60px 20px;
  color: #fff;
}



/* Project card base */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.9) translateY(30px);
  filter: none;
  transition: all 1.4s ease;
}

/* Reveal on scroll */
.project-card.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Project image */
.project-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

/* Info bar (title + arrow) */
.project-card .info-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  z-index: 2;

  background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(20,20,20,0.85));
  overflow: hidden;
}

/* Gloss sweep animation */
.project-card .info-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 25%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.15) 0%, transparent 100%);
  transform: skewX(-20deg);
  opacity: 0.6;
  transition: none;
}
.project-card:hover .info-bar::before {
  animation: glossMove 3.5s linear infinite;
}

/* Keyframes for continuous gloss sweep */
@keyframes glossMove {
  0% { left: -25%; }
  100% { left: 100%; }
}

/* Title */
.project-card .title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.6s ease;
}

/* Arrow */
.project-card .arrow-wrapper {
  position: relative;
  opacity: 0;
  transform: translateX(15px);
  transition: all 0.6s ease 0.3s; /* staggered */
}
.project-card .arrow-circle {
  width: 40px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: visible;
}

/* Arrow shine pulse */
.project-card .arrow-circle::after {
  content: "";
  position: absolute;
  top: -5px; left: -5px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  z-index: -1;
  opacity: 0;
  transform: scale(0.8);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 0.2; transform: scale(1.1); }
}

.project-card .arrow-circle .arrow {
  color: #fff;
  font-size: 1.2rem;
  transition: color 0.4s ease;
}

/* Arrow hover effect */
.project-card .arrow-circle:hover {
  background: #fff;
  transform: scale(1.2);
}
.project-card .arrow-circle:hover .arrow {
  color: #000;
}

/* Hover Effects */
.project-card:hover img {
  transform: scale(1.05);
}
.project-card:hover .info-bar {
  opacity: 1;
  transform: translateY(0);
}
.project-card:hover .title {
  opacity: 1;
  transform: translateY(0);
}
.project-card:hover .arrow-wrapper {
  opacity: 1;
  transform: translateX(0);
}

/* Auto hover (mobile/tablets) */
.project-card.auto-hover .info-bar {
  opacity: 1;
  transform: translateY(0);
}
.project-card.auto-hover .title {
  opacity: 1;
  transform: translateY(0);
}
.project-card.auto-hover .arrow-wrapper {
  opacity: 1;
  transform: translateX(0);
}


/* ---------------------------
   Design Approach (icon boxes row)
   --------------------------- */
/* Wrapper: give guaranteed size and layout so IntersectionObserver detects it reliably */
.design-approach {
  opacity: 0;
  transform: translateY(50px) scale(0.92);
  transition: all 1.6s cubic-bezier(0.77,0,0.175,1);
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
  padding: 50px 20px;
  min-height: 240px; /* critical: ensures observer triggers */
  box-sizing: border-box;
  flex-wrap: nowrap; /* force single row on desktop */
}

/* Icon boxes (Elementor icon box widgets inside .design-approach) */
.design-approach .elementor-widget-icon-box {
  opacity: 0;
  transform: scale(0.7) translateY(30px);
  transition: all 1.2s cubic-bezier(0.77,0,0.175,1);
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 35px 28px; /* more breathing room */
  background: rgba(255,255,255,0.05);
  cursor: pointer;

  flex: 1 1 30%;   /* flexibly take about a third of the row */
  min-width: 260px; /* larger base size */
  max-width: 400px; /* allow them to expand */
  height: auto;     /* let content define height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}


/* Make sure boxes shrink nicely on smaller screens */
@media (max-width: 1100px) {
  .design-approach .elementor-widget-icon-box { width: calc((100% - 30px) / 2); } /* 2 per row */
}
@media (max-width: 720px) {
  .design-approach { flex-wrap: wrap; }
  .design-approach .elementor-widget-icon-box { width: 100%; max-width: none; height: auto; padding: 22px; }
}

/* Glow overlay for icon boxes (will be injected by JS) */
.design-approach .elementor-widget-icon-box .icon-fill-overlay {
  position: absolute;
  top:0; left:0; width:100%; height:100%;
  background: linear-gradient(120deg, rgba(200,255,220,0.06), rgba(150,255,240,0.12), rgba(200,255,220,0.06));
  background-size: 200% 100%;
  z-index: 0; pointer-events: none; filter: blur(10px);
  transform: translateX(-100%);
}
.design-approach .elementor-widget-icon-box.visible .icon-fill-overlay {
  animation: neonWaveOnce 1.4s forwards ease-out, neonWaveLoop 5s 1.4s linear infinite;
}
@keyframes neonWaveOnce { 0% { transform: translateX(-100%); } 100% { transform: translateX(0); } }
@keyframes neonWaveLoop { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* 3D hover tilt for icon boxes */
.design-approach .elementor-widget-icon-box:hover {
  transform: scale(1.03) translateY(-6px) rotateX(3deg) rotateY(3deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------
   Elementor Editor visibility
   --------------------------- */
.elementor-editor-active .creative-heading,
.elementor-editor-active .creative-paragraph,
.elementor-editor-active .why-heading,
.elementor-editor-active .why-text,
.elementor-editor-active .skills-list .elementor-widget,
.elementor-editor-active .design-approach,
.elementor-editor-active .design-approach .elementor-widget-icon-box {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}




/* Stats Section Animation Only */
.stat {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
  
}

.stat.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Bounce effect for counter numbers */
.stat .elementor-counter-number {
  display: inline-block;
}

.stat.bounce .elementor-counter-number {
  animation: bounce 0.5s ease-out 1;
}

@keyframes bounce {
  0%   { transform: scale(0.8); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
/* Force in-view for Elementor editor preview */
.elementor-editor-active .stat {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
/* =================== Stats Section Base =================== */
.stat-bg {
  position: relative;
  overflow: hidden;
  background: #fff; /* clean white background */
}

/* =================== Futuristic Multi-Color Neon Overlay =================== */
.stat-bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0;             /* desktop starts with no width */
  height: 100%;
  z-index: 0;
  pointer-events: none;

  /* Neon gradient for futuristic effect */
  background: linear-gradient(
    90deg,
    rgba(201,255,144,0.2) 0%,
    rgba(144,255,201,0.3) 25%,
    rgba(201,255,144,0.6) 50%,
    rgba(144,255,201,0.3) 75%,
    rgba(201,255,144,0.2) 100%
  );
  background-size: 300% 100%;

  /* Neon glow */
  box-shadow:
    0 0 15px rgba(201,255,144,0.3),
    0 0 30px rgba(144,255,201,0.2),
    0 0 60px rgba(201,255,144,0.2);
  filter: blur(1.5px);

  /* Smooth fill + shifting gradient */
  transition: width 1.5s ease-out, height 1.5s ease-out;
  animation: neonShift 5s linear infinite;
}

/* Entrance fill effect (desktop default = width expand) */
.stat-bg.fill-entrance::before {
  width: 100%;
}

/* Mobile / Tablet: change to vertical fill */
@media (max-width: 768px) {
  .stat-bg::before {
    width: 100%;   /* always full width */
    height: 0;     /* start with no height */
    background: linear-gradient(
      180deg,
      rgba(201,255,144,0.2) 0%,
      rgba(144,255,201,0.3) 25%,
      rgba(201,255,144,0.6) 50%,
      rgba(144,255,201,0.3) 75%,
      rgba(201,255,144,0.2) 100%
    );
    background-size: 100% 300%;
  }
  .stat-bg.fill-entrance::before {
    height: 100%; /* vertical fill on mobile */
  }
}

/* Neon gradient shifting animation */
@keyframes neonShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* =================== Counters/Text Animation =================== */
.stat-bg .stat {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.stat-bg .stat.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* ================= Offer Section ================= */
.offer-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 255, 144, 0.4);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(201, 255, 144, 0.2);
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;

  /* Entrance start: closed + slightly rotated */
  opacity: 0;
  transform: translateY(40px) scale(0.95) rotateX(10deg);
  transition: all 0.8s ease-out;
}

/* Card unfolds (premium) */
.offer-card.in-view.open {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0deg);
}

/* Inner elements hidden initially */
.offer-card .elementor-icon,
.offer-card .elementor-heading-title,
.offer-card .elementor-text-editor {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

/* Icon appears first */
.offer-card.in-view .elementor-icon {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.2s;
}

/* Title appears after card opens */
.offer-card.in-view.open .elementor-heading-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

/* Text appears after title */
.offer-card.in-view.open .elementor-text-editor {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

/* Holographic shimmer effect */
.offer-card::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(201, 255, 144, 0.0) 0%,
    rgba(201, 255, 144, 0.25) 50%,
    rgba(201, 255, 144, 0.0) 100%
  );
  transform: skewX(-20deg);
  transition: all 1s ease;
  pointer-events: none;
}

/* Shimmer animation on card open */
.offer-card.in-view.open::after {
  animation: shimmer 1s forwards;
}

@keyframes shimmer {
  0% { left: -75%; }
  100% { left: 125%; }
}

/* Hover: gentle zoom + icon rotation */
.offer-card:hover {
  transform: scale(1.03) rotateX(0deg);
  border-color: #C9FF90;
  box-shadow: 0 0 25px rgba(201, 255, 144, 0.6),
              0 0 50px rgba(201, 255, 144, 0.3),
              0 0 80px rgba(201, 255, 144, 0.2) inset;
}
.offer-card:hover .elementor-icon {
  transform: rotate(15deg) scale(1.2);
  text-shadow: 0 0 15px rgba(201, 255, 144, 0.9),
               0 0 30px rgba(201, 255, 144, 0.6),
               0 0 50px rgba(201, 255, 144, 0.4);
}

/* Elementor editor fix */
.elementor-editor-active .offer-card,
.elementor-editor-active .offer-card .elementor-icon,
.elementor-editor-active .offer-card .elementor-heading-title,
.elementor-editor-active .offer-card .elementor-text-editor {
  opacity: 1 !important;
  transform: translateY(0) scale(1) rotateX(0deg) !important;
}

/* ====== Base ====== */
.usecase-project1 {
  position: relative;
  overflow: hidden;
  padding: 50px 30px;
  border-radius: 25px;
  transition: transform .3s ease, box-shadow .3s ease;
  opacity: 0;
  visibility: hidden;
}
.usecase-project1:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* Elementor editor: always visible */
.elementor-editor-active .usecase-project1 {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ====== Hidden child elements (except image) ====== */
.usecase-project1-heading,
.usecase-project1-text1,
.usecase-project1-text2,
.usecase-project1-text3,
.usecase-project1-tools span {
  opacity: 0;
  position: relative;
  z-index: 2;
}

.elementor-editor-active 
.usecase-project1-heading,
.elementor-editor-active 
.usecase-project1-text1,
.elementor-editor-active 
.usecase-project1-text2,
.elementor-editor-active 
.usecase-project1-text3,
.elementor-editor-active 
.usecase-project1-tools span {
  opacity: 1 !important;
}

/* ====== Image wrapper (smooth fade + scale) ====== */
.usecase-project1-image-wrapper {
  display: inline-block;
  border-radius: 20px;
  padding: 4px;
  background: linear-gradient(135deg, #c9ff90, rgba(201,255,144,0.28));
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* image inside wrapper */
.usecase-project1-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  opacity: 1; /* always visible */
}

/* Reveal (on scroll) */
.usecase-project1.show .usecase-project1-image-wrapper {
  opacity: 1;
  transform: scale(1);
}

/* ====== Text animations ====== */
@keyframes smoothPop   { 0%{opacity:0; transform:translateY(20px) scale(.95);} 100%{opacity:1; transform:translateY(0) scale(1);} }
@keyframes smoothFromTop    { 0%{opacity:0; transform:translateY(-30px);} 100%{opacity:1; transform:translateY(0);} }
@keyframes smoothFromRight  { 0%{opacity:0; transform:translateX(50px);} 100%{opacity:1; transform:translateX(0);} }
@keyframes smoothFromBottom { 0%{opacity:0; transform:translateY(30px);} 100%{opacity:1; transform:translateY(0);} }

/* Heading */
.usecase-project1-heading {
  font-size: 2rem;
  font-weight:700;
  background: linear-gradient(90deg, #c9ff90, #5ce1e6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShiftText 6s ease infinite;
}
@keyframes gradientShiftText {
  0%{background-position:0% 50%} 
  50%{background-position:100% 50%} 
  100%{background-position:0% 50%}
}

/* Triggered reveals */
.usecase-project1.show .usecase-project1-heading { animation: smoothPop 1s forwards .2s; }
.usecase-project1.show .usecase-project1-text1 { animation: smoothFromTop 1s forwards .8s; }
.usecase-project1.show .usecase-project1-text2 { animation: smoothFromRight 1s forwards 1.1s; }
.usecase-project1.show .usecase-project1-text3 { animation: smoothFromBottom 1s forwards 1.4s; }

/* Tools */
.usecase-project1-tools span {
  display:inline-block;
  padding:12px 20px;
  border-radius:16px;
  background:linear-gradient(135deg, rgba(201,255,144,0.15), rgba(201,255,144,0.08));
  backdrop-filter: blur(8px);
  border:1px solid rgba(201,255,144,0.25);
  box-shadow:0 4px 15px rgba(0,0,0,0.08);
  font-weight:600;
  color:#c9ff90;
  margin:5px;
  opacity:0;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.usecase-project1-tools span:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:0 8px 20px rgba(201,255,144,0.25);
  background: linear-gradient(135deg, rgba(201,255,144,0.25), rgba(201,255,144,0.12));
}
/* ====== Footer with Neon Glow ====== */
.footer-simple {
  position: relative;
  overflow: hidden;
  padding: 40px 20px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  color: #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0f0f0f;
  border-top: 2px solid rgba(201,255,144,0.2);
  box-shadow: 0 -2px 20px rgba(201,255,144,0.2);
}

/* Subtle animated diagonal grid */
.footer-simple::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(201,255,144,0.02) 0px,
    rgba(201,255,144,0.02) 2px,
    transparent 2px,
    transparent 10px
  );
  z-index: 0;
  animation: bgShimmer 25s linear infinite;
}
@keyframes bgShimmer {
  0% { background-position: 0 0; }
  100% { background-position: 500px 500px; }
}

/* Content above overlay */
.footer-simple > * { position: relative; z-index: 1; }

/* Logo wrapper with continuous neon streak underline */
.footer-logo::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%, 
    rgba(201,255,144,0.3) 20%, 
    rgba(201,255,144,1) 50%, 
    rgba(201,255,144,0.3) 80%, 
    transparent 100%
  );
  background-size: 200% 100%;
  animation: underlineNeonStreak 2s linear infinite;
}
@keyframes underlineNeonStreak {
  0% { background-position: -100% 0; }
  100% { background-position: 100% 0; }
}


/* Logo image */
.footer-site-logo {
  max-width: 140px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Navigation links */
.footer-links {
  margin-bottom: 15px; margin-top: 15px;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  color: #eee;
  text-shadow: 0 0 2px rgba(0,0,0,0.2);
  transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}
.footer-links a:hover {
  color: #C9FF90;
  text-shadow: 0 0 6px #C9FF90;
  transform: scale(1.1);
}

/* Bottom text */
.footer-bottom p {
  font-size: 0.85rem;
  color: #bbb;
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  animation: bottomTextFade 1.2s ease forwards 1s;
}
@keyframes bottomTextFade {
  to { opacity: 1; transform: translateY(0); }
}

/* Soft neon glow around footer edges */
.footer-simple::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201,255,144,0.1);
  box-shadow: 0 0 30px rgba(201,255,144,0.15);
  border-radius: 0;
  pointer-events: none;
  z-index: 0;
}

/* Responsive tweaks */
@media(max-width: 768px){
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}