﻿/* ==========================================================================
   VASUDEvX Enterprise Design System (Microsoft Fluent-Inspired)
   ========================================================================== */

:root {
    --ms-bg: #f5f5f5;
    --ms-card-bg: #ffffff;
    --ms-border: #e5e5e5;
    --ms-text-main: #242424;
    --ms-text-muted: #616161;
    --ms-blue: #0067b8;
    --ms-blue-hover: #005da6;
    --ms-dark-slate: #111827;
}

body {
    background-color: var(--ms-bg);
    color: var(--ms-text-main);
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Typography Helpers */
.fs-7 {
    font-size: 0.825rem;
}

.tracking-tight {
    letter-spacing: -0.02em;
}

/* Microsoft Style Card */
.ms-card {
    background: var(--ms-card-bg);
    border: 1px solid var(--ms-border);
    border-radius: 4px;
    padding: 2rem 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 1.6px 3.6px 0 rgba(0,0,0,0.06), 0 0.3px 0.9px 0 rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

    .ms-card:hover {
        box-shadow: 0 6.4px 14.4px 0 rgba(0,0,0,0.1), 0 1.2px 3.6px 0 rgba(0,0,0,0.08);
        transform: translateY(-2px);
    }

/* Microsoft Signature Chevron Link */
.ms-link {
    color: var(--ms-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

    .ms-link:hover {
        color: var(--ms-blue-hover);
        text-decoration: underline;
    }

/* Buttons */
.btn-ms-primary {
    background-color: var(--ms-blue);
    color: #ffffff !important;
    border-radius: 2px;
    padding: 0.6rem 1.5rem;
    font-size: 0.925rem;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
}

    .btn-ms-primary:hover {
        background-color: var(--ms-blue-hover);
    }

.btn-ms-secondary {
    background-color: transparent;
    color: var(--ms-text-main) !important;
    border: 1px solid var(--ms-text-main);
    border-radius: 2px;
    padding: 0.6rem 1.5rem;
    font-size: 0.925rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

    .btn-ms-secondary:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

/* Dark Enterprise Band */
.ms-dark-band {
    background-color: var(--ms-dark-slate);
    color: #ffffff;
    padding: 4.5rem 0;
}

/* Navbar Logo */
.navbar-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    image-rendering: auto;
}

.navbar-brand, .navbar-nav .nav-link {
    display: inline-flex;
    align-items: center;
}
/* Microsoft 365 Style Warm Canvas Hero */
.ms-hero-canvas {
    background: linear-gradient(135deg, #f7f4ed 0%, #f4efe6 50%, #faf8f5 100%);
    min-height: 520px;
    position: relative;
    overflow: hidden;
}

/* 3D Glossy Floating Icon Cluster */
.ms-glossy-cluster {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 380px;
    margin: 0 auto;
}

.glossy-icon-card {
    position: absolute;
    border-radius: 18px;
    padding: 14px 18px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

    .glossy-icon-card:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 22px 40px -10px rgba(0, 0, 0, 0.25);
    }

.glossy-symbol {
    font-size: 1.8rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.glossy-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.glossy-sub {
    font-size: 0.7rem;
    opacity: 0.85;
}

/* Individual 3D Glossy Gradients & Isometric Cluster Positions */
.icon-pos-1 {
    top: 25px;
    left: 20px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.92) 0%, rgba(249, 115, 22, 0.85) 100%);
    z-index: 2;
}

.icon-pos-2 {
    top: 50px;
    right: 25px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.92) 0%, rgba(99, 102, 241, 0.85) 100%);
    z-index: 1;
}

.icon-pos-3 {
    top: 155px;
    left: 100px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.92) 0%, rgba(37, 99, 235, 0.88) 100%);
    z-index: 3;
}

.icon-pos-4 {
    bottom: 45px;
    left: 10px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.92) 0%, rgba(5, 150, 105, 0.88) 100%);
    z-index: 2;
}

.icon-pos-5 {
    bottom: 35px;
    right: 20px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.92) 0%, rgba(217, 119, 6, 0.88) 100%);
    z-index: 3;
}

@media (max-width: 991px) {
    .ms-glossy-cluster {
        height: 320px;
        max-width: 400px;
    }

    .glossy-icon-card {
        padding: 10px 14px;
    }
}
/* Microsoft Global Enterprise Footer */
.ms-footer-bg {
    background-color: #f2f2f2;
    color: #616161;
    font-size: 0.725rem;
}

.ms-footer-heading {
    color: #242424;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.ms-footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.95rem; /* Generous vertical spacing between link texts */
}

    .ms-footer-links a {
        color: #616161;
        text-decoration: none;
        transition: color 0.15s ease;
        line-height: 1.4;
        display: inline-block;
    }

        .ms-footer-links a:hover {
            color: #0067b8;
            text-decoration: underline;
        }

/* Pre-Footer Social & Back-To-Top Bar */
.ms-pre-footer {
    padding: 1.75rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.btn-ms-backtotop {
    background-color: #e5e5e5;
    color: #242424;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 2px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.15s ease;
}

    .btn-ms-backtotop:hover {
        background-color: #d1d5db;
        color: #000000;
    }

/* Floating Automated Support Chat Widget */
.ms-floating-chat {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
}

.ms-chat-pill {
    background-color: #0067b8;
    color: #ffffff;
    border-radius: 10px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.2s ease, background-color 0.2s ease;
    text-decoration: none;
}

    .ms-chat-pill:hover {
        transform: translateY(-3px);
        background-color: #005da6;
        color: #ffffff;
    }

.ms-chat-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    object-fit: cover;
    background-color: #ffffff;
}

.ms-chat-label {
    line-height: 1.25;
}

.ms-chat-label-top {
    font-size: 0.8rem;
    opacity: 0.9;
    display: block;
}

.ms-chat-label-main {
    font-size: 0.95rem;
    font-weight: 600;
    display: block;
}
/* Pro-Level Glossy 3D Bento Card Icons */
.ms-glossy-badge {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.8), inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ms-card:hover .ms-glossy-badge {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 16px 25px -5px rgba(0, 0, 0, 0.18), inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

/* Individual Fluent 3D Gradients */
.badge-erp {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #c2410c 100%);
    color: #ffffff;
}

.badge-design {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 50%, #8b5cf6 100%);
    color: #ffffff;
}

.badge-webapp {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 50%, #1d4ed8 100%);
    color: #ffffff;
}

.badge-infra {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    color: #ffffff;
}
/* ==========================================================================
   MICROSOFT LIVE CHAT POPUP WINDOW
   ========================================================================== */

.ms-chat-modal {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 380px;
    max-width: calc(100vw - 32px);
    height: 520px;
    max-height: calc(100vh - 120px);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.25), 0 0 1px 1px rgba(0,0,0,0.08);
    display: none;
    flex-direction: column;
    z-index: 1060;
    overflow: hidden;
    animation: msSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes msSlideIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ms-chat-header {
    background: #0067b8;
    color: #ffffff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ms-chat-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.85rem;
}

.ms-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 10px;
    line-height: 1.45;
}

.ms-bubble-bot {
    background: #ffffff;
    color: #242424;
    border: 1px solid #e2e8f0;
    align-self: flex-start;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.ms-bubble-user {
    background: #0067b8;
    color: #ffffff;
    align-self: flex-end;
}

.ms-chat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.ms-chat-chip-btn {
    background: #eef2f6;
    border: 1px solid #cbd5e1;
    color: #0067b8;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 14px;
    padding: 4px 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .ms-chat-chip-btn:hover {
        background: #0067b8;
        color: #ffffff;
        border-color: #0067b8;
    }

.ms-chat-footer {
    padding: 12px 14px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 8px;
}

.ms-chat-input {
    flex: 1;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.85rem;
    outline: none;
}

    .ms-chat-input:focus {
        border-color: #0067b8;
        box-shadow: 0 0 0 2px rgba(0, 103, 184, 0.15);
    }

.ms-chat-send-btn {
    background: #0067b8;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0 14px;
    font-size: 0.9rem;
    cursor: pointer;
}
/* ==========================================================================
   MICROSOFT APP & SOLUTION SHOWCASE STYLES
   ========================================================================== */

.ms-project-card {
    background: #ffffff;
    border: 1px solid var(--ms-border);
    border-radius: 6px;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 1.6px 3.6px rgba(0,0,0,0.04);
}

    .ms-project-card:hover {
        transform: translateY(-3px);
        border-color: #cbd5e1;
        box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
    }

.ms-project-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #ffffff;
    box-shadow: 0 6px 12px -2px rgba(0,0,0,0.12);
}

.ms-tag-pill {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.ms-spec-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--ms-text-muted);
}

    .ms-spec-list li {
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .ms-spec-list li::before {
            content: "•";
            color: var(--ms-blue);
            font-weight: bold;
        }