/* Custom Software Development Page Styles - Zorix Lab (Light Theme) */

body {
    background-color: #ffffff;
    color: #4b5563;
    /* text-gray-600 */
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Logo Fixes */
.fixed-logo-wrapper {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-mark {
    height: 50px;
    width: auto;
    /* Removed invert so it stays black on light bg */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-container:hover .logo-mark {
    transform: scale(1.05);
}

/* Background Gradients */
.hero-gradient-bg {
    background: radial-gradient(ellipse at 50% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 70%), #f8fafc;
}

.bg-grid-pattern {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Glass & Glow Cards - Light Theme */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.glow-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.glow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: skewX(-20deg);
    transition: 0.7s ease;
    pointer-events: none;
    z-index: 1;
}

.glow-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 20px rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.glow-card:hover::before {
    left: 150%;
}

.glow-card-icon {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.4s ease;
}

.glow-card:hover .glow-card-icon {
    transform: scale(1.2) rotate(-5deg);
}

/* Text Gradients */
.text-gradient-blue {
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating element animation */
.float-anim {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Navbar */
.modern-navbar {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    width: calc(100% - 2rem);
    max-width: 600px;
    height: 70px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    z-index: 999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-navbar.navbar-hidden {
    opacity: 0;
    transform: translate(-50%, 150px);
    pointer-events: none;
}

.nav-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    height: 100%;
    align-items: center;
}

.nav-item {
    position: relative;
    z-index: 2;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    padding: 0 1.25rem;
    height: 50px;
    border-radius: 12px;
    transition: color 0.3s, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.nav-link:hover {
    color: #0a0a0a;
    transform: scale(1.1);
}

.nav-link .nav-icon {
    font-size: 1.25rem;
}

.nav-link .nav-text {
    font-size: 0.7rem;
    margin-top: 2px;
}

.nav-item.active .nav-link {
    color: #0a0a0a;
    font-weight: 700;
}

.nav-item.active {
    background-color: #f5f5f5;
    border-radius: 11px;
}

#nav-active-indicator {
    position: absolute;
    top: 50%;
    left: 0;
    height: 50px;
    background: #f5f5f5;
    border-radius: 12px;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.quote-btn {
    background: #0a0a0a;
    color: #ffffff !important;
    border-radius: 12px;
    padding: 0 24px;
    height: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 10, 10, 0.2);
    background: #1a1a1a;
}

/* Mobile Nav */
.mobile-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    cursor: pointer;
    box-shadow: 0 5px 24px rgba(37, 99, 235, 0.3);
    border: none;
    transition: opacity 0.5s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-fab.navbar-hidden {
    opacity: 0;
    transform: translateY(150px);
    pointer-events: none;
}

.mobile-fab i {
    color: #ffffff;
}

.mobile-fab:hover {
    transform: scale(1.1);
}

@media (max-width: 767px) {
    .modern-navbar {
        display: none;
    }

    .mobile-fab {
        display: flex;
    }
}

.mobile-nav-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    padding: 1.5rem;
    padding-bottom: 6rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
}

.mobile-nav-panel.is-open {
    transform: translateY(0);
}

.mobile-nav-panel a {
    display: block;
    padding: 1rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s;
}

.mobile-nav-panel a:hover {
    background: rgba(0, 0, 0, 0.03);
    color: #0a0a0a;
}

.mobile-quote-btn {
    margin-top: 1rem;
    background: #0a0a0a !important;
    color: #ffffff !important;
}

/* Footer Section */
.site-footer {
    background: #0a0a0a;
    /* Footer stays dark per main index */
    color: #94a3b8;
    padding: 3rem 0;
    border-top: none;
}

.site-footer .logo-mark {
    height: 40px;
    filter: brightness(0) invert(1);
    /* Ensure white logo on dark footer */
}

.light-theme-icon {
    color: #64748b;
    transition: color 0.3s, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.light-theme-icon:hover {
    color: #ffffff;
    transform: translateY(-2px);
}