/* ========================================
   Nova Digital Web — Custom Styles (WP Theme)
   ======================================== */

html { scroll-behavior: smooth; }

::selection { background: #3394ff; color: #09090b; }

/* ========== Text Gradients ========== */
.text-gradient {
    background: linear-gradient(135deg, #3394ff 0%, #8b5cf6 50%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-alt {
    background: linear-gradient(135deg, #8b5cf6 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== Navbar ========== */
#navbar.scrolled {
    background: rgba(9, 9, 11, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.cta-btn { transition: transform 0.3s, box-shadow 0.3s; }
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(51, 148, 255, 0.3); }

/* ========== Mobile Menu ========== */
#menuToggle.active .menu-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#menuToggle.active .menu-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
#menuToggle.active .menu-line:nth-child(3) { width: 24px; transform: translateY(-8px) rotate(-45deg); }

/* ========== Hero Grid ========== */
.hero-grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ========== Hero Glows ========== */
.hero-glow { animation: glowPulse 8s ease-in-out infinite; }
.hero-glow-2 { animation: glowPulse 10s ease-in-out infinite reverse; }
@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

/* ========== Fade Up ========== */
.fade-up { opacity: 0; transform: translateY(30px); animation: fadeUp 0.9s ease-out forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ========== Scroll Reveal ========== */
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== Scroll Dot ========== */
.scroll-dot { animation: scrollDot 2s ease-in-out infinite; }
@keyframes scrollDot {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.3; }
}

/* ========== Stat Cards ========== */
.stat-card { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.4s; }
.stat-card:hover { transform: translateY(-4px); border-color: rgba(51, 148, 255, 0.2); box-shadow: 0 10px 40px rgba(51, 148, 255, 0.08); }

/* ========== Expertise Cards ========== */
.expertise-card { transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s, box-shadow 0.5s; }
.expertise-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }

/* ========== Timeline ========== */
.timeline-dot { transition: transform 0.4s, box-shadow 0.4s; }
.timeline-item:hover .timeline-dot { transform: scale(1.1); box-shadow: 0 0 30px rgba(51, 148, 255, 0.2); }

/* ========== Strikethrough ========== */
.line-through { text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.3); text-decoration-thickness: 2px; }

/* ========== Custom Scrollbar ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #09090b; }
::-webkit-scrollbar-thumb { background: #28282d; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3f4046; }

/* ========== Focus ========== */
a:focus-visible, button:focus-visible { outline: 2px solid #3394ff; outline-offset: 3px; border-radius: 4px; }

/* ========== WordPress Overrides ========== */
.ndw-logo-wrap img { max-height: 40px; width: auto; }
.custom-logo-link { display: inline-block; }
body.admin-bar #navbar { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar #navbar { top: 46px; } }
.menu li { list-style: none; }
.menu li a { text-decoration: none; }
footer .menu li a { color: rgba(255,255,255,0.32); transition: color 0.3s; }
footer .menu li a:hover { color: #fff; }
