/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+HK:wght@400;500;700;800&display=swap');

/* Apply base fonts */
body {
    font-family: 'Noto Sans HK', sans-serif;
}

/* Custom alignment for brand name logo in navbar */
.brand-name-logo {
    transform: translateY(4px); /* Nudges the logo down slightly from the center */
}

/* Service Card Styling */
.service-card {
    @apply bg-white p-8 rounded-2xl shadow-lg transform hover:-translate-y-2 transition-transform duration-300;
}

.service-card p {
    @apply text-gray-600 leading-relaxed;
}

/* Social Icon Styling */
.social-icon {
    @apply h-14 w-14 flex items-center justify-center bg-white/10 border-2 border-white/20 rounded-full text-2xl font-bold hover:bg-white hover:text-blue-700 transition-all duration-300 transform hover:scale-110;
}

/* Entrance Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

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

/* Scroll-triggered Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for cards */
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 38px;
    height: 38px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5em;
    z-index: 999;
    transition: background 0.3s;
}

#back-to-top:hover {
    background: rgba(0, 0, 0, 0.7);
}
