/* Custom Styles for Accread (M) Sdn. Bhd. */

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

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1; 
}

::-webkit-scrollbar-thumb {
  background: #c9252c; 
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a81c22; 
}

/* Card Hover Effects */
.card-hover-effect {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover-effect:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Text Shadow for image overlays */
.text-shadow {
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* Lightbox specific styles */
.lightbox-trigger {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.lightbox-trigger:hover {
  transform: scale(1.05);
}



/* Ensure full height flex container */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Fade in animation for mobile menu */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.animate-fade-in-down {
  animation: fadeInDown 0.3s ease-out;
}