
/* ==========================================
   NGWANE ENTERPRISE
   LOGO & ANIMATIONS
   Computer & Digital Solutions
========================================== */



/* NGWANE ENTERPRISE LOGO SIZES *//* NGWANE ENTERPRISE LOGO SIZES */

/* NGWANE ENTERPRISE LOGO SIZES */

/* DESKTOP */
.site-header .brand img.brand-logo {
    width: 250px !important;
    height: 83px !important;
    max-width: 250px !important;
    max-height: 83px !important;
    object-fit: contain !important;
    display: block !important;
    flex-shrink: 0;
}

/* TABLET */
@media (max-width: 768px) {
    .site-header .brand img.brand-logo {
        width: 220px !important;
        height: 73px !important;
        max-width: 220px !important;
        max-height: 73px !important;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    .site-header .brand img.brand-logo {
        width: 200px !important;
        height: 67px !important;
        max-width: 200px !important;
        max-height: 67px !important;
    }
}

/* ==========================================
   ANIMATIONS
========================================== */


/* 4. FADE UP ANIMATION */

@keyframes neFadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text,
.hero-visual,
.service-card {
    animation: neFadeUp 0.9s ease both;
}


/* 5. FLOATING COMPUTER IMAGE */

@keyframes neFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-laptop {
    animation: neFloat 5s ease-in-out infinite;
}


/* 6. SUBTLE BLUE GLOW */

@keyframes neGlow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(8, 127, 245, 0.15);
    }

    50% {
        box-shadow: 0 0 20px rgba(8, 127, 245, 0.4);
    }
}

.brand-logo {
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.04);
}


/* 7. NAVIGATION ANIMATION */

.site-nav a {
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.site-nav a:hover {
    transform: translateY(-2px);
}


/* 8. SERVICE CARD ANIMATION */

.service-card {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(3, 21, 47, 0.12);
}


/* 9. BUTTON ANIMATION */

button,
.btn,
.button {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

button:hover,
.btn:hover,
.button:hover {
    transform: translateY(-2px);
}


/* 10. SMOOTH PAGE ELEMENTS */

html {
    scroll-behavior: smooth;
}


/* 11. ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
