/* ========================================
   AGI Business Group — Custom Styles
   ======================================== */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f6f6f7;
}
::-webkit-scrollbar-thumb {
  background: #c4c6cc;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a1a5b0;
}

/* Navbar transition */
#navbar {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

#navbar.scrolled {
  box-shadow: 0 1px 20px rgba(30, 32, 37, 0.08);
}

/* Mobile menu animation */
#mobile-menu {
  animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Service cards */
.service-card {
  cursor: default;
}

/* Testimonial cards */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Form inputs */
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* Mobile menu link underline on hover */
.mobile-link::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #ff6b35;
  transition: width 0.2s ease;
  margin-top: 2px;
}

.mobile-link:hover::after {
  width: calc(100% - 32px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print styles */
@media print {
  #navbar,
  #contact-form,
  .testimonial-card,
  .service-card {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
