/* --- Global Reset --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: #0f172a; font-family: 'Inter', sans-serif; overflow-x: hidden; }

/* --- Navigation Bar --- */
.main-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1100px;
    z-index: 10000 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 24px;
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-weight: 800;
    white-space: nowrap;
}

.nav-logo img {
    height: 30px !important;
    width: auto !important;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover, .nav-active { color: #38bdf8 !important; }

/* The Fixed Orange CTA Button */
.nav-cta {
    background: #ea580c !important;
    color: white !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
}

.nav-cta:hover {
    background: #f97316 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
}

.mobile-toggle { display: none; cursor: pointer; padding: 5px; }
.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* --- Mobile Breakpoint --- */
@media (max-width: 850px) {
    .mobile-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: 40px 20px;
        border-radius: 30px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        gap: 25px;
    }
    .nav-links.active { display: flex !important; }
    .main-nav .nav-cta { display: none; } /* Hide button on mobile bar */
    .nav-links .nav-cta { display: block !important; width: 100%; text-align: center; }
}

/* --- Services Page Cards (Glassmorphism Restored) --- */
.glass-card {
    position: relative;
    background: rgba(30, 41, 59, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 24px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.6) !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* The accent line on top of cards */
.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.glass-card:hover .card-accent {
    background: #38bdf8;
}

/* Special accent for the primary service */
.glass-card.featured .card-accent { background: #ea580c; }