/* =========================
   Global
   ========================= */

html {
  scroll-behavior: smooth;
}

body {
  font-feature-settings: "liga" 1, "kern" 1;
  margin: 0;
}

html,
body {
  overflow-x: hidden;
}


/* =========================
   Navbar / Logo
   ========================= */

#mainNav.navbar {
  overflow: visible;
}

.navbar-brand img {
  height: 44px;
  transform: scale(1.4);
  transform-origin: left center;
}

@media (max-width: 576px) {
  .navbar-brand img {
    transform: scale(1.2);
  }
}


/* =========================
   Animations
   ========================= */

@keyframes fly {
  0% {
    transform: translate(-10vw, 0) rotate(15deg);
  }
  50% {
    transform: translate(110vw, -10vh) rotate(10deg);
  }
  100% {
    transform: translate(-10vw, 0) rotate(15deg);
  }
}


/* =========================
   Sections (IMPORTANT PART)
   ========================= */

/* Visual spacing */
section {
  padding: 80px 0;
}

/* Anchor scroll offset for fixed navbar */
section,
header[id] {
  scroll-margin-top: var(--nav-height, 90px);
}

/* Optional: hero/header spacing */
#home {
  padding-top: var(--nav-height, 0px);
}

.section-title .bar {
  width: 80px;
  height: 4px;
  background: var(--brand);
}


/* =========================
   Cards & Stats
   ========================= */

.service-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(13, 110, 253, 0.15);
}

.stat {
  font-size: 2.6rem;
  font-weight: 800;
}


/* =========================
   CTA Button (Floating)
   ========================= */

.aog-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1080;
}


/* =========================
   Scroll Reveal
   ========================= */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================
   Footer
   ========================= */

footer a {
  color: #cfe2ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}


/* =========================
   Fancy Button
   ========================= */

.fancy-btn {
  background: linear-gradient(45deg, #00c6ff, #0072ff);
  border: none;
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fancy-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
  filter: brightness(1.15);
}


/* =========================
   Backgrounds
   ========================= */

.blue-background {
  background: linear-gradient(135deg, #003b8a, #1a73e8);
}


/* =========================
   Gradient Icons
   ========================= */

.icon-gradient {
  background: linear-gradient(135deg, #0066ff, #00e0ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
}

.icon-gradient:hover {
  transform: scale(1.2);
  text-shadow: 0 0 12px rgba(0, 200, 255, 0.7);
}
