@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap");

* {
  font-family: "Lexend", sans-serif;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes badgePop {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fadeSlideRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes pulseGold {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.topbar-animate {
  animation: fadeSlideDown 0.45s ease both;
}
.navbar-animate {
  animation: fadeSlideDown 0.45s 0.1s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}
.bg-gold {
  animation: pulseGold 2.5s ease-in-out infinite;
}

nav .rounded-full img {
  transition: transform 0.35s ease;
}
nav .rounded-full:hover img {
  transform: rotate(8deg) scale(1.08);
}

nav ul li a {
  position: relative;
}
nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: #000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
nav ul li a:hover::after,
nav ul li a.nav-active::after {
  transform: scaleX(1);
}

nav button {
  transition:
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    transform 0.18s ease !important;
}
nav button:hover {
  transform: translateY(-1px);
}

.badge-animate {
  animation: badgePop 0.5s 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  opacity: 0;
  animation-fill-mode: forwards;
}
.heading-animate {
  animation: fadeSlideUp 0.6s 0.4s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}
.desc-animate {
  animation: fadeSlideUp 0.6s 0.55s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}
.herobtn-animate {
  animation: fadeSlideUp 0.6s 0.65s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-cta-primary {
  transition:
    opacity 0.2s ease,
    transform 0.18s ease !important;
}
.hero-cta-primary:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.hero-cta-secondary {
  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.18s ease !important;
}
.hero-cta-secondary:hover {
  transform: translateY(-2px);
}

.stat-animate-1 {
  animation: fadeSlideUp 0.5s 0.75s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}
.stat-animate-2 {
  animation: fadeSlideUp 0.5s 0.88s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}
.stat-animate-3 {
  animation: fadeSlideUp 0.5s 1.01s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}
.stat-animate-4 {
  animation: fadeSlideUp 0.5s 1.14s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}

.stat-num-hover {
  display: inline-block;
  transition: transform 0.22s ease;
}
.stat-num-hover:hover {
  transform: scale(1.15);
}

.card-animate-1 {
  animation: fadeSlideRight 0.5s 0.5s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}
.card-animate-2 {
  animation: fadeSlideRight 0.5s 0.65s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}
.card-animate-3 {
  animation: fadeSlideRight 0.5s 0.8s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}

.card-icon-wrap {
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.group:hover .card-icon-wrap {
  transform: scale(1.12);
  background: rgba(196, 160, 98, 0.18) !important;
}

/* Mobile Menu */
#mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobile-menu.open {
  transform: translateX(0);
}
#menu-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
#menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.ham-line {
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  transform-origin: center;
  display: block;
}
.ham-open .ham-line-1 {
  transform: translateY(7px) rotate(45deg);
}
.ham-open .ham-line-2 {
  opacity: 0;
  transform: scaleX(0);
}
.ham-open .ham-line-3 {
  transform: translateY(-7px) rotate(-45deg);
}

.mob-link {
  position: relative;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}
.mob-link:hover {
  padding-left: 6px;
}

@media (max-width: 767px) {
  .card-animate-1,
  .card-animate-2,
  .card-animate-3 {
    animation-name: fadeSlideUp;
  }

  .stat-label-text {
    font-size: 8px;
    letter-spacing: 0.5px;
    word-break: break-word;
    white-space: normal;
    line-height: 1.3;
  }
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: black;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleY(1);
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll animation */
.srv-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.srv-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.why-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.why-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gold top-border on card hover */
.why-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 2px;
  background: #c4a062;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.why-card:hover::before {
  transform: scaleX(1);
}

/* Featured card left-border */
.why-featured-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #c4a062;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}
.why-featured-card:hover::before {
  transform: scaleY(1);
}

/* Pulsing gold dot */
@keyframes pulseGold {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.pulse-gold {
  animation: pulseGold 2.5s ease-in-out infinite;
}

/* Radial glow background */
.why-glow {
  background: radial-gradient(
    ellipse 70% 50% at 80% 30%,
    rgba(196, 160, 98, 0.07) 0%,
    transparent 70%
  );
}

.process-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.process-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animated connector line fill */
.step-line {
  position: relative;
  overflow: hidden;
}
.step-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(196, 160, 98, 0.5),
    transparent
  );
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* Step card left-bar on hover */
.step-card {
  position: relative;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.step-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #000;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}
.step-card:hover::before {
  transform: scaleY(1);
}
.step-card:hover {
  background: rgba(196, 160, 98, 0.04);
}

/* Step number pop on hover */
.step-num {
  transition:
    transform 0.25s ease,
    color 0.25s ease;
  display: inline-block;
}
.step-card:hover .step-num {
  transform: scale(1.12);
  color: #000 !important;
}

/* Icon wrap */
.step-icon {
  transition:
    transform 0.28s ease,
    background 0.28s ease;
}
.step-card:hover .step-icon {
  transform: scale(1.1) rotate(-4deg);
  background: rgba(196, 160, 98, 0.15) !important;
}

/* Pulsing dot */
@keyframes pulseGold {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.pulse-gold {
  animation: pulseGold 2.5s ease-in-out infinite;
}

/* CTA button */
.process-cta-btn {
  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.18s ease;
}
.process-cta-btn:hover {
  transform: translateY(-2px);
}

/* Scroll reveal */
.about-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.about-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* CEO image hover */
.ceo-img-wrap {
  transition: transform 0.35s ease;
}
.ceo-img-wrap:hover {
  transform: scale(1.02);
}

/* Stat card hover */
.about-stat {
  transition:
    background 0.22s ease,
    transform 0.22s ease;
}
.about-stat:hover {
  background: rgba(196, 160, 98, 0.07) !important;
  transform: translateY(-2px);
}

/* Signature underline animation */
.about-name-line {
  position: relative;
  display: inline-block;
}
.about-name-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: #c4a062;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}
.about-name-line:hover::after {
  transform: scaleX(1);
}

/* Quote marks */
.about-quote::before {
  content: "\201C";
  font-family: "Playfair Display", serif;
  font-size: 80px;
  color: rgba(0, 0, 0, 0.07);
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 4px;
}

/* Tag pill */
.about-tag {
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.about-tag:hover {
  border-color: rgba(0, 0, 0, 0.4);
  color: rgba(0, 0, 0, 0.8);
  background: rgba(196, 160, 98, 0.06);
}

/* Pulse */
@keyframes pulseGold {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.pulse-gold {
  animation: pulseGold 2.5s ease-in-out infinite;
}
