@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

html { 
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body { 
  font-family: 'Inter', sans-serif; 
  background: #FAFAFA; 
  color: #111827; 
  overflow-x: hidden;
  max-width: 100%;
}
h1,h2,h3,h4,.font-display { font-family: 'Space Grotesk', sans-serif; }

::selection { background: #FFA500; color: #111827; }

/* ── Custom Scrollbar ──────────────────────────────────────────────────── */
/* Firefox */
* { scrollbar-width: thin; scrollbar-color: #FFA500 #F3F4F6; }

/* Chrome / Edge / Safari */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F3F4F6; }
::-webkit-scrollbar-thumb {
  background: #FFA500;
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: #e08e00; }


/* Glassmorphism */
.glass {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
}
.glass-strong {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid #E5E7EB;
}

/* Fade up on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .float, .parallax-icon { animation: none !important; }
}

/* Floating icons */
.float { animation: floaty 6s ease-in-out infinite; }
.float-slow { animation: floaty 8s ease-in-out infinite; }
.float-delay { animation-delay: 1.5s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}

/* Gradient blur blobs */
.blur-blob {
  filter: blur(90px);
  opacity: 0.35;
}

/* Cursor glow */
#cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 9999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,165,0,0.18) 0%, rgba(255,165,0,0) 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity .3s ease;
}

/* Magnetic button wrapper handled via JS */
.btn-primary {
  background: #FFA500;
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(255,165,0,0.55);
}
.btn-primary:hover { box-shadow: 0 14px 36px -6px rgba(255,165,0,0.7); }

/* Card hover lift */
.lift-card { transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease, border-color .35s ease; }
.lift-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px -16px rgba(17,24,39,0.14); border-color: #FFA500; }

/* Scrollspy active */
.nav-link { color: inherit; transition: color .25s; }
.nav-link:hover,
.nav-link.active { color: #FFA500; }

.mobile-link { transition: color .25s; }
.mobile-link.active { color: #FFA500; font-weight: 600; }

/* Accordion */
.faq-content { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.16,1,.3,1), padding .4s ease; }
.faq-item.open .faq-content { max-height: 240px; }
.faq-icon { transition: transform .35s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* Browser mockup */
.browser-dot { width: 10px; height: 10px; border-radius: 9999px; }

/* Marquee-ish skill tag hover */
.skill-chip { transition: all .3s ease; }
.skill-chip:hover { background: #FFA500; color: #111827; border-color: #FFA500; transform: translateY(-3px); }

.section-pad { padding-top: 96px; padding-bottom: 96px; }
@media (min-width: 768px) {
  .section-pad { padding-top: 120px; padding-bottom: 120px; }
}

/* Hero Orbit Skill Badges */
@keyframes badge-orbit-float {
  0%, 100% { transform: rotate(var(--badge-angle)) translateX(var(--orbit-radius)) rotate(var(--badge-neg)) translate(-50%,-50%) translateY(0px); }
  50%       { transform: rotate(var(--badge-angle)) translateX(var(--orbit-radius)) rotate(var(--badge-neg)) translate(-50%,-50%) translateY(-9px); }
}
.hero-orbit-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 550px;
  --photo-size: 460px;
  --orbit-radius: 300px;
  --badge-padding: 5px 12px;
  --badge-radius: 20px;
  --badge-font-size: 0.7rem;
}
.orbit-skill-badge {
  position: absolute;
  top: 50%; left: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,165,0,0.25);
  border-radius: var(--badge-radius);
  padding: var(--badge-padding);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 20px -4px rgba(17,24,39,0.12);
  white-space: nowrap;
  z-index: 20;
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--badge-font-size);
  font-weight: 700;
  animation: badge-orbit-float 6s ease-in-out infinite;
  transition: all 0.3s ease;
}

/* Scaling profile image and glow effects */
.hero-profile-img {
  width: var(--photo-size);
  height: var(--photo-size);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.glow-ring-1 {
  width: calc(var(--photo-size) + 50px);
  height: calc(var(--photo-size) + 50px);
  transition: all 0.3s ease;
}
.glow-ring-2 {
  width: calc(var(--photo-size) + 20px);
  height: calc(var(--photo-size) + 20px);
  transition: all 0.3s ease;
}
.glow-blob {
  width: calc(var(--photo-size) + 20px);
  height: calc(var(--photo-size) + 20px);
  transition: all 0.3s ease;
}

/* Breakpoints for Responsive Scaling */
@media (max-width: 1200px) {
  .hero-orbit-wrap {
    --photo-size: 420px;
    --orbit-radius: 270px;
    min-height: 520px;
  }
}
@media (max-width: 1024px) {
  .hero-orbit-wrap {
    --photo-size: 340px;
    --orbit-radius: 220px;
    min-height: 440px;
  }
}
@media (max-width: 768px) {
  .hero-orbit-wrap {
    --photo-size: 340px;
    --orbit-radius: 220px;
    min-height: 440px;
    --badge-padding: 3px 8px;
    --badge-radius: 12px;
    --badge-font-size: 0.6rem;
  }
  .orbit-skill-badge {
    gap: 4px;
  }
}
@media (max-width: 480px) {
  .hero-orbit-wrap {
    --photo-size: 240px;
    --orbit-radius: 160px;
    min-height: 330px;
    --badge-padding: 2px 6px;
    --badge-font-size: 0.52rem;
  }
  .orbit-skill-badge i {
    font-size: 0.75rem !important;
  }
}
@media (max-width: 360px) {
  .hero-orbit-wrap {
    --photo-size: 190px;
    --orbit-radius: 130px;
    min-height: 280px;
    --badge-padding: 2px 4px;
    --badge-font-size: 0.48rem;
  }
  .orbit-skill-badge i {
    font-size: 0.7rem !important;
  }
}

/* Owl Carousel Custom Styles */
.owl-testimonials .owl-dots {
  margin-top: 2.5rem;
  text-align: center;
}
.owl-testimonials .owl-dot span {
  width: 10px;
  height: 10px;
  background: #E5E7EB;
  border-radius: 9999px;
  display: block;
  margin: 0 4px;
  transition: all .3s ease;
}
.owl-testimonials .owl-dot.active span,
.owl-testimonials .owl-dot:hover span {
  background: #FFA500;
  width: 28px;
}
.owl-testimonials .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.owl-testimonials .owl-nav button {
  pointer-events: all;
  width: 44px;
  height: 44px;
  border-radius: 9999px !important;
  background: #fff !important;
  border: 1px solid #E5E7EB !important;
  color: #FFA500 !important;
  font-size: 1.1rem !important;
  box-shadow: 0 4px 16px -4px rgba(0,0,0,0.10);
  transition: all .3s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 -22px;
}
.owl-testimonials .owl-nav button:hover {
  background: #FFA500 !important;
  color: #fff !important;
  border-color: #FFA500 !important;
}
.owl-testimonials .owl-nav button span {
  font-size: 1.4rem;
  line-height: 1;
}
.owl-testimonials .owl-item {
  padding: 8px 6px 16px;
}

/* Equal Height Cards in Testimonials Carousel */
.owl-testimonials .owl-stage {
  display: flex !important;
}
.owl-testimonials .owl-item {
  display: flex !important;
  height: auto !important;
  flex-direction: column;
}
.owl-testimonials .lift-card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* Social Media Icon Buttons */
.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #ffedd5;
  background: #fff;
  color: #FFA500;
  font-size: 15px;
  transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.22s, box-shadow 0.22s;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.social-icon-btn:hover {
  background: var(--sc, #111);
  color: #fff;
  border-color: var(--sc, #111);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--sc, #111) 35%, transparent);
}


