/*
Theme Name: Randy Charach Theme
Theme URI: https://randycharach.com
Description: Build with GeneratePress
Author: Sikander Jafar
Author URI: https://sikanderjafar.com
Template: generatepress
Version: 1.0.0
Text Domain: generatepress-child
*/





/* For Page Hero Effects */
.hero-orb {
  position: absolute;
  top: -200px;
  left: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.15) 0%,
    rgba(201, 168, 76, 0.05) 50%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
  animation: orb-drift 12s ease-in-out infinite alternate;
}

@keyframes orb-drift {
  0%   { transform: translate(0px, 0px)    scale(1);    }
  50%  { transform: translate(50px, 40px)  scale(1.1);  }
  100% { transform: translate(-30px, 60px) scale(0.95); }
}

.hero-sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-sweep::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -60%;
  width: 60%;
  height: 140%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(201, 168, 76, 0.06) 30%,
    rgba(230, 195, 100, 0.13) 50%,
    rgba(201, 168, 76, 0.06) 70%,
    transparent 100%
  );
  filter: blur(18px);
  transform: skewX(-12deg);
  animation: sweep-beam 7s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes sweep-beam {
  0%   { left: -60%; opacity: 0;   }
  8%   { opacity: 1;               }
  92%  { opacity: 1;               }
  100% { left: 110%; opacity: 0;   }
}

@media (max-width: 768px) {
  .hero-sweep::before {
    width: 80%;
    background: linear-gradient(
      to right,
      transparent 0%,
      rgba(201, 168, 76, 0.04) 30%,
      rgba(230, 195, 100, 0.08) 50%,
      rgba(201, 168, 76, 0.04) 70%,
      transparent 100%
    );
    filter: blur(24px);
    animation-duration: 9s;
  }
}

@keyframes word-slide-up {
  to {
    opacity: 1;
    transform: translateY(0%);
  }
}

#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}






/* For sticky container */
.inside-right-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 4rem; /* Adjust based on your header height */
  align-self: start;
}







/* ── CTA ring pulse ── */
.ring-pulse {
  position: relative;
  display: inline-block;
}

.ring-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid currentColor;
  border-color: lightblue;
  opacity: 0;
  pointer-events: none;
}

.ring-pulse.is-visible::after {
  animation: ring-out 1.8s ease-out 0.4s infinite;
}

@keyframes ring-out {
  0%   { opacity: 0.65; transform: scale(1); }
  100% { opacity: 0;    transform: scale(1.5); }
}




/* no underline */
.no-underline a {
    text-decoration: none !important;
}

.no-underline a:hover,
.no-underline a:focus {
    text-decoration: none !important;
}